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_wxTIFFHandler swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxWindow swig_types[165]
2632 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDC swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info
*swig_types
[171];
2637 static swig_module_info swig_module
= {swig_types
, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2641 /* -------- TYPES TABLE (END) -------- */
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2658 /*-----------------------------------------------
2659 @(target):= _gdi_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_gdi_
2663 #define SWIG_name "_gdi_"
2665 #define SWIGVERSION 0x010329
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2672 #include <stdexcept>
2676 class PyObject_ptr
{
2681 PyObject_ptr() :_obj(0)
2685 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2690 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2692 if (initial_ref
) Py_XINCREF(_obj
);
2695 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2697 Py_XINCREF(item
._obj
);
2708 operator PyObject
*() const
2713 PyObject
*operator->() const
2722 struct PyObject_var
: PyObject_ptr
{
2723 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2725 PyObject_var
& operator = (PyObject
* obj
)
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyEmptyString(wxEmptyString
);
2741 #define SWIG_From_long PyInt_FromLong
2744 SWIGINTERNINLINE PyObject
*
2745 SWIG_From_int (int value
)
2747 return SWIG_From_long (value
);
2753 # define LLONG_MIN LONG_LONG_MIN
2756 # define LLONG_MAX LONG_LONG_MAX
2759 # define ULLONG_MAX ULONG_LONG_MAX
2764 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2766 if (PyNumber_Check(obj
)) {
2767 if (val
) *val
= PyInt_AsLong(obj
);
2770 return SWIG_TypeError
;
2775 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2778 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2779 return SWIG_TypeError
;
2782 *val
= (unsigned long)v
;
2788 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2791 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2792 if (SWIG_IsOK(res
)) {
2793 if ((v
> UCHAR_MAX
)) {
2794 return SWIG_OverflowError
;
2796 if (val
) *val
= static_cast< unsigned char >(v
);
2803 SWIGINTERNINLINE PyObject
*
2804 SWIG_From_unsigned_SS_long (unsigned long value
)
2806 return (value
> LONG_MAX
) ?
2807 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2811 SWIGINTERNINLINE PyObject
*
2812 SWIG_From_unsigned_SS_char (unsigned char value
)
2814 return SWIG_From_unsigned_SS_long (value
);
2817 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2818 wxColour temp
, *obj
= &temp
;
2819 if ( other
== Py_None
) return false;
2820 if ( ! wxColour_helper(other
, &obj
) ) {
2824 return self
->operator==(*obj
);
2826 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2827 wxColour temp
, *obj
= &temp
;
2828 if ( other
== Py_None
) return true;
2829 if ( ! wxColour_helper(other
, &obj
)) {
2833 return self
->operator!=(*obj
);
2837 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2839 if (obj
== Py_True
) {
2840 if (val
) *val
= true;
2842 } else if (obj
== Py_False
) {
2843 if (val
) *val
= false;
2847 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2848 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2853 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2854 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2858 int alpha
= wxALPHA_OPAQUE
;
2861 green
= self
->Green();
2862 blue
= self
->Blue();
2863 alpha
= self
->Alpha();
2865 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2866 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2867 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2869 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2872 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2873 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2877 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2880 int res
= SWIG_AsVal_long (obj
, &v
);
2881 if (SWIG_IsOK(res
)) {
2882 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2883 return SWIG_OverflowError
;
2885 if (val
) *val
= static_cast< int >(v
);
2891 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2893 int count
= self
->GetDashes(&dashes
);
2894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2895 PyObject
* retval
= PyList_New(0);
2896 for (int x
=0; x
<count
; x
++) {
2897 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2898 PyList_Append(retval
, pyint
);
2901 wxPyEndBlockThreads(blocked
);
2904 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2905 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2906 int size
= PyList_Size(pyDashes
);
2907 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2909 // black magic warning! The array of wxDashes needs to exist as
2910 // long as the pen does because wxPen does not copy the array. So
2911 // stick a copy in a Python string object and attach it to _self,
2912 // and then call SetDashes with a pointer to that array. Then
2913 // when the Python pen object is destroyed the array will be
2915 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2916 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2918 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2920 Py_DECREF(strDashes
);
2921 wxPyEndBlockThreads(blocked
);
2923 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2924 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2926 #include <wx/rawbmp.h>
2929 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2930 // appears to me that the other platforms are already doing it, so I'll just
2931 // automatically do it for wxMSW here.
2933 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2934 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2936 #define wxPy_premultiply(p, a) (p)
2937 #define wxPy_unpremultiply(p, a) (p)
2941 #include <wx/image.h>
2943 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2944 char** cArray
= NULL
;
2947 if (!PyList_Check(listOfStrings
)) {
2948 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2951 count
= PyList_Size(listOfStrings
);
2952 cArray
= new char*[count
];
2954 for(int x
=0; x
<count
; x
++) {
2955 // TODO: Need some validation and error checking here
2956 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2962 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2963 char** cArray
= NULL
;
2966 cArray
= ConvertListOfStrings(listOfStrings
);
2969 bmp
= new wxBitmap(cArray
);
2973 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2976 PyString_AsStringAndSize(bits
, &buf
, &length
);
2977 return new wxBitmap(buf
, width
, height
, depth
);
2979 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2980 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2981 wxSize
size(self
->GetWidth(), self
->GetHeight());
2984 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2985 wxMask
*mask
= new wxMask(*self
, colour
);
2986 self
->SetMask(mask
);
2988 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2989 self
->SetWidth(size
.x
);
2990 self
->SetHeight(size
.y
);
2992 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2993 int height
=self
->GetHeight();
2994 int width
=self
->GetWidth();
2996 if (DATASIZE
!= width
* height
* 3) {
2997 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2999 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3001 // raise an exception...
3002 wxPyErr_SetString(PyExc_RuntimeError
,
3003 "Failed to gain raw access to bitmap data.");
3007 wxNativePixelData::Iterator
p(pixData
);
3008 for (int y
=0; y
<height
; y
++) {
3009 wxNativePixelData::Iterator rowStart
= p
;
3010 for (int x
=0; x
<width
; x
++) {
3011 p
.Red() = *(data
++);
3012 p
.Green() = *(data
++);
3013 p
.Blue() = *(data
++);
3017 p
.OffsetY(pixData
, 1);
3020 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3021 int height
=self
->GetHeight();
3022 int width
=self
->GetWidth();
3024 if (DATASIZE
!= width
* height
* 4) {
3025 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3027 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3029 // raise an exception...
3030 wxPyErr_SetString(PyExc_RuntimeError
,
3031 "Failed to gain raw access to bitmap data.");
3036 wxAlphaPixelData::Iterator
p(pixData
);
3037 for (int y
=0; y
<height
; y
++) {
3038 wxAlphaPixelData::Iterator rowStart
= p
;
3039 for (int x
=0; x
<width
; x
++) {
3041 p
.Red() = wxPy_premultiply(*(data
++), a
);
3042 p
.Green() = wxPy_premultiply(*(data
++), a
);
3043 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3044 p
.Alpha() = a
; data
++;
3048 p
.OffsetY(pixData
, 1);
3051 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3052 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3054 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3055 buffer data
, int DATASIZE
,
3056 buffer alpha
, int ALPHASIZE
)
3058 if (DATASIZE
!= width
*height
*3) {
3059 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3063 if (ALPHASIZE
!= width
*height
) {
3064 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3068 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3069 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3071 // raise an exception...
3072 wxPyErr_SetString(PyExc_RuntimeError
,
3073 "Failed to gain raw access to bitmap data.");
3078 wxAlphaPixelData::Iterator
p(pixData
);
3079 for (int y
=0; y
<height
; y
++) {
3080 wxAlphaPixelData::Iterator rowStart
= p
;
3081 for (int x
=0; x
<width
; x
++) {
3082 byte a
= *(alpha
++);
3083 p
.Red() = wxPy_premultiply(*(data
++), a
);
3084 p
.Green() = wxPy_premultiply(*(data
++), a
);
3085 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3090 p
.OffsetY(pixData
, 1);
3095 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3097 if (DATASIZE
!= width
*height
*3) {
3098 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3102 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3103 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3105 // raise an exception...
3106 wxPyErr_SetString(PyExc_RuntimeError
,
3107 "Failed to gain raw access to bitmap data.");
3111 wxNativePixelData::Iterator
p(pixData
);
3112 for (int y
=0; y
<height
; y
++) {
3113 wxNativePixelData::Iterator rowStart
= p
;
3114 for (int x
=0; x
<width
; x
++) {
3115 p
.Red() = *(data
++);
3116 p
.Green() = *(data
++);
3117 p
.Blue() = *(data
++);
3121 p
.OffsetY(pixData
, 1);
3127 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3129 if (DATASIZE
!= width
*height
*4) {
3130 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3134 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3135 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3137 // raise an exception...
3138 wxPyErr_SetString(PyExc_RuntimeError
,
3139 "Failed to gain raw access to bitmap data.");
3144 wxAlphaPixelData::Iterator
p(pixData
);
3145 for (int y
=0; y
<height
; y
++) {
3146 wxAlphaPixelData::Iterator rowStart
= p
;
3147 for (int x
=0; x
<width
; x
++) {
3149 p
.Red() = wxPy_premultiply(*(data
++), a
);
3150 p
.Green() = wxPy_premultiply(*(data
++), a
);
3151 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3152 p
.Alpha() = a
; data
++;
3156 p
.OffsetY(pixData
, 1);
3162 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3164 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3165 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3166 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3168 self
->Green() = green
;
3169 self
->Blue() = blue
;
3171 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3172 PyObject
* rv
= PyTuple_New(3);
3173 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3174 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3175 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3179 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3181 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3182 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3183 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3184 self
->Red() = wxPy_premultiply(red
, alpha
);
3185 self
->Green() = wxPy_premultiply(green
, alpha
);
3186 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3187 self
->Alpha() = alpha
;
3189 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3190 PyObject
* rv
= PyTuple_New(4);
3191 int red
= self
->Red();
3192 int green
= self
->Green();
3193 int blue
= self
->Blue();
3194 int alpha
= self
->Alpha();
3196 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3197 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3198 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3199 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3202 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3203 if ( !colour
.IsOk() )
3204 return new wxMask(bitmap
, *wxBLACK
);
3206 return new wxMask(bitmap
, colour
);
3209 #include <wx/iconbndl.h>
3211 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3212 wxIcon
* icon
= new wxIcon();
3213 icon
->CopyFromBitmap(bmp
);
3216 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3217 char** cArray
= NULL
;
3220 cArray
= ConvertListOfStrings(listOfStrings
);
3223 icon
= new wxIcon(cArray
);
3227 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3228 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3230 return new wxIconLocation(*filename
, num
);
3235 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3237 self
->SetIndex(num
);
3242 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3244 return self
->GetIndex();
3249 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3251 wxImage
img(cursorName
, type
);
3252 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3253 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3254 return new wxCursor(img
);
3256 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3259 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3262 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3265 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3266 return self
->operator bool();
3269 #include <wx/fontutil.h>
3270 #include <wx/fontmap.h>
3271 #include <wx/fontenum.h>
3273 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3274 return self
->ToString();
3277 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3278 { wxPyRaiseNotImplemented(); return NULL
; }
3280 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3281 { wxPyRaiseNotImplemented(); return false; }
3284 SWIGINTERNINLINE PyObject
*
3285 SWIG_From_size_t (size_t value
)
3287 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3291 SWIGINTERNINLINE
int
3292 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3295 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3296 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3300 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3301 wxFontEncoding alt_enc
;
3302 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3303 return PyInt_FromLong(alt_enc
);
3309 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3310 wxNativeFontInfo nfi
;
3311 nfi
.FromString(info
);
3312 return new wxFont(nfi
);
3314 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3315 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3317 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3318 return wxFontBase::New(pixelSize
, family
,
3319 style
, weight
, underlined
,
3322 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3323 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3325 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3326 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3328 class wxPyFontEnumerator
: public wxFontEnumerator
{
3330 wxPyFontEnumerator() {}
3331 ~wxPyFontEnumerator() {}
3333 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3334 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3339 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3340 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3343 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3345 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3346 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3347 ret
= wxArrayString2PyList_helper(arr
);
3348 wxPyEndBlockThreads(blocked
);
3351 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3353 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3354 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3355 ret
= wxArrayString2PyList_helper(arr
);
3356 wxPyEndBlockThreads(blocked
);
3362 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3365 loc
= new wxLocale();
3367 loc
= new wxLocale(language
, flags
);
3368 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3369 // for the floating point conversions and such to work right.
3370 #if PY_VERSION_HEX < 0x02040000
3371 setlocale(LC_NUMERIC
, "C");
3375 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3376 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3377 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3378 // for the floating point conversions and such to work right.
3379 #if PY_VERSION_HEX < 0x02040000
3380 setlocale(LC_NUMERIC
, "C");
3384 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3385 bool rc
= self
->Init(language
, flags
);
3386 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3387 // for the floating point conversions and such to work right.
3388 #if PY_VERSION_HEX < 0x02040000
3389 setlocale(LC_NUMERIC
, "C");
3394 class wxPyLocale
: public wxLocale
3399 wxPyLocale(const wxChar
*szName
, // name (for messages)
3400 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3401 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3402 bool bLoadDefault
= true, // preload wxstd.mo?
3403 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3405 wxPyLocale(int language
, // wxLanguage id or custom language
3406 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3410 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3411 const wxChar
*szDomain
= NULL
) const;
3412 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3413 const wxChar
*szOrigString2
, size_t n
,
3414 const wxChar
*szDomain
= NULL
) const;
3416 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3417 const wxChar
*szDomain
= NULL
) const;
3418 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3419 const wxChar
*szOrigString2
, size_t n
,
3420 const wxChar
*szDomain
= NULL
) const;
3424 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3427 wxPyLocale::wxPyLocale() : wxLocale()
3431 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3432 const wxChar
*szShort
, // dir prefix (for msg files)
3433 const wxChar
*szLocale
, // locale (for setlocale)
3434 bool bLoadDefault
, // preload wxstd.mo?
3435 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3436 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3440 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3441 int flags
) : wxLocale(language
, flags
)
3445 wxPyLocale::~wxPyLocale()
3449 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3450 const wxChar
*szDomain
) const
3452 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3453 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3456 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3457 const wxChar
*szOrigString2
, size_t n
,
3458 const wxChar
*szDomain
) const
3460 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3461 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3464 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3465 const wxChar
*szDomain
) const
3468 static wxString str
;
3469 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.
3470 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3471 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3472 PyObject
* param1
= wx2PyString(szOrigString
);
3473 PyObject
* param2
= wx2PyString(szDomain
);
3474 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3478 str
= Py2wxString(ret
);
3482 wxPyEndBlockThreads(blocked
);
3483 return (found
? (wxChar
*)str
.c_str() : NULL
);
3486 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3487 const wxChar
*szOrigString2
, size_t n
,
3488 const wxChar
*szDomain
) const
3491 static wxString str
;
3492 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3493 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3494 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3495 PyObject
* param1
= wx2PyString(szOrigString
);
3496 PyObject
* param2
= wx2PyString(szOrigString2
);
3497 PyObject
* param4
= wx2PyString(szDomain
);
3498 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3503 str
= Py2wxString(ret
);
3507 wxPyEndBlockThreads(blocked
);
3508 return (found
? (wxChar
*)str
.c_str() : NULL
);
3511 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3514 loc
= new wxPyLocale();
3516 loc
= new wxPyLocale(language
, flags
);
3517 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3518 // for the floating point conversions and such to work right.
3519 #if PY_VERSION_HEX < 0x02040000
3520 setlocale(LC_NUMERIC
, "C");
3525 #include "wx/wxPython/pydrawxxx.h"
3527 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3529 self
->GetPixel(x
, y
, &col
);
3532 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3534 self
->GetPixel(pt
, &col
);
3539 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3541 if (PyNumber_Check(obj
)) {
3542 if (val
) *val
= PyFloat_AsDouble(obj
);
3545 return SWIG_TypeError
;
3548 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3550 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3553 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3555 self
->GetClippingBox(rect
);
3558 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3560 self
->GetPartialTextExtents(text
, widths
);
3564 #define SWIG_From_double PyFloat_FromDouble
3566 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3567 self
->SetLogicalOrigin(point
.x
, point
.y
);
3569 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3570 self
->SetDeviceOrigin(point
.x
, point
.y
);
3572 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3573 self
->CalcBoundingBox(point
.x
, point
.y
);
3575 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3576 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3578 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3579 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3581 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3582 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3584 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3585 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3587 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3588 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3590 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3591 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3594 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3602 #include <wx/dcbuffer.h>
3605 #include <wx/dcps.h>
3608 #include <wx/metafile.h>
3611 #include <wx/graphics.h>
3614 #if !wxUSE_GRAPHICS_CONTEXT
3615 // C++ stub classes for platforms or build configurations that don't have
3616 // wxGraphicsContext yet.
3619 class wxGraphicsObject
: public wxObject
3622 wxGraphicsObject( wxGraphicsRenderer
* ) {
3623 PyErr_SetString(PyExc_NotImplementedError
,
3624 "wx.GraphicsObject is not available on this platform.");
3626 wxGraphicsObject( const wxGraphicsObject
& ) {}
3627 virtual ~wxGraphicsObject() {}
3628 bool IsNull() const { return false; }
3629 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3634 class wxGraphicsPen
: public wxGraphicsObject
3637 virtual ~wxGraphicsPen() {}
3639 wxGraphicsPen wxNullGraphicsPen
;
3643 class wxGraphicsBrush
: public wxGraphicsObject
3646 wxGraphicsBrush() {}
3647 virtual ~wxGraphicsBrush() {}
3649 wxGraphicsBrush wxNullGraphicsBrush
;
3653 class wxGraphicsFont
: public wxGraphicsObject
3657 virtual ~wxGraphicsFont() {}
3659 wxGraphicsFont wxNullGraphicsFont
;
3663 class wxGraphicsPath
: public wxGraphicsObject
3666 wxGraphicsPath(wxGraphicsRenderer
* ) {
3667 PyErr_SetString(PyExc_NotImplementedError
,
3668 "wx.GraphicsPath is not available on this platform.");
3670 virtual ~wxGraphicsPath() {}
3672 void MoveToPoint( wxDouble
, wxDouble
) {}
3673 void MoveToPoint( const wxPoint2DDouble
& ) {}
3674 void AddLineToPoint( wxDouble
, wxDouble
) {}
3675 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3676 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3677 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3678 void AddPath( const wxGraphicsPath
* ) {}
3679 void CloseSubpath() {}
3680 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3681 wxPoint2DDouble
GetCurrentPoint() { reutrn
wxPoint2D(0,0); }
3682 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3683 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3685 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3686 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3687 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3688 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3690 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3691 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3692 void * GetNativePath() const { return NULL
; }
3693 void UnGetNativePath(void *) {}
3694 void Transform( wxGraphicsMatrix
* ) {}
3695 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) {}
3696 wxRect2D
GetBox() { return wxRect2D(0,0,0,0); }
3698 bool Contains( wxDouble
, wxDouble
, int ) { return false; }
3699 bool Contains( const wxPoint2DDouble
& , int ) { return false; }
3701 wxGraphicsPath wxNullGraphicsPath
;
3704 class wxGraphicsMatrix
: public wxGraphicsObject
3707 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3708 PyErr_SetString(PyExc_NotImplementedError
,
3709 "wx.GraphicsMatrix is not available on this platform.");
3711 virtual ~wxGraphicsMatrix() {}
3712 virtual void Concat( const wxGraphicsMatrix
* ) {}
3713 virtual void Copy( const wxGraphicsMatrix
* ) {}
3714 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3715 wxDouble
, wxDouble
) {}
3716 virtual void Invert() {}
3717 virtual bool IsEqual( const wxGraphicsMatrix
* t
) const {}
3718 virtual bool IsIdentity() { return false; }
3719 virtual void Translate( wxDouble
, wxDouble
) {}
3720 virtual void Scale( wxDouble
, wxDouble
) {}
3721 virtual void Rotate( wxDouble
) {}
3722 virtual void TransformPoint( wxDouble
*, wxDouble
* ) {}
3723 virtual void TransformDistance( wxDouble
*, wxDouble
* ) {}
3724 virtual void * GetNativeMatrix() const { return NULL
; }
3726 wxGraphicsMatrix wxNullGraphicsMatrix
;
3729 class wxGraphicsContext
: public wxGraphicsObject
3733 wxGraphicsContext(wxGraphicsRenderer
* ) {
3734 PyErr_SetString(PyExc_NotImplementedError
,
3735 "wx.GraphicsContext is not available on this platform.");
3738 virtual ~wxGraphicsContext() {}
3740 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3741 PyErr_SetString(PyExc_NotImplementedError
,
3742 "wx.GraphicsContext is not available on this platform.");
3745 static wxGraphicsContext
* CreateFromNative( void * ) {
3746 PyErr_SetString(PyExc_NotImplementedError
,
3747 "wx.GraphicsContext is not available on this platform.");
3750 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3751 PyErr_SetString(PyExc_NotImplementedError
,
3752 "wx.GraphicsContext is not available on this platform.");
3755 static wxGraphicsContext
* Create( wxWindow
* ) {
3756 PyErr_SetString(PyExc_NotImplementedError
,
3757 "wx.GraphicsContext is not available on this platform.");
3760 wxGraphicsPath
* CreatePath() { return NULL
; }
3762 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return NULL
; }
3764 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return NULL
; }
3766 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3767 const wxColour
&, const wxColour
&) { return NULL
; }
3769 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3770 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3771 const wxColour
&oColor
, const wxColour
&cColor
) { return NULL
; }
3773 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return NULL
; }
3775 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3776 wxDouble
, wxDouble
) { return NULL
; }
3778 virtual void PushState() {}
3779 virtual void PopState() {}
3780 virtual void Clip( const wxRegion
& ) {}
3781 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3782 virtual void ResetClip() {}
3783 virtual void * GetNativeContext() { return NULL
; }
3784 virtual void Translate( wxDouble
, wxDouble
) {}
3785 virtual void Scale( wxDouble
, wxDouble
) {}
3786 virtual void Rotate( wxDouble
) {}
3787 virtual void ConcatTransform( const wxGraphicsMatrix
* ) {}
3788 virtual void SetTransform( const wxGraphicsMatrix
* ) {}
3789 virtual void GetTransform( wxGraphicsMatrix
* ) {}
3791 virtual void SetPen( const wxGraphicsPen
& ) {}
3792 void SetPen( const wxPen
& ) {}
3794 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3795 void SetBrush( const wxBrush
& ) {}
3797 virtual void SetFont( const wxGraphicsFont
& ) {}
3798 void SetFont( const wxFont
&, const wxColour
& ) {}
3800 virtual void StrokePath( const wxGraphicsPath
* ) {}
3801 virtual void FillPath( const wxGraphicsPath
*, int ) {}
3802 virtual void DrawPath( const wxGraphicsPath
*, int ) {}
3804 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3805 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3806 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3807 wxDouble
*, wxDouble
* ) const {}
3808 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3810 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3811 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3813 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3814 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3815 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3816 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3817 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3818 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3819 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3820 virtual bool ShouldOffset() const { return false; }
3824 class wxGraphicsRenderer
: public wxObject
3827 wxGraphicsRenderer() {
3828 PyErr_SetString(PyExc_NotImplementedError
,
3829 "wx.GraphicsRenderer is not available on this platform.");
3832 virtual ~wxGraphicsRenderer() {}
3834 static wxGraphicsRenderer
* GetDefaultRenderer(
3835 PyErr_SetString(PyExc_NotImplementedError
,
3836 "wx.GraphicsRenderer is not available on this platform.");
3839 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3840 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3841 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3842 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3844 virtual wxGraphicsPath
* CreatePath() { return NULL
; }
3846 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3847 wxDouble
, wxDouble
) { return NULL
; }
3849 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGaphicsPen
; }
3850 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGaphicsBrush
; }
3851 virtual wxGraphicsBrush
CreateLinearGradientBrush(xDouble
, wxDouble
, wxDouble
, wxDouble
,
3852 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3853 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3854 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3855 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGaphicsFont
; }
3860 class wxGCDC
: public wxWindowDC
3863 wxGCDC(const wxWindowDC
&) {
3864 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3865 PyErr_SetString(PyExc_NotImplementedError
,
3866 "wxGCDC is not available on this platform.");
3867 wxPyEndBlockThreads(blocked
);
3871 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3872 PyErr_SetString(PyExc_NotImplementedError
,
3873 "wxGCDC is not available on this platform.");
3874 wxPyEndBlockThreads(blocked
);
3877 virtual ~wxGCDC() {}
3879 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3880 void SetGraphicsContext( wxGraphicsContext
* ) {}
3885 SWIGINTERN
void wxGraphicsMatrix_Copy(wxGraphicsMatrix
*self
,wxGraphicsMatrix
const &t
){
3888 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3889 wxDouble width
= 0.0,
3891 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3892 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3893 PyObject
* rv
= PyTuple_New(2);
3894 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3895 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3898 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3899 wxArrayDouble widths
;
3900 self
->GetPartialTextExtents(text
, widths
);
3903 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3904 size_t c1
, c2
, count
;
3905 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3906 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3908 if ( beginP
!= NULL
&& endP
!= NULL
)
3910 count
= wxMin(c1
, c2
);
3911 self
->StrokeLines(count
, beginP
, endP
);
3917 #include "wx/dcgraph.h"
3920 #include <wx/overlay.h>
3924 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3925 self
->AddColour(name
, wxColour(red
, green
, blue
));
3928 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3929 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3930 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3931 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3934 #include <wx/effects.h>
3937 #include "wx/renderer.h"
3940 SWIGINTERNINLINE PyObject
*
3941 SWIG_From_bool (bool value
)
3943 return PyBool_FromLong(value
? 1 : 0);
3947 #include "wx/wxPython/pseudodc.h"
3949 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3951 self
->GetIdBounds(id
, rect
);
3957 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3958 PyObject
*resultobj
= 0;
3959 wxGDIObject
*result
= 0 ;
3961 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3963 if (!wxPyCheckForApp()) SWIG_fail
;
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 result
= (wxGDIObject
*)new wxGDIObject();
3966 wxPyEndAllowThreads(__tstate
);
3967 if (PyErr_Occurred()) SWIG_fail
;
3969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3976 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3977 PyObject
*resultobj
= 0;
3978 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3981 PyObject
*swig_obj
[1] ;
3983 if (!args
) SWIG_fail
;
3985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3986 if (!SWIG_IsOK(res1
)) {
3987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3989 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3994 wxPyEndAllowThreads(__tstate
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3997 resultobj
= SWIG_Py_Void();
4004 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4005 PyObject
*resultobj
= 0;
4006 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4010 PyObject
*swig_obj
[1] ;
4012 if (!args
) SWIG_fail
;
4014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4015 if (!SWIG_IsOK(res1
)) {
4016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4018 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4021 result
= (bool)(arg1
)->IsNull();
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4034 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4036 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4037 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4038 return SWIG_Py_Void();
4041 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4042 return SWIG_Python_InitShadowInstance(args
);
4045 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
*resultobj
= 0;
4047 byte arg1
= (byte
) 0 ;
4048 byte arg2
= (byte
) 0 ;
4049 byte arg3
= (byte
) 0 ;
4050 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4051 wxColour
*result
= 0 ;
4052 unsigned char val1
;
4054 unsigned char val2
;
4056 unsigned char val3
;
4058 unsigned char val4
;
4060 PyObject
* obj0
= 0 ;
4061 PyObject
* obj1
= 0 ;
4062 PyObject
* obj2
= 0 ;
4063 PyObject
* obj3
= 0 ;
4064 char * kwnames
[] = {
4065 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4070 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4071 if (!SWIG_IsOK(ecode1
)) {
4072 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4074 arg1
= static_cast< byte
>(val1
);
4077 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4078 if (!SWIG_IsOK(ecode2
)) {
4079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4081 arg2
= static_cast< byte
>(val2
);
4084 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4085 if (!SWIG_IsOK(ecode3
)) {
4086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4088 arg3
= static_cast< byte
>(val3
);
4091 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4092 if (!SWIG_IsOK(ecode4
)) {
4093 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4095 arg4
= static_cast< byte
>(val4
);
4098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4099 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) SWIG_fail
;
4103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4110 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
*resultobj
= 0;
4112 wxString
*arg1
= 0 ;
4113 wxColour
*result
= 0 ;
4114 bool temp1
= false ;
4115 PyObject
* obj0
= 0 ;
4116 char * kwnames
[] = {
4117 (char *) "colorName", NULL
4120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4122 arg1
= wxString_in_helper(obj0
);
4123 if (arg1
== NULL
) SWIG_fail
;
4127 if (!wxPyCheckForApp()) SWIG_fail
;
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4130 wxPyEndAllowThreads(__tstate
);
4131 if (PyErr_Occurred()) SWIG_fail
;
4133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4148 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4149 PyObject
*resultobj
= 0;
4150 unsigned long arg1
;
4151 wxColour
*result
= 0 ;
4152 unsigned long val1
;
4154 PyObject
* obj0
= 0 ;
4155 char * kwnames
[] = {
4156 (char *) "colRGB", NULL
4159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4160 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4161 if (!SWIG_IsOK(ecode1
)) {
4162 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4164 arg1
= static_cast< unsigned long >(val1
);
4166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4167 result
= (wxColour
*)new wxColour(arg1
);
4168 wxPyEndAllowThreads(__tstate
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4178 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4179 PyObject
*resultobj
= 0;
4180 wxColour
*arg1
= (wxColour
*) 0 ;
4183 PyObject
*swig_obj
[1] ;
4185 if (!args
) SWIG_fail
;
4187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4188 if (!SWIG_IsOK(res1
)) {
4189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4191 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4199 resultobj
= SWIG_Py_Void();
4206 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4207 PyObject
*resultobj
= 0;
4208 wxColour
*arg1
= (wxColour
*) 0 ;
4212 PyObject
*swig_obj
[1] ;
4214 if (!args
) SWIG_fail
;
4216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4217 if (!SWIG_IsOK(res1
)) {
4218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4220 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 result
= (byte
)(arg1
)->Red();
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4227 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4234 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4235 PyObject
*resultobj
= 0;
4236 wxColour
*arg1
= (wxColour
*) 0 ;
4240 PyObject
*swig_obj
[1] ;
4242 if (!args
) SWIG_fail
;
4244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4245 if (!SWIG_IsOK(res1
)) {
4246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4248 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 result
= (byte
)(arg1
)->Green();
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4262 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4263 PyObject
*resultobj
= 0;
4264 wxColour
*arg1
= (wxColour
*) 0 ;
4268 PyObject
*swig_obj
[1] ;
4270 if (!args
) SWIG_fail
;
4272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4273 if (!SWIG_IsOK(res1
)) {
4274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4276 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 result
= (byte
)(arg1
)->Blue();
4280 wxPyEndAllowThreads(__tstate
);
4281 if (PyErr_Occurred()) SWIG_fail
;
4283 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4290 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4291 PyObject
*resultobj
= 0;
4292 wxColour
*arg1
= (wxColour
*) 0 ;
4296 PyObject
*swig_obj
[1] ;
4298 if (!args
) SWIG_fail
;
4300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4301 if (!SWIG_IsOK(res1
)) {
4302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4304 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 result
= (byte
)(arg1
)->Alpha();
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4311 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4318 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4319 PyObject
*resultobj
= 0;
4320 wxColour
*arg1
= (wxColour
*) 0 ;
4324 PyObject
*swig_obj
[1] ;
4326 if (!args
) SWIG_fail
;
4328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4329 if (!SWIG_IsOK(res1
)) {
4330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4332 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 result
= (bool)(arg1
)->IsOk();
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4348 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
*resultobj
= 0;
4350 wxColour
*arg1
= (wxColour
*) 0 ;
4354 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4357 unsigned char val2
;
4359 unsigned char val3
;
4361 unsigned char val4
;
4363 unsigned char val5
;
4365 PyObject
* obj0
= 0 ;
4366 PyObject
* obj1
= 0 ;
4367 PyObject
* obj2
= 0 ;
4368 PyObject
* obj3
= 0 ;
4369 PyObject
* obj4
= 0 ;
4370 char * kwnames
[] = {
4371 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4376 if (!SWIG_IsOK(res1
)) {
4377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4379 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4380 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4381 if (!SWIG_IsOK(ecode2
)) {
4382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4384 arg2
= static_cast< byte
>(val2
);
4385 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4386 if (!SWIG_IsOK(ecode3
)) {
4387 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4389 arg3
= static_cast< byte
>(val3
);
4390 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4391 if (!SWIG_IsOK(ecode4
)) {
4392 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4394 arg4
= static_cast< byte
>(val4
);
4396 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4397 if (!SWIG_IsOK(ecode5
)) {
4398 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4400 arg5
= static_cast< byte
>(val5
);
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4408 resultobj
= SWIG_Py_Void();
4415 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
*resultobj
= 0;
4417 wxColour
*arg1
= (wxColour
*) 0 ;
4418 unsigned long arg2
;
4421 unsigned long val2
;
4423 PyObject
* obj0
= 0 ;
4424 PyObject
* obj1
= 0 ;
4425 char * kwnames
[] = {
4426 (char *) "self",(char *) "colRGB", NULL
4429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4431 if (!SWIG_IsOK(res1
)) {
4432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4434 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4435 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4436 if (!SWIG_IsOK(ecode2
)) {
4437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4439 arg2
= static_cast< unsigned long >(val2
);
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4446 resultobj
= SWIG_Py_Void();
4453 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
*resultobj
= 0;
4455 wxColour
*arg1
= (wxColour
*) 0 ;
4456 wxString
*arg2
= 0 ;
4459 bool temp2
= false ;
4460 PyObject
* obj0
= 0 ;
4461 PyObject
* obj1
= 0 ;
4462 char * kwnames
[] = {
4463 (char *) "self",(char *) "colourName", NULL
4466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4468 if (!SWIG_IsOK(res1
)) {
4469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4471 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4473 arg2
= wxString_in_helper(obj1
);
4474 if (arg2
== NULL
) SWIG_fail
;
4478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4479 (arg1
)->Set((wxString
const &)*arg2
);
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) SWIG_fail
;
4483 resultobj
= SWIG_Py_Void();
4498 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4499 PyObject
*resultobj
= 0;
4500 wxColour
*arg1
= (wxColour
*) 0 ;
4501 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4507 PyObject
* obj0
= 0 ;
4508 PyObject
* obj1
= 0 ;
4509 char * kwnames
[] = {
4510 (char *) "self",(char *) "flags", NULL
4513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4515 if (!SWIG_IsOK(res1
)) {
4516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4518 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4520 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4521 if (!SWIG_IsOK(ecode2
)) {
4522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4524 arg2
= static_cast< long >(val2
);
4527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4528 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) SWIG_fail
;
4534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4545 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4546 PyObject
*resultobj
= 0;
4547 wxColour
*arg1
= (wxColour
*) 0 ;
4551 PyObject
*swig_obj
[1] ;
4553 if (!args
) SWIG_fail
;
4555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4556 if (!SWIG_IsOK(res1
)) {
4557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4559 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4562 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4563 wxPyEndAllowThreads(__tstate
);
4564 if (PyErr_Occurred()) SWIG_fail
;
4566 resultobj
= SWIG_From_long(static_cast< long >(result
));
4573 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
= 0;
4575 wxColour
*arg1
= (wxColour
*) 0 ;
4576 PyObject
*arg2
= (PyObject
*) 0 ;
4580 PyObject
* obj0
= 0 ;
4581 PyObject
* obj1
= 0 ;
4582 char * kwnames
[] = {
4583 (char *) "self",(char *) "other", NULL
4586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4588 if (!SWIG_IsOK(res1
)) {
4589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4591 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4594 result
= (bool)wxColour___eq__(arg1
,arg2
);
4595 if (PyErr_Occurred()) SWIG_fail
;
4598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4606 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
*resultobj
= 0;
4608 wxColour
*arg1
= (wxColour
*) 0 ;
4609 PyObject
*arg2
= (PyObject
*) 0 ;
4613 PyObject
* obj0
= 0 ;
4614 PyObject
* obj1
= 0 ;
4615 char * kwnames
[] = {
4616 (char *) "self",(char *) "other", NULL
4619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4621 if (!SWIG_IsOK(res1
)) {
4622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4624 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4627 result
= (bool)wxColour___ne__(arg1
,arg2
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4639 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
*resultobj
= 0;
4641 wxColour
*arg1
= (wxColour
*) 0 ;
4642 bool arg2
= (bool) false ;
4643 PyObject
*result
= 0 ;
4648 PyObject
* obj0
= 0 ;
4649 PyObject
* obj1
= 0 ;
4650 char * kwnames
[] = {
4651 (char *) "self",(char *) "includeAlpha", NULL
4654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4656 if (!SWIG_IsOK(res1
)) {
4657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4659 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4661 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4662 if (!SWIG_IsOK(ecode2
)) {
4663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4665 arg2
= static_cast< bool >(val2
);
4668 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4678 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4679 PyObject
*resultobj
= 0;
4680 wxColour
*arg1
= (wxColour
*) 0 ;
4681 unsigned long result
;
4684 PyObject
*swig_obj
[1] ;
4686 if (!args
) SWIG_fail
;
4688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4689 if (!SWIG_IsOK(res1
)) {
4690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4692 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4694 result
= (unsigned long)wxColour_GetRGB(arg1
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4704 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4707 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4708 return SWIG_Py_Void();
4711 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4712 return SWIG_Python_InitShadowInstance(args
);
4715 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
*resultobj
= 0;
4718 unsigned char *arg2
= (unsigned char *) 0 ;
4719 unsigned char *arg3
= (unsigned char *) 0 ;
4720 unsigned char *arg4
= (unsigned char *) 0 ;
4721 wxPalette
*result
= 0 ;
4730 PyObject
* obj0
= 0 ;
4731 PyObject
* obj1
= 0 ;
4732 PyObject
* obj2
= 0 ;
4733 PyObject
* obj3
= 0 ;
4734 char * kwnames
[] = {
4735 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4739 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4740 if (!SWIG_IsOK(ecode1
)) {
4741 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4743 arg1
= static_cast< int >(val1
);
4744 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4745 if (!SWIG_IsOK(res2
)) {
4746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4748 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4749 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4750 if (!SWIG_IsOK(res3
)) {
4751 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4753 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4754 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4755 if (!SWIG_IsOK(res4
)) {
4756 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4758 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4760 if (!wxPyCheckForApp()) SWIG_fail
;
4761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4766 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4773 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4774 PyObject
*resultobj
= 0;
4775 wxPalette
*arg1
= (wxPalette
*) 0 ;
4778 PyObject
*swig_obj
[1] ;
4780 if (!args
) SWIG_fail
;
4782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4783 if (!SWIG_IsOK(res1
)) {
4784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4786 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4794 resultobj
= SWIG_Py_Void();
4801 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4802 PyObject
*resultobj
= 0;
4803 wxPalette
*arg1
= (wxPalette
*) 0 ;
4810 unsigned char val2
;
4812 unsigned char val3
;
4814 unsigned char val4
;
4816 PyObject
* obj0
= 0 ;
4817 PyObject
* obj1
= 0 ;
4818 PyObject
* obj2
= 0 ;
4819 PyObject
* obj3
= 0 ;
4820 char * kwnames
[] = {
4821 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4826 if (!SWIG_IsOK(res1
)) {
4827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4829 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4830 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4831 if (!SWIG_IsOK(ecode2
)) {
4832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4834 arg2
= static_cast< byte
>(val2
);
4835 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4836 if (!SWIG_IsOK(ecode3
)) {
4837 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4839 arg3
= static_cast< byte
>(val3
);
4840 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4841 if (!SWIG_IsOK(ecode4
)) {
4842 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4844 arg4
= static_cast< byte
>(val4
);
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4851 resultobj
= SWIG_From_int(static_cast< int >(result
));
4858 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
*resultobj
= 0;
4860 wxPalette
*arg1
= (wxPalette
*) 0 ;
4862 byte
*arg3
= (byte
*) 0 ;
4863 byte
*arg4
= (byte
*) 0 ;
4864 byte
*arg5
= (byte
*) 0 ;
4871 int res3
= SWIG_TMPOBJ
;
4873 int res4
= SWIG_TMPOBJ
;
4875 int res5
= SWIG_TMPOBJ
;
4876 PyObject
* obj0
= 0 ;
4877 PyObject
* obj1
= 0 ;
4878 char * kwnames
[] = {
4879 (char *) "self",(char *) "pixel", NULL
4885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4887 if (!SWIG_IsOK(res1
)) {
4888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4890 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4892 if (!SWIG_IsOK(ecode2
)) {
4893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4895 arg2
= static_cast< int >(val2
);
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4905 if (SWIG_IsTmpObj(res3
)) {
4906 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4908 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4909 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4911 if (SWIG_IsTmpObj(res4
)) {
4912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4914 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4915 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4917 if (SWIG_IsTmpObj(res5
)) {
4918 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4920 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4921 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4929 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4930 PyObject
*resultobj
= 0;
4931 wxPalette
*arg1
= (wxPalette
*) 0 ;
4935 PyObject
*swig_obj
[1] ;
4937 if (!args
) SWIG_fail
;
4939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4940 if (!SWIG_IsOK(res1
)) {
4941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4943 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4950 resultobj
= SWIG_From_int(static_cast< int >(result
));
4957 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4958 PyObject
*resultobj
= 0;
4959 wxPalette
*arg1
= (wxPalette
*) 0 ;
4963 PyObject
*swig_obj
[1] ;
4965 if (!args
) SWIG_fail
;
4967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4968 if (!SWIG_IsOK(res1
)) {
4969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4971 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 result
= (bool)(arg1
)->IsOk();
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4987 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4989 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4990 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4991 return SWIG_Py_Void();
4994 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4995 return SWIG_Python_InitShadowInstance(args
);
4998 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
*resultobj
= 0;
5000 wxColour
*arg1
= 0 ;
5001 int arg2
= (int) 1 ;
5002 int arg3
= (int) wxSOLID
;
5009 PyObject
* obj0
= 0 ;
5010 PyObject
* obj1
= 0 ;
5011 PyObject
* obj2
= 0 ;
5012 char * kwnames
[] = {
5013 (char *) "colour",(char *) "width",(char *) "style", NULL
5016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5019 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5023 if (!SWIG_IsOK(ecode2
)) {
5024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5026 arg2
= static_cast< int >(val2
);
5029 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5030 if (!SWIG_IsOK(ecode3
)) {
5031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5033 arg3
= static_cast< int >(val3
);
5036 if (!wxPyCheckForApp()) SWIG_fail
;
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5049 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5050 PyObject
*resultobj
= 0;
5051 wxPen
*arg1
= (wxPen
*) 0 ;
5054 PyObject
*swig_obj
[1] ;
5056 if (!args
) SWIG_fail
;
5058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5059 if (!SWIG_IsOK(res1
)) {
5060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5062 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5070 resultobj
= SWIG_Py_Void();
5077 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5078 PyObject
*resultobj
= 0;
5079 wxPen
*arg1
= (wxPen
*) 0 ;
5083 PyObject
*swig_obj
[1] ;
5085 if (!args
) SWIG_fail
;
5087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5088 if (!SWIG_IsOK(res1
)) {
5089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5091 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5094 result
= (int)(arg1
)->GetCap();
5095 wxPyEndAllowThreads(__tstate
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5098 resultobj
= SWIG_From_int(static_cast< int >(result
));
5105 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5106 PyObject
*resultobj
= 0;
5107 wxPen
*arg1
= (wxPen
*) 0 ;
5111 PyObject
*swig_obj
[1] ;
5113 if (!args
) SWIG_fail
;
5115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5116 if (!SWIG_IsOK(res1
)) {
5117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5119 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5122 result
= (arg1
)->GetColour();
5123 wxPyEndAllowThreads(__tstate
);
5124 if (PyErr_Occurred()) SWIG_fail
;
5126 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5133 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5134 PyObject
*resultobj
= 0;
5135 wxPen
*arg1
= (wxPen
*) 0 ;
5139 PyObject
*swig_obj
[1] ;
5141 if (!args
) SWIG_fail
;
5143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5144 if (!SWIG_IsOK(res1
)) {
5145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5147 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5150 result
= (int)(arg1
)->GetJoin();
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5154 resultobj
= SWIG_From_int(static_cast< int >(result
));
5161 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5162 PyObject
*resultobj
= 0;
5163 wxPen
*arg1
= (wxPen
*) 0 ;
5167 PyObject
*swig_obj
[1] ;
5169 if (!args
) SWIG_fail
;
5171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5172 if (!SWIG_IsOK(res1
)) {
5173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5175 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 result
= (int)(arg1
)->GetStyle();
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5182 resultobj
= SWIG_From_int(static_cast< int >(result
));
5189 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5190 PyObject
*resultobj
= 0;
5191 wxPen
*arg1
= (wxPen
*) 0 ;
5195 PyObject
*swig_obj
[1] ;
5197 if (!args
) SWIG_fail
;
5199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5200 if (!SWIG_IsOK(res1
)) {
5201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5203 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= (int)(arg1
)->GetWidth();
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5210 resultobj
= SWIG_From_int(static_cast< int >(result
));
5217 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5218 PyObject
*resultobj
= 0;
5219 wxPen
*arg1
= (wxPen
*) 0 ;
5223 PyObject
*swig_obj
[1] ;
5225 if (!args
) SWIG_fail
;
5227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5228 if (!SWIG_IsOK(res1
)) {
5229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5231 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 result
= (bool)(arg1
)->IsOk();
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5247 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5248 PyObject
*resultobj
= 0;
5249 wxPen
*arg1
= (wxPen
*) 0 ;
5255 PyObject
* obj0
= 0 ;
5256 PyObject
* obj1
= 0 ;
5257 char * kwnames
[] = {
5258 (char *) "self",(char *) "cap_style", NULL
5261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5263 if (!SWIG_IsOK(res1
)) {
5264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5266 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5268 if (!SWIG_IsOK(ecode2
)) {
5269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5271 arg2
= static_cast< int >(val2
);
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 (arg1
)->SetCap(arg2
);
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5278 resultobj
= SWIG_Py_Void();
5285 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
*resultobj
= 0;
5287 wxPen
*arg1
= (wxPen
*) 0 ;
5288 wxColour
*arg2
= 0 ;
5292 PyObject
* obj0
= 0 ;
5293 PyObject
* obj1
= 0 ;
5294 char * kwnames
[] = {
5295 (char *) "self",(char *) "colour", NULL
5298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5300 if (!SWIG_IsOK(res1
)) {
5301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5303 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5306 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5310 (arg1
)->SetColour(*arg2
);
5311 wxPyEndAllowThreads(__tstate
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5314 resultobj
= SWIG_Py_Void();
5321 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
*resultobj
= 0;
5323 wxPen
*arg1
= (wxPen
*) 0 ;
5329 PyObject
* obj0
= 0 ;
5330 PyObject
* obj1
= 0 ;
5331 char * kwnames
[] = {
5332 (char *) "self",(char *) "join_style", NULL
5335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5337 if (!SWIG_IsOK(res1
)) {
5338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5340 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5342 if (!SWIG_IsOK(ecode2
)) {
5343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5345 arg2
= static_cast< int >(val2
);
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 (arg1
)->SetJoin(arg2
);
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5352 resultobj
= SWIG_Py_Void();
5359 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
*resultobj
= 0;
5361 wxPen
*arg1
= (wxPen
*) 0 ;
5367 PyObject
* obj0
= 0 ;
5368 PyObject
* obj1
= 0 ;
5369 char * kwnames
[] = {
5370 (char *) "self",(char *) "style", NULL
5373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5375 if (!SWIG_IsOK(res1
)) {
5376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5378 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5380 if (!SWIG_IsOK(ecode2
)) {
5381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5383 arg2
= static_cast< int >(val2
);
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 (arg1
)->SetStyle(arg2
);
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) SWIG_fail
;
5390 resultobj
= SWIG_Py_Void();
5397 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
*resultobj
= 0;
5399 wxPen
*arg1
= (wxPen
*) 0 ;
5405 PyObject
* obj0
= 0 ;
5406 PyObject
* obj1
= 0 ;
5407 char * kwnames
[] = {
5408 (char *) "self",(char *) "width", NULL
5411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5413 if (!SWIG_IsOK(res1
)) {
5414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5416 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5418 if (!SWIG_IsOK(ecode2
)) {
5419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5421 arg2
= static_cast< int >(val2
);
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 (arg1
)->SetWidth(arg2
);
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5428 resultobj
= SWIG_Py_Void();
5435 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
= 0;
5437 wxPen
*arg1
= (wxPen
*) 0 ;
5439 wxDash
*arg3
= (wxDash
*) 0 ;
5442 PyObject
* obj0
= 0 ;
5443 PyObject
* obj1
= 0 ;
5444 char * kwnames
[] = {
5445 (char *) "self",(char *) "dashes", NULL
5448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5450 if (!SWIG_IsOK(res1
)) {
5451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5453 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5455 arg2
= PyList_Size(obj1
);
5456 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5457 if (arg3
== NULL
) SWIG_fail
;
5460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5461 (arg1
)->SetDashes(arg2
,arg3
);
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5465 resultobj
= SWIG_Py_Void();
5467 if (arg3
) delete [] arg3
;
5472 if (arg3
) delete [] arg3
;
5478 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5479 PyObject
*resultobj
= 0;
5480 wxPen
*arg1
= (wxPen
*) 0 ;
5481 PyObject
*result
= 0 ;
5484 PyObject
*swig_obj
[1] ;
5486 if (!args
) SWIG_fail
;
5488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5489 if (!SWIG_IsOK(res1
)) {
5490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5492 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5496 wxPyEndAllowThreads(__tstate
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5506 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
*resultobj
= 0;
5508 wxPen
*arg1
= (wxPen
*) 0 ;
5509 PyObject
*arg2
= (PyObject
*) 0 ;
5510 PyObject
*arg3
= (PyObject
*) 0 ;
5513 PyObject
* obj0
= 0 ;
5514 PyObject
* obj1
= 0 ;
5515 PyObject
* obj2
= 0 ;
5516 char * kwnames
[] = {
5517 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5522 if (!SWIG_IsOK(res1
)) {
5523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5525 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5530 wxPen__SetDashes(arg1
,arg2
,arg3
);
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5534 resultobj
= SWIG_Py_Void();
5541 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5542 PyObject
*resultobj
= 0;
5543 wxPen
*arg1
= (wxPen
*) 0 ;
5547 PyObject
*swig_obj
[1] ;
5549 if (!args
) SWIG_fail
;
5551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5552 if (!SWIG_IsOK(res1
)) {
5553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5555 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5562 resultobj
= SWIG_From_int(static_cast< int >(result
));
5569 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5570 PyObject
*resultobj
= 0;
5571 wxPen
*arg1
= (wxPen
*) 0 ;
5572 wxBitmap
*result
= 0 ;
5575 PyObject
*swig_obj
[1] ;
5577 if (!args
) SWIG_fail
;
5579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5580 if (!SWIG_IsOK(res1
)) {
5581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5583 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 result
= (wxBitmap
*)(arg1
)->GetStipple();
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5597 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
= 0;
5599 wxPen
*arg1
= (wxPen
*) 0 ;
5600 wxBitmap
*arg2
= 0 ;
5605 PyObject
* obj0
= 0 ;
5606 PyObject
* obj1
= 0 ;
5607 char * kwnames
[] = {
5608 (char *) "self",(char *) "stipple", NULL
5611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5613 if (!SWIG_IsOK(res1
)) {
5614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5616 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5617 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5618 if (!SWIG_IsOK(res2
)) {
5619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5622 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5624 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 (arg1
)->SetStipple(*arg2
);
5628 wxPyEndAllowThreads(__tstate
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5631 resultobj
= SWIG_Py_Void();
5638 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
*resultobj
= 0;
5640 wxPen
*arg1
= (wxPen
*) 0 ;
5641 wxPen
*arg2
= (wxPen
*) 0 ;
5647 PyObject
* obj0
= 0 ;
5648 PyObject
* obj1
= 0 ;
5649 char * kwnames
[] = {
5650 (char *) "self",(char *) "other", NULL
5653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5655 if (!SWIG_IsOK(res1
)) {
5656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5658 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5659 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5660 if (!SWIG_IsOK(res2
)) {
5661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5663 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5666 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5679 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5680 PyObject
*resultobj
= 0;
5681 wxPen
*arg1
= (wxPen
*) 0 ;
5682 wxPen
*arg2
= (wxPen
*) 0 ;
5688 PyObject
* obj0
= 0 ;
5689 PyObject
* obj1
= 0 ;
5690 char * kwnames
[] = {
5691 (char *) "self",(char *) "other", NULL
5694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5696 if (!SWIG_IsOK(res1
)) {
5697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5699 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5700 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5701 if (!SWIG_IsOK(res2
)) {
5702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5704 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5708 wxPyEndAllowThreads(__tstate
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5720 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5722 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5723 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5724 return SWIG_Py_Void();
5727 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5728 return SWIG_Python_InitShadowInstance(args
);
5731 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5732 PyObject
*resultobj
= 0;
5733 wxColour
*arg1
= 0 ;
5734 int arg2
= (int) wxSOLID
;
5735 wxBrush
*result
= 0 ;
5739 PyObject
* obj0
= 0 ;
5740 PyObject
* obj1
= 0 ;
5741 char * kwnames
[] = {
5742 (char *) "colour",(char *) "style", NULL
5745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5748 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5751 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5752 if (!SWIG_IsOK(ecode2
)) {
5753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5755 arg2
= static_cast< int >(val2
);
5758 if (!wxPyCheckForApp()) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5771 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
*resultobj
= 0;
5773 wxBitmap
*arg1
= 0 ;
5774 wxBrush
*result
= 0 ;
5777 PyObject
* obj0
= 0 ;
5778 char * kwnames
[] = {
5779 (char *) "stippleBitmap", NULL
5782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5783 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5784 if (!SWIG_IsOK(res1
)) {
5785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5790 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5792 if (!wxPyCheckForApp()) SWIG_fail
;
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5798 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5805 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5806 PyObject
*resultobj
= 0;
5807 wxBrush
*arg1
= (wxBrush
*) 0 ;
5810 PyObject
*swig_obj
[1] ;
5812 if (!args
) SWIG_fail
;
5814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5815 if (!SWIG_IsOK(res1
)) {
5816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5818 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 resultobj
= SWIG_Py_Void();
5833 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
= 0;
5835 wxBrush
*arg1
= (wxBrush
*) 0 ;
5836 wxColour
*arg2
= 0 ;
5840 PyObject
* obj0
= 0 ;
5841 PyObject
* obj1
= 0 ;
5842 char * kwnames
[] = {
5843 (char *) "self",(char *) "col", NULL
5846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5848 if (!SWIG_IsOK(res1
)) {
5849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5851 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5854 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 (arg1
)->SetColour((wxColour
const &)*arg2
);
5859 wxPyEndAllowThreads(__tstate
);
5860 if (PyErr_Occurred()) SWIG_fail
;
5862 resultobj
= SWIG_Py_Void();
5869 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
*resultobj
= 0;
5871 wxBrush
*arg1
= (wxBrush
*) 0 ;
5877 PyObject
* obj0
= 0 ;
5878 PyObject
* obj1
= 0 ;
5879 char * kwnames
[] = {
5880 (char *) "self",(char *) "style", NULL
5883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5885 if (!SWIG_IsOK(res1
)) {
5886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5888 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5890 if (!SWIG_IsOK(ecode2
)) {
5891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5893 arg2
= static_cast< int >(val2
);
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5896 (arg1
)->SetStyle(arg2
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5900 resultobj
= SWIG_Py_Void();
5907 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
*resultobj
= 0;
5909 wxBrush
*arg1
= (wxBrush
*) 0 ;
5910 wxBitmap
*arg2
= 0 ;
5915 PyObject
* obj0
= 0 ;
5916 PyObject
* obj1
= 0 ;
5917 char * kwnames
[] = {
5918 (char *) "self",(char *) "stipple", NULL
5921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5923 if (!SWIG_IsOK(res1
)) {
5924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5926 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5927 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5928 if (!SWIG_IsOK(res2
)) {
5929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5932 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5934 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5941 resultobj
= SWIG_Py_Void();
5948 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5949 PyObject
*resultobj
= 0;
5950 wxBrush
*arg1
= (wxBrush
*) 0 ;
5954 PyObject
*swig_obj
[1] ;
5956 if (!args
) SWIG_fail
;
5958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5959 if (!SWIG_IsOK(res1
)) {
5960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5962 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5965 result
= ((wxBrush
const *)arg1
)->GetColour();
5966 wxPyEndAllowThreads(__tstate
);
5967 if (PyErr_Occurred()) SWIG_fail
;
5969 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5976 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5977 PyObject
*resultobj
= 0;
5978 wxBrush
*arg1
= (wxBrush
*) 0 ;
5982 PyObject
*swig_obj
[1] ;
5984 if (!args
) SWIG_fail
;
5986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5987 if (!SWIG_IsOK(res1
)) {
5988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5990 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5994 wxPyEndAllowThreads(__tstate
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5997 resultobj
= SWIG_From_int(static_cast< int >(result
));
6004 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6005 PyObject
*resultobj
= 0;
6006 wxBrush
*arg1
= (wxBrush
*) 0 ;
6007 wxBitmap
*result
= 0 ;
6010 PyObject
*swig_obj
[1] ;
6012 if (!args
) SWIG_fail
;
6014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6015 if (!SWIG_IsOK(res1
)) {
6016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6018 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6022 wxPyEndAllowThreads(__tstate
);
6023 if (PyErr_Occurred()) SWIG_fail
;
6025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6032 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6033 PyObject
*resultobj
= 0;
6034 wxBrush
*arg1
= (wxBrush
*) 0 ;
6038 PyObject
*swig_obj
[1] ;
6040 if (!args
) SWIG_fail
;
6042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6043 if (!SWIG_IsOK(res1
)) {
6044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6046 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6049 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6050 wxPyEndAllowThreads(__tstate
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6062 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6063 PyObject
*resultobj
= 0;
6064 wxBrush
*arg1
= (wxBrush
*) 0 ;
6068 PyObject
*swig_obj
[1] ;
6070 if (!args
) SWIG_fail
;
6072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6073 if (!SWIG_IsOK(res1
)) {
6074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6076 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 result
= (bool)(arg1
)->IsOk();
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6092 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6094 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6095 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6096 return SWIG_Py_Void();
6099 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6100 return SWIG_Python_InitShadowInstance(args
);
6103 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6104 PyObject
*resultobj
= 0;
6105 wxString
*arg1
= 0 ;
6106 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6107 wxBitmap
*result
= 0 ;
6108 bool temp1
= false ;
6111 PyObject
* obj0
= 0 ;
6112 PyObject
* obj1
= 0 ;
6113 char * kwnames
[] = {
6114 (char *) "name",(char *) "type", NULL
6117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6119 arg1
= wxString_in_helper(obj0
);
6120 if (arg1
== NULL
) SWIG_fail
;
6124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6125 if (!SWIG_IsOK(ecode2
)) {
6126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6128 arg2
= static_cast< wxBitmapType
>(val2
);
6131 if (!wxPyCheckForApp()) SWIG_fail
;
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6152 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6153 PyObject
*resultobj
= 0;
6154 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6157 PyObject
*swig_obj
[1] ;
6159 if (!args
) SWIG_fail
;
6161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6162 if (!SWIG_IsOK(res1
)) {
6163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6165 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6171 resultobj
= SWIG_Py_Void();
6178 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
*resultobj
= 0;
6182 int arg3
= (int) -1 ;
6183 wxBitmap
*result
= 0 ;
6190 PyObject
* obj0
= 0 ;
6191 PyObject
* obj1
= 0 ;
6192 PyObject
* obj2
= 0 ;
6193 char * kwnames
[] = {
6194 (char *) "width",(char *) "height",(char *) "depth", NULL
6197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6198 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6199 if (!SWIG_IsOK(ecode1
)) {
6200 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6202 arg1
= static_cast< int >(val1
);
6203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6204 if (!SWIG_IsOK(ecode2
)) {
6205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6207 arg2
= static_cast< int >(val2
);
6209 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6210 if (!SWIG_IsOK(ecode3
)) {
6211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6213 arg3
= static_cast< int >(val3
);
6216 if (!wxPyCheckForApp()) SWIG_fail
;
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6229 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
*resultobj
= 0;
6232 wxBitmap
*result
= 0 ;
6235 PyObject
* obj0
= 0 ;
6236 char * kwnames
[] = {
6237 (char *) "icon", NULL
6240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6241 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6242 if (!SWIG_IsOK(res1
)) {
6243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6248 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6250 if (!wxPyCheckForApp()) SWIG_fail
;
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6253 wxPyEndAllowThreads(__tstate
);
6254 if (PyErr_Occurred()) SWIG_fail
;
6256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6263 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6264 PyObject
*resultobj
= 0;
6266 int arg2
= (int) -1 ;
6267 wxBitmap
*result
= 0 ;
6272 PyObject
* obj0
= 0 ;
6273 PyObject
* obj1
= 0 ;
6274 char * kwnames
[] = {
6275 (char *) "image",(char *) "depth", NULL
6278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6279 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6280 if (!SWIG_IsOK(res1
)) {
6281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6286 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6289 if (!SWIG_IsOK(ecode2
)) {
6290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6292 arg2
= static_cast< int >(val2
);
6295 if (!wxPyCheckForApp()) SWIG_fail
;
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6308 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
= 0;
6310 PyObject
*arg1
= (PyObject
*) 0 ;
6311 wxBitmap
*result
= 0 ;
6312 PyObject
* obj0
= 0 ;
6313 char * kwnames
[] = {
6314 (char *) "listOfStrings", NULL
6317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6320 if (!wxPyCheckForApp()) SWIG_fail
;
6321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6322 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6323 wxPyEndAllowThreads(__tstate
);
6324 if (PyErr_Occurred()) SWIG_fail
;
6326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6333 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
*resultobj
= 0;
6335 PyObject
*arg1
= (PyObject
*) 0 ;
6338 int arg4
= (int) 1 ;
6339 wxBitmap
*result
= 0 ;
6346 PyObject
* obj0
= 0 ;
6347 PyObject
* obj1
= 0 ;
6348 PyObject
* obj2
= 0 ;
6349 PyObject
* obj3
= 0 ;
6350 char * kwnames
[] = {
6351 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6357 if (!SWIG_IsOK(ecode2
)) {
6358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6360 arg2
= static_cast< int >(val2
);
6361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6362 if (!SWIG_IsOK(ecode3
)) {
6363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6365 arg3
= static_cast< int >(val3
);
6367 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6368 if (!SWIG_IsOK(ecode4
)) {
6369 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6371 arg4
= static_cast< int >(val4
);
6374 if (!wxPyCheckForApp()) SWIG_fail
;
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6387 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6388 PyObject
*resultobj
= 0;
6389 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6393 PyObject
*swig_obj
[1] ;
6395 if (!args
) SWIG_fail
;
6397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6398 if (!SWIG_IsOK(res1
)) {
6399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6401 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6403 result
= (long)(arg1
)->GetHandle();
6404 if (PyErr_Occurred()) SWIG_fail
;
6406 resultobj
= SWIG_From_long(static_cast< long >(result
));
6413 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
*resultobj
= 0;
6415 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6421 PyObject
* obj0
= 0 ;
6422 PyObject
* obj1
= 0 ;
6423 char * kwnames
[] = {
6424 (char *) "self",(char *) "handle", NULL
6427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6429 if (!SWIG_IsOK(res1
)) {
6430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6432 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6433 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6434 if (!SWIG_IsOK(ecode2
)) {
6435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6437 arg2
= static_cast< long >(val2
);
6439 wxBitmap_SetHandle(arg1
,arg2
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6442 resultobj
= SWIG_Py_Void();
6449 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6450 PyObject
*resultobj
= 0;
6451 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6455 PyObject
*swig_obj
[1] ;
6457 if (!args
) SWIG_fail
;
6459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6460 if (!SWIG_IsOK(res1
)) {
6461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6463 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6465 result
= (bool)(arg1
)->IsOk();
6466 if (PyErr_Occurred()) SWIG_fail
;
6469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6477 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6478 PyObject
*resultobj
= 0;
6479 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6483 PyObject
*swig_obj
[1] ;
6485 if (!args
) SWIG_fail
;
6487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6488 if (!SWIG_IsOK(res1
)) {
6489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6491 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6493 result
= (int)(arg1
)->GetWidth();
6494 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= SWIG_From_int(static_cast< int >(result
));
6503 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6504 PyObject
*resultobj
= 0;
6505 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6509 PyObject
*swig_obj
[1] ;
6511 if (!args
) SWIG_fail
;
6513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6514 if (!SWIG_IsOK(res1
)) {
6515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6517 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6519 result
= (int)(arg1
)->GetHeight();
6520 if (PyErr_Occurred()) SWIG_fail
;
6522 resultobj
= SWIG_From_int(static_cast< int >(result
));
6529 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6530 PyObject
*resultobj
= 0;
6531 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6535 PyObject
*swig_obj
[1] ;
6537 if (!args
) SWIG_fail
;
6539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6540 if (!SWIG_IsOK(res1
)) {
6541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6543 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6545 result
= (int)(arg1
)->GetDepth();
6546 if (PyErr_Occurred()) SWIG_fail
;
6548 resultobj
= SWIG_From_int(static_cast< int >(result
));
6555 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6556 PyObject
*resultobj
= 0;
6557 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6561 PyObject
*swig_obj
[1] ;
6563 if (!args
) SWIG_fail
;
6565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6566 if (!SWIG_IsOK(res1
)) {
6567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6569 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6571 result
= wxBitmap_GetSize(arg1
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6574 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6581 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6582 PyObject
*resultobj
= 0;
6583 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6584 SwigValueWrapper
<wxImage
> result
;
6587 PyObject
*swig_obj
[1] ;
6589 if (!args
) SWIG_fail
;
6591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6592 if (!SWIG_IsOK(res1
)) {
6593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6595 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6597 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6598 if (PyErr_Occurred()) SWIG_fail
;
6600 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6607 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6608 PyObject
*resultobj
= 0;
6609 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6610 wxMask
*result
= 0 ;
6613 PyObject
*swig_obj
[1] ;
6615 if (!args
) SWIG_fail
;
6617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6618 if (!SWIG_IsOK(res1
)) {
6619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6621 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6623 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6624 if (PyErr_Occurred()) SWIG_fail
;
6626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6633 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
*resultobj
= 0;
6635 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6636 wxMask
*arg2
= (wxMask
*) 0 ;
6640 PyObject
* obj0
= 0 ;
6641 PyObject
* obj1
= 0 ;
6642 char * kwnames
[] = {
6643 (char *) "self",(char *) "mask", NULL
6646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6648 if (!SWIG_IsOK(res1
)) {
6649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6651 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6652 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6653 if (!SWIG_IsOK(res2
)) {
6654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6657 (arg1
)->SetMask(arg2
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6660 resultobj
= SWIG_Py_Void();
6667 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
*resultobj
= 0;
6669 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6670 wxColour
*arg2
= 0 ;
6674 PyObject
* obj0
= 0 ;
6675 PyObject
* obj1
= 0 ;
6676 char * kwnames
[] = {
6677 (char *) "self",(char *) "colour", NULL
6680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6682 if (!SWIG_IsOK(res1
)) {
6683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6685 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6688 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6691 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6694 resultobj
= SWIG_Py_Void();
6701 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
*resultobj
= 0;
6703 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6705 SwigValueWrapper
<wxBitmap
> result
;
6709 PyObject
* obj0
= 0 ;
6710 PyObject
* obj1
= 0 ;
6711 char * kwnames
[] = {
6712 (char *) "self",(char *) "rect", NULL
6715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6717 if (!SWIG_IsOK(res1
)) {
6718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6720 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6723 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6726 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6729 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6736 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6737 PyObject
*resultobj
= 0;
6738 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6739 wxString
*arg2
= 0 ;
6741 wxPalette
*arg4
= (wxPalette
*) NULL
;
6745 bool temp2
= false ;
6750 PyObject
* obj0
= 0 ;
6751 PyObject
* obj1
= 0 ;
6752 PyObject
* obj2
= 0 ;
6753 PyObject
* obj3
= 0 ;
6754 char * kwnames
[] = {
6755 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6760 if (!SWIG_IsOK(res1
)) {
6761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6763 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6765 arg2
= wxString_in_helper(obj1
);
6766 if (arg2
== NULL
) SWIG_fail
;
6769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6770 if (!SWIG_IsOK(ecode3
)) {
6771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6773 arg3
= static_cast< wxBitmapType
>(val3
);
6775 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6776 if (!SWIG_IsOK(res4
)) {
6777 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6779 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6782 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6802 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
*resultobj
= 0;
6804 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6805 wxString
*arg2
= 0 ;
6810 bool temp2
= false ;
6813 PyObject
* obj0
= 0 ;
6814 PyObject
* obj1
= 0 ;
6815 PyObject
* obj2
= 0 ;
6816 char * kwnames
[] = {
6817 (char *) "self",(char *) "name",(char *) "type", NULL
6820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6822 if (!SWIG_IsOK(res1
)) {
6823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6825 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6827 arg2
= wxString_in_helper(obj1
);
6828 if (arg2
== NULL
) SWIG_fail
;
6831 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6832 if (!SWIG_IsOK(ecode3
)) {
6833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6835 arg3
= static_cast< wxBitmapType
>(val3
);
6837 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6857 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6858 PyObject
*resultobj
= 0;
6859 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6860 wxPalette
*result
= 0 ;
6863 PyObject
*swig_obj
[1] ;
6865 if (!args
) SWIG_fail
;
6867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6868 if (!SWIG_IsOK(res1
)) {
6869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6871 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6873 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6874 if (PyErr_Occurred()) SWIG_fail
;
6876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6883 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
*resultobj
= 0;
6885 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6886 wxPalette
*arg2
= 0 ;
6891 PyObject
* obj0
= 0 ;
6892 PyObject
* obj1
= 0 ;
6893 char * kwnames
[] = {
6894 (char *) "self",(char *) "palette", NULL
6897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6899 if (!SWIG_IsOK(res1
)) {
6900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6902 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6903 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6904 if (!SWIG_IsOK(res2
)) {
6905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6908 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6910 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6912 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6913 if (PyErr_Occurred()) SWIG_fail
;
6915 resultobj
= SWIG_Py_Void();
6922 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
*resultobj
= 0;
6924 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6931 PyObject
* obj0
= 0 ;
6932 PyObject
* obj1
= 0 ;
6933 char * kwnames
[] = {
6934 (char *) "self",(char *) "icon", NULL
6937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6939 if (!SWIG_IsOK(res1
)) {
6940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6942 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6943 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6944 if (!SWIG_IsOK(res2
)) {
6945 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6950 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6952 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6964 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
= 0;
6966 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6972 PyObject
* obj0
= 0 ;
6973 PyObject
* obj1
= 0 ;
6974 char * kwnames
[] = {
6975 (char *) "self",(char *) "height", NULL
6978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6980 if (!SWIG_IsOK(res1
)) {
6981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6983 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6985 if (!SWIG_IsOK(ecode2
)) {
6986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6988 arg2
= static_cast< int >(val2
);
6990 (arg1
)->SetHeight(arg2
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6993 resultobj
= SWIG_Py_Void();
7000 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
= 0;
7002 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7008 PyObject
* obj0
= 0 ;
7009 PyObject
* obj1
= 0 ;
7010 char * kwnames
[] = {
7011 (char *) "self",(char *) "width", NULL
7014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7016 if (!SWIG_IsOK(res1
)) {
7017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7019 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7021 if (!SWIG_IsOK(ecode2
)) {
7022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
7024 arg2
= static_cast< int >(val2
);
7026 (arg1
)->SetWidth(arg2
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7029 resultobj
= SWIG_Py_Void();
7036 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7037 PyObject
*resultobj
= 0;
7038 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7044 PyObject
* obj0
= 0 ;
7045 PyObject
* obj1
= 0 ;
7046 char * kwnames
[] = {
7047 (char *) "self",(char *) "depth", NULL
7050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7052 if (!SWIG_IsOK(res1
)) {
7053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7055 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7057 if (!SWIG_IsOK(ecode2
)) {
7058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
7060 arg2
= static_cast< int >(val2
);
7062 (arg1
)->SetDepth(arg2
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7065 resultobj
= SWIG_Py_Void();
7072 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
*resultobj
= 0;
7074 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7079 PyObject
* obj0
= 0 ;
7080 PyObject
* obj1
= 0 ;
7081 char * kwnames
[] = {
7082 (char *) "self",(char *) "size", NULL
7085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7087 if (!SWIG_IsOK(res1
)) {
7088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7090 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7093 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7096 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7099 resultobj
= SWIG_Py_Void();
7106 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
*resultobj
= 0;
7108 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7109 wxCursor
*arg2
= 0 ;
7115 PyObject
* obj0
= 0 ;
7116 PyObject
* obj1
= 0 ;
7117 char * kwnames
[] = {
7118 (char *) "self",(char *) "cursor", NULL
7121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7123 if (!SWIG_IsOK(res1
)) {
7124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
7126 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7127 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
7128 if (!SWIG_IsOK(res2
)) {
7129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7134 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
7136 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7148 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
= 0;
7150 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7156 PyObject
* obj0
= 0 ;
7157 PyObject
* obj1
= 0 ;
7158 char * kwnames
[] = {
7159 (char *) "self",(char *) "data", NULL
7162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7164 if (!SWIG_IsOK(res1
)) {
7165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7167 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7169 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7173 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7176 resultobj
= SWIG_Py_Void();
7183 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
*resultobj
= 0;
7185 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7191 PyObject
* obj0
= 0 ;
7192 PyObject
* obj1
= 0 ;
7193 char * kwnames
[] = {
7194 (char *) "self",(char *) "data", NULL
7197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7199 if (!SWIG_IsOK(res1
)) {
7200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7202 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7204 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7208 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7211 resultobj
= SWIG_Py_Void();
7218 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
= 0;
7220 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7221 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7227 PyObject
* obj0
= 0 ;
7228 PyObject
* obj1
= 0 ;
7229 char * kwnames
[] = {
7230 (char *) "self",(char *) "other", NULL
7233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7235 if (!SWIG_IsOK(res1
)) {
7236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7238 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7239 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7240 if (!SWIG_IsOK(res2
)) {
7241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7243 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7245 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7257 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
= 0;
7259 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7260 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7266 PyObject
* obj0
= 0 ;
7267 PyObject
* obj1
= 0 ;
7268 char * kwnames
[] = {
7269 (char *) "self",(char *) "other", NULL
7272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7274 if (!SWIG_IsOK(res1
)) {
7275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7277 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7278 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7279 if (!SWIG_IsOK(res2
)) {
7280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7282 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7284 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7296 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7298 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7299 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7300 return SWIG_Py_Void();
7303 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7304 return SWIG_Python_InitShadowInstance(args
);
7307 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
*resultobj
= 0;
7315 wxBitmap
*result
= 0 ;
7322 PyObject
* obj0
= 0 ;
7323 PyObject
* obj1
= 0 ;
7324 PyObject
* obj2
= 0 ;
7325 PyObject
* obj3
= 0 ;
7326 char * kwnames
[] = {
7327 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7331 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7332 if (!SWIG_IsOK(ecode1
)) {
7333 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7335 arg1
= static_cast< int >(val1
);
7336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7337 if (!SWIG_IsOK(ecode2
)) {
7338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7340 arg2
= static_cast< int >(val2
);
7342 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7346 if (obj3
!= Py_None
) {
7347 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7352 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7353 if (PyErr_Occurred()) SWIG_fail
;
7355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7362 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
= 0;
7368 wxBitmap
*result
= 0 ;
7374 PyObject
* obj0
= 0 ;
7375 PyObject
* obj1
= 0 ;
7376 PyObject
* obj2
= 0 ;
7377 char * kwnames
[] = {
7378 (char *) "width",(char *) "height",(char *) "data", NULL
7381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7382 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7383 if (!SWIG_IsOK(ecode1
)) {
7384 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7386 arg1
= static_cast< int >(val1
);
7387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7388 if (!SWIG_IsOK(ecode2
)) {
7389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7391 arg2
= static_cast< int >(val2
);
7393 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7397 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7398 if (PyErr_Occurred()) SWIG_fail
;
7400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7407 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7408 PyObject
*resultobj
= 0;
7413 wxBitmap
*result
= 0 ;
7419 PyObject
* obj0
= 0 ;
7420 PyObject
* obj1
= 0 ;
7421 PyObject
* obj2
= 0 ;
7422 char * kwnames
[] = {
7423 (char *) "width",(char *) "height",(char *) "data", NULL
7426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7427 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7428 if (!SWIG_IsOK(ecode1
)) {
7429 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7431 arg1
= static_cast< int >(val1
);
7432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7433 if (!SWIG_IsOK(ecode2
)) {
7434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7436 arg2
= static_cast< int >(val2
);
7438 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7442 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7443 if (PyErr_Occurred()) SWIG_fail
;
7445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7452 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7453 PyObject
*resultobj
= 0;
7454 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7458 PyObject
*swig_obj
[1] ;
7460 if (!args
) SWIG_fail
;
7462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7463 if (!SWIG_IsOK(res1
)) {
7464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7466 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7468 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7469 if (PyErr_Occurred()) SWIG_fail
;
7471 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7478 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7479 PyObject
*resultobj
= 0;
7480 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7484 PyObject
*swig_obj
[1] ;
7486 if (!args
) SWIG_fail
;
7488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7489 if (!SWIG_IsOK(res1
)) {
7490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7492 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7494 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7495 if (PyErr_Occurred()) SWIG_fail
;
7497 resultobj
= SWIG_From_int(static_cast< int >(result
));
7504 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7505 PyObject
*resultobj
= 0;
7506 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7510 PyObject
*swig_obj
[1] ;
7512 if (!args
) SWIG_fail
;
7514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7515 if (!SWIG_IsOK(res1
)) {
7516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7518 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7520 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7521 if (PyErr_Occurred()) SWIG_fail
;
7523 resultobj
= SWIG_From_int(static_cast< int >(result
));
7530 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7531 PyObject
*resultobj
= 0;
7532 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7536 PyObject
*swig_obj
[1] ;
7538 if (!args
) SWIG_fail
;
7540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7541 if (!SWIG_IsOK(res1
)) {
7542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7544 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7546 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7547 if (PyErr_Occurred()) SWIG_fail
;
7549 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7556 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7557 PyObject
*resultobj
= 0;
7558 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7562 PyObject
*swig_obj
[1] ;
7564 if (!args
) SWIG_fail
;
7566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7567 if (!SWIG_IsOK(res1
)) {
7568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7570 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7572 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= SWIG_From_int(static_cast< int >(result
));
7582 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7584 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7585 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7586 return SWIG_Py_Void();
7589 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7590 PyObject
*resultobj
= 0;
7591 wxBitmap
*arg1
= 0 ;
7592 wxNativePixelData
*result
= 0 ;
7596 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7598 if (!SWIG_IsOK(res1
)) {
7599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7604 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7606 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7616 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7617 PyObject
*resultobj
= 0;
7618 wxBitmap
*arg1
= 0 ;
7620 wxNativePixelData
*result
= 0 ;
7625 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7627 if (!SWIG_IsOK(res1
)) {
7628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7633 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7636 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7639 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7649 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7650 PyObject
*resultobj
= 0;
7651 wxBitmap
*arg1
= 0 ;
7654 wxNativePixelData
*result
= 0 ;
7660 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7662 if (!SWIG_IsOK(res1
)) {
7663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7668 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7671 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7675 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7678 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7688 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7692 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7695 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7698 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7701 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7705 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7710 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7711 PyObject
*resultobj
= 0;
7712 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7715 PyObject
*swig_obj
[1] ;
7717 if (!args
) SWIG_fail
;
7719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7720 if (!SWIG_IsOK(res1
)) {
7721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7723 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7729 resultobj
= SWIG_Py_Void();
7736 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7737 PyObject
*resultobj
= 0;
7738 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7739 wxNativePixelData_Accessor result
;
7742 PyObject
*swig_obj
[1] ;
7744 if (!args
) SWIG_fail
;
7746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7747 if (!SWIG_IsOK(res1
)) {
7748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7750 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7752 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7753 if (PyErr_Occurred()) SWIG_fail
;
7755 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7762 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7763 PyObject
*resultobj
= 0;
7764 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7767 PyObject
*swig_obj
[1] ;
7769 if (!args
) SWIG_fail
;
7771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7772 if (!SWIG_IsOK(res1
)) {
7773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7775 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7780 resultobj
= SWIG_Py_Void();
7787 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7788 PyObject
*resultobj
= 0;
7789 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7793 PyObject
*swig_obj
[1] ;
7795 if (!args
) SWIG_fail
;
7797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7798 if (!SWIG_IsOK(res1
)) {
7799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7801 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7803 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7804 if (PyErr_Occurred()) SWIG_fail
;
7807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7815 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7817 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7818 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7819 return SWIG_Py_Void();
7822 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7823 return SWIG_Python_InitShadowInstance(args
);
7826 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7827 PyObject
*resultobj
= 0;
7828 wxNativePixelData
*arg1
= 0 ;
7829 wxNativePixelData_Accessor
*result
= 0 ;
7833 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7835 if (!SWIG_IsOK(res1
)) {
7836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7841 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7843 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7853 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7854 PyObject
*resultobj
= 0;
7855 wxBitmap
*arg1
= 0 ;
7856 wxNativePixelData
*arg2
= 0 ;
7857 wxNativePixelData_Accessor
*result
= 0 ;
7863 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7865 if (!SWIG_IsOK(res1
)) {
7866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7869 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7871 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7872 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7873 if (!SWIG_IsOK(res2
)) {
7874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7877 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7879 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7881 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7891 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7892 PyObject
*resultobj
= 0;
7893 wxNativePixelData_Accessor
*result
= 0 ;
7895 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7897 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7898 if (PyErr_Occurred()) SWIG_fail
;
7900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7907 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7911 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7914 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7917 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7920 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7924 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7929 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7930 PyObject
*resultobj
= 0;
7931 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7934 PyObject
*swig_obj
[1] ;
7936 if (!args
) SWIG_fail
;
7938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7939 if (!SWIG_IsOK(res1
)) {
7940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7942 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 resultobj
= SWIG_Py_Void();
7955 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
= 0;
7957 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7958 wxNativePixelData
*arg2
= 0 ;
7963 PyObject
* obj0
= 0 ;
7964 PyObject
* obj1
= 0 ;
7965 char * kwnames
[] = {
7966 (char *) "self",(char *) "data", NULL
7969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7971 if (!SWIG_IsOK(res1
)) {
7972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7974 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7975 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7976 if (!SWIG_IsOK(res2
)) {
7977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7982 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7984 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= SWIG_Py_Void();
7994 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7995 PyObject
*resultobj
= 0;
7996 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8000 PyObject
*swig_obj
[1] ;
8002 if (!args
) SWIG_fail
;
8004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8005 if (!SWIG_IsOK(res1
)) {
8006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
8008 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8010 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
8011 if (PyErr_Occurred()) SWIG_fail
;
8014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8022 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8023 PyObject
*resultobj
= 0;
8024 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8027 PyObject
*swig_obj
[1] ;
8029 if (!args
) SWIG_fail
;
8031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8032 if (!SWIG_IsOK(res1
)) {
8033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8035 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8037 wxNativePixelData_Accessor_nextPixel(arg1
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= SWIG_Py_Void();
8047 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
*resultobj
= 0;
8049 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8050 wxNativePixelData
*arg2
= 0 ;
8061 PyObject
* obj0
= 0 ;
8062 PyObject
* obj1
= 0 ;
8063 PyObject
* obj2
= 0 ;
8064 PyObject
* obj3
= 0 ;
8065 char * kwnames
[] = {
8066 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8071 if (!SWIG_IsOK(res1
)) {
8072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8074 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8075 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8076 if (!SWIG_IsOK(res2
)) {
8077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8082 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8083 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8084 if (!SWIG_IsOK(ecode3
)) {
8085 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8087 arg3
= static_cast< int >(val3
);
8088 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8089 if (!SWIG_IsOK(ecode4
)) {
8090 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8092 arg4
= static_cast< int >(val4
);
8094 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8097 resultobj
= SWIG_Py_Void();
8104 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
= 0;
8106 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8107 wxNativePixelData
*arg2
= 0 ;
8115 PyObject
* obj0
= 0 ;
8116 PyObject
* obj1
= 0 ;
8117 PyObject
* obj2
= 0 ;
8118 char * kwnames
[] = {
8119 (char *) "self",(char *) "data",(char *) "x", NULL
8122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8124 if (!SWIG_IsOK(res1
)) {
8125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8127 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8128 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8129 if (!SWIG_IsOK(res2
)) {
8130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8135 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8137 if (!SWIG_IsOK(ecode3
)) {
8138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8140 arg3
= static_cast< int >(val3
);
8142 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8145 resultobj
= SWIG_Py_Void();
8152 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
*resultobj
= 0;
8154 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8155 wxNativePixelData
*arg2
= 0 ;
8163 PyObject
* obj0
= 0 ;
8164 PyObject
* obj1
= 0 ;
8165 PyObject
* obj2
= 0 ;
8166 char * kwnames
[] = {
8167 (char *) "self",(char *) "data",(char *) "y", NULL
8170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8172 if (!SWIG_IsOK(res1
)) {
8173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8175 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8176 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8177 if (!SWIG_IsOK(res2
)) {
8178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8183 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8184 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8185 if (!SWIG_IsOK(ecode3
)) {
8186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8188 arg3
= static_cast< int >(val3
);
8190 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8193 resultobj
= SWIG_Py_Void();
8200 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8201 PyObject
*resultobj
= 0;
8202 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8203 wxNativePixelData
*arg2
= 0 ;
8214 PyObject
* obj0
= 0 ;
8215 PyObject
* obj1
= 0 ;
8216 PyObject
* obj2
= 0 ;
8217 PyObject
* obj3
= 0 ;
8218 char * kwnames
[] = {
8219 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8224 if (!SWIG_IsOK(res1
)) {
8225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8227 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8228 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8229 if (!SWIG_IsOK(res2
)) {
8230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8235 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8236 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8237 if (!SWIG_IsOK(ecode3
)) {
8238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8240 arg3
= static_cast< int >(val3
);
8241 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8242 if (!SWIG_IsOK(ecode4
)) {
8243 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8245 arg4
= static_cast< int >(val4
);
8247 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8248 if (PyErr_Occurred()) SWIG_fail
;
8250 resultobj
= SWIG_Py_Void();
8257 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8258 PyObject
*resultobj
= 0;
8259 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8265 unsigned char val2
;
8267 unsigned char val3
;
8269 unsigned char val4
;
8271 PyObject
* obj0
= 0 ;
8272 PyObject
* obj1
= 0 ;
8273 PyObject
* obj2
= 0 ;
8274 PyObject
* obj3
= 0 ;
8275 char * kwnames
[] = {
8276 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8281 if (!SWIG_IsOK(res1
)) {
8282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8284 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8285 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8286 if (!SWIG_IsOK(ecode2
)) {
8287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8289 arg2
= static_cast< byte
>(val2
);
8290 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8291 if (!SWIG_IsOK(ecode3
)) {
8292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8294 arg3
= static_cast< byte
>(val3
);
8295 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8296 if (!SWIG_IsOK(ecode4
)) {
8297 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8299 arg4
= static_cast< byte
>(val4
);
8301 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8302 if (PyErr_Occurred()) SWIG_fail
;
8304 resultobj
= SWIG_Py_Void();
8311 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8312 PyObject
*resultobj
= 0;
8313 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8314 PyObject
*result
= 0 ;
8317 PyObject
*swig_obj
[1] ;
8319 if (!args
) SWIG_fail
;
8321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8322 if (!SWIG_IsOK(res1
)) {
8323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8325 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8327 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8337 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8340 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8341 return SWIG_Py_Void();
8344 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8345 return SWIG_Python_InitShadowInstance(args
);
8348 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8349 PyObject
*resultobj
= 0;
8350 wxBitmap
*arg1
= 0 ;
8351 wxAlphaPixelData
*result
= 0 ;
8355 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8357 if (!SWIG_IsOK(res1
)) {
8358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8363 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8365 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8375 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8376 PyObject
*resultobj
= 0;
8377 wxBitmap
*arg1
= 0 ;
8379 wxAlphaPixelData
*result
= 0 ;
8384 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8386 if (!SWIG_IsOK(res1
)) {
8387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8392 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8395 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8398 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8399 if (PyErr_Occurred()) SWIG_fail
;
8401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8408 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8409 PyObject
*resultobj
= 0;
8410 wxBitmap
*arg1
= 0 ;
8413 wxAlphaPixelData
*result
= 0 ;
8419 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8421 if (!SWIG_IsOK(res1
)) {
8422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8425 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8427 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8430 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8434 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8437 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8447 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8451 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8454 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8457 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8460 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8464 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8469 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8470 PyObject
*resultobj
= 0;
8471 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8474 PyObject
*swig_obj
[1] ;
8476 if (!args
) SWIG_fail
;
8478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8479 if (!SWIG_IsOK(res1
)) {
8480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8482 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8488 resultobj
= SWIG_Py_Void();
8495 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8496 PyObject
*resultobj
= 0;
8497 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8498 wxAlphaPixelData_Accessor result
;
8501 PyObject
*swig_obj
[1] ;
8503 if (!args
) SWIG_fail
;
8505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8506 if (!SWIG_IsOK(res1
)) {
8507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8509 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8511 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8521 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8522 PyObject
*resultobj
= 0;
8523 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8526 PyObject
*swig_obj
[1] ;
8528 if (!args
) SWIG_fail
;
8530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8531 if (!SWIG_IsOK(res1
)) {
8532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8534 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8539 resultobj
= SWIG_Py_Void();
8546 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8547 PyObject
*resultobj
= 0;
8548 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8552 PyObject
*swig_obj
[1] ;
8554 if (!args
) SWIG_fail
;
8556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8557 if (!SWIG_IsOK(res1
)) {
8558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8560 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8562 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8574 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8576 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8577 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8578 return SWIG_Py_Void();
8581 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8582 return SWIG_Python_InitShadowInstance(args
);
8585 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8586 PyObject
*resultobj
= 0;
8587 wxAlphaPixelData
*arg1
= 0 ;
8588 wxAlphaPixelData_Accessor
*result
= 0 ;
8592 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8594 if (!SWIG_IsOK(res1
)) {
8595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8600 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8602 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8603 if (PyErr_Occurred()) SWIG_fail
;
8605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8612 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8613 PyObject
*resultobj
= 0;
8614 wxBitmap
*arg1
= 0 ;
8615 wxAlphaPixelData
*arg2
= 0 ;
8616 wxAlphaPixelData_Accessor
*result
= 0 ;
8622 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8624 if (!SWIG_IsOK(res1
)) {
8625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8630 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8631 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8632 if (!SWIG_IsOK(res2
)) {
8633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8638 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8640 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8650 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8651 PyObject
*resultobj
= 0;
8652 wxAlphaPixelData_Accessor
*result
= 0 ;
8654 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8656 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8657 if (PyErr_Occurred()) SWIG_fail
;
8659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8666 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8670 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8673 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8676 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8679 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8683 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8688 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8689 PyObject
*resultobj
= 0;
8690 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8693 PyObject
*swig_obj
[1] ;
8695 if (!args
) SWIG_fail
;
8697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8698 if (!SWIG_IsOK(res1
)) {
8699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8701 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8707 resultobj
= SWIG_Py_Void();
8714 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8715 PyObject
*resultobj
= 0;
8716 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8717 wxAlphaPixelData
*arg2
= 0 ;
8722 PyObject
* obj0
= 0 ;
8723 PyObject
* obj1
= 0 ;
8724 char * kwnames
[] = {
8725 (char *) "self",(char *) "data", NULL
8728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8730 if (!SWIG_IsOK(res1
)) {
8731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8733 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8734 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8735 if (!SWIG_IsOK(res2
)) {
8736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8741 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8743 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8746 resultobj
= SWIG_Py_Void();
8753 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8754 PyObject
*resultobj
= 0;
8755 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8759 PyObject
*swig_obj
[1] ;
8761 if (!args
) SWIG_fail
;
8763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8764 if (!SWIG_IsOK(res1
)) {
8765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8767 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8769 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8770 if (PyErr_Occurred()) SWIG_fail
;
8773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8781 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8782 PyObject
*resultobj
= 0;
8783 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8786 PyObject
*swig_obj
[1] ;
8788 if (!args
) SWIG_fail
;
8790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8791 if (!SWIG_IsOK(res1
)) {
8792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8794 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8796 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8797 if (PyErr_Occurred()) SWIG_fail
;
8799 resultobj
= SWIG_Py_Void();
8806 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8807 PyObject
*resultobj
= 0;
8808 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8809 wxAlphaPixelData
*arg2
= 0 ;
8820 PyObject
* obj0
= 0 ;
8821 PyObject
* obj1
= 0 ;
8822 PyObject
* obj2
= 0 ;
8823 PyObject
* obj3
= 0 ;
8824 char * kwnames
[] = {
8825 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8830 if (!SWIG_IsOK(res1
)) {
8831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8833 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8834 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8835 if (!SWIG_IsOK(res2
)) {
8836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8841 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8842 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8843 if (!SWIG_IsOK(ecode3
)) {
8844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8846 arg3
= static_cast< int >(val3
);
8847 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8848 if (!SWIG_IsOK(ecode4
)) {
8849 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8851 arg4
= static_cast< int >(val4
);
8853 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8856 resultobj
= SWIG_Py_Void();
8863 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
*resultobj
= 0;
8865 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8866 wxAlphaPixelData
*arg2
= 0 ;
8874 PyObject
* obj0
= 0 ;
8875 PyObject
* obj1
= 0 ;
8876 PyObject
* obj2
= 0 ;
8877 char * kwnames
[] = {
8878 (char *) "self",(char *) "data",(char *) "x", NULL
8881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8883 if (!SWIG_IsOK(res1
)) {
8884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8886 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8887 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8888 if (!SWIG_IsOK(res2
)) {
8889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8894 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8896 if (!SWIG_IsOK(ecode3
)) {
8897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8899 arg3
= static_cast< int >(val3
);
8901 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8904 resultobj
= SWIG_Py_Void();
8911 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8912 PyObject
*resultobj
= 0;
8913 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8914 wxAlphaPixelData
*arg2
= 0 ;
8922 PyObject
* obj0
= 0 ;
8923 PyObject
* obj1
= 0 ;
8924 PyObject
* obj2
= 0 ;
8925 char * kwnames
[] = {
8926 (char *) "self",(char *) "data",(char *) "y", NULL
8929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8931 if (!SWIG_IsOK(res1
)) {
8932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8934 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8935 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8936 if (!SWIG_IsOK(res2
)) {
8937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8942 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8944 if (!SWIG_IsOK(ecode3
)) {
8945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8947 arg3
= static_cast< int >(val3
);
8949 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8950 if (PyErr_Occurred()) SWIG_fail
;
8952 resultobj
= SWIG_Py_Void();
8959 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8960 PyObject
*resultobj
= 0;
8961 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8962 wxAlphaPixelData
*arg2
= 0 ;
8973 PyObject
* obj0
= 0 ;
8974 PyObject
* obj1
= 0 ;
8975 PyObject
* obj2
= 0 ;
8976 PyObject
* obj3
= 0 ;
8977 char * kwnames
[] = {
8978 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8983 if (!SWIG_IsOK(res1
)) {
8984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8986 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8987 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8988 if (!SWIG_IsOK(res2
)) {
8989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8994 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8995 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8996 if (!SWIG_IsOK(ecode3
)) {
8997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8999 arg3
= static_cast< int >(val3
);
9000 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9001 if (!SWIG_IsOK(ecode4
)) {
9002 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
9004 arg4
= static_cast< int >(val4
);
9006 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
9007 if (PyErr_Occurred()) SWIG_fail
;
9009 resultobj
= SWIG_Py_Void();
9016 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9017 PyObject
*resultobj
= 0;
9018 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9025 unsigned char val2
;
9027 unsigned char val3
;
9029 unsigned char val4
;
9031 unsigned char val5
;
9033 PyObject
* obj0
= 0 ;
9034 PyObject
* obj1
= 0 ;
9035 PyObject
* obj2
= 0 ;
9036 PyObject
* obj3
= 0 ;
9037 PyObject
* obj4
= 0 ;
9038 char * kwnames
[] = {
9039 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
9042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9044 if (!SWIG_IsOK(res1
)) {
9045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9047 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9048 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
9049 if (!SWIG_IsOK(ecode2
)) {
9050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
9052 arg2
= static_cast< byte
>(val2
);
9053 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
9054 if (!SWIG_IsOK(ecode3
)) {
9055 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
9057 arg3
= static_cast< byte
>(val3
);
9058 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
9059 if (!SWIG_IsOK(ecode4
)) {
9060 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
9062 arg4
= static_cast< byte
>(val4
);
9063 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
9064 if (!SWIG_IsOK(ecode5
)) {
9065 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
9067 arg5
= static_cast< byte
>(val5
);
9069 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 resultobj
= SWIG_Py_Void();
9079 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9080 PyObject
*resultobj
= 0;
9081 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9082 PyObject
*result
= 0 ;
9085 PyObject
*swig_obj
[1] ;
9087 if (!args
) SWIG_fail
;
9089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9090 if (!SWIG_IsOK(res1
)) {
9091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9093 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9095 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9105 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9107 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9108 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
9109 return SWIG_Py_Void();
9112 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9113 return SWIG_Python_InitShadowInstance(args
);
9116 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9117 PyObject
*resultobj
= 0;
9118 wxBitmap
*arg1
= 0 ;
9119 wxColour
const &arg2_defvalue
= wxNullColour
;
9120 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
9121 wxMask
*result
= 0 ;
9125 PyObject
* obj0
= 0 ;
9126 PyObject
* obj1
= 0 ;
9127 char * kwnames
[] = {
9128 (char *) "bitmap",(char *) "colour", NULL
9131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9132 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9133 if (!SWIG_IsOK(res1
)) {
9134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9137 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9139 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9143 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9147 if (!wxPyCheckForApp()) SWIG_fail
;
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9160 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9161 PyObject
*resultobj
= 0;
9162 wxMask
*arg1
= (wxMask
*) 0 ;
9165 PyObject
*swig_obj
[1] ;
9167 if (!args
) SWIG_fail
;
9169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9170 if (!SWIG_IsOK(res1
)) {
9171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9173 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= SWIG_Py_Void();
9186 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9188 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9189 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9190 return SWIG_Py_Void();
9193 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9194 return SWIG_Python_InitShadowInstance(args
);
9197 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
*resultobj
= 0;
9199 wxString
*arg1
= 0 ;
9201 int arg3
= (int) -1 ;
9202 int arg4
= (int) -1 ;
9203 wxIcon
*result
= 0 ;
9204 bool temp1
= false ;
9211 PyObject
* obj0
= 0 ;
9212 PyObject
* obj1
= 0 ;
9213 PyObject
* obj2
= 0 ;
9214 PyObject
* obj3
= 0 ;
9215 char * kwnames
[] = {
9216 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9221 arg1
= wxString_in_helper(obj0
);
9222 if (arg1
== NULL
) SWIG_fail
;
9225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9226 if (!SWIG_IsOK(ecode2
)) {
9227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9229 arg2
= static_cast< wxBitmapType
>(val2
);
9231 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9232 if (!SWIG_IsOK(ecode3
)) {
9233 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9235 arg3
= static_cast< int >(val3
);
9238 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9239 if (!SWIG_IsOK(ecode4
)) {
9240 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9242 arg4
= static_cast< int >(val4
);
9245 if (!wxPyCheckForApp()) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9248 wxPyEndAllowThreads(__tstate
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9266 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9267 PyObject
*resultobj
= 0;
9268 wxIcon
*arg1
= (wxIcon
*) 0 ;
9271 PyObject
*swig_obj
[1] ;
9273 if (!args
) SWIG_fail
;
9275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9276 if (!SWIG_IsOK(res1
)) {
9277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9279 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 wxPyEndAllowThreads(__tstate
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9287 resultobj
= SWIG_Py_Void();
9294 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9295 PyObject
*resultobj
= 0;
9296 wxIcon
*result
= 0 ;
9298 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9300 if (!wxPyCheckForApp()) SWIG_fail
;
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 result
= (wxIcon
*)new wxIcon();
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9306 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9313 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9314 PyObject
*resultobj
= 0;
9315 wxIconLocation
*arg1
= 0 ;
9316 wxIcon
*result
= 0 ;
9319 PyObject
* obj0
= 0 ;
9320 char * kwnames
[] = {
9321 (char *) "loc", NULL
9324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9325 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9326 if (!SWIG_IsOK(res1
)) {
9327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9332 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9334 if (!wxPyCheckForApp()) SWIG_fail
;
9335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9336 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9337 wxPyEndAllowThreads(__tstate
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9347 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9348 PyObject
*resultobj
= 0;
9349 wxBitmap
*arg1
= 0 ;
9350 wxIcon
*result
= 0 ;
9353 PyObject
* obj0
= 0 ;
9354 char * kwnames
[] = {
9355 (char *) "bmp", NULL
9358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9359 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9360 if (!SWIG_IsOK(res1
)) {
9361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9364 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9366 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9368 if (!wxPyCheckForApp()) SWIG_fail
;
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9381 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9382 PyObject
*resultobj
= 0;
9383 PyObject
*arg1
= (PyObject
*) 0 ;
9384 wxIcon
*result
= 0 ;
9385 PyObject
* obj0
= 0 ;
9386 char * kwnames
[] = {
9387 (char *) "listOfStrings", NULL
9390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9393 if (!wxPyCheckForApp()) SWIG_fail
;
9394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 result
= (wxIcon
*)new_wxIcon(arg1
);
9396 wxPyEndAllowThreads(__tstate
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9406 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9407 PyObject
*resultobj
= 0;
9408 wxIcon
*arg1
= (wxIcon
*) 0 ;
9409 wxString
*arg2
= 0 ;
9414 bool temp2
= false ;
9417 PyObject
* obj0
= 0 ;
9418 PyObject
* obj1
= 0 ;
9419 PyObject
* obj2
= 0 ;
9420 char * kwnames
[] = {
9421 (char *) "self",(char *) "name",(char *) "type", NULL
9424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9426 if (!SWIG_IsOK(res1
)) {
9427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9429 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9431 arg2
= wxString_in_helper(obj1
);
9432 if (arg2
== NULL
) SWIG_fail
;
9435 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9436 if (!SWIG_IsOK(ecode3
)) {
9437 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9439 arg3
= static_cast< wxBitmapType
>(val3
);
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9463 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9464 PyObject
*resultobj
= 0;
9465 wxIcon
*arg1
= (wxIcon
*) 0 ;
9469 PyObject
*swig_obj
[1] ;
9471 if (!args
) SWIG_fail
;
9473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9474 if (!SWIG_IsOK(res1
)) {
9475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9477 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 result
= (long)(arg1
)->GetHandle();
9481 wxPyEndAllowThreads(__tstate
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9484 resultobj
= SWIG_From_long(static_cast< long >(result
));
9491 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
*resultobj
= 0;
9493 wxIcon
*arg1
= (wxIcon
*) 0 ;
9499 PyObject
* obj0
= 0 ;
9500 PyObject
* obj1
= 0 ;
9501 char * kwnames
[] = {
9502 (char *) "self",(char *) "handle", NULL
9505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9507 if (!SWIG_IsOK(res1
)) {
9508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9510 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9511 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9512 if (!SWIG_IsOK(ecode2
)) {
9513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9515 arg2
= static_cast< long >(val2
);
9517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9518 wxIcon_SetHandle(arg1
,arg2
);
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9522 resultobj
= SWIG_Py_Void();
9529 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9530 PyObject
*resultobj
= 0;
9531 wxIcon
*arg1
= (wxIcon
*) 0 ;
9535 PyObject
*swig_obj
[1] ;
9537 if (!args
) SWIG_fail
;
9539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9540 if (!SWIG_IsOK(res1
)) {
9541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9543 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9546 result
= (bool)(arg1
)->IsOk();
9547 wxPyEndAllowThreads(__tstate
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9559 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9560 PyObject
*resultobj
= 0;
9561 wxIcon
*arg1
= (wxIcon
*) 0 ;
9565 PyObject
*swig_obj
[1] ;
9567 if (!args
) SWIG_fail
;
9569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9570 if (!SWIG_IsOK(res1
)) {
9571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9573 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9576 result
= (int)(arg1
)->GetWidth();
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9580 resultobj
= SWIG_From_int(static_cast< int >(result
));
9587 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9588 PyObject
*resultobj
= 0;
9589 wxIcon
*arg1
= (wxIcon
*) 0 ;
9593 PyObject
*swig_obj
[1] ;
9595 if (!args
) SWIG_fail
;
9597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9598 if (!SWIG_IsOK(res1
)) {
9599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9601 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9604 result
= (int)(arg1
)->GetHeight();
9605 wxPyEndAllowThreads(__tstate
);
9606 if (PyErr_Occurred()) SWIG_fail
;
9608 resultobj
= SWIG_From_int(static_cast< int >(result
));
9615 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9616 PyObject
*resultobj
= 0;
9617 wxIcon
*arg1
= (wxIcon
*) 0 ;
9621 PyObject
*swig_obj
[1] ;
9623 if (!args
) SWIG_fail
;
9625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9626 if (!SWIG_IsOK(res1
)) {
9627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9629 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 result
= (int)(arg1
)->GetDepth();
9633 wxPyEndAllowThreads(__tstate
);
9634 if (PyErr_Occurred()) SWIG_fail
;
9636 resultobj
= SWIG_From_int(static_cast< int >(result
));
9643 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9644 PyObject
*resultobj
= 0;
9645 wxIcon
*arg1
= (wxIcon
*) 0 ;
9651 PyObject
* obj0
= 0 ;
9652 PyObject
* obj1
= 0 ;
9653 char * kwnames
[] = {
9654 (char *) "self",(char *) "w", NULL
9657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9659 if (!SWIG_IsOK(res1
)) {
9660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9662 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9664 if (!SWIG_IsOK(ecode2
)) {
9665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9667 arg2
= static_cast< int >(val2
);
9669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9670 (arg1
)->SetWidth(arg2
);
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9674 resultobj
= SWIG_Py_Void();
9681 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
*resultobj
= 0;
9683 wxIcon
*arg1
= (wxIcon
*) 0 ;
9689 PyObject
* obj0
= 0 ;
9690 PyObject
* obj1
= 0 ;
9691 char * kwnames
[] = {
9692 (char *) "self",(char *) "h", NULL
9695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9697 if (!SWIG_IsOK(res1
)) {
9698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9700 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9702 if (!SWIG_IsOK(ecode2
)) {
9703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9705 arg2
= static_cast< int >(val2
);
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 (arg1
)->SetHeight(arg2
);
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= SWIG_Py_Void();
9719 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9720 PyObject
*resultobj
= 0;
9721 wxIcon
*arg1
= (wxIcon
*) 0 ;
9727 PyObject
* obj0
= 0 ;
9728 PyObject
* obj1
= 0 ;
9729 char * kwnames
[] = {
9730 (char *) "self",(char *) "d", NULL
9733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9735 if (!SWIG_IsOK(res1
)) {
9736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9738 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9740 if (!SWIG_IsOK(ecode2
)) {
9741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9743 arg2
= static_cast< int >(val2
);
9745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9746 (arg1
)->SetDepth(arg2
);
9747 wxPyEndAllowThreads(__tstate
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9750 resultobj
= SWIG_Py_Void();
9757 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9758 PyObject
*resultobj
= 0;
9759 wxIcon
*arg1
= (wxIcon
*) 0 ;
9764 PyObject
* obj0
= 0 ;
9765 PyObject
* obj1
= 0 ;
9766 char * kwnames
[] = {
9767 (char *) "self",(char *) "size", NULL
9770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9772 if (!SWIG_IsOK(res1
)) {
9773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9775 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9778 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 (arg1
)->SetSize((wxSize
const &)*arg2
);
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9786 resultobj
= SWIG_Py_Void();
9793 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9794 PyObject
*resultobj
= 0;
9795 wxIcon
*arg1
= (wxIcon
*) 0 ;
9796 wxBitmap
*arg2
= 0 ;
9801 PyObject
* obj0
= 0 ;
9802 PyObject
* obj1
= 0 ;
9803 char * kwnames
[] = {
9804 (char *) "self",(char *) "bmp", NULL
9807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9809 if (!SWIG_IsOK(res1
)) {
9810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9812 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9813 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9814 if (!SWIG_IsOK(res2
)) {
9815 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9818 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9820 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9823 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9827 resultobj
= SWIG_Py_Void();
9834 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9836 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9837 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9838 return SWIG_Py_Void();
9841 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9842 return SWIG_Python_InitShadowInstance(args
);
9845 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9846 PyObject
*resultobj
= 0;
9847 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9848 int arg2
= (int) 0 ;
9849 wxIconLocation
*result
= 0 ;
9850 bool temp1
= false ;
9853 PyObject
* obj0
= 0 ;
9854 PyObject
* obj1
= 0 ;
9855 char * kwnames
[] = {
9856 (char *) "filename",(char *) "num", NULL
9859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9862 arg1
= wxString_in_helper(obj0
);
9863 if (arg1
== NULL
) SWIG_fail
;
9868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9869 if (!SWIG_IsOK(ecode2
)) {
9870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9872 arg2
= static_cast< int >(val2
);
9875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9876 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9877 wxPyEndAllowThreads(__tstate
);
9878 if (PyErr_Occurred()) SWIG_fail
;
9880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9895 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9896 PyObject
*resultobj
= 0;
9897 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9900 PyObject
*swig_obj
[1] ;
9902 if (!args
) SWIG_fail
;
9904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9905 if (!SWIG_IsOK(res1
)) {
9906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9908 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9916 resultobj
= SWIG_Py_Void();
9923 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9924 PyObject
*resultobj
= 0;
9925 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9929 PyObject
*swig_obj
[1] ;
9931 if (!args
) SWIG_fail
;
9933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9934 if (!SWIG_IsOK(res1
)) {
9935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9937 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9941 wxPyEndAllowThreads(__tstate
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9953 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
= 0;
9955 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9956 wxString
*arg2
= 0 ;
9959 bool temp2
= false ;
9960 PyObject
* obj0
= 0 ;
9961 PyObject
* obj1
= 0 ;
9962 char * kwnames
[] = {
9963 (char *) "self",(char *) "filename", NULL
9966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9968 if (!SWIG_IsOK(res1
)) {
9969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9971 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9973 arg2
= wxString_in_helper(obj1
);
9974 if (arg2
== NULL
) SWIG_fail
;
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 (arg1
)->SetFileName((wxString
const &)*arg2
);
9980 wxPyEndAllowThreads(__tstate
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9983 resultobj
= SWIG_Py_Void();
9998 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9999 PyObject
*resultobj
= 0;
10000 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10001 wxString
*result
= 0 ;
10004 PyObject
*swig_obj
[1] ;
10006 if (!args
) SWIG_fail
;
10007 swig_obj
[0] = args
;
10008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10009 if (!SWIG_IsOK(res1
)) {
10010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
10012 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
10017 result
= (wxString
*) &_result_ref
;
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10024 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10026 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10035 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10036 PyObject
*resultobj
= 0;
10037 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10043 PyObject
* obj0
= 0 ;
10044 PyObject
* obj1
= 0 ;
10045 char * kwnames
[] = {
10046 (char *) "self",(char *) "num", NULL
10049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10051 if (!SWIG_IsOK(res1
)) {
10052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10054 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10056 if (!SWIG_IsOK(ecode2
)) {
10057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
10059 arg2
= static_cast< int >(val2
);
10061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10062 wxIconLocation_SetIndex(arg1
,arg2
);
10063 wxPyEndAllowThreads(__tstate
);
10064 if (PyErr_Occurred()) SWIG_fail
;
10066 resultobj
= SWIG_Py_Void();
10073 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10074 PyObject
*resultobj
= 0;
10075 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10079 PyObject
*swig_obj
[1] ;
10081 if (!args
) SWIG_fail
;
10082 swig_obj
[0] = args
;
10083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10084 if (!SWIG_IsOK(res1
)) {
10085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10087 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10090 result
= (int)wxIconLocation_GetIndex(arg1
);
10091 wxPyEndAllowThreads(__tstate
);
10092 if (PyErr_Occurred()) SWIG_fail
;
10094 resultobj
= SWIG_From_int(static_cast< int >(result
));
10101 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10103 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10104 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
10105 return SWIG_Py_Void();
10108 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10109 return SWIG_Python_InitShadowInstance(args
);
10112 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10113 PyObject
*resultobj
= 0;
10114 wxIconBundle
*result
= 0 ;
10116 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 result
= (wxIconBundle
*)new wxIconBundle();
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
10130 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
*resultobj
= 0;
10132 wxString
*arg1
= 0 ;
10134 wxIconBundle
*result
= 0 ;
10135 bool temp1
= false ;
10138 PyObject
* obj0
= 0 ;
10139 PyObject
* obj1
= 0 ;
10140 char * kwnames
[] = {
10141 (char *) "file",(char *) "type", NULL
10144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10146 arg1
= wxString_in_helper(obj0
);
10147 if (arg1
== NULL
) SWIG_fail
;
10150 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10151 if (!SWIG_IsOK(ecode2
)) {
10152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
10154 arg2
= static_cast< long >(val2
);
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10176 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10177 PyObject
*resultobj
= 0;
10179 wxIconBundle
*result
= 0 ;
10182 PyObject
* obj0
= 0 ;
10183 char * kwnames
[] = {
10184 (char *) "icon", NULL
10187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
10188 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
10189 if (!SWIG_IsOK(res1
)) {
10190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10193 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10195 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10198 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10209 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10210 PyObject
*resultobj
= 0;
10211 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10214 PyObject
*swig_obj
[1] ;
10216 if (!args
) SWIG_fail
;
10217 swig_obj
[0] = args
;
10218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
10219 if (!SWIG_IsOK(res1
)) {
10220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10222 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10230 resultobj
= SWIG_Py_Void();
10237 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10238 PyObject
*resultobj
= 0;
10239 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10245 PyObject
* obj0
= 0 ;
10246 PyObject
* obj1
= 0 ;
10247 char * kwnames
[] = {
10248 (char *) "self",(char *) "icon", NULL
10251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10253 if (!SWIG_IsOK(res1
)) {
10254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10256 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10257 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10258 if (!SWIG_IsOK(res2
)) {
10259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10264 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10271 resultobj
= SWIG_Py_Void();
10278 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10279 PyObject
*resultobj
= 0;
10280 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10281 wxString
*arg2
= 0 ;
10285 bool temp2
= false ;
10288 PyObject
* obj0
= 0 ;
10289 PyObject
* obj1
= 0 ;
10290 PyObject
* obj2
= 0 ;
10291 char * kwnames
[] = {
10292 (char *) "self",(char *) "file",(char *) "type", NULL
10295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10297 if (!SWIG_IsOK(res1
)) {
10298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10300 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10302 arg2
= wxString_in_helper(obj1
);
10303 if (arg2
== NULL
) SWIG_fail
;
10306 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10307 if (!SWIG_IsOK(ecode3
)) {
10308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10310 arg3
= static_cast< long >(val3
);
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10317 resultobj
= SWIG_Py_Void();
10332 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
*resultobj
= 0;
10334 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10336 wxIcon
*result
= 0 ;
10340 PyObject
* obj0
= 0 ;
10341 PyObject
* obj1
= 0 ;
10342 char * kwnames
[] = {
10343 (char *) "self",(char *) "size", NULL
10346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10348 if (!SWIG_IsOK(res1
)) {
10349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10351 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10354 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10360 result
= (wxIcon
*) &_result_ref
;
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10366 wxIcon
* resultptr
= new wxIcon(*result
);
10367 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10375 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10377 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10378 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10379 return SWIG_Py_Void();
10382 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10383 return SWIG_Python_InitShadowInstance(args
);
10386 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
*resultobj
= 0;
10388 wxString
*arg1
= 0 ;
10390 int arg3
= (int) 0 ;
10391 int arg4
= (int) 0 ;
10392 wxCursor
*result
= 0 ;
10393 bool temp1
= false ;
10400 PyObject
* obj0
= 0 ;
10401 PyObject
* obj1
= 0 ;
10402 PyObject
* obj2
= 0 ;
10403 PyObject
* obj3
= 0 ;
10404 char * kwnames
[] = {
10405 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10410 arg1
= wxString_in_helper(obj0
);
10411 if (arg1
== NULL
) SWIG_fail
;
10414 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10415 if (!SWIG_IsOK(ecode2
)) {
10416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10418 arg2
= static_cast< long >(val2
);
10420 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10421 if (!SWIG_IsOK(ecode3
)) {
10422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10424 arg3
= static_cast< int >(val3
);
10427 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10428 if (!SWIG_IsOK(ecode4
)) {
10429 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10431 arg4
= static_cast< int >(val4
);
10434 if (!wxPyCheckForApp()) SWIG_fail
;
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10455 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10456 PyObject
*resultobj
= 0;
10457 wxCursor
*arg1
= (wxCursor
*) 0 ;
10460 PyObject
*swig_obj
[1] ;
10462 if (!args
) SWIG_fail
;
10463 swig_obj
[0] = args
;
10464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10465 if (!SWIG_IsOK(res1
)) {
10466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10468 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= SWIG_Py_Void();
10483 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
= 0;
10486 wxCursor
*result
= 0 ;
10489 PyObject
* obj0
= 0 ;
10490 char * kwnames
[] = {
10491 (char *) "id", NULL
10494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10495 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10496 if (!SWIG_IsOK(ecode1
)) {
10497 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10499 arg1
= static_cast< int >(val1
);
10501 if (!wxPyCheckForApp()) SWIG_fail
;
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 result
= (wxCursor
*)new wxCursor(arg1
);
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10514 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10515 PyObject
*resultobj
= 0;
10516 wxImage
*arg1
= 0 ;
10517 wxCursor
*result
= 0 ;
10520 PyObject
* obj0
= 0 ;
10521 char * kwnames
[] = {
10522 (char *) "image", NULL
10525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10526 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10527 if (!SWIG_IsOK(res1
)) {
10528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10531 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10533 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10535 if (!wxPyCheckForApp()) SWIG_fail
;
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10538 wxPyEndAllowThreads(__tstate
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10548 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10549 PyObject
*resultobj
= 0;
10550 wxCursor
*arg1
= (wxCursor
*) 0 ;
10554 PyObject
*swig_obj
[1] ;
10556 if (!args
) SWIG_fail
;
10557 swig_obj
[0] = args
;
10558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10559 if (!SWIG_IsOK(res1
)) {
10560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10562 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 result
= (long)(arg1
)->GetHandle();
10566 wxPyEndAllowThreads(__tstate
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10569 resultobj
= SWIG_From_long(static_cast< long >(result
));
10576 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10577 PyObject
*resultobj
= 0;
10578 wxCursor
*arg1
= (wxCursor
*) 0 ;
10584 PyObject
* obj0
= 0 ;
10585 PyObject
* obj1
= 0 ;
10586 char * kwnames
[] = {
10587 (char *) "self",(char *) "handle", NULL
10590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10592 if (!SWIG_IsOK(res1
)) {
10593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10595 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10596 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10597 if (!SWIG_IsOK(ecode2
)) {
10598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10600 arg2
= static_cast< long >(val2
);
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 wxCursor_SetHandle(arg1
,arg2
);
10604 wxPyEndAllowThreads(__tstate
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10607 resultobj
= SWIG_Py_Void();
10614 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10615 PyObject
*resultobj
= 0;
10616 wxCursor
*arg1
= (wxCursor
*) 0 ;
10620 PyObject
*swig_obj
[1] ;
10622 if (!args
) SWIG_fail
;
10623 swig_obj
[0] = args
;
10624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10625 if (!SWIG_IsOK(res1
)) {
10626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10628 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10631 result
= (bool)(arg1
)->IsOk();
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10644 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10645 PyObject
*resultobj
= 0;
10646 wxCursor
*arg1
= (wxCursor
*) 0 ;
10650 PyObject
*swig_obj
[1] ;
10652 if (!args
) SWIG_fail
;
10653 swig_obj
[0] = args
;
10654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10655 if (!SWIG_IsOK(res1
)) {
10656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10658 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 result
= (int)(arg1
)->GetWidth();
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10665 resultobj
= SWIG_From_int(static_cast< int >(result
));
10672 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10673 PyObject
*resultobj
= 0;
10674 wxCursor
*arg1
= (wxCursor
*) 0 ;
10678 PyObject
*swig_obj
[1] ;
10680 if (!args
) SWIG_fail
;
10681 swig_obj
[0] = args
;
10682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10683 if (!SWIG_IsOK(res1
)) {
10684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10686 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10689 result
= (int)(arg1
)->GetHeight();
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10693 resultobj
= SWIG_From_int(static_cast< int >(result
));
10700 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10701 PyObject
*resultobj
= 0;
10702 wxCursor
*arg1
= (wxCursor
*) 0 ;
10706 PyObject
*swig_obj
[1] ;
10708 if (!args
) SWIG_fail
;
10709 swig_obj
[0] = args
;
10710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10711 if (!SWIG_IsOK(res1
)) {
10712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10714 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 result
= (int)(arg1
)->GetDepth();
10718 wxPyEndAllowThreads(__tstate
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10721 resultobj
= SWIG_From_int(static_cast< int >(result
));
10728 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10729 PyObject
*resultobj
= 0;
10730 wxCursor
*arg1
= (wxCursor
*) 0 ;
10736 PyObject
* obj0
= 0 ;
10737 PyObject
* obj1
= 0 ;
10738 char * kwnames
[] = {
10739 (char *) "self",(char *) "w", NULL
10742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10744 if (!SWIG_IsOK(res1
)) {
10745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10747 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10749 if (!SWIG_IsOK(ecode2
)) {
10750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10752 arg2
= static_cast< int >(val2
);
10754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10755 (arg1
)->SetWidth(arg2
);
10756 wxPyEndAllowThreads(__tstate
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10759 resultobj
= SWIG_Py_Void();
10766 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10767 PyObject
*resultobj
= 0;
10768 wxCursor
*arg1
= (wxCursor
*) 0 ;
10774 PyObject
* obj0
= 0 ;
10775 PyObject
* obj1
= 0 ;
10776 char * kwnames
[] = {
10777 (char *) "self",(char *) "h", NULL
10780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10782 if (!SWIG_IsOK(res1
)) {
10783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10785 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10787 if (!SWIG_IsOK(ecode2
)) {
10788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10790 arg2
= static_cast< int >(val2
);
10792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10793 (arg1
)->SetHeight(arg2
);
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10797 resultobj
= SWIG_Py_Void();
10804 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
= 0;
10806 wxCursor
*arg1
= (wxCursor
*) 0 ;
10812 PyObject
* obj0
= 0 ;
10813 PyObject
* obj1
= 0 ;
10814 char * kwnames
[] = {
10815 (char *) "self",(char *) "d", NULL
10818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10820 if (!SWIG_IsOK(res1
)) {
10821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10823 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10825 if (!SWIG_IsOK(ecode2
)) {
10826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10828 arg2
= static_cast< int >(val2
);
10830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 (arg1
)->SetDepth(arg2
);
10832 wxPyEndAllowThreads(__tstate
);
10833 if (PyErr_Occurred()) SWIG_fail
;
10835 resultobj
= SWIG_Py_Void();
10842 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10843 PyObject
*resultobj
= 0;
10844 wxCursor
*arg1
= (wxCursor
*) 0 ;
10849 PyObject
* obj0
= 0 ;
10850 PyObject
* obj1
= 0 ;
10851 char * kwnames
[] = {
10852 (char *) "self",(char *) "size", NULL
10855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10857 if (!SWIG_IsOK(res1
)) {
10858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10860 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10863 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10867 (arg1
)->SetSize((wxSize
const &)*arg2
);
10868 wxPyEndAllowThreads(__tstate
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10871 resultobj
= SWIG_Py_Void();
10878 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10880 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10881 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10882 return SWIG_Py_Void();
10885 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10886 return SWIG_Python_InitShadowInstance(args
);
10889 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10890 PyObject
*resultobj
= 0;
10891 int arg1
= (int) 0 ;
10892 int arg2
= (int) 0 ;
10893 int arg3
= (int) 0 ;
10894 int arg4
= (int) 0 ;
10895 wxRegion
*result
= 0 ;
10904 PyObject
* obj0
= 0 ;
10905 PyObject
* obj1
= 0 ;
10906 PyObject
* obj2
= 0 ;
10907 PyObject
* obj3
= 0 ;
10908 char * kwnames
[] = {
10909 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10914 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10915 if (!SWIG_IsOK(ecode1
)) {
10916 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10918 arg1
= static_cast< int >(val1
);
10921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10922 if (!SWIG_IsOK(ecode2
)) {
10923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10925 arg2
= static_cast< int >(val2
);
10928 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10929 if (!SWIG_IsOK(ecode3
)) {
10930 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10932 arg3
= static_cast< int >(val3
);
10935 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10936 if (!SWIG_IsOK(ecode4
)) {
10937 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10939 arg4
= static_cast< int >(val4
);
10942 if (!wxPyCheckForApp()) SWIG_fail
;
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10955 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
*resultobj
= 0;
10957 wxBitmap
*arg1
= 0 ;
10958 wxRegion
*result
= 0 ;
10961 PyObject
* obj0
= 0 ;
10962 char * kwnames
[] = {
10963 (char *) "bmp", NULL
10966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10967 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10968 if (!SWIG_IsOK(res1
)) {
10969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10972 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10974 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10976 if (!wxPyCheckForApp()) SWIG_fail
;
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10978 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10979 wxPyEndAllowThreads(__tstate
);
10980 if (PyErr_Occurred()) SWIG_fail
;
10982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10989 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10990 PyObject
*resultobj
= 0;
10991 wxBitmap
*arg1
= 0 ;
10992 wxColour
*arg2
= 0 ;
10993 int arg3
= (int) 0 ;
10994 wxRegion
*result
= 0 ;
11000 PyObject
* obj0
= 0 ;
11001 PyObject
* obj1
= 0 ;
11002 PyObject
* obj2
= 0 ;
11003 char * kwnames
[] = {
11004 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11008 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11009 if (!SWIG_IsOK(res1
)) {
11010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11013 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11015 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
11018 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11021 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11022 if (!SWIG_IsOK(ecode3
)) {
11023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
11025 arg3
= static_cast< int >(val3
);
11028 if (!wxPyCheckForApp()) SWIG_fail
;
11029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11030 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
11031 wxPyEndAllowThreads(__tstate
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11041 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11042 PyObject
*resultobj
= 0;
11044 wxPoint
*arg2
= (wxPoint
*) 0 ;
11045 int arg3
= (int) wxWINDING_RULE
;
11046 wxRegion
*result
= 0 ;
11049 PyObject
* obj0
= 0 ;
11050 PyObject
* obj1
= 0 ;
11051 char * kwnames
[] = {
11052 (char *) "points",(char *) "fillStyle", NULL
11055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11057 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
11058 if (arg2
== NULL
) SWIG_fail
;
11061 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
11062 if (!SWIG_IsOK(ecode3
)) {
11063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
11065 arg3
= static_cast< int >(val3
);
11068 if (!wxPyCheckForApp()) SWIG_fail
;
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11076 if (arg2
) delete [] arg2
;
11081 if (arg2
) delete [] arg2
;
11087 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11088 PyObject
*resultobj
= 0;
11089 wxRegion
*arg1
= (wxRegion
*) 0 ;
11092 PyObject
*swig_obj
[1] ;
11094 if (!args
) SWIG_fail
;
11095 swig_obj
[0] = args
;
11096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
11097 if (!SWIG_IsOK(res1
)) {
11098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
11100 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11105 wxPyEndAllowThreads(__tstate
);
11106 if (PyErr_Occurred()) SWIG_fail
;
11108 resultobj
= SWIG_Py_Void();
11115 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11116 PyObject
*resultobj
= 0;
11117 wxRegion
*arg1
= (wxRegion
*) 0 ;
11120 PyObject
*swig_obj
[1] ;
11122 if (!args
) SWIG_fail
;
11123 swig_obj
[0] = args
;
11124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11125 if (!SWIG_IsOK(res1
)) {
11126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
11128 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= SWIG_Py_Void();
11142 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
= 0;
11144 wxRegion
*arg1
= (wxRegion
*) 0 ;
11154 PyObject
* obj0
= 0 ;
11155 PyObject
* obj1
= 0 ;
11156 PyObject
* obj2
= 0 ;
11157 char * kwnames
[] = {
11158 (char *) "self",(char *) "x",(char *) "y", NULL
11161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11163 if (!SWIG_IsOK(res1
)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
11166 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11168 if (!SWIG_IsOK(ecode2
)) {
11169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
11171 arg2
= static_cast< int >(val2
);
11172 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11173 if (!SWIG_IsOK(ecode3
)) {
11174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
11176 arg3
= static_cast< int >(val3
);
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11179 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
11180 wxPyEndAllowThreads(__tstate
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11192 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11193 PyObject
*resultobj
= 0;
11194 wxRegion
*arg1
= (wxRegion
*) 0 ;
11197 wxRegionContain result
;
11204 PyObject
* obj0
= 0 ;
11205 PyObject
* obj1
= 0 ;
11206 PyObject
* obj2
= 0 ;
11207 char * kwnames
[] = {
11208 (char *) "self",(char *) "x",(char *) "y", NULL
11211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11213 if (!SWIG_IsOK(res1
)) {
11214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
11216 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11218 if (!SWIG_IsOK(ecode2
)) {
11219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
11221 arg2
= static_cast< int >(val2
);
11222 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11223 if (!SWIG_IsOK(ecode3
)) {
11224 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
11226 arg3
= static_cast< int >(val3
);
11228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11229 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
11230 wxPyEndAllowThreads(__tstate
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11233 resultobj
= SWIG_From_int(static_cast< int >(result
));
11240 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11241 PyObject
*resultobj
= 0;
11242 wxRegion
*arg1
= (wxRegion
*) 0 ;
11243 wxPoint
*arg2
= 0 ;
11244 wxRegionContain result
;
11248 PyObject
* obj0
= 0 ;
11249 PyObject
* obj1
= 0 ;
11250 char * kwnames
[] = {
11251 (char *) "self",(char *) "pt", NULL
11254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11256 if (!SWIG_IsOK(res1
)) {
11257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
11259 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11262 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
11267 wxPyEndAllowThreads(__tstate
);
11268 if (PyErr_Occurred()) SWIG_fail
;
11270 resultobj
= SWIG_From_int(static_cast< int >(result
));
11277 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11278 PyObject
*resultobj
= 0;
11279 wxRegion
*arg1
= (wxRegion
*) 0 ;
11281 wxRegionContain result
;
11285 PyObject
* obj0
= 0 ;
11286 PyObject
* obj1
= 0 ;
11287 char * kwnames
[] = {
11288 (char *) "self",(char *) "rect", NULL
11291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11293 if (!SWIG_IsOK(res1
)) {
11294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11296 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11299 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11303 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
11304 wxPyEndAllowThreads(__tstate
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11307 resultobj
= SWIG_From_int(static_cast< int >(result
));
11314 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11315 PyObject
*resultobj
= 0;
11316 wxRegion
*arg1
= (wxRegion
*) 0 ;
11321 wxRegionContain result
;
11332 PyObject
* obj0
= 0 ;
11333 PyObject
* obj1
= 0 ;
11334 PyObject
* obj2
= 0 ;
11335 PyObject
* obj3
= 0 ;
11336 PyObject
* obj4
= 0 ;
11337 char * kwnames
[] = {
11338 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11343 if (!SWIG_IsOK(res1
)) {
11344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
11346 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11348 if (!SWIG_IsOK(ecode2
)) {
11349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
11351 arg2
= static_cast< int >(val2
);
11352 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11353 if (!SWIG_IsOK(ecode3
)) {
11354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
11356 arg3
= static_cast< int >(val3
);
11357 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11358 if (!SWIG_IsOK(ecode4
)) {
11359 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
11361 arg4
= static_cast< int >(val4
);
11362 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11363 if (!SWIG_IsOK(ecode5
)) {
11364 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
11366 arg5
= static_cast< int >(val5
);
11368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11369 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
11370 wxPyEndAllowThreads(__tstate
);
11371 if (PyErr_Occurred()) SWIG_fail
;
11373 resultobj
= SWIG_From_int(static_cast< int >(result
));
11380 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11381 PyObject
*resultobj
= 0;
11382 wxRegion
*arg1
= (wxRegion
*) 0 ;
11386 PyObject
*swig_obj
[1] ;
11388 if (!args
) SWIG_fail
;
11389 swig_obj
[0] = args
;
11390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11391 if (!SWIG_IsOK(res1
)) {
11392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11394 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11397 result
= (arg1
)->GetBox();
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11401 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11408 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11409 PyObject
*resultobj
= 0;
11410 wxRegion
*arg1
= (wxRegion
*) 0 ;
11426 PyObject
* obj0
= 0 ;
11427 PyObject
* obj1
= 0 ;
11428 PyObject
* obj2
= 0 ;
11429 PyObject
* obj3
= 0 ;
11430 PyObject
* obj4
= 0 ;
11431 char * kwnames
[] = {
11432 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11437 if (!SWIG_IsOK(res1
)) {
11438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11440 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11442 if (!SWIG_IsOK(ecode2
)) {
11443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11445 arg2
= static_cast< int >(val2
);
11446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11447 if (!SWIG_IsOK(ecode3
)) {
11448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11450 arg3
= static_cast< int >(val3
);
11451 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11452 if (!SWIG_IsOK(ecode4
)) {
11453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11455 arg4
= static_cast< int >(val4
);
11456 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11457 if (!SWIG_IsOK(ecode5
)) {
11458 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11460 arg5
= static_cast< int >(val5
);
11462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11463 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11464 wxPyEndAllowThreads(__tstate
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11476 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11477 PyObject
*resultobj
= 0;
11478 wxRegion
*arg1
= (wxRegion
*) 0 ;
11484 PyObject
* obj0
= 0 ;
11485 PyObject
* obj1
= 0 ;
11486 char * kwnames
[] = {
11487 (char *) "self",(char *) "rect", NULL
11490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11492 if (!SWIG_IsOK(res1
)) {
11493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11495 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11498 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11515 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11516 PyObject
*resultobj
= 0;
11517 wxRegion
*arg1
= (wxRegion
*) 0 ;
11518 wxRegion
*arg2
= 0 ;
11524 PyObject
* obj0
= 0 ;
11525 PyObject
* obj1
= 0 ;
11526 char * kwnames
[] = {
11527 (char *) "self",(char *) "region", NULL
11530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11532 if (!SWIG_IsOK(res1
)) {
11533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11535 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11536 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11537 if (!SWIG_IsOK(res2
)) {
11538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11543 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11546 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11559 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11560 PyObject
*resultobj
= 0;
11561 wxRegion
*arg1
= (wxRegion
*) 0 ;
11565 PyObject
*swig_obj
[1] ;
11567 if (!args
) SWIG_fail
;
11568 swig_obj
[0] = args
;
11569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11570 if (!SWIG_IsOK(res1
)) {
11571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11573 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11576 result
= (bool)(arg1
)->IsEmpty();
11577 wxPyEndAllowThreads(__tstate
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11589 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11590 PyObject
*resultobj
= 0;
11591 wxRegion
*arg1
= (wxRegion
*) 0 ;
11592 wxRegion
*arg2
= 0 ;
11598 PyObject
* obj0
= 0 ;
11599 PyObject
* obj1
= 0 ;
11600 char * kwnames
[] = {
11601 (char *) "self",(char *) "region", NULL
11604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11606 if (!SWIG_IsOK(res1
)) {
11607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11609 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11610 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11611 if (!SWIG_IsOK(res2
)) {
11612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11617 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11620 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11621 wxPyEndAllowThreads(__tstate
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11633 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11634 PyObject
*resultobj
= 0;
11635 wxRegion
*arg1
= (wxRegion
*) 0 ;
11651 PyObject
* obj0
= 0 ;
11652 PyObject
* obj1
= 0 ;
11653 PyObject
* obj2
= 0 ;
11654 PyObject
* obj3
= 0 ;
11655 PyObject
* obj4
= 0 ;
11656 char * kwnames
[] = {
11657 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11662 if (!SWIG_IsOK(res1
)) {
11663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11665 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11667 if (!SWIG_IsOK(ecode2
)) {
11668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11670 arg2
= static_cast< int >(val2
);
11671 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11672 if (!SWIG_IsOK(ecode3
)) {
11673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11675 arg3
= static_cast< int >(val3
);
11676 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11677 if (!SWIG_IsOK(ecode4
)) {
11678 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11680 arg4
= static_cast< int >(val4
);
11681 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11682 if (!SWIG_IsOK(ecode5
)) {
11683 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11685 arg5
= static_cast< int >(val5
);
11687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11688 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11689 wxPyEndAllowThreads(__tstate
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11701 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11702 PyObject
*resultobj
= 0;
11703 wxRegion
*arg1
= (wxRegion
*) 0 ;
11709 PyObject
* obj0
= 0 ;
11710 PyObject
* obj1
= 0 ;
11711 char * kwnames
[] = {
11712 (char *) "self",(char *) "rect", NULL
11715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11717 if (!SWIG_IsOK(res1
)) {
11718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11720 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11723 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11727 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11728 wxPyEndAllowThreads(__tstate
);
11729 if (PyErr_Occurred()) SWIG_fail
;
11732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11740 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11741 PyObject
*resultobj
= 0;
11742 wxRegion
*arg1
= (wxRegion
*) 0 ;
11743 wxRegion
*arg2
= 0 ;
11749 PyObject
* obj0
= 0 ;
11750 PyObject
* obj1
= 0 ;
11751 char * kwnames
[] = {
11752 (char *) "self",(char *) "region", NULL
11755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11757 if (!SWIG_IsOK(res1
)) {
11758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11760 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11761 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11762 if (!SWIG_IsOK(res2
)) {
11763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11768 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11771 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11772 wxPyEndAllowThreads(__tstate
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11784 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11785 PyObject
*resultobj
= 0;
11786 wxRegion
*arg1
= (wxRegion
*) 0 ;
11802 PyObject
* obj0
= 0 ;
11803 PyObject
* obj1
= 0 ;
11804 PyObject
* obj2
= 0 ;
11805 PyObject
* obj3
= 0 ;
11806 PyObject
* obj4
= 0 ;
11807 char * kwnames
[] = {
11808 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11813 if (!SWIG_IsOK(res1
)) {
11814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11816 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11818 if (!SWIG_IsOK(ecode2
)) {
11819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11821 arg2
= static_cast< int >(val2
);
11822 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11823 if (!SWIG_IsOK(ecode3
)) {
11824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11826 arg3
= static_cast< int >(val3
);
11827 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11828 if (!SWIG_IsOK(ecode4
)) {
11829 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11831 arg4
= static_cast< int >(val4
);
11832 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11833 if (!SWIG_IsOK(ecode5
)) {
11834 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11836 arg5
= static_cast< int >(val5
);
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11852 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11853 PyObject
*resultobj
= 0;
11854 wxRegion
*arg1
= (wxRegion
*) 0 ;
11860 PyObject
* obj0
= 0 ;
11861 PyObject
* obj1
= 0 ;
11862 char * kwnames
[] = {
11863 (char *) "self",(char *) "rect", NULL
11866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11868 if (!SWIG_IsOK(res1
)) {
11869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11871 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11874 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11891 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11892 PyObject
*resultobj
= 0;
11893 wxRegion
*arg1
= (wxRegion
*) 0 ;
11894 wxRegion
*arg2
= 0 ;
11900 PyObject
* obj0
= 0 ;
11901 PyObject
* obj1
= 0 ;
11902 char * kwnames
[] = {
11903 (char *) "self",(char *) "region", NULL
11906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11908 if (!SWIG_IsOK(res1
)) {
11909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11911 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11912 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11913 if (!SWIG_IsOK(res2
)) {
11914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11919 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11935 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
= 0;
11937 wxRegion
*arg1
= (wxRegion
*) 0 ;
11953 PyObject
* obj0
= 0 ;
11954 PyObject
* obj1
= 0 ;
11955 PyObject
* obj2
= 0 ;
11956 PyObject
* obj3
= 0 ;
11957 PyObject
* obj4
= 0 ;
11958 char * kwnames
[] = {
11959 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11964 if (!SWIG_IsOK(res1
)) {
11965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11967 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11969 if (!SWIG_IsOK(ecode2
)) {
11970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11972 arg2
= static_cast< int >(val2
);
11973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11974 if (!SWIG_IsOK(ecode3
)) {
11975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11977 arg3
= static_cast< int >(val3
);
11978 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11979 if (!SWIG_IsOK(ecode4
)) {
11980 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11982 arg4
= static_cast< int >(val4
);
11983 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11984 if (!SWIG_IsOK(ecode5
)) {
11985 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11987 arg5
= static_cast< int >(val5
);
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11991 wxPyEndAllowThreads(__tstate
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12003 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12004 PyObject
*resultobj
= 0;
12005 wxRegion
*arg1
= (wxRegion
*) 0 ;
12011 PyObject
* obj0
= 0 ;
12012 PyObject
* obj1
= 0 ;
12013 char * kwnames
[] = {
12014 (char *) "self",(char *) "rect", NULL
12017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12019 if (!SWIG_IsOK(res1
)) {
12020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
12022 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12025 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12029 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
12030 wxPyEndAllowThreads(__tstate
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12042 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12043 PyObject
*resultobj
= 0;
12044 wxRegion
*arg1
= (wxRegion
*) 0 ;
12045 wxRegion
*arg2
= 0 ;
12051 PyObject
* obj0
= 0 ;
12052 PyObject
* obj1
= 0 ;
12053 char * kwnames
[] = {
12054 (char *) "self",(char *) "region", NULL
12057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12059 if (!SWIG_IsOK(res1
)) {
12060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
12062 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12063 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
12064 if (!SWIG_IsOK(res2
)) {
12065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12070 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12086 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12087 PyObject
*resultobj
= 0;
12088 wxRegion
*arg1
= (wxRegion
*) 0 ;
12089 SwigValueWrapper
<wxBitmap
> result
;
12092 PyObject
*swig_obj
[1] ;
12094 if (!args
) SWIG_fail
;
12095 swig_obj
[0] = args
;
12096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12097 if (!SWIG_IsOK(res1
)) {
12098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12100 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12103 result
= (arg1
)->ConvertToBitmap();
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12107 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
12114 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
= 0;
12116 wxRegion
*arg1
= (wxRegion
*) 0 ;
12117 wxBitmap
*arg2
= 0 ;
12123 PyObject
* obj0
= 0 ;
12124 PyObject
* obj1
= 0 ;
12125 char * kwnames
[] = {
12126 (char *) "self",(char *) "bmp", NULL
12129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12131 if (!SWIG_IsOK(res1
)) {
12132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12134 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12135 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12136 if (!SWIG_IsOK(res2
)) {
12137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12142 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12158 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12159 PyObject
*resultobj
= 0;
12160 wxRegion
*arg1
= (wxRegion
*) 0 ;
12161 wxBitmap
*arg2
= 0 ;
12162 wxColour
*arg3
= 0 ;
12163 int arg4
= (int) 0 ;
12172 PyObject
* obj0
= 0 ;
12173 PyObject
* obj1
= 0 ;
12174 PyObject
* obj2
= 0 ;
12175 PyObject
* obj3
= 0 ;
12176 char * kwnames
[] = {
12177 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
12180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12182 if (!SWIG_IsOK(res1
)) {
12183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
12185 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12186 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12187 if (!SWIG_IsOK(res2
)) {
12188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12193 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12196 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12199 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12200 if (!SWIG_IsOK(ecode4
)) {
12201 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
12203 arg4
= static_cast< int >(val4
);
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12208 wxPyEndAllowThreads(__tstate
);
12209 if (PyErr_Occurred()) SWIG_fail
;
12212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12220 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12222 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12223 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
12224 return SWIG_Py_Void();
12227 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12228 return SWIG_Python_InitShadowInstance(args
);
12231 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
= 0;
12233 wxRegion
*arg1
= 0 ;
12234 wxRegionIterator
*result
= 0 ;
12237 PyObject
* obj0
= 0 ;
12238 char * kwnames
[] = {
12239 (char *) "region", NULL
12242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
12243 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
12244 if (!SWIG_IsOK(res1
)) {
12245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12250 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12252 if (!wxPyCheckForApp()) SWIG_fail
;
12253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12254 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
12255 wxPyEndAllowThreads(__tstate
);
12256 if (PyErr_Occurred()) SWIG_fail
;
12258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
12265 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12266 PyObject
*resultobj
= 0;
12267 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12270 PyObject
*swig_obj
[1] ;
12272 if (!args
) SWIG_fail
;
12273 swig_obj
[0] = args
;
12274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
12275 if (!SWIG_IsOK(res1
)) {
12276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12278 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12283 wxPyEndAllowThreads(__tstate
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12286 resultobj
= SWIG_Py_Void();
12293 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12294 PyObject
*resultobj
= 0;
12295 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12299 PyObject
*swig_obj
[1] ;
12301 if (!args
) SWIG_fail
;
12302 swig_obj
[0] = args
;
12303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12304 if (!SWIG_IsOK(res1
)) {
12305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12307 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 result
= (int)(arg1
)->GetX();
12311 wxPyEndAllowThreads(__tstate
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12314 resultobj
= SWIG_From_int(static_cast< int >(result
));
12321 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12322 PyObject
*resultobj
= 0;
12323 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12327 PyObject
*swig_obj
[1] ;
12329 if (!args
) SWIG_fail
;
12330 swig_obj
[0] = args
;
12331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12332 if (!SWIG_IsOK(res1
)) {
12333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12335 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12338 result
= (int)(arg1
)->GetY();
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 resultobj
= SWIG_From_int(static_cast< int >(result
));
12349 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12350 PyObject
*resultobj
= 0;
12351 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12355 PyObject
*swig_obj
[1] ;
12357 if (!args
) SWIG_fail
;
12358 swig_obj
[0] = args
;
12359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12360 if (!SWIG_IsOK(res1
)) {
12361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12363 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 result
= (int)(arg1
)->GetW();
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 resultobj
= SWIG_From_int(static_cast< int >(result
));
12377 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12378 PyObject
*resultobj
= 0;
12379 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12383 PyObject
*swig_obj
[1] ;
12385 if (!args
) SWIG_fail
;
12386 swig_obj
[0] = args
;
12387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12388 if (!SWIG_IsOK(res1
)) {
12389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12391 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12394 result
= (int)(arg1
)->GetWidth();
12395 wxPyEndAllowThreads(__tstate
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12398 resultobj
= SWIG_From_int(static_cast< int >(result
));
12405 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12406 PyObject
*resultobj
= 0;
12407 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12411 PyObject
*swig_obj
[1] ;
12413 if (!args
) SWIG_fail
;
12414 swig_obj
[0] = args
;
12415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12416 if (!SWIG_IsOK(res1
)) {
12417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12419 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 result
= (int)(arg1
)->GetH();
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 resultobj
= SWIG_From_int(static_cast< int >(result
));
12433 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12434 PyObject
*resultobj
= 0;
12435 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12439 PyObject
*swig_obj
[1] ;
12441 if (!args
) SWIG_fail
;
12442 swig_obj
[0] = args
;
12443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12444 if (!SWIG_IsOK(res1
)) {
12445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12447 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 result
= (int)(arg1
)->GetHeight();
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12454 resultobj
= SWIG_From_int(static_cast< int >(result
));
12461 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12462 PyObject
*resultobj
= 0;
12463 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12467 PyObject
*swig_obj
[1] ;
12469 if (!args
) SWIG_fail
;
12470 swig_obj
[0] = args
;
12471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12472 if (!SWIG_IsOK(res1
)) {
12473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12475 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12478 result
= (arg1
)->GetRect();
12479 wxPyEndAllowThreads(__tstate
);
12480 if (PyErr_Occurred()) SWIG_fail
;
12482 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12489 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12490 PyObject
*resultobj
= 0;
12491 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12495 PyObject
*swig_obj
[1] ;
12497 if (!args
) SWIG_fail
;
12498 swig_obj
[0] = args
;
12499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12500 if (!SWIG_IsOK(res1
)) {
12501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12503 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12506 result
= (bool)(arg1
)->HaveRects();
12507 wxPyEndAllowThreads(__tstate
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12519 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12520 PyObject
*resultobj
= 0;
12521 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12524 PyObject
*swig_obj
[1] ;
12526 if (!args
) SWIG_fail
;
12527 swig_obj
[0] = args
;
12528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12529 if (!SWIG_IsOK(res1
)) {
12530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12532 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 wxPyEndAllowThreads(__tstate
);
12537 if (PyErr_Occurred()) SWIG_fail
;
12539 resultobj
= SWIG_Py_Void();
12546 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12547 PyObject
*resultobj
= 0;
12548 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12551 PyObject
*swig_obj
[1] ;
12553 if (!args
) SWIG_fail
;
12554 swig_obj
[0] = args
;
12555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12556 if (!SWIG_IsOK(res1
)) {
12557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12559 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12562 wxRegionIterator_Next(arg1
);
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 resultobj
= SWIG_Py_Void();
12573 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12574 PyObject
*resultobj
= 0;
12575 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12579 PyObject
*swig_obj
[1] ;
12581 if (!args
) SWIG_fail
;
12582 swig_obj
[0] = args
;
12583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12584 if (!SWIG_IsOK(res1
)) {
12585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12587 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12590 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12591 wxPyEndAllowThreads(__tstate
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12603 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12605 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12606 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12607 return SWIG_Py_Void();
12610 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12611 return SWIG_Python_InitShadowInstance(args
);
12614 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12615 PyObject
*resultobj
= 0;
12616 wxNativeFontInfo
*result
= 0 ;
12618 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12621 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12622 wxPyEndAllowThreads(__tstate
);
12623 if (PyErr_Occurred()) SWIG_fail
;
12625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12632 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12633 PyObject
*resultobj
= 0;
12634 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12637 PyObject
*swig_obj
[1] ;
12639 if (!args
) SWIG_fail
;
12640 swig_obj
[0] = args
;
12641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12642 if (!SWIG_IsOK(res1
)) {
12643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12645 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12650 wxPyEndAllowThreads(__tstate
);
12651 if (PyErr_Occurred()) SWIG_fail
;
12653 resultobj
= SWIG_Py_Void();
12660 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12661 PyObject
*resultobj
= 0;
12662 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12665 PyObject
*swig_obj
[1] ;
12667 if (!args
) SWIG_fail
;
12668 swig_obj
[0] = args
;
12669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12670 if (!SWIG_IsOK(res1
)) {
12671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12673 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12677 wxPyEndAllowThreads(__tstate
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12680 resultobj
= SWIG_Py_Void();
12687 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12688 PyObject
*resultobj
= 0;
12689 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12695 PyObject
* obj0
= 0 ;
12696 PyObject
* obj1
= 0 ;
12697 char * kwnames
[] = {
12698 (char *) "self",(char *) "font", NULL
12701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12703 if (!SWIG_IsOK(res1
)) {
12704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12706 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12707 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12708 if (!SWIG_IsOK(res2
)) {
12709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12714 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12717 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12718 wxPyEndAllowThreads(__tstate
);
12719 if (PyErr_Occurred()) SWIG_fail
;
12721 resultobj
= SWIG_Py_Void();
12728 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12729 PyObject
*resultobj
= 0;
12730 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12734 PyObject
*swig_obj
[1] ;
12736 if (!args
) SWIG_fail
;
12737 swig_obj
[0] = args
;
12738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12739 if (!SWIG_IsOK(res1
)) {
12740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12742 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12749 resultobj
= SWIG_From_int(static_cast< int >(result
));
12756 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12757 PyObject
*resultobj
= 0;
12758 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12762 PyObject
*swig_obj
[1] ;
12764 if (!args
) SWIG_fail
;
12765 swig_obj
[0] = args
;
12766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12767 if (!SWIG_IsOK(res1
)) {
12768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12770 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12777 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12784 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12785 PyObject
*resultobj
= 0;
12786 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12787 wxFontStyle result
;
12790 PyObject
*swig_obj
[1] ;
12792 if (!args
) SWIG_fail
;
12793 swig_obj
[0] = args
;
12794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12795 if (!SWIG_IsOK(res1
)) {
12796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12798 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12801 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12805 resultobj
= SWIG_From_int(static_cast< int >(result
));
12812 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12813 PyObject
*resultobj
= 0;
12814 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12815 wxFontWeight result
;
12818 PyObject
*swig_obj
[1] ;
12820 if (!args
) SWIG_fail
;
12821 swig_obj
[0] = args
;
12822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12823 if (!SWIG_IsOK(res1
)) {
12824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12826 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12829 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12833 resultobj
= SWIG_From_int(static_cast< int >(result
));
12840 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12841 PyObject
*resultobj
= 0;
12842 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12846 PyObject
*swig_obj
[1] ;
12848 if (!args
) SWIG_fail
;
12849 swig_obj
[0] = args
;
12850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12851 if (!SWIG_IsOK(res1
)) {
12852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12854 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12870 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12871 PyObject
*resultobj
= 0;
12872 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12876 PyObject
*swig_obj
[1] ;
12878 if (!args
) SWIG_fail
;
12879 swig_obj
[0] = args
;
12880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12881 if (!SWIG_IsOK(res1
)) {
12882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12884 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12887 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12888 wxPyEndAllowThreads(__tstate
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12893 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12895 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12904 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12905 PyObject
*resultobj
= 0;
12906 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12907 wxFontFamily result
;
12910 PyObject
*swig_obj
[1] ;
12912 if (!args
) SWIG_fail
;
12913 swig_obj
[0] = args
;
12914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12915 if (!SWIG_IsOK(res1
)) {
12916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12918 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12921 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12922 wxPyEndAllowThreads(__tstate
);
12923 if (PyErr_Occurred()) SWIG_fail
;
12925 resultobj
= SWIG_From_int(static_cast< int >(result
));
12932 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12933 PyObject
*resultobj
= 0;
12934 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12935 wxFontEncoding result
;
12938 PyObject
*swig_obj
[1] ;
12940 if (!args
) SWIG_fail
;
12941 swig_obj
[0] = args
;
12942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12943 if (!SWIG_IsOK(res1
)) {
12944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12946 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12953 resultobj
= SWIG_From_int(static_cast< int >(result
));
12960 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12961 PyObject
*resultobj
= 0;
12962 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12968 PyObject
* obj0
= 0 ;
12969 PyObject
* obj1
= 0 ;
12970 char * kwnames
[] = {
12971 (char *) "self",(char *) "pointsize", NULL
12974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12976 if (!SWIG_IsOK(res1
)) {
12977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12979 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12981 if (!SWIG_IsOK(ecode2
)) {
12982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12984 arg2
= static_cast< int >(val2
);
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12987 (arg1
)->SetPointSize(arg2
);
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12991 resultobj
= SWIG_Py_Void();
12998 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
= 0;
13000 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13005 PyObject
* obj0
= 0 ;
13006 PyObject
* obj1
= 0 ;
13007 char * kwnames
[] = {
13008 (char *) "self",(char *) "pixelSize", NULL
13011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13013 if (!SWIG_IsOK(res1
)) {
13014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13016 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13019 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13023 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
13024 wxPyEndAllowThreads(__tstate
);
13025 if (PyErr_Occurred()) SWIG_fail
;
13027 resultobj
= SWIG_Py_Void();
13034 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13035 PyObject
*resultobj
= 0;
13036 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13042 PyObject
* obj0
= 0 ;
13043 PyObject
* obj1
= 0 ;
13044 char * kwnames
[] = {
13045 (char *) "self",(char *) "style", NULL
13048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13050 if (!SWIG_IsOK(res1
)) {
13051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13053 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13055 if (!SWIG_IsOK(ecode2
)) {
13056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
13058 arg2
= static_cast< wxFontStyle
>(val2
);
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13061 (arg1
)->SetStyle(arg2
);
13062 wxPyEndAllowThreads(__tstate
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13065 resultobj
= SWIG_Py_Void();
13072 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
= 0;
13074 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13075 wxFontWeight arg2
;
13080 PyObject
* obj0
= 0 ;
13081 PyObject
* obj1
= 0 ;
13082 char * kwnames
[] = {
13083 (char *) "self",(char *) "weight", NULL
13086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13088 if (!SWIG_IsOK(res1
)) {
13089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13091 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13093 if (!SWIG_IsOK(ecode2
)) {
13094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
13096 arg2
= static_cast< wxFontWeight
>(val2
);
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 (arg1
)->SetWeight(arg2
);
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 resultobj
= SWIG_Py_Void();
13110 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13111 PyObject
*resultobj
= 0;
13112 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13118 PyObject
* obj0
= 0 ;
13119 PyObject
* obj1
= 0 ;
13120 char * kwnames
[] = {
13121 (char *) "self",(char *) "underlined", NULL
13124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13126 if (!SWIG_IsOK(res1
)) {
13127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13129 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13130 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13131 if (!SWIG_IsOK(ecode2
)) {
13132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
13134 arg2
= static_cast< bool >(val2
);
13136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13137 (arg1
)->SetUnderlined(arg2
);
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13141 resultobj
= SWIG_Py_Void();
13148 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13149 PyObject
*resultobj
= 0;
13150 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13155 PyObject
* obj0
= 0 ;
13156 PyObject
* obj1
= 0 ;
13157 char * kwnames
[] = {
13158 (char *) "self",(char *) "facename", NULL
13161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13163 if (!SWIG_IsOK(res1
)) {
13164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13166 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13168 wxString
* sptr
= wxString_in_helper(obj1
);
13169 if (sptr
== NULL
) SWIG_fail
;
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 result
= (bool)(arg1
)->SetFaceName(arg2
);
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13188 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13189 PyObject
*resultobj
= 0;
13190 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13191 wxFontFamily arg2
;
13196 PyObject
* obj0
= 0 ;
13197 PyObject
* obj1
= 0 ;
13198 char * kwnames
[] = {
13199 (char *) "self",(char *) "family", NULL
13202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13204 if (!SWIG_IsOK(res1
)) {
13205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13207 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13209 if (!SWIG_IsOK(ecode2
)) {
13210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
13212 arg2
= static_cast< wxFontFamily
>(val2
);
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 (arg1
)->SetFamily(arg2
);
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 resultobj
= SWIG_Py_Void();
13226 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
= 0;
13228 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13229 wxFontEncoding arg2
;
13234 PyObject
* obj0
= 0 ;
13235 PyObject
* obj1
= 0 ;
13236 char * kwnames
[] = {
13237 (char *) "self",(char *) "encoding", NULL
13240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13242 if (!SWIG_IsOK(res1
)) {
13243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13245 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13247 if (!SWIG_IsOK(ecode2
)) {
13248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13250 arg2
= static_cast< wxFontEncoding
>(val2
);
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 (arg1
)->SetEncoding(arg2
);
13254 wxPyEndAllowThreads(__tstate
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13257 resultobj
= SWIG_Py_Void();
13264 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13265 PyObject
*resultobj
= 0;
13266 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13267 wxString
*arg2
= 0 ;
13271 bool temp2
= false ;
13272 PyObject
* obj0
= 0 ;
13273 PyObject
* obj1
= 0 ;
13274 char * kwnames
[] = {
13275 (char *) "self",(char *) "s", NULL
13278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13280 if (!SWIG_IsOK(res1
)) {
13281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13283 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13285 arg2
= wxString_in_helper(obj1
);
13286 if (arg2
== NULL
) SWIG_fail
;
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13292 wxPyEndAllowThreads(__tstate
);
13293 if (PyErr_Occurred()) SWIG_fail
;
13296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13312 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13313 PyObject
*resultobj
= 0;
13314 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13318 PyObject
*swig_obj
[1] ;
13320 if (!args
) SWIG_fail
;
13321 swig_obj
[0] = args
;
13322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13323 if (!SWIG_IsOK(res1
)) {
13324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13326 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
13330 wxPyEndAllowThreads(__tstate
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13335 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13337 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13346 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13347 PyObject
*resultobj
= 0;
13348 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13352 PyObject
*swig_obj
[1] ;
13354 if (!args
) SWIG_fail
;
13355 swig_obj
[0] = args
;
13356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13357 if (!SWIG_IsOK(res1
)) {
13358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13360 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 result
= wxNativeFontInfo___str__(arg1
);
13364 wxPyEndAllowThreads(__tstate
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13380 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13381 PyObject
*resultobj
= 0;
13382 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13383 wxString
*arg2
= 0 ;
13387 bool temp2
= false ;
13388 PyObject
* obj0
= 0 ;
13389 PyObject
* obj1
= 0 ;
13390 char * kwnames
[] = {
13391 (char *) "self",(char *) "s", NULL
13394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13396 if (!SWIG_IsOK(res1
)) {
13397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13399 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13401 arg2
= wxString_in_helper(obj1
);
13402 if (arg2
== NULL
) SWIG_fail
;
13406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13407 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13428 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13429 PyObject
*resultobj
= 0;
13430 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13434 PyObject
*swig_obj
[1] ;
13436 if (!args
) SWIG_fail
;
13437 swig_obj
[0] = args
;
13438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13439 if (!SWIG_IsOK(res1
)) {
13440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13442 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13451 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13453 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13462 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13464 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13465 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13466 return SWIG_Py_Void();
13469 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13470 return SWIG_Python_InitShadowInstance(args
);
13473 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13474 PyObject
*resultobj
= 0;
13475 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13476 wxString
*arg2
= (wxString
*) 0 ;
13479 bool temp2
= false ;
13480 PyObject
*swig_obj
[2] ;
13482 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13484 if (!SWIG_IsOK(res1
)) {
13485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13487 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13489 arg2
= wxString_in_helper(swig_obj
[1]);
13490 if (arg2
== NULL
) SWIG_fail
;
13493 if (arg1
) (arg1
)->facename
= *arg2
;
13495 resultobj
= SWIG_Py_Void();
13510 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13511 PyObject
*resultobj
= 0;
13512 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13513 wxString
*result
= 0 ;
13516 PyObject
*swig_obj
[1] ;
13518 if (!args
) SWIG_fail
;
13519 swig_obj
[0] = args
;
13520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13521 if (!SWIG_IsOK(res1
)) {
13522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13524 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13525 result
= (wxString
*)& ((arg1
)->facename
);
13528 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13530 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13539 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13540 PyObject
*resultobj
= 0;
13541 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13542 wxFontEncoding arg2
;
13547 PyObject
*swig_obj
[2] ;
13549 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13551 if (!SWIG_IsOK(res1
)) {
13552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13554 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13555 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13556 if (!SWIG_IsOK(ecode2
)) {
13557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13559 arg2
= static_cast< wxFontEncoding
>(val2
);
13560 if (arg1
) (arg1
)->encoding
= arg2
;
13562 resultobj
= SWIG_Py_Void();
13569 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13570 PyObject
*resultobj
= 0;
13571 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13572 wxFontEncoding result
;
13575 PyObject
*swig_obj
[1] ;
13577 if (!args
) SWIG_fail
;
13578 swig_obj
[0] = args
;
13579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13580 if (!SWIG_IsOK(res1
)) {
13581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13583 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13584 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13585 resultobj
= SWIG_From_int(static_cast< int >(result
));
13592 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13593 PyObject
*resultobj
= 0;
13594 wxNativeEncodingInfo
*result
= 0 ;
13596 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13599 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13600 wxPyEndAllowThreads(__tstate
);
13601 if (PyErr_Occurred()) SWIG_fail
;
13603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13610 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13611 PyObject
*resultobj
= 0;
13612 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13615 PyObject
*swig_obj
[1] ;
13617 if (!args
) SWIG_fail
;
13618 swig_obj
[0] = args
;
13619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13620 if (!SWIG_IsOK(res1
)) {
13621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13623 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13628 wxPyEndAllowThreads(__tstate
);
13629 if (PyErr_Occurred()) SWIG_fail
;
13631 resultobj
= SWIG_Py_Void();
13638 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13639 PyObject
*resultobj
= 0;
13640 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13641 wxString
*arg2
= 0 ;
13645 bool temp2
= false ;
13646 PyObject
* obj0
= 0 ;
13647 PyObject
* obj1
= 0 ;
13648 char * kwnames
[] = {
13649 (char *) "self",(char *) "s", NULL
13652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13654 if (!SWIG_IsOK(res1
)) {
13655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13657 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13659 arg2
= wxString_in_helper(obj1
);
13660 if (arg2
== NULL
) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13666 wxPyEndAllowThreads(__tstate
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13686 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13687 PyObject
*resultobj
= 0;
13688 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13692 PyObject
*swig_obj
[1] ;
13694 if (!args
) SWIG_fail
;
13695 swig_obj
[0] = args
;
13696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13697 if (!SWIG_IsOK(res1
)) {
13698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13700 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13703 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13704 wxPyEndAllowThreads(__tstate
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13720 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13722 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13723 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13724 return SWIG_Py_Void();
13727 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13728 return SWIG_Python_InitShadowInstance(args
);
13731 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13732 PyObject
*resultobj
= 0;
13733 wxFontEncoding arg1
;
13734 wxNativeEncodingInfo
*result
= 0 ;
13737 PyObject
* obj0
= 0 ;
13738 char * kwnames
[] = {
13739 (char *) "encoding", NULL
13742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13743 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13744 if (!SWIG_IsOK(ecode1
)) {
13745 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13747 arg1
= static_cast< wxFontEncoding
>(val1
);
13749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13750 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13761 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13762 PyObject
*resultobj
= 0;
13763 wxNativeEncodingInfo
*arg1
= 0 ;
13767 PyObject
* obj0
= 0 ;
13768 char * kwnames
[] = {
13769 (char *) "info", NULL
13772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13773 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13774 if (!SWIG_IsOK(res1
)) {
13775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13780 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13783 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13784 wxPyEndAllowThreads(__tstate
);
13785 if (PyErr_Occurred()) SWIG_fail
;
13788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13796 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13797 PyObject
*resultobj
= 0;
13798 wxFontMapper
*result
= 0 ;
13800 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 result
= (wxFontMapper
*)new wxFontMapper();
13804 wxPyEndAllowThreads(__tstate
);
13805 if (PyErr_Occurred()) SWIG_fail
;
13807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13814 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13815 PyObject
*resultobj
= 0;
13816 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13819 PyObject
*swig_obj
[1] ;
13821 if (!args
) SWIG_fail
;
13822 swig_obj
[0] = args
;
13823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13824 if (!SWIG_IsOK(res1
)) {
13825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13827 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13832 wxPyEndAllowThreads(__tstate
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13835 resultobj
= SWIG_Py_Void();
13842 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13843 PyObject
*resultobj
= 0;
13844 wxFontMapper
*result
= 0 ;
13846 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13849 result
= (wxFontMapper
*)wxFontMapper::Get();
13850 wxPyEndAllowThreads(__tstate
);
13851 if (PyErr_Occurred()) SWIG_fail
;
13853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13860 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13861 PyObject
*resultobj
= 0;
13862 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13863 wxFontMapper
*result
= 0 ;
13866 PyObject
* obj0
= 0 ;
13867 char * kwnames
[] = {
13868 (char *) "mapper", NULL
13871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13873 if (!SWIG_IsOK(res1
)) {
13874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13876 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13880 wxPyEndAllowThreads(__tstate
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13890 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13891 PyObject
*resultobj
= 0;
13892 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13893 wxString
*arg2
= 0 ;
13894 bool arg3
= (bool) true ;
13895 wxFontEncoding result
;
13898 bool temp2
= false ;
13901 PyObject
* obj0
= 0 ;
13902 PyObject
* obj1
= 0 ;
13903 PyObject
* obj2
= 0 ;
13904 char * kwnames
[] = {
13905 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13910 if (!SWIG_IsOK(res1
)) {
13911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13913 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13915 arg2
= wxString_in_helper(obj1
);
13916 if (arg2
== NULL
) SWIG_fail
;
13920 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13921 if (!SWIG_IsOK(ecode3
)) {
13922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13924 arg3
= static_cast< bool >(val3
);
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13929 wxPyEndAllowThreads(__tstate
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13932 resultobj
= SWIG_From_int(static_cast< int >(result
));
13947 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13948 PyObject
*resultobj
= 0;
13951 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13954 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13955 wxPyEndAllowThreads(__tstate
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13958 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13965 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13966 PyObject
*resultobj
= 0;
13968 wxFontEncoding result
;
13971 PyObject
* obj0
= 0 ;
13972 char * kwnames
[] = {
13976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13977 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13978 if (!SWIG_IsOK(ecode1
)) {
13979 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13981 arg1
= static_cast< size_t >(val1
);
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13985 wxPyEndAllowThreads(__tstate
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13988 resultobj
= SWIG_From_int(static_cast< int >(result
));
13995 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13996 PyObject
*resultobj
= 0;
13997 wxFontEncoding arg1
;
14001 PyObject
* obj0
= 0 ;
14002 char * kwnames
[] = {
14003 (char *) "encoding", NULL
14006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
14007 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14008 if (!SWIG_IsOK(ecode1
)) {
14009 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14011 arg1
= static_cast< wxFontEncoding
>(val1
);
14013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14014 result
= wxFontMapper::GetEncodingName(arg1
);
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14031 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14032 PyObject
*resultobj
= 0;
14033 wxFontEncoding arg1
;
14037 PyObject
* obj0
= 0 ;
14038 char * kwnames
[] = {
14039 (char *) "encoding", NULL
14042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
14043 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14044 if (!SWIG_IsOK(ecode1
)) {
14045 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14047 arg1
= static_cast< wxFontEncoding
>(val1
);
14049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14050 result
= wxFontMapper::GetEncodingDescription(arg1
);
14051 wxPyEndAllowThreads(__tstate
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14067 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14068 PyObject
*resultobj
= 0;
14069 wxString
*arg1
= 0 ;
14070 wxFontEncoding result
;
14071 bool temp1
= false ;
14072 PyObject
* obj0
= 0 ;
14073 char * kwnames
[] = {
14074 (char *) "name", NULL
14077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
14079 arg1
= wxString_in_helper(obj0
);
14080 if (arg1
== NULL
) SWIG_fail
;
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14089 resultobj
= SWIG_From_int(static_cast< int >(result
));
14104 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14105 PyObject
*resultobj
= 0;
14106 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14107 wxString
*arg2
= 0 ;
14110 bool temp2
= false ;
14111 PyObject
* obj0
= 0 ;
14112 PyObject
* obj1
= 0 ;
14113 char * kwnames
[] = {
14114 (char *) "self",(char *) "prefix", NULL
14117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14119 if (!SWIG_IsOK(res1
)) {
14120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14122 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14124 arg2
= wxString_in_helper(obj1
);
14125 if (arg2
== NULL
) SWIG_fail
;
14129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14130 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
14131 wxPyEndAllowThreads(__tstate
);
14132 if (PyErr_Occurred()) SWIG_fail
;
14134 resultobj
= SWIG_Py_Void();
14149 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14150 PyObject
*resultobj
= 0;
14153 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
14155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14156 result
= wxFontMapper::GetDefaultConfigPath();
14157 wxPyEndAllowThreads(__tstate
);
14158 if (PyErr_Occurred()) SWIG_fail
;
14162 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14164 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14173 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14174 PyObject
*resultobj
= 0;
14175 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14176 wxFontEncoding arg2
;
14177 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14178 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14179 bool arg4
= (bool) true ;
14180 PyObject
*result
= 0 ;
14185 bool temp3
= false ;
14188 PyObject
* obj0
= 0 ;
14189 PyObject
* obj1
= 0 ;
14190 PyObject
* obj2
= 0 ;
14191 PyObject
* obj3
= 0 ;
14192 char * kwnames
[] = {
14193 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
14196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14198 if (!SWIG_IsOK(res1
)) {
14199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14201 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14203 if (!SWIG_IsOK(ecode2
)) {
14204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14206 arg2
= static_cast< wxFontEncoding
>(val2
);
14209 arg3
= wxString_in_helper(obj2
);
14210 if (arg3
== NULL
) SWIG_fail
;
14215 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14216 if (!SWIG_IsOK(ecode4
)) {
14217 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
14219 arg4
= static_cast< bool >(val4
);
14222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14223 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14224 wxPyEndAllowThreads(__tstate
);
14225 if (PyErr_Occurred()) SWIG_fail
;
14227 resultobj
= result
;
14242 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14243 PyObject
*resultobj
= 0;
14244 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14245 wxFontEncoding arg2
;
14246 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14247 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14253 bool temp3
= false ;
14254 PyObject
* obj0
= 0 ;
14255 PyObject
* obj1
= 0 ;
14256 PyObject
* obj2
= 0 ;
14257 char * kwnames
[] = {
14258 (char *) "self",(char *) "encoding",(char *) "facename", NULL
14261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14263 if (!SWIG_IsOK(res1
)) {
14264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14266 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14268 if (!SWIG_IsOK(ecode2
)) {
14269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14271 arg2
= static_cast< wxFontEncoding
>(val2
);
14274 arg3
= wxString_in_helper(obj2
);
14275 if (arg3
== NULL
) SWIG_fail
;
14280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
14282 wxPyEndAllowThreads(__tstate
);
14283 if (PyErr_Occurred()) SWIG_fail
;
14286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14302 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14303 PyObject
*resultobj
= 0;
14304 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14305 wxWindow
*arg2
= (wxWindow
*) 0 ;
14310 PyObject
* obj0
= 0 ;
14311 PyObject
* obj1
= 0 ;
14312 char * kwnames
[] = {
14313 (char *) "self",(char *) "parent", NULL
14316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14318 if (!SWIG_IsOK(res1
)) {
14319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14321 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14322 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14323 if (!SWIG_IsOK(res2
)) {
14324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
14326 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14329 (arg1
)->SetDialogParent(arg2
);
14330 wxPyEndAllowThreads(__tstate
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14333 resultobj
= SWIG_Py_Void();
14340 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14341 PyObject
*resultobj
= 0;
14342 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14343 wxString
*arg2
= 0 ;
14346 bool temp2
= false ;
14347 PyObject
* obj0
= 0 ;
14348 PyObject
* obj1
= 0 ;
14349 char * kwnames
[] = {
14350 (char *) "self",(char *) "title", NULL
14353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14355 if (!SWIG_IsOK(res1
)) {
14356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14358 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14360 arg2
= wxString_in_helper(obj1
);
14361 if (arg2
== NULL
) SWIG_fail
;
14365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14366 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
14367 wxPyEndAllowThreads(__tstate
);
14368 if (PyErr_Occurred()) SWIG_fail
;
14370 resultobj
= SWIG_Py_Void();
14385 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14387 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14388 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
14389 return SWIG_Py_Void();
14392 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14393 return SWIG_Python_InitShadowInstance(args
);
14396 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14397 PyObject
*resultobj
= 0;
14402 bool arg5
= (bool) false ;
14403 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14404 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14405 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14406 wxFont
*result
= 0 ;
14417 bool temp6
= false ;
14420 PyObject
* obj0
= 0 ;
14421 PyObject
* obj1
= 0 ;
14422 PyObject
* obj2
= 0 ;
14423 PyObject
* obj3
= 0 ;
14424 PyObject
* obj4
= 0 ;
14425 PyObject
* obj5
= 0 ;
14426 PyObject
* obj6
= 0 ;
14427 char * kwnames
[] = {
14428 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
14431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14432 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14433 if (!SWIG_IsOK(ecode1
)) {
14434 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
14436 arg1
= static_cast< int >(val1
);
14437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14438 if (!SWIG_IsOK(ecode2
)) {
14439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
14441 arg2
= static_cast< int >(val2
);
14442 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14443 if (!SWIG_IsOK(ecode3
)) {
14444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
14446 arg3
= static_cast< int >(val3
);
14447 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14448 if (!SWIG_IsOK(ecode4
)) {
14449 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14451 arg4
= static_cast< int >(val4
);
14453 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14454 if (!SWIG_IsOK(ecode5
)) {
14455 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14457 arg5
= static_cast< bool >(val5
);
14461 arg6
= wxString_in_helper(obj5
);
14462 if (arg6
== NULL
) SWIG_fail
;
14467 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14468 if (!SWIG_IsOK(ecode7
)) {
14469 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14471 arg7
= static_cast< wxFontEncoding
>(val7
);
14474 if (!wxPyCheckForApp()) SWIG_fail
;
14475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14476 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14495 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14496 PyObject
*resultobj
= 0;
14497 wxFont
*arg1
= (wxFont
*) 0 ;
14500 PyObject
*swig_obj
[1] ;
14502 if (!args
) SWIG_fail
;
14503 swig_obj
[0] = args
;
14504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14505 if (!SWIG_IsOK(res1
)) {
14506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14508 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14516 resultobj
= SWIG_Py_Void();
14523 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14524 PyObject
*resultobj
= 0;
14525 wxNativeFontInfo
*arg1
= 0 ;
14526 wxFont
*result
= 0 ;
14529 PyObject
* obj0
= 0 ;
14530 char * kwnames
[] = {
14531 (char *) "info", NULL
14534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14535 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14536 if (!SWIG_IsOK(res1
)) {
14537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14542 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14544 if (!wxPyCheckForApp()) SWIG_fail
;
14545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14546 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14547 wxPyEndAllowThreads(__tstate
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14557 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14558 PyObject
*resultobj
= 0;
14559 wxString
*arg1
= 0 ;
14560 wxFont
*result
= 0 ;
14561 bool temp1
= false ;
14562 PyObject
* obj0
= 0 ;
14563 char * kwnames
[] = {
14564 (char *) "info", NULL
14567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14569 arg1
= wxString_in_helper(obj0
);
14570 if (arg1
== NULL
) SWIG_fail
;
14574 if (!wxPyCheckForApp()) SWIG_fail
;
14575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14576 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14577 wxPyEndAllowThreads(__tstate
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14595 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14596 PyObject
*resultobj
= 0;
14598 wxFontFamily arg2
;
14599 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14600 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14601 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14602 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14603 wxFont
*result
= 0 ;
14610 bool temp4
= false ;
14613 PyObject
* obj0
= 0 ;
14614 PyObject
* obj1
= 0 ;
14615 PyObject
* obj2
= 0 ;
14616 PyObject
* obj3
= 0 ;
14617 PyObject
* obj4
= 0 ;
14618 char * kwnames
[] = {
14619 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14623 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14624 if (!SWIG_IsOK(ecode1
)) {
14625 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14627 arg1
= static_cast< int >(val1
);
14628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14629 if (!SWIG_IsOK(ecode2
)) {
14630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14632 arg2
= static_cast< wxFontFamily
>(val2
);
14634 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14635 if (!SWIG_IsOK(ecode3
)) {
14636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14638 arg3
= static_cast< int >(val3
);
14642 arg4
= wxString_in_helper(obj3
);
14643 if (arg4
== NULL
) SWIG_fail
;
14648 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14649 if (!SWIG_IsOK(ecode5
)) {
14650 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14652 arg5
= static_cast< wxFontEncoding
>(val5
);
14655 if (!wxPyCheckForApp()) SWIG_fail
;
14656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14657 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14658 wxPyEndAllowThreads(__tstate
);
14659 if (PyErr_Occurred()) SWIG_fail
;
14661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14676 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14677 PyObject
*resultobj
= 0;
14682 bool arg5
= (bool) false ;
14683 wxString
const &arg6_defvalue
= wxEmptyString
;
14684 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14685 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14686 wxFont
*result
= 0 ;
14696 bool temp6
= false ;
14699 PyObject
* obj0
= 0 ;
14700 PyObject
* obj1
= 0 ;
14701 PyObject
* obj2
= 0 ;
14702 PyObject
* obj3
= 0 ;
14703 PyObject
* obj4
= 0 ;
14704 PyObject
* obj5
= 0 ;
14705 PyObject
* obj6
= 0 ;
14706 char * kwnames
[] = {
14707 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14713 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14716 if (!SWIG_IsOK(ecode2
)) {
14717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14719 arg2
= static_cast< int >(val2
);
14720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14721 if (!SWIG_IsOK(ecode3
)) {
14722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14724 arg3
= static_cast< int >(val3
);
14725 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14726 if (!SWIG_IsOK(ecode4
)) {
14727 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14729 arg4
= static_cast< int >(val4
);
14731 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14732 if (!SWIG_IsOK(ecode5
)) {
14733 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14735 arg5
= static_cast< bool >(val5
);
14739 arg6
= wxString_in_helper(obj5
);
14740 if (arg6
== NULL
) SWIG_fail
;
14745 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14746 if (!SWIG_IsOK(ecode7
)) {
14747 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14749 arg7
= static_cast< wxFontEncoding
>(val7
);
14752 if (!wxPyCheckForApp()) SWIG_fail
;
14753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14754 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14773 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14774 PyObject
*resultobj
= 0;
14776 wxFontFamily arg2
;
14777 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14778 wxString
const &arg4_defvalue
= wxEmptyString
;
14779 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14780 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14781 wxFont
*result
= 0 ;
14787 bool temp4
= false ;
14790 PyObject
* obj0
= 0 ;
14791 PyObject
* obj1
= 0 ;
14792 PyObject
* obj2
= 0 ;
14793 PyObject
* obj3
= 0 ;
14794 PyObject
* obj4
= 0 ;
14795 char * kwnames
[] = {
14796 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14802 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14805 if (!SWIG_IsOK(ecode2
)) {
14806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14808 arg2
= static_cast< wxFontFamily
>(val2
);
14810 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14811 if (!SWIG_IsOK(ecode3
)) {
14812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14814 arg3
= static_cast< int >(val3
);
14818 arg4
= wxString_in_helper(obj3
);
14819 if (arg4
== NULL
) SWIG_fail
;
14824 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14825 if (!SWIG_IsOK(ecode5
)) {
14826 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14828 arg5
= static_cast< wxFontEncoding
>(val5
);
14831 if (!wxPyCheckForApp()) SWIG_fail
;
14832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14833 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14834 wxPyEndAllowThreads(__tstate
);
14835 if (PyErr_Occurred()) SWIG_fail
;
14837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14852 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14853 PyObject
*resultobj
= 0;
14854 wxFont
*arg1
= (wxFont
*) 0 ;
14858 PyObject
*swig_obj
[1] ;
14860 if (!args
) SWIG_fail
;
14861 swig_obj
[0] = args
;
14862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14863 if (!SWIG_IsOK(res1
)) {
14864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14866 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14869 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14882 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14883 PyObject
*resultobj
= 0;
14884 wxFont
*arg1
= (wxFont
*) 0 ;
14885 wxFont
*arg2
= (wxFont
*) 0 ;
14891 PyObject
* obj0
= 0 ;
14892 PyObject
* obj1
= 0 ;
14893 char * kwnames
[] = {
14894 (char *) "self",(char *) "other", NULL
14897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14899 if (!SWIG_IsOK(res1
)) {
14900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14902 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14903 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14904 if (!SWIG_IsOK(res2
)) {
14905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14907 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14910 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14923 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14924 PyObject
*resultobj
= 0;
14925 wxFont
*arg1
= (wxFont
*) 0 ;
14926 wxFont
*arg2
= (wxFont
*) 0 ;
14932 PyObject
* obj0
= 0 ;
14933 PyObject
* obj1
= 0 ;
14934 char * kwnames
[] = {
14935 (char *) "self",(char *) "other", NULL
14938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14940 if (!SWIG_IsOK(res1
)) {
14941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14943 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14944 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14945 if (!SWIG_IsOK(res2
)) {
14946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14948 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14951 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14964 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14965 PyObject
*resultobj
= 0;
14966 wxFont
*arg1
= (wxFont
*) 0 ;
14970 PyObject
*swig_obj
[1] ;
14972 if (!args
) SWIG_fail
;
14973 swig_obj
[0] = args
;
14974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14975 if (!SWIG_IsOK(res1
)) {
14976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14978 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14985 resultobj
= SWIG_From_int(static_cast< int >(result
));
14992 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14993 PyObject
*resultobj
= 0;
14994 wxFont
*arg1
= (wxFont
*) 0 ;
14998 PyObject
*swig_obj
[1] ;
15000 if (!args
) SWIG_fail
;
15001 swig_obj
[0] = args
;
15002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15003 if (!SWIG_IsOK(res1
)) {
15004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
15006 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 result
= ((wxFont
const *)arg1
)->GetPixelSize();
15010 wxPyEndAllowThreads(__tstate
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15013 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15020 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15021 PyObject
*resultobj
= 0;
15022 wxFont
*arg1
= (wxFont
*) 0 ;
15026 PyObject
*swig_obj
[1] ;
15028 if (!args
) SWIG_fail
;
15029 swig_obj
[0] = args
;
15030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15031 if (!SWIG_IsOK(res1
)) {
15032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
15034 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15037 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
15038 wxPyEndAllowThreads(__tstate
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15050 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15051 PyObject
*resultobj
= 0;
15052 wxFont
*arg1
= (wxFont
*) 0 ;
15056 PyObject
*swig_obj
[1] ;
15058 if (!args
) SWIG_fail
;
15059 swig_obj
[0] = args
;
15060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15061 if (!SWIG_IsOK(res1
)) {
15062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
15064 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15067 result
= (int)((wxFont
const *)arg1
)->GetFamily();
15068 wxPyEndAllowThreads(__tstate
);
15069 if (PyErr_Occurred()) SWIG_fail
;
15071 resultobj
= SWIG_From_int(static_cast< int >(result
));
15078 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15079 PyObject
*resultobj
= 0;
15080 wxFont
*arg1
= (wxFont
*) 0 ;
15084 PyObject
*swig_obj
[1] ;
15086 if (!args
) SWIG_fail
;
15087 swig_obj
[0] = args
;
15088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15089 if (!SWIG_IsOK(res1
)) {
15090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
15092 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15095 result
= (int)((wxFont
const *)arg1
)->GetStyle();
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15099 resultobj
= SWIG_From_int(static_cast< int >(result
));
15106 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15107 PyObject
*resultobj
= 0;
15108 wxFont
*arg1
= (wxFont
*) 0 ;
15112 PyObject
*swig_obj
[1] ;
15114 if (!args
) SWIG_fail
;
15115 swig_obj
[0] = args
;
15116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15117 if (!SWIG_IsOK(res1
)) {
15118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
15120 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15123 result
= (int)((wxFont
const *)arg1
)->GetWeight();
15124 wxPyEndAllowThreads(__tstate
);
15125 if (PyErr_Occurred()) SWIG_fail
;
15127 resultobj
= SWIG_From_int(static_cast< int >(result
));
15134 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15135 PyObject
*resultobj
= 0;
15136 wxFont
*arg1
= (wxFont
*) 0 ;
15140 PyObject
*swig_obj
[1] ;
15142 if (!args
) SWIG_fail
;
15143 swig_obj
[0] = args
;
15144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15145 if (!SWIG_IsOK(res1
)) {
15146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
15148 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15151 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
15152 wxPyEndAllowThreads(__tstate
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15164 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15165 PyObject
*resultobj
= 0;
15166 wxFont
*arg1
= (wxFont
*) 0 ;
15170 PyObject
*swig_obj
[1] ;
15172 if (!args
) SWIG_fail
;
15173 swig_obj
[0] = args
;
15174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15175 if (!SWIG_IsOK(res1
)) {
15176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
15178 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15181 result
= ((wxFont
const *)arg1
)->GetFaceName();
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15187 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15189 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15198 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15199 PyObject
*resultobj
= 0;
15200 wxFont
*arg1
= (wxFont
*) 0 ;
15201 wxFontEncoding result
;
15204 PyObject
*swig_obj
[1] ;
15206 if (!args
) SWIG_fail
;
15207 swig_obj
[0] = args
;
15208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15209 if (!SWIG_IsOK(res1
)) {
15210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
15212 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15215 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
15216 wxPyEndAllowThreads(__tstate
);
15217 if (PyErr_Occurred()) SWIG_fail
;
15219 resultobj
= SWIG_From_int(static_cast< int >(result
));
15226 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15227 PyObject
*resultobj
= 0;
15228 wxFont
*arg1
= (wxFont
*) 0 ;
15229 wxNativeFontInfo
*result
= 0 ;
15232 PyObject
*swig_obj
[1] ;
15234 if (!args
) SWIG_fail
;
15235 swig_obj
[0] = args
;
15236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15237 if (!SWIG_IsOK(res1
)) {
15238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
15240 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15243 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
15244 wxPyEndAllowThreads(__tstate
);
15245 if (PyErr_Occurred()) SWIG_fail
;
15247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
15254 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15255 PyObject
*resultobj
= 0;
15256 wxFont
*arg1
= (wxFont
*) 0 ;
15260 PyObject
*swig_obj
[1] ;
15262 if (!args
) SWIG_fail
;
15263 swig_obj
[0] = args
;
15264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15265 if (!SWIG_IsOK(res1
)) {
15266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
15268 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15271 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15284 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15285 PyObject
*resultobj
= 0;
15286 wxFont
*arg1
= (wxFont
*) 0 ;
15290 PyObject
*swig_obj
[1] ;
15292 if (!args
) SWIG_fail
;
15293 swig_obj
[0] = args
;
15294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15295 if (!SWIG_IsOK(res1
)) {
15296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15298 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15318 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15319 PyObject
*resultobj
= 0;
15320 wxFont
*arg1
= (wxFont
*) 0 ;
15324 PyObject
*swig_obj
[1] ;
15326 if (!args
) SWIG_fail
;
15327 swig_obj
[0] = args
;
15328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15329 if (!SWIG_IsOK(res1
)) {
15330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15332 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
15336 wxPyEndAllowThreads(__tstate
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15352 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15353 PyObject
*resultobj
= 0;
15354 wxFont
*arg1
= (wxFont
*) 0 ;
15360 PyObject
* obj0
= 0 ;
15361 PyObject
* obj1
= 0 ;
15362 char * kwnames
[] = {
15363 (char *) "self",(char *) "pointSize", NULL
15366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15368 if (!SWIG_IsOK(res1
)) {
15369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
15371 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15373 if (!SWIG_IsOK(ecode2
)) {
15374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
15376 arg2
= static_cast< int >(val2
);
15378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15379 (arg1
)->SetPointSize(arg2
);
15380 wxPyEndAllowThreads(__tstate
);
15381 if (PyErr_Occurred()) SWIG_fail
;
15383 resultobj
= SWIG_Py_Void();
15390 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
= 0;
15392 wxFont
*arg1
= (wxFont
*) 0 ;
15397 PyObject
* obj0
= 0 ;
15398 PyObject
* obj1
= 0 ;
15399 char * kwnames
[] = {
15400 (char *) "self",(char *) "pixelSize", NULL
15403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15405 if (!SWIG_IsOK(res1
)) {
15406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
15408 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15411 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15415 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
15416 wxPyEndAllowThreads(__tstate
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15419 resultobj
= SWIG_Py_Void();
15426 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15427 PyObject
*resultobj
= 0;
15428 wxFont
*arg1
= (wxFont
*) 0 ;
15434 PyObject
* obj0
= 0 ;
15435 PyObject
* obj1
= 0 ;
15436 char * kwnames
[] = {
15437 (char *) "self",(char *) "family", NULL
15440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15442 if (!SWIG_IsOK(res1
)) {
15443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
15445 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15447 if (!SWIG_IsOK(ecode2
)) {
15448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
15450 arg2
= static_cast< int >(val2
);
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 (arg1
)->SetFamily(arg2
);
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15457 resultobj
= SWIG_Py_Void();
15464 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15465 PyObject
*resultobj
= 0;
15466 wxFont
*arg1
= (wxFont
*) 0 ;
15472 PyObject
* obj0
= 0 ;
15473 PyObject
* obj1
= 0 ;
15474 char * kwnames
[] = {
15475 (char *) "self",(char *) "style", NULL
15478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15480 if (!SWIG_IsOK(res1
)) {
15481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15483 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15485 if (!SWIG_IsOK(ecode2
)) {
15486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15488 arg2
= static_cast< int >(val2
);
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 (arg1
)->SetStyle(arg2
);
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15495 resultobj
= SWIG_Py_Void();
15502 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15503 PyObject
*resultobj
= 0;
15504 wxFont
*arg1
= (wxFont
*) 0 ;
15510 PyObject
* obj0
= 0 ;
15511 PyObject
* obj1
= 0 ;
15512 char * kwnames
[] = {
15513 (char *) "self",(char *) "weight", NULL
15516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15518 if (!SWIG_IsOK(res1
)) {
15519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15521 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15523 if (!SWIG_IsOK(ecode2
)) {
15524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15526 arg2
= static_cast< int >(val2
);
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 (arg1
)->SetWeight(arg2
);
15530 wxPyEndAllowThreads(__tstate
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15533 resultobj
= SWIG_Py_Void();
15540 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15541 PyObject
*resultobj
= 0;
15542 wxFont
*arg1
= (wxFont
*) 0 ;
15543 wxString
*arg2
= 0 ;
15547 bool temp2
= false ;
15548 PyObject
* obj0
= 0 ;
15549 PyObject
* obj1
= 0 ;
15550 char * kwnames
[] = {
15551 (char *) "self",(char *) "faceName", NULL
15554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15556 if (!SWIG_IsOK(res1
)) {
15557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15559 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15561 arg2
= wxString_in_helper(obj1
);
15562 if (arg2
== NULL
) SWIG_fail
;
15566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15567 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15568 wxPyEndAllowThreads(__tstate
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15588 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15589 PyObject
*resultobj
= 0;
15590 wxFont
*arg1
= (wxFont
*) 0 ;
15596 PyObject
* obj0
= 0 ;
15597 PyObject
* obj1
= 0 ;
15598 char * kwnames
[] = {
15599 (char *) "self",(char *) "underlined", NULL
15602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15604 if (!SWIG_IsOK(res1
)) {
15605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15607 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15608 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15609 if (!SWIG_IsOK(ecode2
)) {
15610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15612 arg2
= static_cast< bool >(val2
);
15614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15615 (arg1
)->SetUnderlined(arg2
);
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15619 resultobj
= SWIG_Py_Void();
15626 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15627 PyObject
*resultobj
= 0;
15628 wxFont
*arg1
= (wxFont
*) 0 ;
15629 wxFontEncoding arg2
;
15634 PyObject
* obj0
= 0 ;
15635 PyObject
* obj1
= 0 ;
15636 char * kwnames
[] = {
15637 (char *) "self",(char *) "encoding", NULL
15640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15642 if (!SWIG_IsOK(res1
)) {
15643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15645 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15647 if (!SWIG_IsOK(ecode2
)) {
15648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15650 arg2
= static_cast< wxFontEncoding
>(val2
);
15652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15653 (arg1
)->SetEncoding(arg2
);
15654 wxPyEndAllowThreads(__tstate
);
15655 if (PyErr_Occurred()) SWIG_fail
;
15657 resultobj
= SWIG_Py_Void();
15664 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15665 PyObject
*resultobj
= 0;
15666 wxFont
*arg1
= (wxFont
*) 0 ;
15667 wxNativeFontInfo
*arg2
= 0 ;
15672 PyObject
* obj0
= 0 ;
15673 PyObject
* obj1
= 0 ;
15674 char * kwnames
[] = {
15675 (char *) "self",(char *) "info", NULL
15678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15680 if (!SWIG_IsOK(res1
)) {
15681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15683 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15684 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15685 if (!SWIG_IsOK(res2
)) {
15686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15691 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15694 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15695 wxPyEndAllowThreads(__tstate
);
15696 if (PyErr_Occurred()) SWIG_fail
;
15698 resultobj
= SWIG_Py_Void();
15705 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15706 PyObject
*resultobj
= 0;
15707 wxFont
*arg1
= (wxFont
*) 0 ;
15708 wxString
*arg2
= 0 ;
15712 bool temp2
= false ;
15713 PyObject
* obj0
= 0 ;
15714 PyObject
* obj1
= 0 ;
15715 char * kwnames
[] = {
15716 (char *) "self",(char *) "info", NULL
15719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15721 if (!SWIG_IsOK(res1
)) {
15722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15724 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15726 arg2
= wxString_in_helper(obj1
);
15727 if (arg2
== NULL
) SWIG_fail
;
15731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15732 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15753 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15754 PyObject
*resultobj
= 0;
15755 wxFont
*arg1
= (wxFont
*) 0 ;
15756 wxString
*arg2
= 0 ;
15760 bool temp2
= false ;
15761 PyObject
* obj0
= 0 ;
15762 PyObject
* obj1
= 0 ;
15763 char * kwnames
[] = {
15764 (char *) "self",(char *) "info", NULL
15767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15769 if (!SWIG_IsOK(res1
)) {
15770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15772 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15774 arg2
= wxString_in_helper(obj1
);
15775 if (arg2
== NULL
) SWIG_fail
;
15779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15780 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15781 wxPyEndAllowThreads(__tstate
);
15782 if (PyErr_Occurred()) SWIG_fail
;
15785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15801 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15802 PyObject
*resultobj
= 0;
15803 wxFont
*arg1
= (wxFont
*) 0 ;
15807 PyObject
*swig_obj
[1] ;
15809 if (!args
) SWIG_fail
;
15810 swig_obj
[0] = args
;
15811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15812 if (!SWIG_IsOK(res1
)) {
15813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15815 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15818 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15819 wxPyEndAllowThreads(__tstate
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15835 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15836 PyObject
*resultobj
= 0;
15837 wxFont
*arg1
= (wxFont
*) 0 ;
15841 PyObject
*swig_obj
[1] ;
15843 if (!args
) SWIG_fail
;
15844 swig_obj
[0] = args
;
15845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15846 if (!SWIG_IsOK(res1
)) {
15847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15849 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15852 result
= ((wxFont
const *)arg1
)->GetStyleString();
15853 wxPyEndAllowThreads(__tstate
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15869 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15870 PyObject
*resultobj
= 0;
15871 wxFont
*arg1
= (wxFont
*) 0 ;
15875 PyObject
*swig_obj
[1] ;
15877 if (!args
) SWIG_fail
;
15878 swig_obj
[0] = args
;
15879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15880 if (!SWIG_IsOK(res1
)) {
15881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15883 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15886 result
= ((wxFont
const *)arg1
)->GetWeightString();
15887 wxPyEndAllowThreads(__tstate
);
15888 if (PyErr_Occurred()) SWIG_fail
;
15892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15903 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15904 PyObject
*resultobj
= 0;
15905 wxFont
*arg1
= (wxFont
*) 0 ;
15906 bool arg2
= (bool) true ;
15911 PyObject
* obj0
= 0 ;
15912 PyObject
* obj1
= 0 ;
15913 char * kwnames
[] = {
15914 (char *) "self",(char *) "no", NULL
15917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15919 if (!SWIG_IsOK(res1
)) {
15920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15922 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15924 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15925 if (!SWIG_IsOK(ecode2
)) {
15926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15928 arg2
= static_cast< bool >(val2
);
15931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15932 (arg1
)->SetNoAntiAliasing(arg2
);
15933 wxPyEndAllowThreads(__tstate
);
15934 if (PyErr_Occurred()) SWIG_fail
;
15936 resultobj
= SWIG_Py_Void();
15943 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15944 PyObject
*resultobj
= 0;
15945 wxFont
*arg1
= (wxFont
*) 0 ;
15949 PyObject
*swig_obj
[1] ;
15951 if (!args
) SWIG_fail
;
15952 swig_obj
[0] = args
;
15953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15954 if (!SWIG_IsOK(res1
)) {
15955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15957 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15960 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15973 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15974 PyObject
*resultobj
= 0;
15975 wxFontEncoding result
;
15977 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15979 if (!wxPyCheckForApp()) SWIG_fail
;
15980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15982 wxPyEndAllowThreads(__tstate
);
15983 if (PyErr_Occurred()) SWIG_fail
;
15985 resultobj
= SWIG_From_int(static_cast< int >(result
));
15992 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15993 PyObject
*resultobj
= 0;
15994 wxFontEncoding arg1
;
15997 PyObject
* obj0
= 0 ;
15998 char * kwnames
[] = {
15999 (char *) "encoding", NULL
16002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
16003 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16004 if (!SWIG_IsOK(ecode1
)) {
16005 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16007 arg1
= static_cast< wxFontEncoding
>(val1
);
16009 if (!wxPyCheckForApp()) SWIG_fail
;
16010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16011 wxFont::SetDefaultEncoding(arg1
);
16012 wxPyEndAllowThreads(__tstate
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16015 resultobj
= SWIG_Py_Void();
16022 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16024 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16025 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
16026 return SWIG_Py_Void();
16029 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16030 return SWIG_Python_InitShadowInstance(args
);
16033 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16034 PyObject
*resultobj
= 0;
16035 wxPyFontEnumerator
*result
= 0 ;
16037 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
16039 if (!wxPyCheckForApp()) SWIG_fail
;
16040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16041 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
16042 wxPyEndAllowThreads(__tstate
);
16043 if (PyErr_Occurred()) SWIG_fail
;
16045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
16052 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16053 PyObject
*resultobj
= 0;
16054 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16057 PyObject
*swig_obj
[1] ;
16059 if (!args
) SWIG_fail
;
16060 swig_obj
[0] = args
;
16061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
16062 if (!SWIG_IsOK(res1
)) {
16063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16065 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16070 wxPyEndAllowThreads(__tstate
);
16071 if (PyErr_Occurred()) SWIG_fail
;
16073 resultobj
= SWIG_Py_Void();
16080 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
= 0;
16082 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16083 PyObject
*arg2
= (PyObject
*) 0 ;
16084 PyObject
*arg3
= (PyObject
*) 0 ;
16090 PyObject
* obj0
= 0 ;
16091 PyObject
* obj1
= 0 ;
16092 PyObject
* obj2
= 0 ;
16093 PyObject
* obj3
= 0 ;
16094 char * kwnames
[] = {
16095 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16100 if (!SWIG_IsOK(res1
)) {
16101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16103 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16106 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16107 if (!SWIG_IsOK(ecode4
)) {
16108 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
16110 arg4
= static_cast< bool >(val4
);
16112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16113 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16114 wxPyEndAllowThreads(__tstate
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16117 resultobj
= SWIG_Py_Void();
16124 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16125 PyObject
*resultobj
= 0;
16126 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16127 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
16128 bool arg3
= (bool) false ;
16136 PyObject
* obj0
= 0 ;
16137 PyObject
* obj1
= 0 ;
16138 PyObject
* obj2
= 0 ;
16139 char * kwnames
[] = {
16140 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
16143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16145 if (!SWIG_IsOK(res1
)) {
16146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16148 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16151 if (!SWIG_IsOK(ecode2
)) {
16152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16154 arg2
= static_cast< wxFontEncoding
>(val2
);
16157 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16158 if (!SWIG_IsOK(ecode3
)) {
16159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
16161 arg3
= static_cast< bool >(val3
);
16164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16165 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
16166 wxPyEndAllowThreads(__tstate
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16178 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16179 PyObject
*resultobj
= 0;
16180 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16181 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16182 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16186 bool temp2
= false ;
16187 PyObject
* obj0
= 0 ;
16188 PyObject
* obj1
= 0 ;
16189 char * kwnames
[] = {
16190 (char *) "self",(char *) "facename", NULL
16193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16195 if (!SWIG_IsOK(res1
)) {
16196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16198 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16201 arg2
= wxString_in_helper(obj1
);
16202 if (arg2
== NULL
) SWIG_fail
;
16207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16208 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16229 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16230 PyObject
*resultobj
= 0;
16231 PyObject
*result
= 0 ;
16233 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
16235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16236 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
16237 wxPyEndAllowThreads(__tstate
);
16238 if (PyErr_Occurred()) SWIG_fail
;
16240 resultobj
= result
;
16247 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16248 PyObject
*resultobj
= 0;
16249 PyObject
*result
= 0 ;
16251 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
16253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16254 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
16255 wxPyEndAllowThreads(__tstate
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16258 resultobj
= result
;
16265 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16266 PyObject
*resultobj
= 0;
16267 wxString
*arg1
= 0 ;
16269 bool temp1
= false ;
16270 PyObject
* obj0
= 0 ;
16271 char * kwnames
[] = {
16272 (char *) "str", NULL
16275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
16277 arg1
= wxString_in_helper(obj0
);
16278 if (arg1
== NULL
) SWIG_fail
;
16282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16283 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
16284 wxPyEndAllowThreads(__tstate
);
16285 if (PyErr_Occurred()) SWIG_fail
;
16288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16304 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16306 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16307 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
16308 return SWIG_Py_Void();
16311 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16312 return SWIG_Python_InitShadowInstance(args
);
16315 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16316 PyObject
*resultobj
= 0;
16317 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16323 PyObject
*swig_obj
[2] ;
16325 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
16326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16327 if (!SWIG_IsOK(res1
)) {
16328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16330 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16331 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16332 if (!SWIG_IsOK(ecode2
)) {
16333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
16335 arg2
= static_cast< int >(val2
);
16336 if (arg1
) (arg1
)->Language
= arg2
;
16338 resultobj
= SWIG_Py_Void();
16345 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16346 PyObject
*resultobj
= 0;
16347 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16351 PyObject
*swig_obj
[1] ;
16353 if (!args
) SWIG_fail
;
16354 swig_obj
[0] = args
;
16355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16356 if (!SWIG_IsOK(res1
)) {
16357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16359 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16360 result
= (int) ((arg1
)->Language
);
16361 resultobj
= SWIG_From_int(static_cast< int >(result
));
16368 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16369 PyObject
*resultobj
= 0;
16370 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16371 wxString
*arg2
= (wxString
*) 0 ;
16374 bool temp2
= false ;
16375 PyObject
*swig_obj
[2] ;
16377 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16379 if (!SWIG_IsOK(res1
)) {
16380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16382 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16384 arg2
= wxString_in_helper(swig_obj
[1]);
16385 if (arg2
== NULL
) SWIG_fail
;
16388 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16390 resultobj
= SWIG_Py_Void();
16405 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16406 PyObject
*resultobj
= 0;
16407 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16408 wxString
*result
= 0 ;
16411 PyObject
*swig_obj
[1] ;
16413 if (!args
) SWIG_fail
;
16414 swig_obj
[0] = args
;
16415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16416 if (!SWIG_IsOK(res1
)) {
16417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16419 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16420 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16423 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16425 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16434 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16435 PyObject
*resultobj
= 0;
16436 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16437 wxString
*arg2
= (wxString
*) 0 ;
16440 bool temp2
= false ;
16441 PyObject
*swig_obj
[2] ;
16443 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16445 if (!SWIG_IsOK(res1
)) {
16446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16448 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16450 arg2
= wxString_in_helper(swig_obj
[1]);
16451 if (arg2
== NULL
) SWIG_fail
;
16454 if (arg1
) (arg1
)->Description
= *arg2
;
16456 resultobj
= SWIG_Py_Void();
16471 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16472 PyObject
*resultobj
= 0;
16473 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16474 wxString
*result
= 0 ;
16477 PyObject
*swig_obj
[1] ;
16479 if (!args
) SWIG_fail
;
16480 swig_obj
[0] = args
;
16481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16482 if (!SWIG_IsOK(res1
)) {
16483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16485 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16486 result
= (wxString
*)& ((arg1
)->Description
);
16489 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16491 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16500 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16502 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16503 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16504 return SWIG_Py_Void();
16507 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16508 PyObject
*resultobj
= 0;
16509 int arg1
= (int) -1 ;
16510 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16511 wxLocale
*result
= 0 ;
16516 PyObject
* obj0
= 0 ;
16517 PyObject
* obj1
= 0 ;
16518 char * kwnames
[] = {
16519 (char *) "language",(char *) "flags", NULL
16522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16524 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16525 if (!SWIG_IsOK(ecode1
)) {
16526 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16528 arg1
= static_cast< int >(val1
);
16531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16532 if (!SWIG_IsOK(ecode2
)) {
16533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16535 arg2
= static_cast< int >(val2
);
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16540 wxPyEndAllowThreads(__tstate
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16550 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16551 PyObject
*resultobj
= 0;
16552 wxLocale
*arg1
= (wxLocale
*) 0 ;
16555 PyObject
*swig_obj
[1] ;
16557 if (!args
) SWIG_fail
;
16558 swig_obj
[0] = args
;
16559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16560 if (!SWIG_IsOK(res1
)) {
16561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16563 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16568 wxPyEndAllowThreads(__tstate
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16571 resultobj
= SWIG_Py_Void();
16578 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
= 0;
16580 wxLocale
*arg1
= (wxLocale
*) 0 ;
16581 wxString
*arg2
= 0 ;
16582 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16583 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16584 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16585 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16586 bool arg5
= (bool) true ;
16587 bool arg6
= (bool) false ;
16591 bool temp2
= false ;
16592 bool temp3
= false ;
16593 bool temp4
= false ;
16598 PyObject
* obj0
= 0 ;
16599 PyObject
* obj1
= 0 ;
16600 PyObject
* obj2
= 0 ;
16601 PyObject
* obj3
= 0 ;
16602 PyObject
* obj4
= 0 ;
16603 PyObject
* obj5
= 0 ;
16604 char * kwnames
[] = {
16605 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16610 if (!SWIG_IsOK(res1
)) {
16611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16613 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16615 arg2
= wxString_in_helper(obj1
);
16616 if (arg2
== NULL
) SWIG_fail
;
16621 arg3
= wxString_in_helper(obj2
);
16622 if (arg3
== NULL
) SWIG_fail
;
16628 arg4
= wxString_in_helper(obj3
);
16629 if (arg4
== NULL
) SWIG_fail
;
16634 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16635 if (!SWIG_IsOK(ecode5
)) {
16636 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16638 arg5
= static_cast< bool >(val5
);
16641 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16642 if (!SWIG_IsOK(ecode6
)) {
16643 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16645 arg6
= static_cast< bool >(val6
);
16648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16649 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16650 wxPyEndAllowThreads(__tstate
);
16651 if (PyErr_Occurred()) SWIG_fail
;
16654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16686 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16687 PyObject
*resultobj
= 0;
16688 wxLocale
*arg1
= (wxLocale
*) 0 ;
16689 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16690 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16698 PyObject
* obj0
= 0 ;
16699 PyObject
* obj1
= 0 ;
16700 PyObject
* obj2
= 0 ;
16701 char * kwnames
[] = {
16702 (char *) "self",(char *) "language",(char *) "flags", NULL
16705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16707 if (!SWIG_IsOK(res1
)) {
16708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16710 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16713 if (!SWIG_IsOK(ecode2
)) {
16714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16716 arg2
= static_cast< int >(val2
);
16719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16720 if (!SWIG_IsOK(ecode3
)) {
16721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16723 arg3
= static_cast< int >(val3
);
16726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16727 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16728 wxPyEndAllowThreads(__tstate
);
16729 if (PyErr_Occurred()) SWIG_fail
;
16732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16740 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16741 PyObject
*resultobj
= 0;
16744 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16747 result
= (int)wxLocale::GetSystemLanguage();
16748 wxPyEndAllowThreads(__tstate
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16751 resultobj
= SWIG_From_int(static_cast< int >(result
));
16758 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16759 PyObject
*resultobj
= 0;
16760 wxFontEncoding result
;
16762 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16765 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16766 wxPyEndAllowThreads(__tstate
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16769 resultobj
= SWIG_From_int(static_cast< int >(result
));
16776 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16777 PyObject
*resultobj
= 0;
16780 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16783 result
= wxLocale::GetSystemEncodingName();
16784 wxPyEndAllowThreads(__tstate
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16800 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16801 PyObject
*resultobj
= 0;
16802 wxLocale
*arg1
= (wxLocale
*) 0 ;
16806 PyObject
*swig_obj
[1] ;
16808 if (!args
) SWIG_fail
;
16809 swig_obj
[0] = args
;
16810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16811 if (!SWIG_IsOK(res1
)) {
16812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16814 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16817 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16818 wxPyEndAllowThreads(__tstate
);
16819 if (PyErr_Occurred()) SWIG_fail
;
16822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16830 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16831 PyObject
*resultobj
= 0;
16832 wxLocale
*arg1
= (wxLocale
*) 0 ;
16836 PyObject
*swig_obj
[1] ;
16838 if (!args
) SWIG_fail
;
16839 swig_obj
[0] = args
;
16840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16841 if (!SWIG_IsOK(res1
)) {
16842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16844 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16847 result
= ((wxLocale
const *)arg1
)->GetLocale();
16848 wxPyEndAllowThreads(__tstate
);
16849 if (PyErr_Occurred()) SWIG_fail
;
16853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16864 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16865 PyObject
*resultobj
= 0;
16866 wxLocale
*arg1
= (wxLocale
*) 0 ;
16870 PyObject
*swig_obj
[1] ;
16872 if (!args
) SWIG_fail
;
16873 swig_obj
[0] = args
;
16874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16875 if (!SWIG_IsOK(res1
)) {
16876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16878 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16881 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16882 wxPyEndAllowThreads(__tstate
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16885 resultobj
= SWIG_From_int(static_cast< int >(result
));
16892 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16893 PyObject
*resultobj
= 0;
16894 wxLocale
*arg1
= (wxLocale
*) 0 ;
16898 PyObject
*swig_obj
[1] ;
16900 if (!args
) SWIG_fail
;
16901 swig_obj
[0] = args
;
16902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16903 if (!SWIG_IsOK(res1
)) {
16904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16906 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16909 result
= ((wxLocale
const *)arg1
)->GetSysName();
16910 wxPyEndAllowThreads(__tstate
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16915 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16917 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16926 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16927 PyObject
*resultobj
= 0;
16928 wxLocale
*arg1
= (wxLocale
*) 0 ;
16932 PyObject
*swig_obj
[1] ;
16934 if (!args
) SWIG_fail
;
16935 swig_obj
[0] = args
;
16936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16937 if (!SWIG_IsOK(res1
)) {
16938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16940 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16943 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16944 wxPyEndAllowThreads(__tstate
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16960 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16961 PyObject
*resultobj
= 0;
16962 wxString
*arg1
= 0 ;
16963 bool temp1
= false ;
16964 PyObject
* obj0
= 0 ;
16965 char * kwnames
[] = {
16966 (char *) "prefix", NULL
16969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16971 arg1
= wxString_in_helper(obj0
);
16972 if (arg1
== NULL
) SWIG_fail
;
16976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16977 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16978 wxPyEndAllowThreads(__tstate
);
16979 if (PyErr_Occurred()) SWIG_fail
;
16981 resultobj
= SWIG_Py_Void();
16996 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16997 PyObject
*resultobj
= 0;
16998 wxLocale
*arg1
= (wxLocale
*) 0 ;
16999 wxString
*arg2
= 0 ;
17003 bool temp2
= false ;
17004 PyObject
* obj0
= 0 ;
17005 PyObject
* obj1
= 0 ;
17006 char * kwnames
[] = {
17007 (char *) "self",(char *) "szDomain", NULL
17010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17012 if (!SWIG_IsOK(res1
)) {
17013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
17015 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17017 arg2
= wxString_in_helper(obj1
);
17018 if (arg2
== NULL
) SWIG_fail
;
17022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17023 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
17024 wxPyEndAllowThreads(__tstate
);
17025 if (PyErr_Occurred()) SWIG_fail
;
17028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17044 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17045 PyObject
*resultobj
= 0;
17050 PyObject
* obj0
= 0 ;
17051 char * kwnames
[] = {
17052 (char *) "lang", NULL
17055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
17056 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17057 if (!SWIG_IsOK(ecode1
)) {
17058 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
17060 arg1
= static_cast< int >(val1
);
17062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17063 result
= (bool)wxLocale::IsAvailable(arg1
);
17064 wxPyEndAllowThreads(__tstate
);
17065 if (PyErr_Occurred()) SWIG_fail
;
17068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17076 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17077 PyObject
*resultobj
= 0;
17078 wxLocale
*arg1
= (wxLocale
*) 0 ;
17079 wxString
*arg2
= 0 ;
17083 bool temp2
= false ;
17084 PyObject
* obj0
= 0 ;
17085 PyObject
* obj1
= 0 ;
17086 char * kwnames
[] = {
17087 (char *) "self",(char *) "szDomain", NULL
17090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17092 if (!SWIG_IsOK(res1
)) {
17093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
17095 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17097 arg2
= wxString_in_helper(obj1
);
17098 if (arg2
== NULL
) SWIG_fail
;
17102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17103 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
17104 wxPyEndAllowThreads(__tstate
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17124 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17125 PyObject
*resultobj
= 0;
17127 wxLanguageInfo
*result
= 0 ;
17130 PyObject
* obj0
= 0 ;
17131 char * kwnames
[] = {
17132 (char *) "lang", NULL
17135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17136 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17137 if (!SWIG_IsOK(ecode1
)) {
17138 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
17140 arg1
= static_cast< int >(val1
);
17142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17143 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
17144 wxPyEndAllowThreads(__tstate
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17154 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17155 PyObject
*resultobj
= 0;
17160 PyObject
* obj0
= 0 ;
17161 char * kwnames
[] = {
17162 (char *) "lang", NULL
17165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
17166 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17167 if (!SWIG_IsOK(ecode1
)) {
17168 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
17170 arg1
= static_cast< int >(val1
);
17172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17173 result
= wxLocale::GetLanguageName(arg1
);
17174 wxPyEndAllowThreads(__tstate
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17190 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17191 PyObject
*resultobj
= 0;
17192 wxString
*arg1
= 0 ;
17193 wxLanguageInfo
*result
= 0 ;
17194 bool temp1
= false ;
17195 PyObject
* obj0
= 0 ;
17196 char * kwnames
[] = {
17197 (char *) "locale", NULL
17200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17202 arg1
= wxString_in_helper(obj0
);
17203 if (arg1
== NULL
) SWIG_fail
;
17207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17208 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
17209 wxPyEndAllowThreads(__tstate
);
17210 if (PyErr_Occurred()) SWIG_fail
;
17212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17227 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17228 PyObject
*resultobj
= 0;
17229 wxLanguageInfo
*arg1
= 0 ;
17232 PyObject
* obj0
= 0 ;
17233 char * kwnames
[] = {
17234 (char *) "info", NULL
17237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
17238 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
17239 if (!SWIG_IsOK(res1
)) {
17240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17243 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17245 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
17247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17248 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
17249 wxPyEndAllowThreads(__tstate
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17252 resultobj
= SWIG_Py_Void();
17259 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17260 PyObject
*resultobj
= 0;
17261 wxLocale
*arg1
= (wxLocale
*) 0 ;
17262 wxString
*arg2
= 0 ;
17263 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17264 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17268 bool temp2
= false ;
17269 bool temp3
= false ;
17270 PyObject
* obj0
= 0 ;
17271 PyObject
* obj1
= 0 ;
17272 PyObject
* obj2
= 0 ;
17273 char * kwnames
[] = {
17274 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17279 if (!SWIG_IsOK(res1
)) {
17280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
17282 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17284 arg2
= wxString_in_helper(obj1
);
17285 if (arg2
== NULL
) SWIG_fail
;
17290 arg3
= wxString_in_helper(obj2
);
17291 if (arg3
== NULL
) SWIG_fail
;
17296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17297 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17298 wxPyEndAllowThreads(__tstate
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17303 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17305 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17330 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17331 PyObject
*resultobj
= 0;
17332 wxLocale
*arg1
= (wxLocale
*) 0 ;
17333 wxString
*result
= 0 ;
17336 PyObject
*swig_obj
[1] ;
17338 if (!args
) SWIG_fail
;
17339 swig_obj
[0] = args
;
17340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17341 if (!SWIG_IsOK(res1
)) {
17342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17344 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17348 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17349 result
= (wxString
*) &_result_ref
;
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17356 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17358 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17367 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17369 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17370 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17371 return SWIG_Py_Void();
17374 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17375 return SWIG_Python_InitShadowInstance(args
);
17378 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17379 PyObject
*resultobj
= 0;
17380 int arg1
= (int) -1 ;
17381 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17382 wxPyLocale
*result
= 0 ;
17387 PyObject
* obj0
= 0 ;
17388 PyObject
* obj1
= 0 ;
17389 char * kwnames
[] = {
17390 (char *) "language",(char *) "flags", NULL
17393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17395 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17396 if (!SWIG_IsOK(ecode1
)) {
17397 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17399 arg1
= static_cast< int >(val1
);
17402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17403 if (!SWIG_IsOK(ecode2
)) {
17404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17406 arg2
= static_cast< int >(val2
);
17409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17410 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17411 wxPyEndAllowThreads(__tstate
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17421 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17422 PyObject
*resultobj
= 0;
17423 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17426 PyObject
*swig_obj
[1] ;
17428 if (!args
) SWIG_fail
;
17429 swig_obj
[0] = args
;
17430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17431 if (!SWIG_IsOK(res1
)) {
17432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17434 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17439 wxPyEndAllowThreads(__tstate
);
17440 if (PyErr_Occurred()) SWIG_fail
;
17442 resultobj
= SWIG_Py_Void();
17449 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17450 PyObject
*resultobj
= 0;
17451 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17452 PyObject
*arg2
= (PyObject
*) 0 ;
17453 PyObject
*arg3
= (PyObject
*) 0 ;
17456 PyObject
* obj0
= 0 ;
17457 PyObject
* obj1
= 0 ;
17458 PyObject
* obj2
= 0 ;
17459 char * kwnames
[] = {
17460 (char *) "self",(char *) "self",(char *) "_class", NULL
17463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17465 if (!SWIG_IsOK(res1
)) {
17466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17468 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17473 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17474 wxPyEndAllowThreads(__tstate
);
17475 if (PyErr_Occurred()) SWIG_fail
;
17477 resultobj
= SWIG_Py_Void();
17484 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17485 PyObject
*resultobj
= 0;
17486 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17487 wxChar
*arg2
= (wxChar
*) 0 ;
17488 wxChar
*arg3
= (wxChar
*) NULL
;
17489 wxChar
*result
= 0 ;
17496 PyObject
* obj0
= 0 ;
17497 PyObject
* obj1
= 0 ;
17498 PyObject
* obj2
= 0 ;
17499 char * kwnames
[] = {
17500 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17505 if (!SWIG_IsOK(res1
)) {
17506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17508 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17509 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17510 if (!SWIG_IsOK(res2
)) {
17511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
17513 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17515 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17516 if (!SWIG_IsOK(res3
)) {
17517 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
17519 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17523 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
17524 wxPyEndAllowThreads(__tstate
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17534 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17535 PyObject
*resultobj
= 0;
17536 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17537 wxChar
*arg2
= (wxChar
*) 0 ;
17538 wxChar
*arg3
= (wxChar
*) 0 ;
17540 wxChar
*arg5
= (wxChar
*) NULL
;
17541 wxChar
*result
= 0 ;
17552 PyObject
* obj0
= 0 ;
17553 PyObject
* obj1
= 0 ;
17554 PyObject
* obj2
= 0 ;
17555 PyObject
* obj3
= 0 ;
17556 PyObject
* obj4
= 0 ;
17557 char * kwnames
[] = {
17558 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17563 if (!SWIG_IsOK(res1
)) {
17564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17566 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17567 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17568 if (!SWIG_IsOK(res2
)) {
17569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17571 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17572 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17573 if (!SWIG_IsOK(res3
)) {
17574 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17576 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17577 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17578 if (!SWIG_IsOK(ecode4
)) {
17579 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17581 arg4
= static_cast< size_t >(val4
);
17583 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17584 if (!SWIG_IsOK(res5
)) {
17585 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17587 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17591 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17592 wxPyEndAllowThreads(__tstate
);
17593 if (PyErr_Occurred()) SWIG_fail
;
17595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17602 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17604 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17605 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17606 return SWIG_Py_Void();
17609 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17610 return SWIG_Python_InitShadowInstance(args
);
17613 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17614 PyObject
*resultobj
= 0;
17615 wxLocale
*result
= 0 ;
17617 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 result
= (wxLocale
*)wxGetLocale();
17621 wxPyEndAllowThreads(__tstate
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17631 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17632 PyObject
*resultobj
= 0;
17633 wxString
*arg1
= 0 ;
17635 bool temp1
= false ;
17637 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17639 arg1
= wxString_in_helper(swig_obj
[0]);
17640 if (arg1
== NULL
) SWIG_fail
;
17644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17645 result
= wxGetTranslation((wxString
const &)*arg1
);
17646 wxPyEndAllowThreads(__tstate
);
17647 if (PyErr_Occurred()) SWIG_fail
;
17651 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17653 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17670 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17671 PyObject
*resultobj
= 0;
17672 wxString
*arg1
= 0 ;
17673 wxString
*arg2
= 0 ;
17675 bool temp1
= false ;
17676 bool temp2
= false ;
17678 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17680 arg1
= wxString_in_helper(swig_obj
[0]);
17681 if (arg1
== NULL
) SWIG_fail
;
17685 arg2
= wxString_in_helper(swig_obj
[1]);
17686 if (arg2
== NULL
) SWIG_fail
;
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17691 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17692 wxPyEndAllowThreads(__tstate
);
17693 if (PyErr_Occurred()) SWIG_fail
;
17697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17724 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17725 PyObject
*resultobj
= 0;
17726 wxString
*arg1
= 0 ;
17727 wxString
*arg2
= 0 ;
17730 bool temp1
= false ;
17731 bool temp2
= false ;
17735 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17737 arg1
= wxString_in_helper(swig_obj
[0]);
17738 if (arg1
== NULL
) SWIG_fail
;
17742 arg2
= wxString_in_helper(swig_obj
[1]);
17743 if (arg2
== NULL
) SWIG_fail
;
17746 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17747 if (!SWIG_IsOK(ecode3
)) {
17748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17750 arg3
= static_cast< size_t >(val3
);
17752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17753 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17754 wxPyEndAllowThreads(__tstate
);
17755 if (PyErr_Occurred()) SWIG_fail
;
17759 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17761 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17786 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17787 PyObject
*resultobj
= 0;
17788 wxString
*arg1
= 0 ;
17789 wxString
*arg2
= 0 ;
17791 wxString
*arg4
= 0 ;
17793 bool temp1
= false ;
17794 bool temp2
= false ;
17797 bool temp4
= false ;
17799 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17801 arg1
= wxString_in_helper(swig_obj
[0]);
17802 if (arg1
== NULL
) SWIG_fail
;
17806 arg2
= wxString_in_helper(swig_obj
[1]);
17807 if (arg2
== NULL
) SWIG_fail
;
17810 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17811 if (!SWIG_IsOK(ecode3
)) {
17812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17814 arg3
= static_cast< size_t >(val3
);
17816 arg4
= wxString_in_helper(swig_obj
[3]);
17817 if (arg4
== NULL
) SWIG_fail
;
17821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17823 wxPyEndAllowThreads(__tstate
);
17824 if (PyErr_Occurred()) SWIG_fail
;
17828 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17830 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17863 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17867 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17870 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17873 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17876 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17879 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17883 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17888 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17889 PyObject
*resultobj
= 0;
17890 wxEncodingConverter
*result
= 0 ;
17892 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17896 wxPyEndAllowThreads(__tstate
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17906 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17907 PyObject
*resultobj
= 0;
17908 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17911 PyObject
*swig_obj
[1] ;
17913 if (!args
) SWIG_fail
;
17914 swig_obj
[0] = args
;
17915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17916 if (!SWIG_IsOK(res1
)) {
17917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17919 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17924 wxPyEndAllowThreads(__tstate
);
17925 if (PyErr_Occurred()) SWIG_fail
;
17927 resultobj
= SWIG_Py_Void();
17934 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17935 PyObject
*resultobj
= 0;
17936 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17937 wxFontEncoding arg2
;
17938 wxFontEncoding arg3
;
17939 int arg4
= (int) wxCONVERT_STRICT
;
17949 PyObject
* obj0
= 0 ;
17950 PyObject
* obj1
= 0 ;
17951 PyObject
* obj2
= 0 ;
17952 PyObject
* obj3
= 0 ;
17953 char * kwnames
[] = {
17954 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17959 if (!SWIG_IsOK(res1
)) {
17960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17962 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17964 if (!SWIG_IsOK(ecode2
)) {
17965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17967 arg2
= static_cast< wxFontEncoding
>(val2
);
17968 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17969 if (!SWIG_IsOK(ecode3
)) {
17970 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17972 arg3
= static_cast< wxFontEncoding
>(val3
);
17974 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17975 if (!SWIG_IsOK(ecode4
)) {
17976 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17978 arg4
= static_cast< int >(val4
);
17981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17982 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17983 wxPyEndAllowThreads(__tstate
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17995 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
= 0;
17997 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17998 wxString
*arg2
= 0 ;
18002 bool temp2
= false ;
18003 PyObject
* obj0
= 0 ;
18004 PyObject
* obj1
= 0 ;
18005 char * kwnames
[] = {
18006 (char *) "self",(char *) "input", NULL
18009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
18011 if (!SWIG_IsOK(res1
)) {
18012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18014 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18016 arg2
= wxString_in_helper(obj1
);
18017 if (arg2
== NULL
) SWIG_fail
;
18021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18022 result
= (arg1
)->Convert((wxString
const &)*arg2
);
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18028 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18030 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18047 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
= 0;
18049 wxFontEncoding arg1
;
18050 int arg2
= (int) wxPLATFORM_CURRENT
;
18051 wxFontEncodingArray result
;
18056 PyObject
* obj0
= 0 ;
18057 PyObject
* obj1
= 0 ;
18058 char * kwnames
[] = {
18059 (char *) "enc",(char *) "platform", NULL
18062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18063 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18064 if (!SWIG_IsOK(ecode1
)) {
18065 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18067 arg1
= static_cast< wxFontEncoding
>(val1
);
18069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18070 if (!SWIG_IsOK(ecode2
)) {
18071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
18073 arg2
= static_cast< int >(val2
);
18076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18077 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
18078 wxPyEndAllowThreads(__tstate
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18082 resultobj
= PyList_New(0);
18083 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18084 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18085 PyList_Append(resultobj
, number
);
18095 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18096 PyObject
*resultobj
= 0;
18097 wxFontEncoding arg1
;
18098 wxFontEncodingArray result
;
18101 PyObject
* obj0
= 0 ;
18102 char * kwnames
[] = {
18103 (char *) "enc", NULL
18106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
18107 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18108 if (!SWIG_IsOK(ecode1
)) {
18109 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18111 arg1
= static_cast< wxFontEncoding
>(val1
);
18113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18114 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
18115 wxPyEndAllowThreads(__tstate
);
18116 if (PyErr_Occurred()) SWIG_fail
;
18119 resultobj
= PyList_New(0);
18120 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18121 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18122 PyList_Append(resultobj
, number
);
18132 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18133 PyObject
*resultobj
= 0;
18134 wxFontEncoding arg1
;
18135 wxFontEncoding arg2
;
18141 PyObject
* obj0
= 0 ;
18142 PyObject
* obj1
= 0 ;
18143 char * kwnames
[] = {
18144 (char *) "encIn",(char *) "encOut", NULL
18147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18148 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18149 if (!SWIG_IsOK(ecode1
)) {
18150 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18152 arg1
= static_cast< wxFontEncoding
>(val1
);
18153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18154 if (!SWIG_IsOK(ecode2
)) {
18155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18157 arg2
= static_cast< wxFontEncoding
>(val2
);
18159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18160 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18173 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18175 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18176 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
18177 return SWIG_Py_Void();
18180 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18181 return SWIG_Python_InitShadowInstance(args
);
18184 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18185 PyObject
*resultobj
= 0;
18186 wxDC
*arg1
= (wxDC
*) 0 ;
18189 PyObject
*swig_obj
[1] ;
18191 if (!args
) SWIG_fail
;
18192 swig_obj
[0] = args
;
18193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
18194 if (!SWIG_IsOK(res1
)) {
18195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
18197 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18202 wxPyEndAllowThreads(__tstate
);
18203 if (PyErr_Occurred()) SWIG_fail
;
18205 resultobj
= SWIG_Py_Void();
18212 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18213 PyObject
*resultobj
= 0;
18214 wxDC
*arg1
= (wxDC
*) 0 ;
18217 wxColour
*arg4
= 0 ;
18218 int arg5
= (int) wxFLOOD_SURFACE
;
18229 PyObject
* obj0
= 0 ;
18230 PyObject
* obj1
= 0 ;
18231 PyObject
* obj2
= 0 ;
18232 PyObject
* obj3
= 0 ;
18233 PyObject
* obj4
= 0 ;
18234 char * kwnames
[] = {
18235 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
18238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18240 if (!SWIG_IsOK(res1
)) {
18241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
18243 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18245 if (!SWIG_IsOK(ecode2
)) {
18246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
18248 arg2
= static_cast< int >(val2
);
18249 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18250 if (!SWIG_IsOK(ecode3
)) {
18251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
18253 arg3
= static_cast< int >(val3
);
18256 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18259 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18260 if (!SWIG_IsOK(ecode5
)) {
18261 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
18263 arg5
= static_cast< int >(val5
);
18266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18267 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
18268 wxPyEndAllowThreads(__tstate
);
18269 if (PyErr_Occurred()) SWIG_fail
;
18272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18280 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18281 PyObject
*resultobj
= 0;
18282 wxDC
*arg1
= (wxDC
*) 0 ;
18283 wxPoint
*arg2
= 0 ;
18284 wxColour
*arg3
= 0 ;
18285 int arg4
= (int) wxFLOOD_SURFACE
;
18293 PyObject
* obj0
= 0 ;
18294 PyObject
* obj1
= 0 ;
18295 PyObject
* obj2
= 0 ;
18296 PyObject
* obj3
= 0 ;
18297 char * kwnames
[] = {
18298 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
18301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18303 if (!SWIG_IsOK(res1
)) {
18304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18306 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18309 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18313 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18316 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18317 if (!SWIG_IsOK(ecode4
)) {
18318 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
18320 arg4
= static_cast< int >(val4
);
18323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18324 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
18325 wxPyEndAllowThreads(__tstate
);
18326 if (PyErr_Occurred()) SWIG_fail
;
18329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18337 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18338 PyObject
*resultobj
= 0;
18339 wxDC
*arg1
= (wxDC
*) 0 ;
18341 wxColour
*arg3
= 0 ;
18342 wxColour
*arg4
= 0 ;
18343 wxPoint
*arg5
= 0 ;
18350 PyObject
* obj0
= 0 ;
18351 PyObject
* obj1
= 0 ;
18352 PyObject
* obj2
= 0 ;
18353 PyObject
* obj3
= 0 ;
18354 PyObject
* obj4
= 0 ;
18355 char * kwnames
[] = {
18356 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18361 if (!SWIG_IsOK(res1
)) {
18362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18364 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18367 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18371 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18375 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18379 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18384 wxPyEndAllowThreads(__tstate
);
18385 if (PyErr_Occurred()) SWIG_fail
;
18387 resultobj
= SWIG_Py_Void();
18394 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18395 PyObject
*resultobj
= 0;
18396 wxDC
*arg1
= (wxDC
*) 0 ;
18398 wxColour
*arg3
= 0 ;
18399 wxColour
*arg4
= 0 ;
18400 wxDirection arg5
= (wxDirection
) wxEAST
;
18408 PyObject
* obj0
= 0 ;
18409 PyObject
* obj1
= 0 ;
18410 PyObject
* obj2
= 0 ;
18411 PyObject
* obj3
= 0 ;
18412 PyObject
* obj4
= 0 ;
18413 char * kwnames
[] = {
18414 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18419 if (!SWIG_IsOK(res1
)) {
18420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18422 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18425 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18429 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18433 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18436 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18437 if (!SWIG_IsOK(ecode5
)) {
18438 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18440 arg5
= static_cast< wxDirection
>(val5
);
18443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18444 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18445 wxPyEndAllowThreads(__tstate
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18448 resultobj
= SWIG_Py_Void();
18455 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18456 PyObject
*resultobj
= 0;
18457 wxDC
*arg1
= (wxDC
*) 0 ;
18467 PyObject
* obj0
= 0 ;
18468 PyObject
* obj1
= 0 ;
18469 PyObject
* obj2
= 0 ;
18470 char * kwnames
[] = {
18471 (char *) "self",(char *) "x",(char *) "y", NULL
18474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18476 if (!SWIG_IsOK(res1
)) {
18477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18479 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18481 if (!SWIG_IsOK(ecode2
)) {
18482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18484 arg2
= static_cast< int >(val2
);
18485 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18486 if (!SWIG_IsOK(ecode3
)) {
18487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18489 arg3
= static_cast< int >(val3
);
18491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18492 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18493 wxPyEndAllowThreads(__tstate
);
18494 if (PyErr_Occurred()) SWIG_fail
;
18496 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18503 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18504 PyObject
*resultobj
= 0;
18505 wxDC
*arg1
= (wxDC
*) 0 ;
18506 wxPoint
*arg2
= 0 ;
18511 PyObject
* obj0
= 0 ;
18512 PyObject
* obj1
= 0 ;
18513 char * kwnames
[] = {
18514 (char *) "self",(char *) "pt", NULL
18517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18519 if (!SWIG_IsOK(res1
)) {
18520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18522 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18525 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18529 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18533 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18540 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18541 PyObject
*resultobj
= 0;
18542 wxDC
*arg1
= (wxDC
*) 0 ;
18557 PyObject
* obj0
= 0 ;
18558 PyObject
* obj1
= 0 ;
18559 PyObject
* obj2
= 0 ;
18560 PyObject
* obj3
= 0 ;
18561 PyObject
* obj4
= 0 ;
18562 char * kwnames
[] = {
18563 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18568 if (!SWIG_IsOK(res1
)) {
18569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18571 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18573 if (!SWIG_IsOK(ecode2
)) {
18574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18576 arg2
= static_cast< int >(val2
);
18577 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18578 if (!SWIG_IsOK(ecode3
)) {
18579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18581 arg3
= static_cast< int >(val3
);
18582 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18583 if (!SWIG_IsOK(ecode4
)) {
18584 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18586 arg4
= static_cast< int >(val4
);
18587 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18588 if (!SWIG_IsOK(ecode5
)) {
18589 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18591 arg5
= static_cast< int >(val5
);
18593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18594 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18595 wxPyEndAllowThreads(__tstate
);
18596 if (PyErr_Occurred()) SWIG_fail
;
18598 resultobj
= SWIG_Py_Void();
18605 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18606 PyObject
*resultobj
= 0;
18607 wxDC
*arg1
= (wxDC
*) 0 ;
18608 wxPoint
*arg2
= 0 ;
18609 wxPoint
*arg3
= 0 ;
18614 PyObject
* obj0
= 0 ;
18615 PyObject
* obj1
= 0 ;
18616 PyObject
* obj2
= 0 ;
18617 char * kwnames
[] = {
18618 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18623 if (!SWIG_IsOK(res1
)) {
18624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18626 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18629 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18633 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18637 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18638 wxPyEndAllowThreads(__tstate
);
18639 if (PyErr_Occurred()) SWIG_fail
;
18641 resultobj
= SWIG_Py_Void();
18648 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18649 PyObject
*resultobj
= 0;
18650 wxDC
*arg1
= (wxDC
*) 0 ;
18659 PyObject
* obj0
= 0 ;
18660 PyObject
* obj1
= 0 ;
18661 PyObject
* obj2
= 0 ;
18662 char * kwnames
[] = {
18663 (char *) "self",(char *) "x",(char *) "y", NULL
18666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18668 if (!SWIG_IsOK(res1
)) {
18669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18671 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18673 if (!SWIG_IsOK(ecode2
)) {
18674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18676 arg2
= static_cast< int >(val2
);
18677 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18678 if (!SWIG_IsOK(ecode3
)) {
18679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18681 arg3
= static_cast< int >(val3
);
18683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18684 (arg1
)->CrossHair(arg2
,arg3
);
18685 wxPyEndAllowThreads(__tstate
);
18686 if (PyErr_Occurred()) SWIG_fail
;
18688 resultobj
= SWIG_Py_Void();
18695 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18696 PyObject
*resultobj
= 0;
18697 wxDC
*arg1
= (wxDC
*) 0 ;
18698 wxPoint
*arg2
= 0 ;
18702 PyObject
* obj0
= 0 ;
18703 PyObject
* obj1
= 0 ;
18704 char * kwnames
[] = {
18705 (char *) "self",(char *) "pt", NULL
18708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18710 if (!SWIG_IsOK(res1
)) {
18711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18713 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18716 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18720 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18721 wxPyEndAllowThreads(__tstate
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18724 resultobj
= SWIG_Py_Void();
18731 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18732 PyObject
*resultobj
= 0;
18733 wxDC
*arg1
= (wxDC
*) 0 ;
18754 PyObject
* obj0
= 0 ;
18755 PyObject
* obj1
= 0 ;
18756 PyObject
* obj2
= 0 ;
18757 PyObject
* obj3
= 0 ;
18758 PyObject
* obj4
= 0 ;
18759 PyObject
* obj5
= 0 ;
18760 PyObject
* obj6
= 0 ;
18761 char * kwnames
[] = {
18762 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18767 if (!SWIG_IsOK(res1
)) {
18768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18770 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18772 if (!SWIG_IsOK(ecode2
)) {
18773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18775 arg2
= static_cast< int >(val2
);
18776 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18777 if (!SWIG_IsOK(ecode3
)) {
18778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18780 arg3
= static_cast< int >(val3
);
18781 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18782 if (!SWIG_IsOK(ecode4
)) {
18783 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18785 arg4
= static_cast< int >(val4
);
18786 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18787 if (!SWIG_IsOK(ecode5
)) {
18788 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18790 arg5
= static_cast< int >(val5
);
18791 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18792 if (!SWIG_IsOK(ecode6
)) {
18793 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18795 arg6
= static_cast< int >(val6
);
18796 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18797 if (!SWIG_IsOK(ecode7
)) {
18798 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18800 arg7
= static_cast< int >(val7
);
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18804 wxPyEndAllowThreads(__tstate
);
18805 if (PyErr_Occurred()) SWIG_fail
;
18807 resultobj
= SWIG_Py_Void();
18814 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18815 PyObject
*resultobj
= 0;
18816 wxDC
*arg1
= (wxDC
*) 0 ;
18817 wxPoint
*arg2
= 0 ;
18818 wxPoint
*arg3
= 0 ;
18819 wxPoint
*arg4
= 0 ;
18825 PyObject
* obj0
= 0 ;
18826 PyObject
* obj1
= 0 ;
18827 PyObject
* obj2
= 0 ;
18828 PyObject
* obj3
= 0 ;
18829 char * kwnames
[] = {
18830 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18835 if (!SWIG_IsOK(res1
)) {
18836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18838 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18841 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18845 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18849 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18853 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18854 wxPyEndAllowThreads(__tstate
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18857 resultobj
= SWIG_Py_Void();
18864 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18865 PyObject
*resultobj
= 0;
18866 wxDC
*arg1
= (wxDC
*) 0 ;
18881 PyObject
* obj0
= 0 ;
18882 PyObject
* obj1
= 0 ;
18883 PyObject
* obj2
= 0 ;
18884 PyObject
* obj3
= 0 ;
18885 PyObject
* obj4
= 0 ;
18886 char * kwnames
[] = {
18887 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18892 if (!SWIG_IsOK(res1
)) {
18893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18895 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18897 if (!SWIG_IsOK(ecode2
)) {
18898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18900 arg2
= static_cast< int >(val2
);
18901 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18902 if (!SWIG_IsOK(ecode3
)) {
18903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18905 arg3
= static_cast< int >(val3
);
18906 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18907 if (!SWIG_IsOK(ecode4
)) {
18908 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18910 arg4
= static_cast< int >(val4
);
18911 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18912 if (!SWIG_IsOK(ecode5
)) {
18913 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18915 arg5
= static_cast< int >(val5
);
18917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18918 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18922 resultobj
= SWIG_Py_Void();
18929 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18930 PyObject
*resultobj
= 0;
18931 wxDC
*arg1
= (wxDC
*) 0 ;
18936 PyObject
* obj0
= 0 ;
18937 PyObject
* obj1
= 0 ;
18938 char * kwnames
[] = {
18939 (char *) "self",(char *) "rect", NULL
18942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18944 if (!SWIG_IsOK(res1
)) {
18945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18947 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18950 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18954 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18955 wxPyEndAllowThreads(__tstate
);
18956 if (PyErr_Occurred()) SWIG_fail
;
18958 resultobj
= SWIG_Py_Void();
18965 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18966 PyObject
*resultobj
= 0;
18967 wxDC
*arg1
= (wxDC
*) 0 ;
18988 PyObject
* obj0
= 0 ;
18989 PyObject
* obj1
= 0 ;
18990 PyObject
* obj2
= 0 ;
18991 PyObject
* obj3
= 0 ;
18992 PyObject
* obj4
= 0 ;
18993 PyObject
* obj5
= 0 ;
18994 PyObject
* obj6
= 0 ;
18995 char * kwnames
[] = {
18996 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19001 if (!SWIG_IsOK(res1
)) {
19002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
19004 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19006 if (!SWIG_IsOK(ecode2
)) {
19007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
19009 arg2
= static_cast< int >(val2
);
19010 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19011 if (!SWIG_IsOK(ecode3
)) {
19012 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
19014 arg3
= static_cast< int >(val3
);
19015 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19016 if (!SWIG_IsOK(ecode4
)) {
19017 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
19019 arg4
= static_cast< int >(val4
);
19020 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19021 if (!SWIG_IsOK(ecode5
)) {
19022 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
19024 arg5
= static_cast< int >(val5
);
19025 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19026 if (!SWIG_IsOK(ecode6
)) {
19027 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
19029 arg6
= static_cast< double >(val6
);
19030 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
19031 if (!SWIG_IsOK(ecode7
)) {
19032 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
19034 arg7
= static_cast< double >(val7
);
19036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19037 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19038 wxPyEndAllowThreads(__tstate
);
19039 if (PyErr_Occurred()) SWIG_fail
;
19041 resultobj
= SWIG_Py_Void();
19048 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19049 PyObject
*resultobj
= 0;
19050 wxDC
*arg1
= (wxDC
*) 0 ;
19051 wxPoint
*arg2
= 0 ;
19063 PyObject
* obj0
= 0 ;
19064 PyObject
* obj1
= 0 ;
19065 PyObject
* obj2
= 0 ;
19066 PyObject
* obj3
= 0 ;
19067 PyObject
* obj4
= 0 ;
19068 char * kwnames
[] = {
19069 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
19072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19074 if (!SWIG_IsOK(res1
)) {
19075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19077 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19080 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19084 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19086 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19087 if (!SWIG_IsOK(ecode4
)) {
19088 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
19090 arg4
= static_cast< double >(val4
);
19091 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19092 if (!SWIG_IsOK(ecode5
)) {
19093 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
19095 arg5
= static_cast< double >(val5
);
19097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19098 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
19099 wxPyEndAllowThreads(__tstate
);
19100 if (PyErr_Occurred()) SWIG_fail
;
19102 resultobj
= SWIG_Py_Void();
19109 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19110 PyObject
*resultobj
= 0;
19111 wxDC
*arg1
= (wxDC
*) 0 ;
19120 PyObject
* obj0
= 0 ;
19121 PyObject
* obj1
= 0 ;
19122 PyObject
* obj2
= 0 ;
19123 char * kwnames
[] = {
19124 (char *) "self",(char *) "x",(char *) "y", NULL
19127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19129 if (!SWIG_IsOK(res1
)) {
19130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19132 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19134 if (!SWIG_IsOK(ecode2
)) {
19135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
19137 arg2
= static_cast< int >(val2
);
19138 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19139 if (!SWIG_IsOK(ecode3
)) {
19140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
19142 arg3
= static_cast< int >(val3
);
19144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19145 (arg1
)->DrawPoint(arg2
,arg3
);
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19149 resultobj
= SWIG_Py_Void();
19156 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19157 PyObject
*resultobj
= 0;
19158 wxDC
*arg1
= (wxDC
*) 0 ;
19159 wxPoint
*arg2
= 0 ;
19163 PyObject
* obj0
= 0 ;
19164 PyObject
* obj1
= 0 ;
19165 char * kwnames
[] = {
19166 (char *) "self",(char *) "pt", NULL
19169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19171 if (!SWIG_IsOK(res1
)) {
19172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19177 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19181 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
19182 wxPyEndAllowThreads(__tstate
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19185 resultobj
= SWIG_Py_Void();
19192 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19193 PyObject
*resultobj
= 0;
19194 wxDC
*arg1
= (wxDC
*) 0 ;
19209 PyObject
* obj0
= 0 ;
19210 PyObject
* obj1
= 0 ;
19211 PyObject
* obj2
= 0 ;
19212 PyObject
* obj3
= 0 ;
19213 PyObject
* obj4
= 0 ;
19214 char * kwnames
[] = {
19215 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19220 if (!SWIG_IsOK(res1
)) {
19221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19223 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19225 if (!SWIG_IsOK(ecode2
)) {
19226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
19228 arg2
= static_cast< int >(val2
);
19229 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19230 if (!SWIG_IsOK(ecode3
)) {
19231 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
19233 arg3
= static_cast< int >(val3
);
19234 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19235 if (!SWIG_IsOK(ecode4
)) {
19236 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
19238 arg4
= static_cast< int >(val4
);
19239 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19240 if (!SWIG_IsOK(ecode5
)) {
19241 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
19243 arg5
= static_cast< int >(val5
);
19245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19246 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
19247 wxPyEndAllowThreads(__tstate
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19250 resultobj
= SWIG_Py_Void();
19257 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
= 0;
19259 wxDC
*arg1
= (wxDC
*) 0 ;
19264 PyObject
* obj0
= 0 ;
19265 PyObject
* obj1
= 0 ;
19266 char * kwnames
[] = {
19267 (char *) "self",(char *) "rect", NULL
19270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19272 if (!SWIG_IsOK(res1
)) {
19273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19275 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19278 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
19283 wxPyEndAllowThreads(__tstate
);
19284 if (PyErr_Occurred()) SWIG_fail
;
19286 resultobj
= SWIG_Py_Void();
19293 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19294 PyObject
*resultobj
= 0;
19295 wxDC
*arg1
= (wxDC
*) 0 ;
19296 wxPoint
*arg2
= 0 ;
19302 PyObject
* obj0
= 0 ;
19303 PyObject
* obj1
= 0 ;
19304 PyObject
* obj2
= 0 ;
19305 char * kwnames
[] = {
19306 (char *) "self",(char *) "pt",(char *) "sz", NULL
19309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19311 if (!SWIG_IsOK(res1
)) {
19312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19314 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19317 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19321 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19325 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19326 wxPyEndAllowThreads(__tstate
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19329 resultobj
= SWIG_Py_Void();
19336 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19337 PyObject
*resultobj
= 0;
19338 wxDC
*arg1
= (wxDC
*) 0 ;
19356 PyObject
* obj0
= 0 ;
19357 PyObject
* obj1
= 0 ;
19358 PyObject
* obj2
= 0 ;
19359 PyObject
* obj3
= 0 ;
19360 PyObject
* obj4
= 0 ;
19361 PyObject
* obj5
= 0 ;
19362 char * kwnames
[] = {
19363 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19368 if (!SWIG_IsOK(res1
)) {
19369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19371 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19373 if (!SWIG_IsOK(ecode2
)) {
19374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19376 arg2
= static_cast< int >(val2
);
19377 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19378 if (!SWIG_IsOK(ecode3
)) {
19379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19381 arg3
= static_cast< int >(val3
);
19382 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19383 if (!SWIG_IsOK(ecode4
)) {
19384 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19386 arg4
= static_cast< int >(val4
);
19387 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19388 if (!SWIG_IsOK(ecode5
)) {
19389 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19391 arg5
= static_cast< int >(val5
);
19392 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19393 if (!SWIG_IsOK(ecode6
)) {
19394 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19396 arg6
= static_cast< double >(val6
);
19398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19399 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19400 wxPyEndAllowThreads(__tstate
);
19401 if (PyErr_Occurred()) SWIG_fail
;
19403 resultobj
= SWIG_Py_Void();
19410 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19411 PyObject
*resultobj
= 0;
19412 wxDC
*arg1
= (wxDC
*) 0 ;
19420 PyObject
* obj0
= 0 ;
19421 PyObject
* obj1
= 0 ;
19422 PyObject
* obj2
= 0 ;
19423 char * kwnames
[] = {
19424 (char *) "self",(char *) "r",(char *) "radius", NULL
19427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19429 if (!SWIG_IsOK(res1
)) {
19430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19432 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19435 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19437 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19438 if (!SWIG_IsOK(ecode3
)) {
19439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19441 arg3
= static_cast< double >(val3
);
19443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19444 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19445 wxPyEndAllowThreads(__tstate
);
19446 if (PyErr_Occurred()) SWIG_fail
;
19448 resultobj
= SWIG_Py_Void();
19455 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19456 PyObject
*resultobj
= 0;
19457 wxDC
*arg1
= (wxDC
*) 0 ;
19458 wxPoint
*arg2
= 0 ;
19467 PyObject
* obj0
= 0 ;
19468 PyObject
* obj1
= 0 ;
19469 PyObject
* obj2
= 0 ;
19470 PyObject
* obj3
= 0 ;
19471 char * kwnames
[] = {
19472 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19477 if (!SWIG_IsOK(res1
)) {
19478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19480 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19483 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19487 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19489 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19490 if (!SWIG_IsOK(ecode4
)) {
19491 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19493 arg4
= static_cast< double >(val4
);
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19496 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19497 wxPyEndAllowThreads(__tstate
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19500 resultobj
= SWIG_Py_Void();
19507 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19508 PyObject
*resultobj
= 0;
19509 wxDC
*arg1
= (wxDC
*) 0 ;
19521 PyObject
* obj0
= 0 ;
19522 PyObject
* obj1
= 0 ;
19523 PyObject
* obj2
= 0 ;
19524 PyObject
* obj3
= 0 ;
19525 char * kwnames
[] = {
19526 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19531 if (!SWIG_IsOK(res1
)) {
19532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19534 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19536 if (!SWIG_IsOK(ecode2
)) {
19537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19539 arg2
= static_cast< int >(val2
);
19540 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19541 if (!SWIG_IsOK(ecode3
)) {
19542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19544 arg3
= static_cast< int >(val3
);
19545 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19546 if (!SWIG_IsOK(ecode4
)) {
19547 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19549 arg4
= static_cast< int >(val4
);
19551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19552 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19553 wxPyEndAllowThreads(__tstate
);
19554 if (PyErr_Occurred()) SWIG_fail
;
19556 resultobj
= SWIG_Py_Void();
19563 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
= 0;
19565 wxDC
*arg1
= (wxDC
*) 0 ;
19566 wxPoint
*arg2
= 0 ;
19573 PyObject
* obj0
= 0 ;
19574 PyObject
* obj1
= 0 ;
19575 PyObject
* obj2
= 0 ;
19576 char * kwnames
[] = {
19577 (char *) "self",(char *) "pt",(char *) "radius", NULL
19580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19582 if (!SWIG_IsOK(res1
)) {
19583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19585 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19588 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19590 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19591 if (!SWIG_IsOK(ecode3
)) {
19592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19594 arg3
= static_cast< int >(val3
);
19596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19597 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19598 wxPyEndAllowThreads(__tstate
);
19599 if (PyErr_Occurred()) SWIG_fail
;
19601 resultobj
= SWIG_Py_Void();
19608 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19609 PyObject
*resultobj
= 0;
19610 wxDC
*arg1
= (wxDC
*) 0 ;
19625 PyObject
* obj0
= 0 ;
19626 PyObject
* obj1
= 0 ;
19627 PyObject
* obj2
= 0 ;
19628 PyObject
* obj3
= 0 ;
19629 PyObject
* obj4
= 0 ;
19630 char * kwnames
[] = {
19631 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19636 if (!SWIG_IsOK(res1
)) {
19637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19639 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19641 if (!SWIG_IsOK(ecode2
)) {
19642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19644 arg2
= static_cast< int >(val2
);
19645 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19646 if (!SWIG_IsOK(ecode3
)) {
19647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19649 arg3
= static_cast< int >(val3
);
19650 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19651 if (!SWIG_IsOK(ecode4
)) {
19652 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19654 arg4
= static_cast< int >(val4
);
19655 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19656 if (!SWIG_IsOK(ecode5
)) {
19657 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19659 arg5
= static_cast< int >(val5
);
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19663 wxPyEndAllowThreads(__tstate
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19666 resultobj
= SWIG_Py_Void();
19673 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19674 PyObject
*resultobj
= 0;
19675 wxDC
*arg1
= (wxDC
*) 0 ;
19680 PyObject
* obj0
= 0 ;
19681 PyObject
* obj1
= 0 ;
19682 char * kwnames
[] = {
19683 (char *) "self",(char *) "rect", NULL
19686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19688 if (!SWIG_IsOK(res1
)) {
19689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19691 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19694 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19698 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19699 wxPyEndAllowThreads(__tstate
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19702 resultobj
= SWIG_Py_Void();
19709 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19710 PyObject
*resultobj
= 0;
19711 wxDC
*arg1
= (wxDC
*) 0 ;
19712 wxPoint
*arg2
= 0 ;
19718 PyObject
* obj0
= 0 ;
19719 PyObject
* obj1
= 0 ;
19720 PyObject
* obj2
= 0 ;
19721 char * kwnames
[] = {
19722 (char *) "self",(char *) "pt",(char *) "sz", NULL
19725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19727 if (!SWIG_IsOK(res1
)) {
19728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19730 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19733 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19737 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19741 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19742 wxPyEndAllowThreads(__tstate
);
19743 if (PyErr_Occurred()) SWIG_fail
;
19745 resultobj
= SWIG_Py_Void();
19752 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19753 PyObject
*resultobj
= 0;
19754 wxDC
*arg1
= (wxDC
*) 0 ;
19766 PyObject
* obj0
= 0 ;
19767 PyObject
* obj1
= 0 ;
19768 PyObject
* obj2
= 0 ;
19769 PyObject
* obj3
= 0 ;
19770 char * kwnames
[] = {
19771 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19776 if (!SWIG_IsOK(res1
)) {
19777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19779 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19780 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19781 if (!SWIG_IsOK(res2
)) {
19782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19787 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19789 if (!SWIG_IsOK(ecode3
)) {
19790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19792 arg3
= static_cast< int >(val3
);
19793 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19794 if (!SWIG_IsOK(ecode4
)) {
19795 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19797 arg4
= static_cast< int >(val4
);
19799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19800 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19804 resultobj
= SWIG_Py_Void();
19811 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19812 PyObject
*resultobj
= 0;
19813 wxDC
*arg1
= (wxDC
*) 0 ;
19815 wxPoint
*arg3
= 0 ;
19821 PyObject
* obj0
= 0 ;
19822 PyObject
* obj1
= 0 ;
19823 PyObject
* obj2
= 0 ;
19824 char * kwnames
[] = {
19825 (char *) "self",(char *) "icon",(char *) "pt", NULL
19828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19830 if (!SWIG_IsOK(res1
)) {
19831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19833 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19834 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19835 if (!SWIG_IsOK(res2
)) {
19836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19841 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19844 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19848 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19849 wxPyEndAllowThreads(__tstate
);
19850 if (PyErr_Occurred()) SWIG_fail
;
19852 resultobj
= SWIG_Py_Void();
19859 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19860 PyObject
*resultobj
= 0;
19861 wxDC
*arg1
= (wxDC
*) 0 ;
19862 wxBitmap
*arg2
= 0 ;
19865 bool arg5
= (bool) false ;
19876 PyObject
* obj0
= 0 ;
19877 PyObject
* obj1
= 0 ;
19878 PyObject
* obj2
= 0 ;
19879 PyObject
* obj3
= 0 ;
19880 PyObject
* obj4
= 0 ;
19881 char * kwnames
[] = {
19882 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19887 if (!SWIG_IsOK(res1
)) {
19888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19890 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19891 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19892 if (!SWIG_IsOK(res2
)) {
19893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19898 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19899 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19900 if (!SWIG_IsOK(ecode3
)) {
19901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19903 arg3
= static_cast< int >(val3
);
19904 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19905 if (!SWIG_IsOK(ecode4
)) {
19906 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19908 arg4
= static_cast< int >(val4
);
19910 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19911 if (!SWIG_IsOK(ecode5
)) {
19912 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19914 arg5
= static_cast< bool >(val5
);
19917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19918 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19919 wxPyEndAllowThreads(__tstate
);
19920 if (PyErr_Occurred()) SWIG_fail
;
19922 resultobj
= SWIG_Py_Void();
19929 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19930 PyObject
*resultobj
= 0;
19931 wxDC
*arg1
= (wxDC
*) 0 ;
19932 wxBitmap
*arg2
= 0 ;
19933 wxPoint
*arg3
= 0 ;
19934 bool arg4
= (bool) false ;
19942 PyObject
* obj0
= 0 ;
19943 PyObject
* obj1
= 0 ;
19944 PyObject
* obj2
= 0 ;
19945 PyObject
* obj3
= 0 ;
19946 char * kwnames
[] = {
19947 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19952 if (!SWIG_IsOK(res1
)) {
19953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19955 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19956 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19957 if (!SWIG_IsOK(res2
)) {
19958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19963 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19966 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19969 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19970 if (!SWIG_IsOK(ecode4
)) {
19971 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19973 arg4
= static_cast< bool >(val4
);
19976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19977 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19981 resultobj
= SWIG_Py_Void();
19988 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19989 PyObject
*resultobj
= 0;
19990 wxDC
*arg1
= (wxDC
*) 0 ;
19991 wxString
*arg2
= 0 ;
19996 bool temp2
= false ;
20001 PyObject
* obj0
= 0 ;
20002 PyObject
* obj1
= 0 ;
20003 PyObject
* obj2
= 0 ;
20004 PyObject
* obj3
= 0 ;
20005 char * kwnames
[] = {
20006 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
20009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20011 if (!SWIG_IsOK(res1
)) {
20012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
20014 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20016 arg2
= wxString_in_helper(obj1
);
20017 if (arg2
== NULL
) SWIG_fail
;
20020 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20021 if (!SWIG_IsOK(ecode3
)) {
20022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
20024 arg3
= static_cast< int >(val3
);
20025 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20026 if (!SWIG_IsOK(ecode4
)) {
20027 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
20029 arg4
= static_cast< int >(val4
);
20031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20032 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
20033 wxPyEndAllowThreads(__tstate
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20036 resultobj
= SWIG_Py_Void();
20051 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20052 PyObject
*resultobj
= 0;
20053 wxDC
*arg1
= (wxDC
*) 0 ;
20054 wxString
*arg2
= 0 ;
20055 wxPoint
*arg3
= 0 ;
20058 bool temp2
= false ;
20060 PyObject
* obj0
= 0 ;
20061 PyObject
* obj1
= 0 ;
20062 PyObject
* obj2
= 0 ;
20063 char * kwnames
[] = {
20064 (char *) "self",(char *) "text",(char *) "pt", NULL
20067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20069 if (!SWIG_IsOK(res1
)) {
20070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20072 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20074 arg2
= wxString_in_helper(obj1
);
20075 if (arg2
== NULL
) SWIG_fail
;
20080 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20084 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
20085 wxPyEndAllowThreads(__tstate
);
20086 if (PyErr_Occurred()) SWIG_fail
;
20088 resultobj
= SWIG_Py_Void();
20103 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20104 PyObject
*resultobj
= 0;
20105 wxDC
*arg1
= (wxDC
*) 0 ;
20106 wxString
*arg2
= 0 ;
20112 bool temp2
= false ;
20119 PyObject
* obj0
= 0 ;
20120 PyObject
* obj1
= 0 ;
20121 PyObject
* obj2
= 0 ;
20122 PyObject
* obj3
= 0 ;
20123 PyObject
* obj4
= 0 ;
20124 char * kwnames
[] = {
20125 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
20128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20130 if (!SWIG_IsOK(res1
)) {
20131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
20133 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20135 arg2
= wxString_in_helper(obj1
);
20136 if (arg2
== NULL
) SWIG_fail
;
20139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20140 if (!SWIG_IsOK(ecode3
)) {
20141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
20143 arg3
= static_cast< int >(val3
);
20144 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20145 if (!SWIG_IsOK(ecode4
)) {
20146 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
20148 arg4
= static_cast< int >(val4
);
20149 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
20150 if (!SWIG_IsOK(ecode5
)) {
20151 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
20153 arg5
= static_cast< double >(val5
);
20155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20156 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20157 wxPyEndAllowThreads(__tstate
);
20158 if (PyErr_Occurred()) SWIG_fail
;
20160 resultobj
= SWIG_Py_Void();
20175 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20176 PyObject
*resultobj
= 0;
20177 wxDC
*arg1
= (wxDC
*) 0 ;
20178 wxString
*arg2
= 0 ;
20179 wxPoint
*arg3
= 0 ;
20183 bool temp2
= false ;
20187 PyObject
* obj0
= 0 ;
20188 PyObject
* obj1
= 0 ;
20189 PyObject
* obj2
= 0 ;
20190 PyObject
* obj3
= 0 ;
20191 char * kwnames
[] = {
20192 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
20195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20197 if (!SWIG_IsOK(res1
)) {
20198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20200 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20202 arg2
= wxString_in_helper(obj1
);
20203 if (arg2
== NULL
) SWIG_fail
;
20208 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20210 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
20211 if (!SWIG_IsOK(ecode4
)) {
20212 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
20214 arg4
= static_cast< double >(val4
);
20216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20217 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20218 wxPyEndAllowThreads(__tstate
);
20219 if (PyErr_Occurred()) SWIG_fail
;
20221 resultobj
= SWIG_Py_Void();
20236 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20237 PyObject
*resultobj
= 0;
20238 wxDC
*arg1
= (wxDC
*) 0 ;
20243 wxDC
*arg6
= (wxDC
*) 0 ;
20246 int arg9
= (int) wxCOPY
;
20247 bool arg10
= (bool) false ;
20248 int arg11
= (int) -1 ;
20249 int arg12
= (int) -1 ;
20275 PyObject
* obj0
= 0 ;
20276 PyObject
* obj1
= 0 ;
20277 PyObject
* obj2
= 0 ;
20278 PyObject
* obj3
= 0 ;
20279 PyObject
* obj4
= 0 ;
20280 PyObject
* obj5
= 0 ;
20281 PyObject
* obj6
= 0 ;
20282 PyObject
* obj7
= 0 ;
20283 PyObject
* obj8
= 0 ;
20284 PyObject
* obj9
= 0 ;
20285 PyObject
* obj10
= 0 ;
20286 PyObject
* obj11
= 0 ;
20287 char * kwnames
[] = {
20288 (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
20291 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
;
20292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20293 if (!SWIG_IsOK(res1
)) {
20294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
20296 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20298 if (!SWIG_IsOK(ecode2
)) {
20299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
20301 arg2
= static_cast< int >(val2
);
20302 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20303 if (!SWIG_IsOK(ecode3
)) {
20304 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
20306 arg3
= static_cast< int >(val3
);
20307 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20308 if (!SWIG_IsOK(ecode4
)) {
20309 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
20311 arg4
= static_cast< int >(val4
);
20312 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20313 if (!SWIG_IsOK(ecode5
)) {
20314 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
20316 arg5
= static_cast< int >(val5
);
20317 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20318 if (!SWIG_IsOK(res6
)) {
20319 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
20321 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20322 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20323 if (!SWIG_IsOK(ecode7
)) {
20324 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
20326 arg7
= static_cast< int >(val7
);
20327 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20328 if (!SWIG_IsOK(ecode8
)) {
20329 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
20331 arg8
= static_cast< int >(val8
);
20333 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20334 if (!SWIG_IsOK(ecode9
)) {
20335 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
20337 arg9
= static_cast< int >(val9
);
20340 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20341 if (!SWIG_IsOK(ecode10
)) {
20342 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20344 arg10
= static_cast< bool >(val10
);
20347 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20348 if (!SWIG_IsOK(ecode11
)) {
20349 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20351 arg11
= static_cast< int >(val11
);
20354 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20355 if (!SWIG_IsOK(ecode12
)) {
20356 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20358 arg12
= static_cast< int >(val12
);
20361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20362 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20363 wxPyEndAllowThreads(__tstate
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20375 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20376 PyObject
*resultobj
= 0;
20377 wxDC
*arg1
= (wxDC
*) 0 ;
20378 wxPoint
*arg2
= 0 ;
20380 wxDC
*arg4
= (wxDC
*) 0 ;
20381 wxPoint
*arg5
= 0 ;
20382 int arg6
= (int) wxCOPY
;
20383 bool arg7
= (bool) false ;
20384 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20385 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20399 PyObject
* obj0
= 0 ;
20400 PyObject
* obj1
= 0 ;
20401 PyObject
* obj2
= 0 ;
20402 PyObject
* obj3
= 0 ;
20403 PyObject
* obj4
= 0 ;
20404 PyObject
* obj5
= 0 ;
20405 PyObject
* obj6
= 0 ;
20406 PyObject
* obj7
= 0 ;
20407 char * kwnames
[] = {
20408 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20413 if (!SWIG_IsOK(res1
)) {
20414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20416 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20419 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20423 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20425 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20426 if (!SWIG_IsOK(res4
)) {
20427 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20429 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20432 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20435 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20436 if (!SWIG_IsOK(ecode6
)) {
20437 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20439 arg6
= static_cast< int >(val6
);
20442 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20443 if (!SWIG_IsOK(ecode7
)) {
20444 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20446 arg7
= static_cast< bool >(val7
);
20451 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20456 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20457 wxPyEndAllowThreads(__tstate
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20469 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20470 PyObject
*resultobj
= 0;
20471 wxDC
*arg1
= (wxDC
*) 0 ;
20472 wxRect
*arg2
= (wxRect
*) NULL
;
20473 SwigValueWrapper
<wxBitmap
> result
;
20478 PyObject
* obj0
= 0 ;
20479 PyObject
* obj1
= 0 ;
20480 char * kwnames
[] = {
20481 (char *) "self",(char *) "subrect", NULL
20484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20486 if (!SWIG_IsOK(res1
)) {
20487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
20489 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20491 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20492 if (!SWIG_IsOK(res2
)) {
20493 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
20495 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
20500 wxPyEndAllowThreads(__tstate
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20503 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20510 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20511 PyObject
*resultobj
= 0;
20512 wxDC
*arg1
= (wxDC
*) 0 ;
20527 PyObject
* obj0
= 0 ;
20528 PyObject
* obj1
= 0 ;
20529 PyObject
* obj2
= 0 ;
20530 PyObject
* obj3
= 0 ;
20531 PyObject
* obj4
= 0 ;
20532 char * kwnames
[] = {
20533 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20538 if (!SWIG_IsOK(res1
)) {
20539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20541 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20543 if (!SWIG_IsOK(ecode2
)) {
20544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20546 arg2
= static_cast< int >(val2
);
20547 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20548 if (!SWIG_IsOK(ecode3
)) {
20549 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20551 arg3
= static_cast< int >(val3
);
20552 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20553 if (!SWIG_IsOK(ecode4
)) {
20554 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20556 arg4
= static_cast< int >(val4
);
20557 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20558 if (!SWIG_IsOK(ecode5
)) {
20559 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20561 arg5
= static_cast< int >(val5
);
20563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20564 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20565 wxPyEndAllowThreads(__tstate
);
20566 if (PyErr_Occurred()) SWIG_fail
;
20568 resultobj
= SWIG_Py_Void();
20575 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20576 PyObject
*resultobj
= 0;
20577 wxDC
*arg1
= (wxDC
*) 0 ;
20578 wxPoint
*arg2
= 0 ;
20584 PyObject
* obj0
= 0 ;
20585 PyObject
* obj1
= 0 ;
20586 PyObject
* obj2
= 0 ;
20587 char * kwnames
[] = {
20588 (char *) "self",(char *) "pt",(char *) "sz", NULL
20591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20593 if (!SWIG_IsOK(res1
)) {
20594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20596 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20599 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20603 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20607 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20611 resultobj
= SWIG_Py_Void();
20618 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20619 PyObject
*resultobj
= 0;
20620 wxDC
*arg1
= (wxDC
*) 0 ;
20621 wxRegion
*arg2
= 0 ;
20626 PyObject
* obj0
= 0 ;
20627 PyObject
* obj1
= 0 ;
20628 char * kwnames
[] = {
20629 (char *) "self",(char *) "region", NULL
20632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20634 if (!SWIG_IsOK(res1
)) {
20635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20637 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20638 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20639 if (!SWIG_IsOK(res2
)) {
20640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20645 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20648 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20649 wxPyEndAllowThreads(__tstate
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20652 resultobj
= SWIG_Py_Void();
20659 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20660 PyObject
*resultobj
= 0;
20661 wxDC
*arg1
= (wxDC
*) 0 ;
20666 PyObject
* obj0
= 0 ;
20667 PyObject
* obj1
= 0 ;
20668 char * kwnames
[] = {
20669 (char *) "self",(char *) "rect", NULL
20672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20674 if (!SWIG_IsOK(res1
)) {
20675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20677 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20680 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20684 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20685 wxPyEndAllowThreads(__tstate
);
20686 if (PyErr_Occurred()) SWIG_fail
;
20688 resultobj
= SWIG_Py_Void();
20695 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20696 PyObject
*resultobj
= 0;
20697 wxDC
*arg1
= (wxDC
*) 0 ;
20699 wxPoint
*arg3
= (wxPoint
*) 0 ;
20700 int arg4
= (int) 0 ;
20701 int arg5
= (int) 0 ;
20708 PyObject
* obj0
= 0 ;
20709 PyObject
* obj1
= 0 ;
20710 PyObject
* obj2
= 0 ;
20711 PyObject
* obj3
= 0 ;
20712 char * kwnames
[] = {
20713 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20718 if (!SWIG_IsOK(res1
)) {
20719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20721 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20723 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20724 if (arg3
== NULL
) SWIG_fail
;
20727 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20728 if (!SWIG_IsOK(ecode4
)) {
20729 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20731 arg4
= static_cast< int >(val4
);
20734 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20735 if (!SWIG_IsOK(ecode5
)) {
20736 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20738 arg5
= static_cast< int >(val5
);
20741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20742 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20746 resultobj
= SWIG_Py_Void();
20748 if (arg3
) delete [] arg3
;
20753 if (arg3
) delete [] arg3
;
20759 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20760 PyObject
*resultobj
= 0;
20761 wxDC
*arg1
= (wxDC
*) 0 ;
20763 wxPoint
*arg3
= (wxPoint
*) 0 ;
20764 int arg4
= (int) 0 ;
20765 int arg5
= (int) 0 ;
20766 int arg6
= (int) wxODDEVEN_RULE
;
20775 PyObject
* obj0
= 0 ;
20776 PyObject
* obj1
= 0 ;
20777 PyObject
* obj2
= 0 ;
20778 PyObject
* obj3
= 0 ;
20779 PyObject
* obj4
= 0 ;
20780 char * kwnames
[] = {
20781 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20786 if (!SWIG_IsOK(res1
)) {
20787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20789 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20791 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20792 if (arg3
== NULL
) SWIG_fail
;
20795 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20796 if (!SWIG_IsOK(ecode4
)) {
20797 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20799 arg4
= static_cast< int >(val4
);
20802 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20803 if (!SWIG_IsOK(ecode5
)) {
20804 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20806 arg5
= static_cast< int >(val5
);
20809 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20810 if (!SWIG_IsOK(ecode6
)) {
20811 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20813 arg6
= static_cast< int >(val6
);
20816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20817 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20818 wxPyEndAllowThreads(__tstate
);
20819 if (PyErr_Occurred()) SWIG_fail
;
20821 resultobj
= SWIG_Py_Void();
20823 if (arg3
) delete [] arg3
;
20828 if (arg3
) delete [] arg3
;
20834 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20835 PyObject
*resultobj
= 0;
20836 wxDC
*arg1
= (wxDC
*) 0 ;
20837 wxString
*arg2
= 0 ;
20839 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20840 int arg5
= (int) -1 ;
20843 bool temp2
= false ;
20849 PyObject
* obj0
= 0 ;
20850 PyObject
* obj1
= 0 ;
20851 PyObject
* obj2
= 0 ;
20852 PyObject
* obj3
= 0 ;
20853 PyObject
* obj4
= 0 ;
20854 char * kwnames
[] = {
20855 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20860 if (!SWIG_IsOK(res1
)) {
20861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20863 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20865 arg2
= wxString_in_helper(obj1
);
20866 if (arg2
== NULL
) SWIG_fail
;
20871 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20874 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20875 if (!SWIG_IsOK(ecode4
)) {
20876 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20878 arg4
= static_cast< int >(val4
);
20881 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20882 if (!SWIG_IsOK(ecode5
)) {
20883 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20885 arg5
= static_cast< int >(val5
);
20888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20889 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20890 wxPyEndAllowThreads(__tstate
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20893 resultobj
= SWIG_Py_Void();
20908 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20909 PyObject
*resultobj
= 0;
20910 wxDC
*arg1
= (wxDC
*) 0 ;
20911 wxString
*arg2
= 0 ;
20912 wxBitmap
*arg3
= 0 ;
20914 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20915 int arg6
= (int) -1 ;
20919 bool temp2
= false ;
20927 PyObject
* obj0
= 0 ;
20928 PyObject
* obj1
= 0 ;
20929 PyObject
* obj2
= 0 ;
20930 PyObject
* obj3
= 0 ;
20931 PyObject
* obj4
= 0 ;
20932 PyObject
* obj5
= 0 ;
20933 char * kwnames
[] = {
20934 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20939 if (!SWIG_IsOK(res1
)) {
20940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20942 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20944 arg2
= wxString_in_helper(obj1
);
20945 if (arg2
== NULL
) SWIG_fail
;
20948 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20949 if (!SWIG_IsOK(res3
)) {
20950 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20955 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20958 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20961 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20962 if (!SWIG_IsOK(ecode5
)) {
20963 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20965 arg5
= static_cast< int >(val5
);
20968 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20969 if (!SWIG_IsOK(ecode6
)) {
20970 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20972 arg6
= static_cast< int >(val6
);
20975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20976 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20977 wxPyEndAllowThreads(__tstate
);
20978 if (PyErr_Occurred()) SWIG_fail
;
20980 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20995 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20996 PyObject
*resultobj
= 0;
20997 wxDC
*arg1
= (wxDC
*) 0 ;
20999 wxPoint
*arg3
= (wxPoint
*) 0 ;
21002 PyObject
* obj0
= 0 ;
21003 PyObject
* obj1
= 0 ;
21004 char * kwnames
[] = {
21005 (char *) "self",(char *) "points", NULL
21008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21010 if (!SWIG_IsOK(res1
)) {
21011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
21013 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21015 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
21016 if (arg3
== NULL
) SWIG_fail
;
21019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21020 (arg1
)->DrawSpline(arg2
,arg3
);
21021 wxPyEndAllowThreads(__tstate
);
21022 if (PyErr_Occurred()) SWIG_fail
;
21024 resultobj
= SWIG_Py_Void();
21026 if (arg3
) delete [] arg3
;
21031 if (arg3
) delete [] arg3
;
21037 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21038 PyObject
*resultobj
= 0;
21039 wxDC
*arg1
= (wxDC
*) 0 ;
21042 PyObject
*swig_obj
[1] ;
21044 if (!args
) SWIG_fail
;
21045 swig_obj
[0] = args
;
21046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21047 if (!SWIG_IsOK(res1
)) {
21048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
21050 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21054 wxPyEndAllowThreads(__tstate
);
21055 if (PyErr_Occurred()) SWIG_fail
;
21057 resultobj
= SWIG_Py_Void();
21064 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21065 PyObject
*resultobj
= 0;
21066 wxDC
*arg1
= (wxDC
*) 0 ;
21067 wxString
*arg2
= 0 ;
21071 bool temp2
= false ;
21072 PyObject
* obj0
= 0 ;
21073 PyObject
* obj1
= 0 ;
21074 char * kwnames
[] = {
21075 (char *) "self",(char *) "message", NULL
21078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21080 if (!SWIG_IsOK(res1
)) {
21081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21083 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21085 arg2
= wxString_in_helper(obj1
);
21086 if (arg2
== NULL
) SWIG_fail
;
21090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21091 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
21092 wxPyEndAllowThreads(__tstate
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21112 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21113 PyObject
*resultobj
= 0;
21114 wxDC
*arg1
= (wxDC
*) 0 ;
21117 PyObject
*swig_obj
[1] ;
21119 if (!args
) SWIG_fail
;
21120 swig_obj
[0] = args
;
21121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21122 if (!SWIG_IsOK(res1
)) {
21123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21125 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21129 wxPyEndAllowThreads(__tstate
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21132 resultobj
= SWIG_Py_Void();
21139 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21140 PyObject
*resultobj
= 0;
21141 wxDC
*arg1
= (wxDC
*) 0 ;
21144 PyObject
*swig_obj
[1] ;
21146 if (!args
) SWIG_fail
;
21147 swig_obj
[0] = args
;
21148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21149 if (!SWIG_IsOK(res1
)) {
21150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
21152 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21155 (arg1
)->StartPage();
21156 wxPyEndAllowThreads(__tstate
);
21157 if (PyErr_Occurred()) SWIG_fail
;
21159 resultobj
= SWIG_Py_Void();
21166 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21167 PyObject
*resultobj
= 0;
21168 wxDC
*arg1
= (wxDC
*) 0 ;
21171 PyObject
*swig_obj
[1] ;
21173 if (!args
) SWIG_fail
;
21174 swig_obj
[0] = args
;
21175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21176 if (!SWIG_IsOK(res1
)) {
21177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
21179 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21183 wxPyEndAllowThreads(__tstate
);
21184 if (PyErr_Occurred()) SWIG_fail
;
21186 resultobj
= SWIG_Py_Void();
21193 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21194 PyObject
*resultobj
= 0;
21195 wxDC
*arg1
= (wxDC
*) 0 ;
21201 PyObject
* obj0
= 0 ;
21202 PyObject
* obj1
= 0 ;
21203 char * kwnames
[] = {
21204 (char *) "self",(char *) "font", NULL
21207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21209 if (!SWIG_IsOK(res1
)) {
21210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
21212 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21213 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21214 if (!SWIG_IsOK(res2
)) {
21215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21220 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21223 (arg1
)->SetFont((wxFont
const &)*arg2
);
21224 wxPyEndAllowThreads(__tstate
);
21225 if (PyErr_Occurred()) SWIG_fail
;
21227 resultobj
= SWIG_Py_Void();
21234 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
= 0;
21236 wxDC
*arg1
= (wxDC
*) 0 ;
21242 PyObject
* obj0
= 0 ;
21243 PyObject
* obj1
= 0 ;
21244 char * kwnames
[] = {
21245 (char *) "self",(char *) "pen", NULL
21248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21250 if (!SWIG_IsOK(res1
)) {
21251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
21253 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21254 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
21255 if (!SWIG_IsOK(res2
)) {
21256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21261 arg2
= reinterpret_cast< wxPen
* >(argp2
);
21263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21264 (arg1
)->SetPen((wxPen
const &)*arg2
);
21265 wxPyEndAllowThreads(__tstate
);
21266 if (PyErr_Occurred()) SWIG_fail
;
21268 resultobj
= SWIG_Py_Void();
21275 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21276 PyObject
*resultobj
= 0;
21277 wxDC
*arg1
= (wxDC
*) 0 ;
21278 wxBrush
*arg2
= 0 ;
21283 PyObject
* obj0
= 0 ;
21284 PyObject
* obj1
= 0 ;
21285 char * kwnames
[] = {
21286 (char *) "self",(char *) "brush", NULL
21289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21291 if (!SWIG_IsOK(res1
)) {
21292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
21294 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21295 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21296 if (!SWIG_IsOK(res2
)) {
21297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21300 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21302 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21305 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
21306 wxPyEndAllowThreads(__tstate
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21309 resultobj
= SWIG_Py_Void();
21316 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21317 PyObject
*resultobj
= 0;
21318 wxDC
*arg1
= (wxDC
*) 0 ;
21319 wxBrush
*arg2
= 0 ;
21324 PyObject
* obj0
= 0 ;
21325 PyObject
* obj1
= 0 ;
21326 char * kwnames
[] = {
21327 (char *) "self",(char *) "brush", NULL
21330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21332 if (!SWIG_IsOK(res1
)) {
21333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21335 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21336 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21337 if (!SWIG_IsOK(res2
)) {
21338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21343 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21346 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21347 wxPyEndAllowThreads(__tstate
);
21348 if (PyErr_Occurred()) SWIG_fail
;
21350 resultobj
= SWIG_Py_Void();
21357 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21358 PyObject
*resultobj
= 0;
21359 wxDC
*arg1
= (wxDC
*) 0 ;
21365 PyObject
* obj0
= 0 ;
21366 PyObject
* obj1
= 0 ;
21367 char * kwnames
[] = {
21368 (char *) "self",(char *) "mode", NULL
21371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21373 if (!SWIG_IsOK(res1
)) {
21374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21376 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21378 if (!SWIG_IsOK(ecode2
)) {
21379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21381 arg2
= static_cast< int >(val2
);
21383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21384 (arg1
)->SetBackgroundMode(arg2
);
21385 wxPyEndAllowThreads(__tstate
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21388 resultobj
= SWIG_Py_Void();
21395 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21396 PyObject
*resultobj
= 0;
21397 wxDC
*arg1
= (wxDC
*) 0 ;
21398 wxPalette
*arg2
= 0 ;
21403 PyObject
* obj0
= 0 ;
21404 PyObject
* obj1
= 0 ;
21405 char * kwnames
[] = {
21406 (char *) "self",(char *) "palette", NULL
21409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21411 if (!SWIG_IsOK(res1
)) {
21412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21414 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21415 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21416 if (!SWIG_IsOK(res2
)) {
21417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21422 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21425 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21426 wxPyEndAllowThreads(__tstate
);
21427 if (PyErr_Occurred()) SWIG_fail
;
21429 resultobj
= SWIG_Py_Void();
21436 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21437 PyObject
*resultobj
= 0;
21438 wxDC
*arg1
= (wxDC
*) 0 ;
21441 PyObject
*swig_obj
[1] ;
21443 if (!args
) SWIG_fail
;
21444 swig_obj
[0] = args
;
21445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21446 if (!SWIG_IsOK(res1
)) {
21447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21449 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21452 (arg1
)->DestroyClippingRegion();
21453 wxPyEndAllowThreads(__tstate
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21456 resultobj
= SWIG_Py_Void();
21463 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21464 PyObject
*resultobj
= 0;
21465 wxDC
*arg1
= (wxDC
*) 0 ;
21466 int *arg2
= (int *) 0 ;
21467 int *arg3
= (int *) 0 ;
21468 int *arg4
= (int *) 0 ;
21469 int *arg5
= (int *) 0 ;
21473 int res2
= SWIG_TMPOBJ
;
21475 int res3
= SWIG_TMPOBJ
;
21477 int res4
= SWIG_TMPOBJ
;
21479 int res5
= SWIG_TMPOBJ
;
21480 PyObject
*swig_obj
[1] ;
21486 if (!args
) SWIG_fail
;
21487 swig_obj
[0] = args
;
21488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21489 if (!SWIG_IsOK(res1
)) {
21490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21492 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21496 wxPyEndAllowThreads(__tstate
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21499 resultobj
= SWIG_Py_Void();
21500 if (SWIG_IsTmpObj(res2
)) {
21501 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21503 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21504 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21506 if (SWIG_IsTmpObj(res3
)) {
21507 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21509 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21510 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21512 if (SWIG_IsTmpObj(res4
)) {
21513 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21515 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21516 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21518 if (SWIG_IsTmpObj(res5
)) {
21519 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21521 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21522 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21530 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21531 PyObject
*resultobj
= 0;
21532 wxDC
*arg1
= (wxDC
*) 0 ;
21536 PyObject
*swig_obj
[1] ;
21538 if (!args
) SWIG_fail
;
21539 swig_obj
[0] = args
;
21540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21541 if (!SWIG_IsOK(res1
)) {
21542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21544 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21547 result
= wxDC_GetClippingRect(arg1
);
21548 wxPyEndAllowThreads(__tstate
);
21549 if (PyErr_Occurred()) SWIG_fail
;
21551 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21558 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21559 PyObject
*resultobj
= 0;
21560 wxDC
*arg1
= (wxDC
*) 0 ;
21564 PyObject
*swig_obj
[1] ;
21566 if (!args
) SWIG_fail
;
21567 swig_obj
[0] = args
;
21568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21569 if (!SWIG_IsOK(res1
)) {
21570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21572 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21575 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21576 wxPyEndAllowThreads(__tstate
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21579 resultobj
= SWIG_From_int(static_cast< int >(result
));
21586 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21587 PyObject
*resultobj
= 0;
21588 wxDC
*arg1
= (wxDC
*) 0 ;
21592 PyObject
*swig_obj
[1] ;
21594 if (!args
) SWIG_fail
;
21595 swig_obj
[0] = args
;
21596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21597 if (!SWIG_IsOK(res1
)) {
21598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21600 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21603 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21604 wxPyEndAllowThreads(__tstate
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21607 resultobj
= SWIG_From_int(static_cast< int >(result
));
21614 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21615 PyObject
*resultobj
= 0;
21616 wxDC
*arg1
= (wxDC
*) 0 ;
21617 wxString
*arg2
= 0 ;
21618 int *arg3
= (int *) 0 ;
21619 int *arg4
= (int *) 0 ;
21622 bool temp2
= false ;
21624 int res3
= SWIG_TMPOBJ
;
21626 int res4
= SWIG_TMPOBJ
;
21627 PyObject
* obj0
= 0 ;
21628 PyObject
* obj1
= 0 ;
21629 char * kwnames
[] = {
21630 (char *) "self",(char *) "string", NULL
21635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21637 if (!SWIG_IsOK(res1
)) {
21638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21640 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21642 arg2
= wxString_in_helper(obj1
);
21643 if (arg2
== NULL
) SWIG_fail
;
21647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21648 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21649 wxPyEndAllowThreads(__tstate
);
21650 if (PyErr_Occurred()) SWIG_fail
;
21652 resultobj
= SWIG_Py_Void();
21653 if (SWIG_IsTmpObj(res3
)) {
21654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21656 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21659 if (SWIG_IsTmpObj(res4
)) {
21660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21662 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21679 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21680 PyObject
*resultobj
= 0;
21681 wxDC
*arg1
= (wxDC
*) 0 ;
21682 wxString
*arg2
= 0 ;
21683 int *arg3
= (int *) 0 ;
21684 int *arg4
= (int *) 0 ;
21685 int *arg5
= (int *) 0 ;
21686 int *arg6
= (int *) 0 ;
21687 wxFont
*arg7
= (wxFont
*) NULL
;
21690 bool temp2
= false ;
21692 int res3
= SWIG_TMPOBJ
;
21694 int res4
= SWIG_TMPOBJ
;
21696 int res5
= SWIG_TMPOBJ
;
21698 int res6
= SWIG_TMPOBJ
;
21701 PyObject
* obj0
= 0 ;
21702 PyObject
* obj1
= 0 ;
21703 PyObject
* obj2
= 0 ;
21704 char * kwnames
[] = {
21705 (char *) "self",(char *) "string",(char *) "font", NULL
21712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21714 if (!SWIG_IsOK(res1
)) {
21715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21717 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21719 arg2
= wxString_in_helper(obj1
);
21720 if (arg2
== NULL
) SWIG_fail
;
21724 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21725 if (!SWIG_IsOK(res7
)) {
21726 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21728 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21732 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21733 wxPyEndAllowThreads(__tstate
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21736 resultobj
= SWIG_Py_Void();
21737 if (SWIG_IsTmpObj(res3
)) {
21738 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21740 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21741 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21743 if (SWIG_IsTmpObj(res4
)) {
21744 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21746 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21747 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21749 if (SWIG_IsTmpObj(res5
)) {
21750 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21752 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21753 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21755 if (SWIG_IsTmpObj(res6
)) {
21756 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21758 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21759 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21775 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21776 PyObject
*resultobj
= 0;
21777 wxDC
*arg1
= (wxDC
*) 0 ;
21778 wxString
*arg2
= 0 ;
21779 int *arg3
= (int *) 0 ;
21780 int *arg4
= (int *) 0 ;
21781 int *arg5
= (int *) 0 ;
21782 wxFont
*arg6
= (wxFont
*) NULL
;
21785 bool temp2
= false ;
21787 int res3
= SWIG_TMPOBJ
;
21789 int res4
= SWIG_TMPOBJ
;
21791 int res5
= SWIG_TMPOBJ
;
21794 PyObject
* obj0
= 0 ;
21795 PyObject
* obj1
= 0 ;
21796 PyObject
* obj2
= 0 ;
21797 char * kwnames
[] = {
21798 (char *) "self",(char *) "text",(char *) "font", NULL
21804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21806 if (!SWIG_IsOK(res1
)) {
21807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21809 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21811 arg2
= wxString_in_helper(obj1
);
21812 if (arg2
== NULL
) SWIG_fail
;
21816 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21817 if (!SWIG_IsOK(res6
)) {
21818 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21820 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21825 wxPyEndAllowThreads(__tstate
);
21826 if (PyErr_Occurred()) SWIG_fail
;
21828 resultobj
= SWIG_Py_Void();
21829 if (SWIG_IsTmpObj(res3
)) {
21830 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21832 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21833 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21835 if (SWIG_IsTmpObj(res4
)) {
21836 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21838 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21839 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21841 if (SWIG_IsTmpObj(res5
)) {
21842 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21844 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21845 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21861 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21862 PyObject
*resultobj
= 0;
21863 wxDC
*arg1
= (wxDC
*) 0 ;
21864 wxString
*arg2
= 0 ;
21868 bool temp2
= false ;
21869 PyObject
* obj0
= 0 ;
21870 PyObject
* obj1
= 0 ;
21871 char * kwnames
[] = {
21872 (char *) "self",(char *) "text", NULL
21875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21877 if (!SWIG_IsOK(res1
)) {
21878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21880 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21882 arg2
= wxString_in_helper(obj1
);
21883 if (arg2
== NULL
) SWIG_fail
;
21887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21888 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21893 resultobj
= wxArrayInt2PyList_helper(result
);
21909 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21910 PyObject
*resultobj
= 0;
21911 wxDC
*arg1
= (wxDC
*) 0 ;
21915 PyObject
*swig_obj
[1] ;
21917 if (!args
) SWIG_fail
;
21918 swig_obj
[0] = args
;
21919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21920 if (!SWIG_IsOK(res1
)) {
21921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21923 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21926 result
= (arg1
)->GetSize();
21927 wxPyEndAllowThreads(__tstate
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21930 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21937 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21938 PyObject
*resultobj
= 0;
21939 wxDC
*arg1
= (wxDC
*) 0 ;
21940 int *arg2
= (int *) 0 ;
21941 int *arg3
= (int *) 0 ;
21945 int res2
= SWIG_TMPOBJ
;
21947 int res3
= SWIG_TMPOBJ
;
21948 PyObject
*swig_obj
[1] ;
21952 if (!args
) SWIG_fail
;
21953 swig_obj
[0] = args
;
21954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21955 if (!SWIG_IsOK(res1
)) {
21956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21958 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21961 (arg1
)->GetSize(arg2
,arg3
);
21962 wxPyEndAllowThreads(__tstate
);
21963 if (PyErr_Occurred()) SWIG_fail
;
21965 resultobj
= SWIG_Py_Void();
21966 if (SWIG_IsTmpObj(res2
)) {
21967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21969 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21970 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21972 if (SWIG_IsTmpObj(res3
)) {
21973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21975 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21984 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21985 PyObject
*resultobj
= 0;
21986 wxDC
*arg1
= (wxDC
*) 0 ;
21990 PyObject
*swig_obj
[1] ;
21992 if (!args
) SWIG_fail
;
21993 swig_obj
[0] = args
;
21994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21995 if (!SWIG_IsOK(res1
)) {
21996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21998 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22001 result
= ((wxDC
const *)arg1
)->GetSizeMM();
22002 wxPyEndAllowThreads(__tstate
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22005 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22012 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22013 PyObject
*resultobj
= 0;
22014 wxDC
*arg1
= (wxDC
*) 0 ;
22015 int *arg2
= (int *) 0 ;
22016 int *arg3
= (int *) 0 ;
22020 int res2
= SWIG_TMPOBJ
;
22022 int res3
= SWIG_TMPOBJ
;
22023 PyObject
*swig_obj
[1] ;
22027 if (!args
) SWIG_fail
;
22028 swig_obj
[0] = args
;
22029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22030 if (!SWIG_IsOK(res1
)) {
22031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22033 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22036 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22040 resultobj
= SWIG_Py_Void();
22041 if (SWIG_IsTmpObj(res2
)) {
22042 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22044 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22045 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22047 if (SWIG_IsTmpObj(res3
)) {
22048 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22050 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22051 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22059 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22060 PyObject
*resultobj
= 0;
22061 wxDC
*arg1
= (wxDC
*) 0 ;
22068 PyObject
* obj0
= 0 ;
22069 PyObject
* obj1
= 0 ;
22070 char * kwnames
[] = {
22071 (char *) "self",(char *) "x", NULL
22074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22076 if (!SWIG_IsOK(res1
)) {
22077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
22079 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22081 if (!SWIG_IsOK(ecode2
)) {
22082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
22084 arg2
= static_cast< int >(val2
);
22086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22087 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
22088 wxPyEndAllowThreads(__tstate
);
22089 if (PyErr_Occurred()) SWIG_fail
;
22091 resultobj
= SWIG_From_int(static_cast< int >(result
));
22098 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22099 PyObject
*resultobj
= 0;
22100 wxDC
*arg1
= (wxDC
*) 0 ;
22107 PyObject
* obj0
= 0 ;
22108 PyObject
* obj1
= 0 ;
22109 char * kwnames
[] = {
22110 (char *) "self",(char *) "y", NULL
22113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22115 if (!SWIG_IsOK(res1
)) {
22116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
22118 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22120 if (!SWIG_IsOK(ecode2
)) {
22121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
22123 arg2
= static_cast< int >(val2
);
22125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22126 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
22127 wxPyEndAllowThreads(__tstate
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22130 resultobj
= SWIG_From_int(static_cast< int >(result
));
22137 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22138 PyObject
*resultobj
= 0;
22139 wxDC
*arg1
= (wxDC
*) 0 ;
22146 PyObject
* obj0
= 0 ;
22147 PyObject
* obj1
= 0 ;
22148 char * kwnames
[] = {
22149 (char *) "self",(char *) "x", NULL
22152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22154 if (!SWIG_IsOK(res1
)) {
22155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22157 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22159 if (!SWIG_IsOK(ecode2
)) {
22160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
22162 arg2
= static_cast< int >(val2
);
22164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22165 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
22166 wxPyEndAllowThreads(__tstate
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22169 resultobj
= SWIG_From_int(static_cast< int >(result
));
22176 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22177 PyObject
*resultobj
= 0;
22178 wxDC
*arg1
= (wxDC
*) 0 ;
22185 PyObject
* obj0
= 0 ;
22186 PyObject
* obj1
= 0 ;
22187 char * kwnames
[] = {
22188 (char *) "self",(char *) "y", NULL
22191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22193 if (!SWIG_IsOK(res1
)) {
22194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22196 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22198 if (!SWIG_IsOK(ecode2
)) {
22199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
22201 arg2
= static_cast< int >(val2
);
22203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22204 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
22205 wxPyEndAllowThreads(__tstate
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22208 resultobj
= SWIG_From_int(static_cast< int >(result
));
22215 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22216 PyObject
*resultobj
= 0;
22217 wxDC
*arg1
= (wxDC
*) 0 ;
22224 PyObject
* obj0
= 0 ;
22225 PyObject
* obj1
= 0 ;
22226 char * kwnames
[] = {
22227 (char *) "self",(char *) "x", NULL
22230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22232 if (!SWIG_IsOK(res1
)) {
22233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
22235 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22237 if (!SWIG_IsOK(ecode2
)) {
22238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
22240 arg2
= static_cast< int >(val2
);
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
22244 wxPyEndAllowThreads(__tstate
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22247 resultobj
= SWIG_From_int(static_cast< int >(result
));
22254 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22255 PyObject
*resultobj
= 0;
22256 wxDC
*arg1
= (wxDC
*) 0 ;
22263 PyObject
* obj0
= 0 ;
22264 PyObject
* obj1
= 0 ;
22265 char * kwnames
[] = {
22266 (char *) "self",(char *) "y", NULL
22269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22271 if (!SWIG_IsOK(res1
)) {
22272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
22274 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22276 if (!SWIG_IsOK(ecode2
)) {
22277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
22279 arg2
= static_cast< int >(val2
);
22281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22282 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
22283 wxPyEndAllowThreads(__tstate
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22286 resultobj
= SWIG_From_int(static_cast< int >(result
));
22293 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22294 PyObject
*resultobj
= 0;
22295 wxDC
*arg1
= (wxDC
*) 0 ;
22302 PyObject
* obj0
= 0 ;
22303 PyObject
* obj1
= 0 ;
22304 char * kwnames
[] = {
22305 (char *) "self",(char *) "x", NULL
22308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22310 if (!SWIG_IsOK(res1
)) {
22311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22313 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22315 if (!SWIG_IsOK(ecode2
)) {
22316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
22318 arg2
= static_cast< int >(val2
);
22320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22321 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
22322 wxPyEndAllowThreads(__tstate
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22325 resultobj
= SWIG_From_int(static_cast< int >(result
));
22332 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22333 PyObject
*resultobj
= 0;
22334 wxDC
*arg1
= (wxDC
*) 0 ;
22341 PyObject
* obj0
= 0 ;
22342 PyObject
* obj1
= 0 ;
22343 char * kwnames
[] = {
22344 (char *) "self",(char *) "y", NULL
22347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22349 if (!SWIG_IsOK(res1
)) {
22350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22352 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22354 if (!SWIG_IsOK(ecode2
)) {
22355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22357 arg2
= static_cast< int >(val2
);
22359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22360 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22361 wxPyEndAllowThreads(__tstate
);
22362 if (PyErr_Occurred()) SWIG_fail
;
22364 resultobj
= SWIG_From_int(static_cast< int >(result
));
22371 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22372 PyObject
*resultobj
= 0;
22373 wxDC
*arg1
= (wxDC
*) 0 ;
22377 PyObject
*swig_obj
[1] ;
22379 if (!args
) SWIG_fail
;
22380 swig_obj
[0] = args
;
22381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22382 if (!SWIG_IsOK(res1
)) {
22383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22385 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22388 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22389 wxPyEndAllowThreads(__tstate
);
22390 if (PyErr_Occurred()) SWIG_fail
;
22393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22401 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22402 PyObject
*resultobj
= 0;
22403 wxDC
*arg1
= (wxDC
*) 0 ;
22407 PyObject
*swig_obj
[1] ;
22409 if (!args
) SWIG_fail
;
22410 swig_obj
[0] = args
;
22411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22412 if (!SWIG_IsOK(res1
)) {
22413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22415 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22418 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22419 wxPyEndAllowThreads(__tstate
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22431 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22432 PyObject
*resultobj
= 0;
22433 wxDC
*arg1
= (wxDC
*) 0 ;
22437 PyObject
*swig_obj
[1] ;
22439 if (!args
) SWIG_fail
;
22440 swig_obj
[0] = args
;
22441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22442 if (!SWIG_IsOK(res1
)) {
22443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22445 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22448 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22449 wxPyEndAllowThreads(__tstate
);
22450 if (PyErr_Occurred()) SWIG_fail
;
22452 resultobj
= SWIG_From_int(static_cast< int >(result
));
22459 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22460 PyObject
*resultobj
= 0;
22461 wxDC
*arg1
= (wxDC
*) 0 ;
22465 PyObject
*swig_obj
[1] ;
22467 if (!args
) SWIG_fail
;
22468 swig_obj
[0] = args
;
22469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22470 if (!SWIG_IsOK(res1
)) {
22471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22473 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 result
= ((wxDC
const *)arg1
)->GetPPI();
22477 wxPyEndAllowThreads(__tstate
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22480 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22487 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22488 PyObject
*resultobj
= 0;
22489 wxDC
*arg1
= (wxDC
*) 0 ;
22493 PyObject
*swig_obj
[1] ;
22495 if (!args
) SWIG_fail
;
22496 swig_obj
[0] = args
;
22497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22498 if (!SWIG_IsOK(res1
)) {
22499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22501 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22505 wxPyEndAllowThreads(__tstate
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22517 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22518 PyObject
*resultobj
= 0;
22519 wxDC
*arg1
= (wxDC
*) 0 ;
22523 PyObject
*swig_obj
[1] ;
22525 if (!args
) SWIG_fail
;
22526 swig_obj
[0] = args
;
22527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22528 if (!SWIG_IsOK(res1
)) {
22529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22531 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22534 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22535 wxPyEndAllowThreads(__tstate
);
22536 if (PyErr_Occurred()) SWIG_fail
;
22538 resultobj
= SWIG_From_int(static_cast< int >(result
));
22545 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22546 PyObject
*resultobj
= 0;
22547 wxDC
*arg1
= (wxDC
*) 0 ;
22548 wxBrush
*result
= 0 ;
22551 PyObject
*swig_obj
[1] ;
22553 if (!args
) SWIG_fail
;
22554 swig_obj
[0] = args
;
22555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22556 if (!SWIG_IsOK(res1
)) {
22557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22559 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22563 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22564 result
= (wxBrush
*) &_result_ref
;
22566 wxPyEndAllowThreads(__tstate
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22570 wxBrush
* resultptr
= new wxBrush(*result
);
22571 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22579 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22580 PyObject
*resultobj
= 0;
22581 wxDC
*arg1
= (wxDC
*) 0 ;
22582 wxBrush
*result
= 0 ;
22585 PyObject
*swig_obj
[1] ;
22587 if (!args
) SWIG_fail
;
22588 swig_obj
[0] = args
;
22589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22590 if (!SWIG_IsOK(res1
)) {
22591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22593 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22597 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22598 result
= (wxBrush
*) &_result_ref
;
22600 wxPyEndAllowThreads(__tstate
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22604 wxBrush
* resultptr
= new wxBrush(*result
);
22605 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22613 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22614 PyObject
*resultobj
= 0;
22615 wxDC
*arg1
= (wxDC
*) 0 ;
22616 wxFont
*result
= 0 ;
22619 PyObject
*swig_obj
[1] ;
22621 if (!args
) SWIG_fail
;
22622 swig_obj
[0] = args
;
22623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22624 if (!SWIG_IsOK(res1
)) {
22625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22627 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22631 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22632 result
= (wxFont
*) &_result_ref
;
22634 wxPyEndAllowThreads(__tstate
);
22635 if (PyErr_Occurred()) SWIG_fail
;
22638 wxFont
* resultptr
= new wxFont(*result
);
22639 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22647 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22648 PyObject
*resultobj
= 0;
22649 wxDC
*arg1
= (wxDC
*) 0 ;
22650 wxPen
*result
= 0 ;
22653 PyObject
*swig_obj
[1] ;
22655 if (!args
) SWIG_fail
;
22656 swig_obj
[0] = args
;
22657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22658 if (!SWIG_IsOK(res1
)) {
22659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22661 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22665 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22666 result
= (wxPen
*) &_result_ref
;
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22672 wxPen
* resultptr
= new wxPen(*result
);
22673 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22681 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22682 PyObject
*resultobj
= 0;
22683 wxDC
*arg1
= (wxDC
*) 0 ;
22684 wxColour
*result
= 0 ;
22687 PyObject
*swig_obj
[1] ;
22689 if (!args
) SWIG_fail
;
22690 swig_obj
[0] = args
;
22691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22692 if (!SWIG_IsOK(res1
)) {
22693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22695 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22699 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22700 result
= (wxColour
*) &_result_ref
;
22702 wxPyEndAllowThreads(__tstate
);
22703 if (PyErr_Occurred()) SWIG_fail
;
22705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22712 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22713 PyObject
*resultobj
= 0;
22714 wxDC
*arg1
= (wxDC
*) 0 ;
22715 wxColour
*result
= 0 ;
22718 PyObject
*swig_obj
[1] ;
22720 if (!args
) SWIG_fail
;
22721 swig_obj
[0] = args
;
22722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22723 if (!SWIG_IsOK(res1
)) {
22724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22726 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22730 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22731 result
= (wxColour
*) &_result_ref
;
22733 wxPyEndAllowThreads(__tstate
);
22734 if (PyErr_Occurred()) SWIG_fail
;
22736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22743 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22744 PyObject
*resultobj
= 0;
22745 wxDC
*arg1
= (wxDC
*) 0 ;
22746 wxColour
*arg2
= 0 ;
22750 PyObject
* obj0
= 0 ;
22751 PyObject
* obj1
= 0 ;
22752 char * kwnames
[] = {
22753 (char *) "self",(char *) "colour", NULL
22756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22758 if (!SWIG_IsOK(res1
)) {
22759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22761 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22764 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22768 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22769 wxPyEndAllowThreads(__tstate
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22772 resultobj
= SWIG_Py_Void();
22779 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22780 PyObject
*resultobj
= 0;
22781 wxDC
*arg1
= (wxDC
*) 0 ;
22782 wxColour
*arg2
= 0 ;
22786 PyObject
* obj0
= 0 ;
22787 PyObject
* obj1
= 0 ;
22788 char * kwnames
[] = {
22789 (char *) "self",(char *) "colour", NULL
22792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22794 if (!SWIG_IsOK(res1
)) {
22795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22797 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22800 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22804 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22805 wxPyEndAllowThreads(__tstate
);
22806 if (PyErr_Occurred()) SWIG_fail
;
22808 resultobj
= SWIG_Py_Void();
22815 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22816 PyObject
*resultobj
= 0;
22817 wxDC
*arg1
= (wxDC
*) 0 ;
22821 PyObject
*swig_obj
[1] ;
22823 if (!args
) SWIG_fail
;
22824 swig_obj
[0] = args
;
22825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22826 if (!SWIG_IsOK(res1
)) {
22827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22829 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22836 resultobj
= SWIG_From_int(static_cast< int >(result
));
22843 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22844 PyObject
*resultobj
= 0;
22845 wxDC
*arg1
= (wxDC
*) 0 ;
22851 PyObject
* obj0
= 0 ;
22852 PyObject
* obj1
= 0 ;
22853 char * kwnames
[] = {
22854 (char *) "self",(char *) "mode", NULL
22857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22859 if (!SWIG_IsOK(res1
)) {
22860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22862 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22864 if (!SWIG_IsOK(ecode2
)) {
22865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22867 arg2
= static_cast< int >(val2
);
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 (arg1
)->SetMapMode(arg2
);
22871 wxPyEndAllowThreads(__tstate
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22874 resultobj
= SWIG_Py_Void();
22881 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22882 PyObject
*resultobj
= 0;
22883 wxDC
*arg1
= (wxDC
*) 0 ;
22884 double *arg2
= (double *) 0 ;
22885 double *arg3
= (double *) 0 ;
22889 int res2
= SWIG_TMPOBJ
;
22891 int res3
= SWIG_TMPOBJ
;
22892 PyObject
*swig_obj
[1] ;
22896 if (!args
) SWIG_fail
;
22897 swig_obj
[0] = args
;
22898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22899 if (!SWIG_IsOK(res1
)) {
22900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22902 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22905 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 resultobj
= SWIG_Py_Void();
22910 if (SWIG_IsTmpObj(res2
)) {
22911 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22913 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22914 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22916 if (SWIG_IsTmpObj(res3
)) {
22917 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22919 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22920 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22928 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22929 PyObject
*resultobj
= 0;
22930 wxDC
*arg1
= (wxDC
*) 0 ;
22939 PyObject
* obj0
= 0 ;
22940 PyObject
* obj1
= 0 ;
22941 PyObject
* obj2
= 0 ;
22942 char * kwnames
[] = {
22943 (char *) "self",(char *) "x",(char *) "y", NULL
22946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22948 if (!SWIG_IsOK(res1
)) {
22949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22951 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22952 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22953 if (!SWIG_IsOK(ecode2
)) {
22954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22956 arg2
= static_cast< double >(val2
);
22957 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22958 if (!SWIG_IsOK(ecode3
)) {
22959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22961 arg3
= static_cast< double >(val3
);
22963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22964 (arg1
)->SetUserScale(arg2
,arg3
);
22965 wxPyEndAllowThreads(__tstate
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22968 resultobj
= SWIG_Py_Void();
22975 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22976 PyObject
*resultobj
= 0;
22977 wxDC
*arg1
= (wxDC
*) 0 ;
22978 double *arg2
= (double *) 0 ;
22979 double *arg3
= (double *) 0 ;
22983 int res2
= SWIG_TMPOBJ
;
22985 int res3
= SWIG_TMPOBJ
;
22986 PyObject
*swig_obj
[1] ;
22990 if (!args
) SWIG_fail
;
22991 swig_obj
[0] = args
;
22992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22993 if (!SWIG_IsOK(res1
)) {
22994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22996 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22999 (arg1
)->GetLogicalScale(arg2
,arg3
);
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23003 resultobj
= SWIG_Py_Void();
23004 if (SWIG_IsTmpObj(res2
)) {
23005 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
23007 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23008 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
23010 if (SWIG_IsTmpObj(res3
)) {
23011 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
23013 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23014 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
23022 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23023 PyObject
*resultobj
= 0;
23024 wxDC
*arg1
= (wxDC
*) 0 ;
23033 PyObject
* obj0
= 0 ;
23034 PyObject
* obj1
= 0 ;
23035 PyObject
* obj2
= 0 ;
23036 char * kwnames
[] = {
23037 (char *) "self",(char *) "x",(char *) "y", NULL
23040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23042 if (!SWIG_IsOK(res1
)) {
23043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23045 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23046 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23047 if (!SWIG_IsOK(ecode2
)) {
23048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
23050 arg2
= static_cast< double >(val2
);
23051 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
23052 if (!SWIG_IsOK(ecode3
)) {
23053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
23055 arg3
= static_cast< double >(val3
);
23057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23058 (arg1
)->SetLogicalScale(arg2
,arg3
);
23059 wxPyEndAllowThreads(__tstate
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23062 resultobj
= SWIG_Py_Void();
23069 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23070 PyObject
*resultobj
= 0;
23071 wxDC
*arg1
= (wxDC
*) 0 ;
23075 PyObject
*swig_obj
[1] ;
23077 if (!args
) SWIG_fail
;
23078 swig_obj
[0] = args
;
23079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23080 if (!SWIG_IsOK(res1
)) {
23081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23083 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23086 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
23087 wxPyEndAllowThreads(__tstate
);
23088 if (PyErr_Occurred()) SWIG_fail
;
23090 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23097 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23098 PyObject
*resultobj
= 0;
23099 wxDC
*arg1
= (wxDC
*) 0 ;
23100 int *arg2
= (int *) 0 ;
23101 int *arg3
= (int *) 0 ;
23105 int res2
= SWIG_TMPOBJ
;
23107 int res3
= SWIG_TMPOBJ
;
23108 PyObject
*swig_obj
[1] ;
23112 if (!args
) SWIG_fail
;
23113 swig_obj
[0] = args
;
23114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23115 if (!SWIG_IsOK(res1
)) {
23116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23118 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23121 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23125 resultobj
= SWIG_Py_Void();
23126 if (SWIG_IsTmpObj(res2
)) {
23127 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23129 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23130 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23132 if (SWIG_IsTmpObj(res3
)) {
23133 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23135 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23136 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23144 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23145 PyObject
*resultobj
= 0;
23146 wxDC
*arg1
= (wxDC
*) 0 ;
23155 PyObject
* obj0
= 0 ;
23156 PyObject
* obj1
= 0 ;
23157 PyObject
* obj2
= 0 ;
23158 char * kwnames
[] = {
23159 (char *) "self",(char *) "x",(char *) "y", NULL
23162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23164 if (!SWIG_IsOK(res1
)) {
23165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23167 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23169 if (!SWIG_IsOK(ecode2
)) {
23170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
23172 arg2
= static_cast< int >(val2
);
23173 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23174 if (!SWIG_IsOK(ecode3
)) {
23175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
23177 arg3
= static_cast< int >(val3
);
23179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23180 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
23181 wxPyEndAllowThreads(__tstate
);
23182 if (PyErr_Occurred()) SWIG_fail
;
23184 resultobj
= SWIG_Py_Void();
23191 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23192 PyObject
*resultobj
= 0;
23193 wxDC
*arg1
= (wxDC
*) 0 ;
23194 wxPoint
*arg2
= 0 ;
23198 PyObject
* obj0
= 0 ;
23199 PyObject
* obj1
= 0 ;
23200 char * kwnames
[] = {
23201 (char *) "self",(char *) "point", NULL
23204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23206 if (!SWIG_IsOK(res1
)) {
23207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23209 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23212 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23216 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23217 wxPyEndAllowThreads(__tstate
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23220 resultobj
= SWIG_Py_Void();
23227 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23228 PyObject
*resultobj
= 0;
23229 wxDC
*arg1
= (wxDC
*) 0 ;
23233 PyObject
*swig_obj
[1] ;
23235 if (!args
) SWIG_fail
;
23236 swig_obj
[0] = args
;
23237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23238 if (!SWIG_IsOK(res1
)) {
23239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23241 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23244 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
23245 wxPyEndAllowThreads(__tstate
);
23246 if (PyErr_Occurred()) SWIG_fail
;
23248 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23255 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23256 PyObject
*resultobj
= 0;
23257 wxDC
*arg1
= (wxDC
*) 0 ;
23258 int *arg2
= (int *) 0 ;
23259 int *arg3
= (int *) 0 ;
23263 int res2
= SWIG_TMPOBJ
;
23265 int res3
= SWIG_TMPOBJ
;
23266 PyObject
*swig_obj
[1] ;
23270 if (!args
) SWIG_fail
;
23271 swig_obj
[0] = args
;
23272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23273 if (!SWIG_IsOK(res1
)) {
23274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23276 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23279 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
23280 wxPyEndAllowThreads(__tstate
);
23281 if (PyErr_Occurred()) SWIG_fail
;
23283 resultobj
= SWIG_Py_Void();
23284 if (SWIG_IsTmpObj(res2
)) {
23285 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23287 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23288 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23290 if (SWIG_IsTmpObj(res3
)) {
23291 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23293 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23294 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23302 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23303 PyObject
*resultobj
= 0;
23304 wxDC
*arg1
= (wxDC
*) 0 ;
23313 PyObject
* obj0
= 0 ;
23314 PyObject
* obj1
= 0 ;
23315 PyObject
* obj2
= 0 ;
23316 char * kwnames
[] = {
23317 (char *) "self",(char *) "x",(char *) "y", NULL
23320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23322 if (!SWIG_IsOK(res1
)) {
23323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23325 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23327 if (!SWIG_IsOK(ecode2
)) {
23328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
23330 arg2
= static_cast< int >(val2
);
23331 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23332 if (!SWIG_IsOK(ecode3
)) {
23333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23335 arg3
= static_cast< int >(val3
);
23337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23338 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23339 wxPyEndAllowThreads(__tstate
);
23340 if (PyErr_Occurred()) SWIG_fail
;
23342 resultobj
= SWIG_Py_Void();
23349 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23350 PyObject
*resultobj
= 0;
23351 wxDC
*arg1
= (wxDC
*) 0 ;
23352 wxPoint
*arg2
= 0 ;
23356 PyObject
* obj0
= 0 ;
23357 PyObject
* obj1
= 0 ;
23358 char * kwnames
[] = {
23359 (char *) "self",(char *) "point", NULL
23362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23364 if (!SWIG_IsOK(res1
)) {
23365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23367 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23370 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23374 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23375 wxPyEndAllowThreads(__tstate
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23378 resultobj
= SWIG_Py_Void();
23385 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23386 PyObject
*resultobj
= 0;
23387 wxDC
*arg1
= (wxDC
*) 0 ;
23396 PyObject
* obj0
= 0 ;
23397 PyObject
* obj1
= 0 ;
23398 PyObject
* obj2
= 0 ;
23399 char * kwnames
[] = {
23400 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23405 if (!SWIG_IsOK(res1
)) {
23406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23408 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23409 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23410 if (!SWIG_IsOK(ecode2
)) {
23411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23413 arg2
= static_cast< bool >(val2
);
23414 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23415 if (!SWIG_IsOK(ecode3
)) {
23416 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23418 arg3
= static_cast< bool >(val3
);
23420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23421 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23422 wxPyEndAllowThreads(__tstate
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23425 resultobj
= SWIG_Py_Void();
23432 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23433 PyObject
*resultobj
= 0;
23434 wxDC
*arg1
= (wxDC
*) 0 ;
23438 PyObject
*swig_obj
[1] ;
23440 if (!args
) SWIG_fail
;
23441 swig_obj
[0] = args
;
23442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23443 if (!SWIG_IsOK(res1
)) {
23444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23446 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23449 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23450 wxPyEndAllowThreads(__tstate
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23453 resultobj
= SWIG_From_int(static_cast< int >(result
));
23460 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23461 PyObject
*resultobj
= 0;
23462 wxDC
*arg1
= (wxDC
*) 0 ;
23468 PyObject
* obj0
= 0 ;
23469 PyObject
* obj1
= 0 ;
23470 char * kwnames
[] = {
23471 (char *) "self",(char *) "function", NULL
23474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23476 if (!SWIG_IsOK(res1
)) {
23477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23479 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23481 if (!SWIG_IsOK(ecode2
)) {
23482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23484 arg2
= static_cast< int >(val2
);
23486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23487 (arg1
)->SetLogicalFunction(arg2
);
23488 wxPyEndAllowThreads(__tstate
);
23489 if (PyErr_Occurred()) SWIG_fail
;
23491 resultobj
= SWIG_Py_Void();
23498 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23499 PyObject
*resultobj
= 0;
23500 wxDC
*arg1
= (wxDC
*) 0 ;
23503 PyObject
*swig_obj
[1] ;
23505 if (!args
) SWIG_fail
;
23506 swig_obj
[0] = args
;
23507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23508 if (!SWIG_IsOK(res1
)) {
23509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23511 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23514 (arg1
)->ComputeScaleAndOrigin();
23515 wxPyEndAllowThreads(__tstate
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23518 resultobj
= SWIG_Py_Void();
23525 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23526 PyObject
*resultobj
= 0;
23527 wxDC
*arg1
= (wxDC
*) 0 ;
23536 PyObject
* obj0
= 0 ;
23537 PyObject
* obj1
= 0 ;
23538 PyObject
* obj2
= 0 ;
23539 char * kwnames
[] = {
23540 (char *) "self",(char *) "x",(char *) "y", NULL
23543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23545 if (!SWIG_IsOK(res1
)) {
23546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23548 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23550 if (!SWIG_IsOK(ecode2
)) {
23551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23553 arg2
= static_cast< int >(val2
);
23554 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23555 if (!SWIG_IsOK(ecode3
)) {
23556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23558 arg3
= static_cast< int >(val3
);
23560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23561 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23562 wxPyEndAllowThreads(__tstate
);
23563 if (PyErr_Occurred()) SWIG_fail
;
23565 resultobj
= SWIG_Py_Void();
23572 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23573 PyObject
*resultobj
= 0;
23574 wxDC
*arg1
= (wxDC
*) 0 ;
23575 wxPoint
*arg2
= 0 ;
23579 PyObject
* obj0
= 0 ;
23580 PyObject
* obj1
= 0 ;
23581 char * kwnames
[] = {
23582 (char *) "self",(char *) "point", NULL
23585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23587 if (!SWIG_IsOK(res1
)) {
23588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23590 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23593 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23598 wxPyEndAllowThreads(__tstate
);
23599 if (PyErr_Occurred()) SWIG_fail
;
23601 resultobj
= SWIG_Py_Void();
23608 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23609 PyObject
*resultobj
= 0;
23610 wxDC
*arg1
= (wxDC
*) 0 ;
23613 PyObject
*swig_obj
[1] ;
23615 if (!args
) SWIG_fail
;
23616 swig_obj
[0] = args
;
23617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23618 if (!SWIG_IsOK(res1
)) {
23619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23621 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23624 (arg1
)->ResetBoundingBox();
23625 wxPyEndAllowThreads(__tstate
);
23626 if (PyErr_Occurred()) SWIG_fail
;
23628 resultobj
= SWIG_Py_Void();
23635 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23636 PyObject
*resultobj
= 0;
23637 wxDC
*arg1
= (wxDC
*) 0 ;
23641 PyObject
*swig_obj
[1] ;
23643 if (!args
) SWIG_fail
;
23644 swig_obj
[0] = args
;
23645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23646 if (!SWIG_IsOK(res1
)) {
23647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23649 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23652 result
= (int)((wxDC
const *)arg1
)->MinX();
23653 wxPyEndAllowThreads(__tstate
);
23654 if (PyErr_Occurred()) SWIG_fail
;
23656 resultobj
= SWIG_From_int(static_cast< int >(result
));
23663 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23664 PyObject
*resultobj
= 0;
23665 wxDC
*arg1
= (wxDC
*) 0 ;
23669 PyObject
*swig_obj
[1] ;
23671 if (!args
) SWIG_fail
;
23672 swig_obj
[0] = args
;
23673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23674 if (!SWIG_IsOK(res1
)) {
23675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23677 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23680 result
= (int)((wxDC
const *)arg1
)->MaxX();
23681 wxPyEndAllowThreads(__tstate
);
23682 if (PyErr_Occurred()) SWIG_fail
;
23684 resultobj
= SWIG_From_int(static_cast< int >(result
));
23691 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23692 PyObject
*resultobj
= 0;
23693 wxDC
*arg1
= (wxDC
*) 0 ;
23697 PyObject
*swig_obj
[1] ;
23699 if (!args
) SWIG_fail
;
23700 swig_obj
[0] = args
;
23701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23702 if (!SWIG_IsOK(res1
)) {
23703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23705 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23708 result
= (int)((wxDC
const *)arg1
)->MinY();
23709 wxPyEndAllowThreads(__tstate
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23712 resultobj
= SWIG_From_int(static_cast< int >(result
));
23719 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23720 PyObject
*resultobj
= 0;
23721 wxDC
*arg1
= (wxDC
*) 0 ;
23725 PyObject
*swig_obj
[1] ;
23727 if (!args
) SWIG_fail
;
23728 swig_obj
[0] = args
;
23729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23730 if (!SWIG_IsOK(res1
)) {
23731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23733 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23736 result
= (int)((wxDC
const *)arg1
)->MaxY();
23737 wxPyEndAllowThreads(__tstate
);
23738 if (PyErr_Occurred()) SWIG_fail
;
23740 resultobj
= SWIG_From_int(static_cast< int >(result
));
23747 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23748 PyObject
*resultobj
= 0;
23749 wxDC
*arg1
= (wxDC
*) 0 ;
23750 int *arg2
= (int *) 0 ;
23751 int *arg3
= (int *) 0 ;
23752 int *arg4
= (int *) 0 ;
23753 int *arg5
= (int *) 0 ;
23757 int res2
= SWIG_TMPOBJ
;
23759 int res3
= SWIG_TMPOBJ
;
23761 int res4
= SWIG_TMPOBJ
;
23763 int res5
= SWIG_TMPOBJ
;
23764 PyObject
*swig_obj
[1] ;
23770 if (!args
) SWIG_fail
;
23771 swig_obj
[0] = args
;
23772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23773 if (!SWIG_IsOK(res1
)) {
23774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23776 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23779 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23780 wxPyEndAllowThreads(__tstate
);
23781 if (PyErr_Occurred()) SWIG_fail
;
23783 resultobj
= SWIG_Py_Void();
23784 if (SWIG_IsTmpObj(res2
)) {
23785 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23787 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23788 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23790 if (SWIG_IsTmpObj(res3
)) {
23791 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23793 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23794 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23796 if (SWIG_IsTmpObj(res4
)) {
23797 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23799 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23800 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23802 if (SWIG_IsTmpObj(res5
)) {
23803 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23805 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23806 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23814 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23815 PyObject
*resultobj
= 0;
23816 wxDC
*arg1
= (wxDC
*) 0 ;
23817 wxLayoutDirection result
;
23820 PyObject
*swig_obj
[1] ;
23822 if (!args
) SWIG_fail
;
23823 swig_obj
[0] = args
;
23824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23825 if (!SWIG_IsOK(res1
)) {
23826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23828 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23831 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23832 wxPyEndAllowThreads(__tstate
);
23833 if (PyErr_Occurred()) SWIG_fail
;
23835 resultobj
= SWIG_From_int(static_cast< int >(result
));
23842 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23843 PyObject
*resultobj
= 0;
23844 wxDC
*arg1
= (wxDC
*) 0 ;
23845 wxLayoutDirection arg2
;
23850 PyObject
* obj0
= 0 ;
23851 PyObject
* obj1
= 0 ;
23852 char * kwnames
[] = {
23853 (char *) "self",(char *) "dir", NULL
23856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23858 if (!SWIG_IsOK(res1
)) {
23859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23861 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23863 if (!SWIG_IsOK(ecode2
)) {
23864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23866 arg2
= static_cast< wxLayoutDirection
>(val2
);
23868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23869 (arg1
)->SetLayoutDirection(arg2
);
23870 wxPyEndAllowThreads(__tstate
);
23871 if (PyErr_Occurred()) SWIG_fail
;
23873 resultobj
= SWIG_Py_Void();
23880 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23881 PyObject
*resultobj
= 0;
23882 wxDC
*arg1
= (wxDC
*) 0 ;
23886 PyObject
*swig_obj
[1] ;
23888 if (!args
) SWIG_fail
;
23889 swig_obj
[0] = args
;
23890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23891 if (!SWIG_IsOK(res1
)) {
23892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23894 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23897 result
= (long)(arg1
)->GetHDC();
23898 wxPyEndAllowThreads(__tstate
);
23899 if (PyErr_Occurred()) SWIG_fail
;
23901 resultobj
= SWIG_From_long(static_cast< long >(result
));
23908 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23909 PyObject
*resultobj
= 0;
23910 wxDC
*arg1
= (wxDC
*) 0 ;
23911 PyObject
*arg2
= (PyObject
*) 0 ;
23912 PyObject
*arg3
= (PyObject
*) 0 ;
23913 PyObject
*arg4
= (PyObject
*) 0 ;
23914 PyObject
*result
= 0 ;
23917 PyObject
* obj0
= 0 ;
23918 PyObject
* obj1
= 0 ;
23919 PyObject
* obj2
= 0 ;
23920 PyObject
* obj3
= 0 ;
23921 char * kwnames
[] = {
23922 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23927 if (!SWIG_IsOK(res1
)) {
23928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23930 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23936 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23937 wxPyEndAllowThreads(__tstate
);
23938 if (PyErr_Occurred()) SWIG_fail
;
23940 resultobj
= result
;
23947 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23948 PyObject
*resultobj
= 0;
23949 wxDC
*arg1
= (wxDC
*) 0 ;
23950 PyObject
*arg2
= (PyObject
*) 0 ;
23951 PyObject
*arg3
= (PyObject
*) 0 ;
23952 PyObject
*arg4
= (PyObject
*) 0 ;
23953 PyObject
*result
= 0 ;
23956 PyObject
* obj0
= 0 ;
23957 PyObject
* obj1
= 0 ;
23958 PyObject
* obj2
= 0 ;
23959 PyObject
* obj3
= 0 ;
23960 char * kwnames
[] = {
23961 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23966 if (!SWIG_IsOK(res1
)) {
23967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23969 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23975 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23976 wxPyEndAllowThreads(__tstate
);
23977 if (PyErr_Occurred()) SWIG_fail
;
23979 resultobj
= result
;
23986 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23987 PyObject
*resultobj
= 0;
23988 wxDC
*arg1
= (wxDC
*) 0 ;
23989 PyObject
*arg2
= (PyObject
*) 0 ;
23990 PyObject
*arg3
= (PyObject
*) 0 ;
23991 PyObject
*arg4
= (PyObject
*) 0 ;
23992 PyObject
*result
= 0 ;
23995 PyObject
* obj0
= 0 ;
23996 PyObject
* obj1
= 0 ;
23997 PyObject
* obj2
= 0 ;
23998 PyObject
* obj3
= 0 ;
23999 char * kwnames
[] = {
24000 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24005 if (!SWIG_IsOK(res1
)) {
24006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
24008 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24014 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
24015 wxPyEndAllowThreads(__tstate
);
24016 if (PyErr_Occurred()) SWIG_fail
;
24018 resultobj
= result
;
24025 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24026 PyObject
*resultobj
= 0;
24027 wxDC
*arg1
= (wxDC
*) 0 ;
24028 PyObject
*arg2
= (PyObject
*) 0 ;
24029 PyObject
*arg3
= (PyObject
*) 0 ;
24030 PyObject
*arg4
= (PyObject
*) 0 ;
24031 PyObject
*result
= 0 ;
24034 PyObject
* obj0
= 0 ;
24035 PyObject
* obj1
= 0 ;
24036 PyObject
* obj2
= 0 ;
24037 PyObject
* obj3
= 0 ;
24038 char * kwnames
[] = {
24039 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24044 if (!SWIG_IsOK(res1
)) {
24045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
24047 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24053 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
24054 wxPyEndAllowThreads(__tstate
);
24055 if (PyErr_Occurred()) SWIG_fail
;
24057 resultobj
= result
;
24064 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24065 PyObject
*resultobj
= 0;
24066 wxDC
*arg1
= (wxDC
*) 0 ;
24067 PyObject
*arg2
= (PyObject
*) 0 ;
24068 PyObject
*arg3
= (PyObject
*) 0 ;
24069 PyObject
*arg4
= (PyObject
*) 0 ;
24070 PyObject
*result
= 0 ;
24073 PyObject
* obj0
= 0 ;
24074 PyObject
* obj1
= 0 ;
24075 PyObject
* obj2
= 0 ;
24076 PyObject
* obj3
= 0 ;
24077 char * kwnames
[] = {
24078 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24083 if (!SWIG_IsOK(res1
)) {
24084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
24086 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24092 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
24093 wxPyEndAllowThreads(__tstate
);
24094 if (PyErr_Occurred()) SWIG_fail
;
24096 resultobj
= result
;
24103 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24104 PyObject
*resultobj
= 0;
24105 wxDC
*arg1
= (wxDC
*) 0 ;
24106 PyObject
*arg2
= (PyObject
*) 0 ;
24107 PyObject
*arg3
= (PyObject
*) 0 ;
24108 PyObject
*arg4
= (PyObject
*) 0 ;
24109 PyObject
*arg5
= (PyObject
*) 0 ;
24110 PyObject
*result
= 0 ;
24113 PyObject
* obj0
= 0 ;
24114 PyObject
* obj1
= 0 ;
24115 PyObject
* obj2
= 0 ;
24116 PyObject
* obj3
= 0 ;
24117 PyObject
* obj4
= 0 ;
24118 char * kwnames
[] = {
24119 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
24122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24124 if (!SWIG_IsOK(res1
)) {
24125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
24127 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24134 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
24135 wxPyEndAllowThreads(__tstate
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24138 resultobj
= result
;
24145 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24147 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24148 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
24149 return SWIG_Py_Void();
24152 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24153 PyObject
*resultobj
= 0;
24155 wxColour
*arg2
= 0 ;
24156 wxDCTextColourChanger
*result
= 0 ;
24160 PyObject
* obj0
= 0 ;
24161 PyObject
* obj1
= 0 ;
24162 char * kwnames
[] = {
24163 (char *) "dc",(char *) "col", NULL
24166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24167 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24168 if (!SWIG_IsOK(res1
)) {
24169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24177 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
24182 wxPyEndAllowThreads(__tstate
);
24183 if (PyErr_Occurred()) SWIG_fail
;
24185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
24192 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24193 PyObject
*resultobj
= 0;
24194 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
24197 PyObject
*swig_obj
[1] ;
24199 if (!args
) SWIG_fail
;
24200 swig_obj
[0] = args
;
24201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
24202 if (!SWIG_IsOK(res1
)) {
24203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
24205 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
24207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 wxPyEndAllowThreads(__tstate
);
24211 if (PyErr_Occurred()) SWIG_fail
;
24213 resultobj
= SWIG_Py_Void();
24220 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24222 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24223 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
24224 return SWIG_Py_Void();
24227 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24228 return SWIG_Python_InitShadowInstance(args
);
24231 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24232 PyObject
*resultobj
= 0;
24235 wxDCPenChanger
*result
= 0 ;
24240 PyObject
* obj0
= 0 ;
24241 PyObject
* obj1
= 0 ;
24242 char * kwnames
[] = {
24243 (char *) "dc",(char *) "pen", NULL
24246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24247 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24248 if (!SWIG_IsOK(res1
)) {
24249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24254 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
24256 if (!SWIG_IsOK(res2
)) {
24257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24262 arg2
= reinterpret_cast< wxPen
* >(argp2
);
24264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24265 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
24276 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24277 PyObject
*resultobj
= 0;
24278 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
24281 PyObject
*swig_obj
[1] ;
24283 if (!args
) SWIG_fail
;
24284 swig_obj
[0] = args
;
24285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
24286 if (!SWIG_IsOK(res1
)) {
24287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
24289 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
24291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 wxPyEndAllowThreads(__tstate
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24297 resultobj
= SWIG_Py_Void();
24304 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24306 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24307 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
24308 return SWIG_Py_Void();
24311 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24312 return SWIG_Python_InitShadowInstance(args
);
24315 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24316 PyObject
*resultobj
= 0;
24318 wxBrush
*arg2
= 0 ;
24319 wxDCBrushChanger
*result
= 0 ;
24324 PyObject
* obj0
= 0 ;
24325 PyObject
* obj1
= 0 ;
24326 char * kwnames
[] = {
24327 (char *) "dc",(char *) "brush", NULL
24330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24331 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24332 if (!SWIG_IsOK(res1
)) {
24333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24338 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
24340 if (!SWIG_IsOK(res2
)) {
24341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24346 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
24348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24349 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
24360 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24361 PyObject
*resultobj
= 0;
24362 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
24365 PyObject
*swig_obj
[1] ;
24367 if (!args
) SWIG_fail
;
24368 swig_obj
[0] = args
;
24369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
24370 if (!SWIG_IsOK(res1
)) {
24371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
24373 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
24375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24378 wxPyEndAllowThreads(__tstate
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24381 resultobj
= SWIG_Py_Void();
24388 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24390 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24391 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24392 return SWIG_Py_Void();
24395 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24396 return SWIG_Python_InitShadowInstance(args
);
24399 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24400 PyObject
*resultobj
= 0;
24402 wxRegion
*arg2
= 0 ;
24403 wxDCClipper
*result
= 0 ;
24409 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24411 if (!SWIG_IsOK(res1
)) {
24412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24415 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24417 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24418 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24419 if (!SWIG_IsOK(res2
)) {
24420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24425 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24428 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24429 wxPyEndAllowThreads(__tstate
);
24430 if (PyErr_Occurred()) SWIG_fail
;
24432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24439 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24440 PyObject
*resultobj
= 0;
24443 wxDCClipper
*result
= 0 ;
24448 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24450 if (!SWIG_IsOK(res1
)) {
24451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24454 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24459 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24463 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24464 wxPyEndAllowThreads(__tstate
);
24465 if (PyErr_Occurred()) SWIG_fail
;
24467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24474 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24475 PyObject
*resultobj
= 0;
24481 wxDCClipper
*result
= 0 ;
24493 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
24494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24495 if (!SWIG_IsOK(res1
)) {
24496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24501 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24502 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24503 if (!SWIG_IsOK(ecode2
)) {
24504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
24506 arg2
= static_cast< int >(val2
);
24507 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24508 if (!SWIG_IsOK(ecode3
)) {
24509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
24511 arg3
= static_cast< int >(val3
);
24512 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
24513 if (!SWIG_IsOK(ecode4
)) {
24514 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
24516 arg4
= static_cast< int >(val4
);
24517 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
24518 if (!SWIG_IsOK(ecode5
)) {
24519 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
24521 arg5
= static_cast< int >(val5
);
24523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24524 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
24525 wxPyEndAllowThreads(__tstate
);
24526 if (PyErr_Occurred()) SWIG_fail
;
24528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24535 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
24539 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
24544 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
24545 _v
= SWIG_CheckState(res
);
24547 if (!_v
) goto check_1
;
24548 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
24553 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
24556 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
24560 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
24565 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24566 PyObject
*resultobj
= 0;
24567 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
24570 PyObject
*swig_obj
[1] ;
24572 if (!args
) SWIG_fail
;
24573 swig_obj
[0] = args
;
24574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
24575 if (!SWIG_IsOK(res1
)) {
24576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
24578 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
24580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24583 wxPyEndAllowThreads(__tstate
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24586 resultobj
= SWIG_Py_Void();
24593 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24595 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24596 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
24597 return SWIG_Py_Void();
24600 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24601 return SWIG_Python_InitShadowInstance(args
);
24604 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24605 PyObject
*resultobj
= 0;
24606 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24607 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24608 wxMemoryDC
*result
= 0 ;
24611 PyObject
* obj0
= 0 ;
24612 char * kwnames
[] = {
24613 (char *) "bitmap", NULL
24616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24618 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24619 if (!SWIG_IsOK(res1
)) {
24620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24625 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24628 if (!wxPyCheckForApp()) SWIG_fail
;
24629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24630 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24631 wxPyEndAllowThreads(__tstate
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24634 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24641 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24642 PyObject
*resultobj
= 0;
24643 wxDC
*arg1
= (wxDC
*) 0 ;
24644 wxMemoryDC
*result
= 0 ;
24647 PyObject
* obj0
= 0 ;
24648 char * kwnames
[] = {
24649 (char *) "oldDC", NULL
24652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24654 if (!SWIG_IsOK(res1
)) {
24655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24657 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24659 if (!wxPyCheckForApp()) SWIG_fail
;
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24662 wxPyEndAllowThreads(__tstate
);
24663 if (PyErr_Occurred()) SWIG_fail
;
24665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24672 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24673 PyObject
*resultobj
= 0;
24674 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24675 wxBitmap
*arg2
= 0 ;
24680 PyObject
* obj0
= 0 ;
24681 PyObject
* obj1
= 0 ;
24682 char * kwnames
[] = {
24683 (char *) "self",(char *) "bitmap", NULL
24686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24688 if (!SWIG_IsOK(res1
)) {
24689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24691 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24692 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24693 if (!SWIG_IsOK(res2
)) {
24694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24699 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24702 (arg1
)->SelectObject(*arg2
);
24703 wxPyEndAllowThreads(__tstate
);
24704 if (PyErr_Occurred()) SWIG_fail
;
24706 resultobj
= SWIG_Py_Void();
24713 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24714 PyObject
*resultobj
= 0;
24715 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24716 wxBitmap
*arg2
= 0 ;
24721 PyObject
* obj0
= 0 ;
24722 PyObject
* obj1
= 0 ;
24723 char * kwnames
[] = {
24724 (char *) "self",(char *) "bmp", NULL
24727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24729 if (!SWIG_IsOK(res1
)) {
24730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24732 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24733 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24734 if (!SWIG_IsOK(res2
)) {
24735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24740 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24743 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24744 wxPyEndAllowThreads(__tstate
);
24745 if (PyErr_Occurred()) SWIG_fail
;
24747 resultobj
= SWIG_Py_Void();
24754 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24756 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24757 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24758 return SWIG_Py_Void();
24761 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24762 return SWIG_Python_InitShadowInstance(args
);
24765 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24766 PyObject
*resultobj
= 0;
24767 wxScreenDC
*result
= 0 ;
24769 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24771 if (!wxPyCheckForApp()) SWIG_fail
;
24772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24773 result
= (wxScreenDC
*)new wxScreenDC();
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24784 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24785 PyObject
*resultobj
= 0;
24786 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24787 wxWindow
*arg2
= (wxWindow
*) 0 ;
24793 PyObject
* obj0
= 0 ;
24794 PyObject
* obj1
= 0 ;
24795 char * kwnames
[] = {
24796 (char *) "self",(char *) "window", NULL
24799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24801 if (!SWIG_IsOK(res1
)) {
24802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24804 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24805 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24806 if (!SWIG_IsOK(res2
)) {
24807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24809 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24812 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24813 wxPyEndAllowThreads(__tstate
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24825 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24826 PyObject
*resultobj
= 0;
24827 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24828 wxRect
*arg2
= (wxRect
*) NULL
;
24834 PyObject
* obj0
= 0 ;
24835 PyObject
* obj1
= 0 ;
24836 char * kwnames
[] = {
24837 (char *) "self",(char *) "rect", NULL
24840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24842 if (!SWIG_IsOK(res1
)) {
24843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24845 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24847 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24848 if (!SWIG_IsOK(res2
)) {
24849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24851 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24855 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24856 wxPyEndAllowThreads(__tstate
);
24857 if (PyErr_Occurred()) SWIG_fail
;
24860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24868 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24869 PyObject
*resultobj
= 0;
24870 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24874 PyObject
*swig_obj
[1] ;
24876 if (!args
) SWIG_fail
;
24877 swig_obj
[0] = args
;
24878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24879 if (!SWIG_IsOK(res1
)) {
24880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24882 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24885 result
= (bool)(arg1
)->EndDrawingOnTop();
24886 wxPyEndAllowThreads(__tstate
);
24887 if (PyErr_Occurred()) SWIG_fail
;
24890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24898 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24900 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24901 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24902 return SWIG_Py_Void();
24905 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24906 return SWIG_Python_InitShadowInstance(args
);
24909 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24910 PyObject
*resultobj
= 0;
24911 wxWindow
*arg1
= (wxWindow
*) 0 ;
24912 wxWindowDC
*result
= 0 ;
24915 PyObject
* obj0
= 0 ;
24916 char * kwnames
[] = {
24917 (char *) "win", NULL
24920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24922 if (!SWIG_IsOK(res1
)) {
24923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24925 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24927 if (!wxPyCheckForApp()) SWIG_fail
;
24928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24929 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24930 wxPyEndAllowThreads(__tstate
);
24931 if (PyErr_Occurred()) SWIG_fail
;
24933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24940 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24942 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24943 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24944 return SWIG_Py_Void();
24947 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24948 return SWIG_Python_InitShadowInstance(args
);
24951 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24952 PyObject
*resultobj
= 0;
24953 wxWindow
*arg1
= (wxWindow
*) 0 ;
24954 wxClientDC
*result
= 0 ;
24957 PyObject
* obj0
= 0 ;
24958 char * kwnames
[] = {
24959 (char *) "win", NULL
24962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24964 if (!SWIG_IsOK(res1
)) {
24965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24967 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24969 if (!wxPyCheckForApp()) SWIG_fail
;
24970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24971 result
= (wxClientDC
*)new wxClientDC(arg1
);
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24982 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24984 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24985 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24986 return SWIG_Py_Void();
24989 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24990 return SWIG_Python_InitShadowInstance(args
);
24993 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24994 PyObject
*resultobj
= 0;
24995 wxWindow
*arg1
= (wxWindow
*) 0 ;
24996 wxPaintDC
*result
= 0 ;
24999 PyObject
* obj0
= 0 ;
25000 char * kwnames
[] = {
25001 (char *) "win", NULL
25004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
25005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25006 if (!SWIG_IsOK(res1
)) {
25007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25009 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25011 if (!wxPyCheckForApp()) SWIG_fail
;
25012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25013 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
25014 wxPyEndAllowThreads(__tstate
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
25024 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25027 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
25028 return SWIG_Py_Void();
25031 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25032 return SWIG_Python_InitShadowInstance(args
);
25035 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25036 PyObject
*resultobj
= 0;
25037 wxDC
*arg1
= (wxDC
*) 0 ;
25038 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
25039 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25040 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25041 wxBufferedDC
*result
= 0 ;
25049 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
25050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25051 if (!SWIG_IsOK(res1
)) {
25052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25054 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25056 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25057 if (!SWIG_IsOK(res2
)) {
25058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25063 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25066 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25067 if (!SWIG_IsOK(ecode3
)) {
25068 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25070 arg3
= static_cast< int >(val3
);
25073 if (!wxPyCheckForApp()) SWIG_fail
;
25074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25075 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
25076 wxPyEndAllowThreads(__tstate
);
25077 if (PyErr_Occurred()) SWIG_fail
;
25079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25086 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25087 PyObject
*resultobj
= 0;
25088 wxDC
*arg1
= (wxDC
*) 0 ;
25090 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25091 wxBufferedDC
*result
= 0 ;
25098 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
25099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25100 if (!SWIG_IsOK(res1
)) {
25101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25103 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25106 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
25109 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25110 if (!SWIG_IsOK(ecode3
)) {
25111 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25113 arg3
= static_cast< int >(val3
);
25116 if (!wxPyCheckForApp()) SWIG_fail
;
25117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25118 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
25119 wxPyEndAllowThreads(__tstate
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25129 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
25133 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
25135 if ((argc
>= 1) && (argc
<= 3)) {
25139 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
25140 _v
= SWIG_CheckState(res
);
25142 if (!_v
) goto check_1
;
25144 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
25148 if ((argc
>= 2) && (argc
<= 3)) {
25149 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
25153 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
25158 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25159 PyObject
*resultobj
= 0;
25160 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25163 PyObject
*swig_obj
[1] ;
25165 if (!args
) SWIG_fail
;
25166 swig_obj
[0] = args
;
25167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
25168 if (!SWIG_IsOK(res1
)) {
25169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25171 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25176 wxPyEndAllowThreads(__tstate
);
25177 if (PyErr_Occurred()) SWIG_fail
;
25179 resultobj
= SWIG_Py_Void();
25186 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25187 PyObject
*resultobj
= 0;
25188 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25191 PyObject
*swig_obj
[1] ;
25193 if (!args
) SWIG_fail
;
25194 swig_obj
[0] = args
;
25195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25196 if (!SWIG_IsOK(res1
)) {
25197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25199 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25203 wxPyEndAllowThreads(__tstate
);
25204 if (PyErr_Occurred()) SWIG_fail
;
25206 resultobj
= SWIG_Py_Void();
25213 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25215 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25216 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
25217 return SWIG_Py_Void();
25220 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25221 return SWIG_Python_InitShadowInstance(args
);
25224 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25225 PyObject
*resultobj
= 0;
25226 wxWindow
*arg1
= (wxWindow
*) 0 ;
25227 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
25228 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25229 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25230 wxBufferedPaintDC
*result
= 0 ;
25237 PyObject
* obj0
= 0 ;
25238 PyObject
* obj1
= 0 ;
25239 PyObject
* obj2
= 0 ;
25240 char * kwnames
[] = {
25241 (char *) "window",(char *) "buffer",(char *) "style", NULL
25244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25246 if (!SWIG_IsOK(res1
)) {
25247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25249 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25251 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25252 if (!SWIG_IsOK(res2
)) {
25253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25258 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25261 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25262 if (!SWIG_IsOK(ecode3
)) {
25263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
25265 arg3
= static_cast< int >(val3
);
25268 if (!wxPyCheckForApp()) SWIG_fail
;
25269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25270 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
25271 wxPyEndAllowThreads(__tstate
);
25272 if (PyErr_Occurred()) SWIG_fail
;
25274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25281 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25283 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25284 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
25285 return SWIG_Py_Void();
25288 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25289 return SWIG_Python_InitShadowInstance(args
);
25292 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25293 PyObject
*resultobj
= 0;
25294 wxWindow
*arg1
= (wxWindow
*) 0 ;
25295 wxAutoBufferedPaintDC
*result
= 0 ;
25298 PyObject
* obj0
= 0 ;
25299 char * kwnames
[] = {
25300 (char *) "win", NULL
25303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
25304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25305 if (!SWIG_IsOK(res1
)) {
25306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25308 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25311 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
25312 wxPyEndAllowThreads(__tstate
);
25313 if (PyErr_Occurred()) SWIG_fail
;
25315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25322 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25325 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25326 return SWIG_Py_Void();
25329 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25330 return SWIG_Python_InitShadowInstance(args
);
25333 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25334 PyObject
*resultobj
= 0;
25335 wxWindow
*arg1
= (wxWindow
*) 0 ;
25339 PyObject
* obj0
= 0 ;
25340 char * kwnames
[] = {
25341 (char *) "window", NULL
25344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
25345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25346 if (!SWIG_IsOK(res1
)) {
25347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25349 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25352 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25353 wxPyEndAllowThreads(__tstate
);
25354 if (PyErr_Occurred()) SWIG_fail
;
25357 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25365 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25366 PyObject
*resultobj
= 0;
25369 wxMirrorDC
*result
= 0 ;
25374 PyObject
* obj0
= 0 ;
25375 PyObject
* obj1
= 0 ;
25376 char * kwnames
[] = {
25377 (char *) "dc",(char *) "mirror", NULL
25380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25381 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25382 if (!SWIG_IsOK(res1
)) {
25383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25386 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25388 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25389 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25390 if (!SWIG_IsOK(ecode2
)) {
25391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25393 arg2
= static_cast< bool >(val2
);
25395 if (!wxPyCheckForApp()) SWIG_fail
;
25396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25397 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25398 wxPyEndAllowThreads(__tstate
);
25399 if (PyErr_Occurred()) SWIG_fail
;
25401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
25408 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25410 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25411 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
25412 return SWIG_Py_Void();
25415 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25416 return SWIG_Python_InitShadowInstance(args
);
25419 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25420 PyObject
*resultobj
= 0;
25421 wxPrintData
*arg1
= 0 ;
25422 wxPostScriptDC
*result
= 0 ;
25425 PyObject
* obj0
= 0 ;
25426 char * kwnames
[] = {
25427 (char *) "printData", NULL
25430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
25431 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25432 if (!SWIG_IsOK(res1
)) {
25433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25436 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25438 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25440 if (!wxPyCheckForApp()) SWIG_fail
;
25441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25442 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
25443 wxPyEndAllowThreads(__tstate
);
25444 if (PyErr_Occurred()) SWIG_fail
;
25446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
25453 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25454 PyObject
*resultobj
= 0;
25455 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25456 wxPrintData
*result
= 0 ;
25459 PyObject
*swig_obj
[1] ;
25461 if (!args
) SWIG_fail
;
25462 swig_obj
[0] = args
;
25463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25464 if (!SWIG_IsOK(res1
)) {
25465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25467 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25471 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25472 result
= (wxPrintData
*) &_result_ref
;
25474 wxPyEndAllowThreads(__tstate
);
25475 if (PyErr_Occurred()) SWIG_fail
;
25477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25484 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25485 PyObject
*resultobj
= 0;
25486 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25487 wxPrintData
*arg2
= 0 ;
25492 PyObject
* obj0
= 0 ;
25493 PyObject
* obj1
= 0 ;
25494 char * kwnames
[] = {
25495 (char *) "self",(char *) "data", NULL
25498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25500 if (!SWIG_IsOK(res1
)) {
25501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25503 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25504 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25505 if (!SWIG_IsOK(res2
)) {
25506 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25509 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25511 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25514 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25515 wxPyEndAllowThreads(__tstate
);
25516 if (PyErr_Occurred()) SWIG_fail
;
25518 resultobj
= SWIG_Py_Void();
25525 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25526 PyObject
*resultobj
= 0;
25530 PyObject
* obj0
= 0 ;
25531 char * kwnames
[] = {
25532 (char *) "ppi", NULL
25535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
25536 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25537 if (!SWIG_IsOK(ecode1
)) {
25538 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
25540 arg1
= static_cast< int >(val1
);
25542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25543 wxPostScriptDC::SetResolution(arg1
);
25544 wxPyEndAllowThreads(__tstate
);
25545 if (PyErr_Occurred()) SWIG_fail
;
25547 resultobj
= SWIG_Py_Void();
25554 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25555 PyObject
*resultobj
= 0;
25558 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
25560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25561 result
= (int)wxPostScriptDC::GetResolution();
25562 wxPyEndAllowThreads(__tstate
);
25563 if (PyErr_Occurred()) SWIG_fail
;
25565 resultobj
= SWIG_From_int(static_cast< int >(result
));
25572 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25574 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25575 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
25576 return SWIG_Py_Void();
25579 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25580 return SWIG_Python_InitShadowInstance(args
);
25583 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25584 PyObject
*resultobj
= 0;
25585 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25586 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25587 wxMetaFile
*result
= 0 ;
25588 bool temp1
= false ;
25589 PyObject
* obj0
= 0 ;
25590 char * kwnames
[] = {
25591 (char *) "filename", NULL
25594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25597 arg1
= wxString_in_helper(obj0
);
25598 if (arg1
== NULL
) SWIG_fail
;
25603 if (!wxPyCheckForApp()) SWIG_fail
;
25604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25605 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25606 wxPyEndAllowThreads(__tstate
);
25607 if (PyErr_Occurred()) SWIG_fail
;
25609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25624 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25625 PyObject
*resultobj
= 0;
25626 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25629 PyObject
*swig_obj
[1] ;
25631 if (!args
) SWIG_fail
;
25632 swig_obj
[0] = args
;
25633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25634 if (!SWIG_IsOK(res1
)) {
25635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25637 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25642 wxPyEndAllowThreads(__tstate
);
25643 if (PyErr_Occurred()) SWIG_fail
;
25645 resultobj
= SWIG_Py_Void();
25652 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25653 PyObject
*resultobj
= 0;
25654 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25658 PyObject
*swig_obj
[1] ;
25660 if (!args
) SWIG_fail
;
25661 swig_obj
[0] = args
;
25662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25663 if (!SWIG_IsOK(res1
)) {
25664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25666 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25669 result
= (bool)(arg1
)->IsOk();
25670 wxPyEndAllowThreads(__tstate
);
25671 if (PyErr_Occurred()) SWIG_fail
;
25674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25682 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25683 PyObject
*resultobj
= 0;
25684 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25685 int arg2
= (int) 0 ;
25686 int arg3
= (int) 0 ;
25694 PyObject
* obj0
= 0 ;
25695 PyObject
* obj1
= 0 ;
25696 PyObject
* obj2
= 0 ;
25697 char * kwnames
[] = {
25698 (char *) "self",(char *) "width",(char *) "height", NULL
25701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25703 if (!SWIG_IsOK(res1
)) {
25704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25706 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25709 if (!SWIG_IsOK(ecode2
)) {
25710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25712 arg2
= static_cast< int >(val2
);
25715 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25716 if (!SWIG_IsOK(ecode3
)) {
25717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25719 arg3
= static_cast< int >(val3
);
25722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25723 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25724 wxPyEndAllowThreads(__tstate
);
25725 if (PyErr_Occurred()) SWIG_fail
;
25728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25736 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25737 PyObject
*resultobj
= 0;
25738 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25742 PyObject
*swig_obj
[1] ;
25744 if (!args
) SWIG_fail
;
25745 swig_obj
[0] = args
;
25746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25747 if (!SWIG_IsOK(res1
)) {
25748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25750 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25753 result
= (arg1
)->GetSize();
25754 wxPyEndAllowThreads(__tstate
);
25755 if (PyErr_Occurred()) SWIG_fail
;
25757 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25764 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25765 PyObject
*resultobj
= 0;
25766 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25770 PyObject
*swig_obj
[1] ;
25772 if (!args
) SWIG_fail
;
25773 swig_obj
[0] = args
;
25774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25775 if (!SWIG_IsOK(res1
)) {
25776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25778 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25781 result
= (int)(arg1
)->GetWidth();
25782 wxPyEndAllowThreads(__tstate
);
25783 if (PyErr_Occurred()) SWIG_fail
;
25785 resultobj
= SWIG_From_int(static_cast< int >(result
));
25792 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25793 PyObject
*resultobj
= 0;
25794 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25798 PyObject
*swig_obj
[1] ;
25800 if (!args
) SWIG_fail
;
25801 swig_obj
[0] = args
;
25802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25803 if (!SWIG_IsOK(res1
)) {
25804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25806 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25809 result
= (int)(arg1
)->GetHeight();
25810 wxPyEndAllowThreads(__tstate
);
25811 if (PyErr_Occurred()) SWIG_fail
;
25813 resultobj
= SWIG_From_int(static_cast< int >(result
));
25820 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25821 PyObject
*resultobj
= 0;
25822 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25823 wxString
*result
= 0 ;
25826 PyObject
*swig_obj
[1] ;
25828 if (!args
) SWIG_fail
;
25829 swig_obj
[0] = args
;
25830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25831 if (!SWIG_IsOK(res1
)) {
25832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
25834 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25838 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
25839 result
= (wxString
*) &_result_ref
;
25841 wxPyEndAllowThreads(__tstate
);
25842 if (PyErr_Occurred()) SWIG_fail
;
25846 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25848 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25857 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25859 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25860 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25861 return SWIG_Py_Void();
25864 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25865 return SWIG_Python_InitShadowInstance(args
);
25868 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25869 PyObject
*resultobj
= 0;
25870 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25871 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25872 int arg2
= (int) 0 ;
25873 int arg3
= (int) 0 ;
25874 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25875 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25876 wxMetaFileDC
*result
= 0 ;
25877 bool temp1
= false ;
25882 bool temp4
= false ;
25883 PyObject
* obj0
= 0 ;
25884 PyObject
* obj1
= 0 ;
25885 PyObject
* obj2
= 0 ;
25886 PyObject
* obj3
= 0 ;
25887 char * kwnames
[] = {
25888 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25894 arg1
= wxString_in_helper(obj0
);
25895 if (arg1
== NULL
) SWIG_fail
;
25900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25901 if (!SWIG_IsOK(ecode2
)) {
25902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25904 arg2
= static_cast< int >(val2
);
25907 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25908 if (!SWIG_IsOK(ecode3
)) {
25909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25911 arg3
= static_cast< int >(val3
);
25915 arg4
= wxString_in_helper(obj3
);
25916 if (arg4
== NULL
) SWIG_fail
;
25921 if (!wxPyCheckForApp()) SWIG_fail
;
25922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25923 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25924 wxPyEndAllowThreads(__tstate
);
25925 if (PyErr_Occurred()) SWIG_fail
;
25927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25950 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25951 PyObject
*resultobj
= 0;
25952 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25953 wxMetaFile
*result
= 0 ;
25956 PyObject
*swig_obj
[1] ;
25958 if (!args
) SWIG_fail
;
25959 swig_obj
[0] = args
;
25960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25961 if (!SWIG_IsOK(res1
)) {
25962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25964 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25967 result
= (wxMetaFile
*)(arg1
)->Close();
25968 wxPyEndAllowThreads(__tstate
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25978 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25980 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25981 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25982 return SWIG_Py_Void();
25985 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25986 return SWIG_Python_InitShadowInstance(args
);
25989 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25990 PyObject
*resultobj
= 0;
25991 wxPrintData
*arg1
= 0 ;
25992 wxPrinterDC
*result
= 0 ;
25995 PyObject
* obj0
= 0 ;
25996 char * kwnames
[] = {
25997 (char *) "printData", NULL
26000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
26001 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26002 if (!SWIG_IsOK(res1
)) {
26003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26008 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26010 if (!wxPyCheckForApp()) SWIG_fail
;
26011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26012 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
26013 wxPyEndAllowThreads(__tstate
);
26014 if (PyErr_Occurred()) SWIG_fail
;
26016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
26023 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26025 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26026 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
26027 return SWIG_Py_Void();
26030 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26031 return SWIG_Python_InitShadowInstance(args
);
26034 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26035 PyObject
*resultobj
= 0;
26036 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
26037 wxGraphicsObject
*result
= 0 ;
26040 PyObject
* obj0
= 0 ;
26041 char * kwnames
[] = {
26042 (char *) "renderer", NULL
26045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
26047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26048 if (!SWIG_IsOK(res1
)) {
26049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
26051 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
26054 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
26055 if (PyErr_Occurred()) SWIG_fail
;
26057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
26064 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26065 PyObject
*resultobj
= 0;
26066 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26069 PyObject
*swig_obj
[1] ;
26071 if (!args
) SWIG_fail
;
26072 swig_obj
[0] = args
;
26073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
26074 if (!SWIG_IsOK(res1
)) {
26075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
26077 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26081 if (PyErr_Occurred()) SWIG_fail
;
26083 resultobj
= SWIG_Py_Void();
26090 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26091 PyObject
*resultobj
= 0;
26092 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26096 PyObject
*swig_obj
[1] ;
26098 if (!args
) SWIG_fail
;
26099 swig_obj
[0] = args
;
26100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26101 if (!SWIG_IsOK(res1
)) {
26102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26104 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26106 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
26107 if (PyErr_Occurred()) SWIG_fail
;
26110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26118 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26119 PyObject
*resultobj
= 0;
26120 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26121 wxGraphicsRenderer
*result
= 0 ;
26124 PyObject
*swig_obj
[1] ;
26126 if (!args
) SWIG_fail
;
26127 swig_obj
[0] = args
;
26128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26129 if (!SWIG_IsOK(res1
)) {
26130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26132 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26134 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
26135 if (PyErr_Occurred()) SWIG_fail
;
26137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26144 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26146 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26147 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
26148 return SWIG_Py_Void();
26151 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26152 return SWIG_Python_InitShadowInstance(args
);
26155 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26156 PyObject
*resultobj
= 0;
26157 wxGraphicsPen
*result
= 0 ;
26159 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
26161 result
= (wxGraphicsPen
*)new wxGraphicsPen();
26162 if (PyErr_Occurred()) SWIG_fail
;
26164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
26171 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26172 PyObject
*resultobj
= 0;
26173 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
26176 PyObject
*swig_obj
[1] ;
26178 if (!args
) SWIG_fail
;
26179 swig_obj
[0] = args
;
26180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
26181 if (!SWIG_IsOK(res1
)) {
26182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
26184 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
26188 if (PyErr_Occurred()) SWIG_fail
;
26190 resultobj
= SWIG_Py_Void();
26197 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26199 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26200 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
26201 return SWIG_Py_Void();
26204 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26205 return SWIG_Python_InitShadowInstance(args
);
26208 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26209 PyObject
*resultobj
= 0;
26210 wxGraphicsBrush
*result
= 0 ;
26212 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
26214 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
26215 if (PyErr_Occurred()) SWIG_fail
;
26217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
26224 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26225 PyObject
*resultobj
= 0;
26226 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
26229 PyObject
*swig_obj
[1] ;
26231 if (!args
) SWIG_fail
;
26232 swig_obj
[0] = args
;
26233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
26234 if (!SWIG_IsOK(res1
)) {
26235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
26237 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
26241 if (PyErr_Occurred()) SWIG_fail
;
26243 resultobj
= SWIG_Py_Void();
26250 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26252 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26253 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
26254 return SWIG_Py_Void();
26257 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26258 return SWIG_Python_InitShadowInstance(args
);
26261 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26262 PyObject
*resultobj
= 0;
26263 wxGraphicsFont
*result
= 0 ;
26265 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
26267 result
= (wxGraphicsFont
*)new wxGraphicsFont();
26268 if (PyErr_Occurred()) SWIG_fail
;
26270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
26277 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26278 PyObject
*resultobj
= 0;
26279 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
26282 PyObject
*swig_obj
[1] ;
26284 if (!args
) SWIG_fail
;
26285 swig_obj
[0] = args
;
26286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
26287 if (!SWIG_IsOK(res1
)) {
26288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
26290 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
26294 if (PyErr_Occurred()) SWIG_fail
;
26296 resultobj
= SWIG_Py_Void();
26303 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26305 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26306 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
26307 return SWIG_Py_Void();
26310 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26311 return SWIG_Python_InitShadowInstance(args
);
26314 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26315 PyObject
*resultobj
= 0;
26316 wxGraphicsMatrix
*result
= 0 ;
26318 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
26320 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
26321 if (PyErr_Occurred()) SWIG_fail
;
26323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
26330 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26331 PyObject
*resultobj
= 0;
26332 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26335 PyObject
*swig_obj
[1] ;
26337 if (!args
) SWIG_fail
;
26338 swig_obj
[0] = args
;
26339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
26340 if (!SWIG_IsOK(res1
)) {
26341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26343 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26347 if (PyErr_Occurred()) SWIG_fail
;
26349 resultobj
= SWIG_Py_Void();
26356 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26357 PyObject
*resultobj
= 0;
26358 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26359 wxGraphicsMatrix
*arg2
= 0 ;
26364 PyObject
* obj0
= 0 ;
26365 PyObject
* obj1
= 0 ;
26366 char * kwnames
[] = {
26367 (char *) "self",(char *) "t", NULL
26370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26372 if (!SWIG_IsOK(res1
)) {
26373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26375 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26376 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26377 if (!SWIG_IsOK(res2
)) {
26378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26383 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26385 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
26386 if (PyErr_Occurred()) SWIG_fail
;
26388 resultobj
= SWIG_Py_Void();
26395 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26396 PyObject
*resultobj
= 0;
26397 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26398 wxGraphicsMatrix
*arg2
= 0 ;
26403 PyObject
* obj0
= 0 ;
26404 PyObject
* obj1
= 0 ;
26405 char * kwnames
[] = {
26406 (char *) "self",(char *) "t", NULL
26409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Copy",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26411 if (!SWIG_IsOK(res1
)) {
26412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26414 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26415 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26416 if (!SWIG_IsOK(res2
)) {
26417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26422 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26424 wxGraphicsMatrix_Copy(arg1
,(wxGraphicsMatrix
const &)*arg2
);
26425 if (PyErr_Occurred()) SWIG_fail
;
26427 resultobj
= SWIG_Py_Void();
26434 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26435 PyObject
*resultobj
= 0;
26436 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26437 wxDouble arg2
= (wxDouble
) 1.0 ;
26438 wxDouble arg3
= (wxDouble
) 0.0 ;
26439 wxDouble arg4
= (wxDouble
) 0.0 ;
26440 wxDouble arg5
= (wxDouble
) 1.0 ;
26441 wxDouble arg6
= (wxDouble
) 0.0 ;
26442 wxDouble arg7
= (wxDouble
) 0.0 ;
26457 PyObject
* obj0
= 0 ;
26458 PyObject
* obj1
= 0 ;
26459 PyObject
* obj2
= 0 ;
26460 PyObject
* obj3
= 0 ;
26461 PyObject
* obj4
= 0 ;
26462 PyObject
* obj5
= 0 ;
26463 PyObject
* obj6
= 0 ;
26464 char * kwnames
[] = {
26465 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
26468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26470 if (!SWIG_IsOK(res1
)) {
26471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26473 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26475 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26476 if (!SWIG_IsOK(ecode2
)) {
26477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
26479 arg2
= static_cast< wxDouble
>(val2
);
26482 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26483 if (!SWIG_IsOK(ecode3
)) {
26484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
26486 arg3
= static_cast< wxDouble
>(val3
);
26489 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26490 if (!SWIG_IsOK(ecode4
)) {
26491 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
26493 arg4
= static_cast< wxDouble
>(val4
);
26496 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26497 if (!SWIG_IsOK(ecode5
)) {
26498 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
26500 arg5
= static_cast< wxDouble
>(val5
);
26503 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26504 if (!SWIG_IsOK(ecode6
)) {
26505 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
26507 arg6
= static_cast< wxDouble
>(val6
);
26510 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
26511 if (!SWIG_IsOK(ecode7
)) {
26512 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
26514 arg7
= static_cast< wxDouble
>(val7
);
26517 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26518 if (PyErr_Occurred()) SWIG_fail
;
26520 resultobj
= SWIG_Py_Void();
26527 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26528 PyObject
*resultobj
= 0;
26529 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26532 PyObject
*swig_obj
[1] ;
26534 if (!args
) SWIG_fail
;
26535 swig_obj
[0] = args
;
26536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26537 if (!SWIG_IsOK(res1
)) {
26538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26540 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26543 if (PyErr_Occurred()) SWIG_fail
;
26545 resultobj
= SWIG_Py_Void();
26552 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26553 PyObject
*resultobj
= 0;
26554 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26555 wxGraphicsMatrix
*arg2
= 0 ;
26561 PyObject
* obj0
= 0 ;
26562 PyObject
* obj1
= 0 ;
26563 char * kwnames
[] = {
26564 (char *) "self",(char *) "t", NULL
26567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26569 if (!SWIG_IsOK(res1
)) {
26570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26572 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26573 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26574 if (!SWIG_IsOK(res2
)) {
26575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26580 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26582 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
26583 if (PyErr_Occurred()) SWIG_fail
;
26586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26594 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26595 PyObject
*resultobj
= 0;
26596 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26600 PyObject
*swig_obj
[1] ;
26602 if (!args
) SWIG_fail
;
26603 swig_obj
[0] = args
;
26604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26605 if (!SWIG_IsOK(res1
)) {
26606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26608 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26610 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26611 if (PyErr_Occurred()) SWIG_fail
;
26614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26622 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26623 PyObject
*resultobj
= 0;
26624 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26633 PyObject
* obj0
= 0 ;
26634 PyObject
* obj1
= 0 ;
26635 PyObject
* obj2
= 0 ;
26636 char * kwnames
[] = {
26637 (char *) "self",(char *) "dx",(char *) "dy", NULL
26640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26642 if (!SWIG_IsOK(res1
)) {
26643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26645 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26646 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26647 if (!SWIG_IsOK(ecode2
)) {
26648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26650 arg2
= static_cast< wxDouble
>(val2
);
26651 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26652 if (!SWIG_IsOK(ecode3
)) {
26653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26655 arg3
= static_cast< wxDouble
>(val3
);
26657 (arg1
)->Translate(arg2
,arg3
);
26658 if (PyErr_Occurred()) SWIG_fail
;
26660 resultobj
= SWIG_Py_Void();
26667 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26668 PyObject
*resultobj
= 0;
26669 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26678 PyObject
* obj0
= 0 ;
26679 PyObject
* obj1
= 0 ;
26680 PyObject
* obj2
= 0 ;
26681 char * kwnames
[] = {
26682 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26687 if (!SWIG_IsOK(res1
)) {
26688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26690 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26691 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26692 if (!SWIG_IsOK(ecode2
)) {
26693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26695 arg2
= static_cast< wxDouble
>(val2
);
26696 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26697 if (!SWIG_IsOK(ecode3
)) {
26698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26700 arg3
= static_cast< wxDouble
>(val3
);
26702 (arg1
)->Scale(arg2
,arg3
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26705 resultobj
= SWIG_Py_Void();
26712 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26713 PyObject
*resultobj
= 0;
26714 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26720 PyObject
* obj0
= 0 ;
26721 PyObject
* obj1
= 0 ;
26722 char * kwnames
[] = {
26723 (char *) "self",(char *) "angle", NULL
26726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26728 if (!SWIG_IsOK(res1
)) {
26729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26731 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26732 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26733 if (!SWIG_IsOK(ecode2
)) {
26734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26736 arg2
= static_cast< wxDouble
>(val2
);
26738 (arg1
)->Rotate(arg2
);
26739 if (PyErr_Occurred()) SWIG_fail
;
26741 resultobj
= SWIG_Py_Void();
26748 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26749 PyObject
*resultobj
= 0;
26750 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26751 wxDouble
*arg2
= (wxDouble
*) 0 ;
26752 wxDouble
*arg3
= (wxDouble
*) 0 ;
26759 PyObject
* obj0
= 0 ;
26760 PyObject
* obj1
= 0 ;
26761 PyObject
* obj2
= 0 ;
26762 char * kwnames
[] = {
26763 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26768 if (!SWIG_IsOK(res1
)) {
26769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26771 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26772 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26774 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26775 if (!SWIG_IsOK(ecode
)) {
26776 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26778 temp2
= static_cast< wxDouble
>(val
);
26780 res2
= SWIG_AddTmpMask(ecode
);
26782 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26784 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26785 if (!SWIG_IsOK(ecode
)) {
26786 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26788 temp3
= static_cast< wxDouble
>(val
);
26790 res3
= SWIG_AddTmpMask(ecode
);
26793 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26794 if (PyErr_Occurred()) SWIG_fail
;
26796 resultobj
= SWIG_Py_Void();
26797 if (SWIG_IsTmpObj(res2
)) {
26798 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26800 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26801 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26803 if (SWIG_IsTmpObj(res3
)) {
26804 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26806 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26807 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26815 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26816 PyObject
*resultobj
= 0;
26817 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26818 wxDouble
*arg2
= (wxDouble
*) 0 ;
26819 wxDouble
*arg3
= (wxDouble
*) 0 ;
26826 PyObject
* obj0
= 0 ;
26827 PyObject
* obj1
= 0 ;
26828 PyObject
* obj2
= 0 ;
26829 char * kwnames
[] = {
26830 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26835 if (!SWIG_IsOK(res1
)) {
26836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26838 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26839 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26841 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26842 if (!SWIG_IsOK(ecode
)) {
26843 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26845 temp2
= static_cast< wxDouble
>(val
);
26847 res2
= SWIG_AddTmpMask(ecode
);
26849 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26851 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26852 if (!SWIG_IsOK(ecode
)) {
26853 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26855 temp3
= static_cast< wxDouble
>(val
);
26857 res3
= SWIG_AddTmpMask(ecode
);
26860 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26861 if (PyErr_Occurred()) SWIG_fail
;
26863 resultobj
= SWIG_Py_Void();
26864 if (SWIG_IsTmpObj(res2
)) {
26865 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26867 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26868 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26870 if (SWIG_IsTmpObj(res3
)) {
26871 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26873 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26874 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26882 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26883 PyObject
*resultobj
= 0;
26884 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26888 PyObject
*swig_obj
[1] ;
26890 if (!args
) SWIG_fail
;
26891 swig_obj
[0] = args
;
26892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26893 if (!SWIG_IsOK(res1
)) {
26894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26896 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26898 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26899 if (PyErr_Occurred()) SWIG_fail
;
26901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26908 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26910 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26911 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26912 return SWIG_Py_Void();
26915 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26916 return SWIG_Python_InitShadowInstance(args
);
26919 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26920 PyObject
*resultobj
= 0;
26921 wxGraphicsPath
*result
= 0 ;
26923 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26925 if (!wxPyCheckForApp()) SWIG_fail
;
26926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26927 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26928 wxPyEndAllowThreads(__tstate
);
26929 if (PyErr_Occurred()) SWIG_fail
;
26931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26938 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26939 PyObject
*resultobj
= 0;
26940 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26943 PyObject
*swig_obj
[1] ;
26945 if (!args
) SWIG_fail
;
26946 swig_obj
[0] = args
;
26947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26948 if (!SWIG_IsOK(res1
)) {
26949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26951 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26955 if (PyErr_Occurred()) SWIG_fail
;
26957 resultobj
= SWIG_Py_Void();
26964 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26965 PyObject
*resultobj
= 0;
26966 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26976 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26978 if (!SWIG_IsOK(res1
)) {
26979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26981 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26982 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26983 if (!SWIG_IsOK(ecode2
)) {
26984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26986 arg2
= static_cast< wxDouble
>(val2
);
26987 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26988 if (!SWIG_IsOK(ecode3
)) {
26989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26991 arg3
= static_cast< wxDouble
>(val3
);
26993 (arg1
)->MoveToPoint(arg2
,arg3
);
26994 if (PyErr_Occurred()) SWIG_fail
;
26996 resultobj
= SWIG_Py_Void();
27003 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27004 PyObject
*resultobj
= 0;
27005 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27006 wxPoint2D
*arg2
= 0 ;
27011 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27013 if (!SWIG_IsOK(res1
)) {
27014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27016 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27019 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27022 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
27023 if (PyErr_Occurred()) SWIG_fail
;
27025 resultobj
= SWIG_Py_Void();
27032 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
27036 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
27039 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
27042 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
27046 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
27051 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27052 PyObject
*resultobj
= 0;
27053 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27063 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27065 if (!SWIG_IsOK(res1
)) {
27066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27068 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27069 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27070 if (!SWIG_IsOK(ecode2
)) {
27071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27073 arg2
= static_cast< wxDouble
>(val2
);
27074 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27075 if (!SWIG_IsOK(ecode3
)) {
27076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27078 arg3
= static_cast< wxDouble
>(val3
);
27080 (arg1
)->AddLineToPoint(arg2
,arg3
);
27081 if (PyErr_Occurred()) SWIG_fail
;
27083 resultobj
= SWIG_Py_Void();
27090 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27091 PyObject
*resultobj
= 0;
27092 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27093 wxPoint2D
*arg2
= 0 ;
27098 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27100 if (!SWIG_IsOK(res1
)) {
27101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27103 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27106 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27109 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27112 resultobj
= SWIG_Py_Void();
27119 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
27123 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
27126 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
27129 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
27133 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
27138 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27139 PyObject
*resultobj
= 0;
27140 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27162 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27164 if (!SWIG_IsOK(res1
)) {
27165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27167 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27168 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27169 if (!SWIG_IsOK(ecode2
)) {
27170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27172 arg2
= static_cast< wxDouble
>(val2
);
27173 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27174 if (!SWIG_IsOK(ecode3
)) {
27175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27177 arg3
= static_cast< wxDouble
>(val3
);
27178 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27179 if (!SWIG_IsOK(ecode4
)) {
27180 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27182 arg4
= static_cast< wxDouble
>(val4
);
27183 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27184 if (!SWIG_IsOK(ecode5
)) {
27185 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27187 arg5
= static_cast< wxDouble
>(val5
);
27188 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27189 if (!SWIG_IsOK(ecode6
)) {
27190 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27192 arg6
= static_cast< wxDouble
>(val6
);
27193 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
27194 if (!SWIG_IsOK(ecode7
)) {
27195 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
27197 arg7
= static_cast< wxDouble
>(val7
);
27199 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27200 if (PyErr_Occurred()) SWIG_fail
;
27202 resultobj
= SWIG_Py_Void();
27209 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27210 PyObject
*resultobj
= 0;
27211 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27212 wxPoint2D
*arg2
= 0 ;
27213 wxPoint2D
*arg3
= 0 ;
27214 wxPoint2D
*arg4
= 0 ;
27221 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
27222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27223 if (!SWIG_IsOK(res1
)) {
27224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27226 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27229 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27233 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
27237 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
27240 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
27241 if (PyErr_Occurred()) SWIG_fail
;
27243 resultobj
= SWIG_Py_Void();
27250 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
27254 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
27257 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
27260 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
27264 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
27269 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27270 PyObject
*resultobj
= 0;
27271 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27272 wxGraphicsPath
*arg2
= 0 ;
27277 PyObject
* obj0
= 0 ;
27278 PyObject
* obj1
= 0 ;
27279 char * kwnames
[] = {
27280 (char *) "self",(char *) "path", NULL
27283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27285 if (!SWIG_IsOK(res1
)) {
27286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27288 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27289 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
27290 if (!SWIG_IsOK(res2
)) {
27291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27296 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
27298 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
27299 if (PyErr_Occurred()) SWIG_fail
;
27301 resultobj
= SWIG_Py_Void();
27308 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27309 PyObject
*resultobj
= 0;
27310 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27313 PyObject
*swig_obj
[1] ;
27315 if (!args
) SWIG_fail
;
27316 swig_obj
[0] = args
;
27317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27318 if (!SWIG_IsOK(res1
)) {
27319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27321 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27323 (arg1
)->CloseSubpath();
27324 if (PyErr_Occurred()) SWIG_fail
;
27326 resultobj
= SWIG_Py_Void();
27333 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27334 PyObject
*resultobj
= 0;
27335 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_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27347 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27349 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
27350 if (PyErr_Occurred()) SWIG_fail
;
27352 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
27359 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27360 PyObject
*resultobj
= 0;
27361 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27383 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27385 if (!SWIG_IsOK(res1
)) {
27386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27388 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27389 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27390 if (!SWIG_IsOK(ecode2
)) {
27391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
27393 arg2
= static_cast< wxDouble
>(val2
);
27394 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27395 if (!SWIG_IsOK(ecode3
)) {
27396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27398 arg3
= static_cast< wxDouble
>(val3
);
27399 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27400 if (!SWIG_IsOK(ecode4
)) {
27401 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27403 arg4
= static_cast< wxDouble
>(val4
);
27404 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27405 if (!SWIG_IsOK(ecode5
)) {
27406 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27408 arg5
= static_cast< wxDouble
>(val5
);
27409 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27410 if (!SWIG_IsOK(ecode6
)) {
27411 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
27413 arg6
= static_cast< wxDouble
>(val6
);
27414 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
27415 if (!SWIG_IsOK(ecode7
)) {
27416 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
27418 arg7
= static_cast< bool >(val7
);
27420 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27423 resultobj
= SWIG_Py_Void();
27430 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27431 PyObject
*resultobj
= 0;
27432 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27433 wxPoint2D
*arg2
= 0 ;
27450 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
27451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27452 if (!SWIG_IsOK(res1
)) {
27453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27455 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27458 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27460 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27461 if (!SWIG_IsOK(ecode3
)) {
27462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27464 arg3
= static_cast< wxDouble
>(val3
);
27465 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27466 if (!SWIG_IsOK(ecode4
)) {
27467 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27469 arg4
= static_cast< wxDouble
>(val4
);
27470 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27471 if (!SWIG_IsOK(ecode5
)) {
27472 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27474 arg5
= static_cast< wxDouble
>(val5
);
27475 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
27476 if (!SWIG_IsOK(ecode6
)) {
27477 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
27479 arg6
= static_cast< bool >(val6
);
27481 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27482 if (PyErr_Occurred()) SWIG_fail
;
27484 resultobj
= SWIG_Py_Void();
27491 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
27495 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
27498 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
27501 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
27505 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
27510 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27511 PyObject
*resultobj
= 0;
27512 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27527 PyObject
* obj0
= 0 ;
27528 PyObject
* obj1
= 0 ;
27529 PyObject
* obj2
= 0 ;
27530 PyObject
* obj3
= 0 ;
27531 PyObject
* obj4
= 0 ;
27532 char * kwnames
[] = {
27533 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
27536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27538 if (!SWIG_IsOK(res1
)) {
27539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27541 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27542 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27543 if (!SWIG_IsOK(ecode2
)) {
27544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27546 arg2
= static_cast< wxDouble
>(val2
);
27547 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27548 if (!SWIG_IsOK(ecode3
)) {
27549 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27551 arg3
= static_cast< wxDouble
>(val3
);
27552 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27553 if (!SWIG_IsOK(ecode4
)) {
27554 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27556 arg4
= static_cast< wxDouble
>(val4
);
27557 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27558 if (!SWIG_IsOK(ecode5
)) {
27559 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27561 arg5
= static_cast< wxDouble
>(val5
);
27563 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
27564 if (PyErr_Occurred()) SWIG_fail
;
27566 resultobj
= SWIG_Py_Void();
27573 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27574 PyObject
*resultobj
= 0;
27575 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27590 PyObject
* obj0
= 0 ;
27591 PyObject
* obj1
= 0 ;
27592 PyObject
* obj2
= 0 ;
27593 PyObject
* obj3
= 0 ;
27594 PyObject
* obj4
= 0 ;
27595 char * kwnames
[] = {
27596 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27601 if (!SWIG_IsOK(res1
)) {
27602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27604 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27605 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27606 if (!SWIG_IsOK(ecode2
)) {
27607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27609 arg2
= static_cast< wxDouble
>(val2
);
27610 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27611 if (!SWIG_IsOK(ecode3
)) {
27612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27614 arg3
= static_cast< wxDouble
>(val3
);
27615 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27616 if (!SWIG_IsOK(ecode4
)) {
27617 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27619 arg4
= static_cast< wxDouble
>(val4
);
27620 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27621 if (!SWIG_IsOK(ecode5
)) {
27622 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27624 arg5
= static_cast< wxDouble
>(val5
);
27626 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27627 if (PyErr_Occurred()) SWIG_fail
;
27629 resultobj
= SWIG_Py_Void();
27636 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27637 PyObject
*resultobj
= 0;
27638 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27650 PyObject
* obj0
= 0 ;
27651 PyObject
* obj1
= 0 ;
27652 PyObject
* obj2
= 0 ;
27653 PyObject
* obj3
= 0 ;
27654 char * kwnames
[] = {
27655 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27660 if (!SWIG_IsOK(res1
)) {
27661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27663 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27664 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27665 if (!SWIG_IsOK(ecode2
)) {
27666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27668 arg2
= static_cast< wxDouble
>(val2
);
27669 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27670 if (!SWIG_IsOK(ecode3
)) {
27671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27673 arg3
= static_cast< wxDouble
>(val3
);
27674 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27675 if (!SWIG_IsOK(ecode4
)) {
27676 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27678 arg4
= static_cast< wxDouble
>(val4
);
27680 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27681 if (PyErr_Occurred()) SWIG_fail
;
27683 resultobj
= SWIG_Py_Void();
27690 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27691 PyObject
*resultobj
= 0;
27692 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27710 PyObject
* obj0
= 0 ;
27711 PyObject
* obj1
= 0 ;
27712 PyObject
* obj2
= 0 ;
27713 PyObject
* obj3
= 0 ;
27714 PyObject
* obj4
= 0 ;
27715 PyObject
* obj5
= 0 ;
27716 char * kwnames
[] = {
27717 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27722 if (!SWIG_IsOK(res1
)) {
27723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27725 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27726 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27727 if (!SWIG_IsOK(ecode2
)) {
27728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27730 arg2
= static_cast< wxDouble
>(val2
);
27731 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27732 if (!SWIG_IsOK(ecode3
)) {
27733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27735 arg3
= static_cast< wxDouble
>(val3
);
27736 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27737 if (!SWIG_IsOK(ecode4
)) {
27738 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27740 arg4
= static_cast< wxDouble
>(val4
);
27741 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27742 if (!SWIG_IsOK(ecode5
)) {
27743 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27745 arg5
= static_cast< wxDouble
>(val5
);
27746 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27747 if (!SWIG_IsOK(ecode6
)) {
27748 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27750 arg6
= static_cast< wxDouble
>(val6
);
27752 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27753 if (PyErr_Occurred()) SWIG_fail
;
27755 resultobj
= SWIG_Py_Void();
27762 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27763 PyObject
*resultobj
= 0;
27764 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27779 PyObject
* obj0
= 0 ;
27780 PyObject
* obj1
= 0 ;
27781 PyObject
* obj2
= 0 ;
27782 PyObject
* obj3
= 0 ;
27783 PyObject
* obj4
= 0 ;
27784 char * kwnames
[] = {
27785 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27790 if (!SWIG_IsOK(res1
)) {
27791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27793 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27794 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27795 if (!SWIG_IsOK(ecode2
)) {
27796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27798 arg2
= static_cast< wxDouble
>(val2
);
27799 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27800 if (!SWIG_IsOK(ecode3
)) {
27801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27803 arg3
= static_cast< wxDouble
>(val3
);
27804 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27805 if (!SWIG_IsOK(ecode4
)) {
27806 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27808 arg4
= static_cast< wxDouble
>(val4
);
27809 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27810 if (!SWIG_IsOK(ecode5
)) {
27811 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27813 arg5
= static_cast< wxDouble
>(val5
);
27815 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27816 if (PyErr_Occurred()) SWIG_fail
;
27818 resultobj
= SWIG_Py_Void();
27825 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27826 PyObject
*resultobj
= 0;
27827 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27845 PyObject
* obj0
= 0 ;
27846 PyObject
* obj1
= 0 ;
27847 PyObject
* obj2
= 0 ;
27848 PyObject
* obj3
= 0 ;
27849 PyObject
* obj4
= 0 ;
27850 PyObject
* obj5
= 0 ;
27851 char * kwnames
[] = {
27852 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27857 if (!SWIG_IsOK(res1
)) {
27858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27860 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27861 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27862 if (!SWIG_IsOK(ecode2
)) {
27863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27865 arg2
= static_cast< wxDouble
>(val2
);
27866 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27867 if (!SWIG_IsOK(ecode3
)) {
27868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27870 arg3
= static_cast< wxDouble
>(val3
);
27871 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27872 if (!SWIG_IsOK(ecode4
)) {
27873 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27875 arg4
= static_cast< wxDouble
>(val4
);
27876 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27877 if (!SWIG_IsOK(ecode5
)) {
27878 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27880 arg5
= static_cast< wxDouble
>(val5
);
27881 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27882 if (!SWIG_IsOK(ecode6
)) {
27883 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27885 arg6
= static_cast< wxDouble
>(val6
);
27887 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27888 if (PyErr_Occurred()) SWIG_fail
;
27890 resultobj
= SWIG_Py_Void();
27897 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27898 PyObject
*resultobj
= 0;
27899 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27903 PyObject
*swig_obj
[1] ;
27905 if (!args
) SWIG_fail
;
27906 swig_obj
[0] = args
;
27907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27908 if (!SWIG_IsOK(res1
)) {
27909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27911 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27913 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27914 if (PyErr_Occurred()) SWIG_fail
;
27916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27923 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27924 PyObject
*resultobj
= 0;
27925 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27926 void *arg2
= (void *) 0 ;
27930 PyObject
* obj0
= 0 ;
27931 PyObject
* obj1
= 0 ;
27932 char * kwnames
[] = {
27933 (char *) "self",(char *) "p", NULL
27936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27938 if (!SWIG_IsOK(res1
)) {
27939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27941 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27942 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27943 if (!SWIG_IsOK(res2
)) {
27944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27947 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27948 if (PyErr_Occurred()) SWIG_fail
;
27950 resultobj
= SWIG_Py_Void();
27957 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27958 PyObject
*resultobj
= 0;
27959 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27960 wxGraphicsMatrix
*arg2
= 0 ;
27965 PyObject
* obj0
= 0 ;
27966 PyObject
* obj1
= 0 ;
27967 char * kwnames
[] = {
27968 (char *) "self",(char *) "matrix", NULL
27971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27973 if (!SWIG_IsOK(res1
)) {
27974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27976 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27977 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27978 if (!SWIG_IsOK(res2
)) {
27979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27984 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27986 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27987 if (PyErr_Occurred()) SWIG_fail
;
27989 resultobj
= SWIG_Py_Void();
27996 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27997 PyObject
*resultobj
= 0;
27998 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27999 wxRect2DDouble result
;
28002 PyObject
*swig_obj
[1] ;
28004 if (!args
) SWIG_fail
;
28005 swig_obj
[0] = args
;
28006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28007 if (!SWIG_IsOK(res1
)) {
28008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28010 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28012 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
28013 if (PyErr_Occurred()) SWIG_fail
;
28015 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
28022 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28023 PyObject
*resultobj
= 0;
28024 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28027 int arg4
= (int) wxODDEVEN_RULE
;
28038 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
28039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28040 if (!SWIG_IsOK(res1
)) {
28041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28043 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28044 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
28045 if (!SWIG_IsOK(ecode2
)) {
28046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
28048 arg2
= static_cast< wxDouble
>(val2
);
28049 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
28050 if (!SWIG_IsOK(ecode3
)) {
28051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
28053 arg3
= static_cast< wxDouble
>(val3
);
28055 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
28056 if (!SWIG_IsOK(ecode4
)) {
28057 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
28059 arg4
= static_cast< int >(val4
);
28062 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
28063 if (PyErr_Occurred()) SWIG_fail
;
28066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28074 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28075 PyObject
*resultobj
= 0;
28076 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28077 wxPoint2DDouble
*arg2
= 0 ;
28078 int arg3
= (int) wxODDEVEN_RULE
;
28087 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28089 if (!SWIG_IsOK(res1
)) {
28090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28092 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28093 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
28094 if (!SWIG_IsOK(res2
)) {
28095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
28098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
28100 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
28102 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
28103 if (!SWIG_IsOK(ecode3
)) {
28104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
28106 arg3
= static_cast< int >(val3
);
28109 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
28110 if (PyErr_Occurred()) SWIG_fail
;
28113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28121 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
28125 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
28127 if ((argc
>= 2) && (argc
<= 3)) {
28130 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
28131 _v
= SWIG_CheckState(res
);
28133 if (!_v
) goto check_1
;
28137 int res
= SWIG_AsVal_int(argv
[2], NULL
);
28138 _v
= SWIG_CheckState(res
);
28141 if (!_v
) goto check_1
;
28143 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
28147 if ((argc
>= 3) && (argc
<= 4)) {
28148 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
28152 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
28157 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28159 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28160 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
28161 return SWIG_Py_Void();
28164 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28165 return SWIG_Python_InitShadowInstance(args
);
28168 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
28169 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
28174 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
28175 PyObject
*pyobj
= 0;
28177 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
28182 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
28183 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
28188 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
28189 PyObject
*pyobj
= 0;
28191 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
28196 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
28197 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
28202 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
28203 PyObject
*pyobj
= 0;
28205 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
28210 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
28211 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
28216 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
28217 PyObject
*pyobj
= 0;
28219 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
28224 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
28225 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
28230 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
28231 PyObject
*pyobj
= 0;
28233 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
28238 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28239 PyObject
*resultobj
= 0;
28240 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28243 PyObject
*swig_obj
[1] ;
28245 if (!args
) SWIG_fail
;
28246 swig_obj
[0] = args
;
28247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
28248 if (!SWIG_IsOK(res1
)) {
28249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28251 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28255 if (PyErr_Occurred()) SWIG_fail
;
28257 resultobj
= SWIG_Py_Void();
28264 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28265 PyObject
*resultobj
= 0;
28266 wxWindowDC
*arg1
= 0 ;
28267 wxGraphicsContext
*result
= 0 ;
28271 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
28273 if (!SWIG_IsOK(res1
)) {
28274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28279 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
28281 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
28282 if (PyErr_Occurred()) SWIG_fail
;
28284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28291 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28292 PyObject
*resultobj
= 0;
28293 wxWindow
*arg1
= (wxWindow
*) 0 ;
28294 wxGraphicsContext
*result
= 0 ;
28298 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28300 if (!SWIG_IsOK(res1
)) {
28301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
28303 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28305 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
28306 if (PyErr_Occurred()) SWIG_fail
;
28308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28315 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
28319 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
28324 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
28325 _v
= SWIG_CheckState(res
);
28327 if (!_v
) goto check_1
;
28328 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
28333 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
28337 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
28342 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28343 PyObject
*resultobj
= 0;
28344 void *arg1
= (void *) 0 ;
28345 wxGraphicsContext
*result
= 0 ;
28347 PyObject
* obj0
= 0 ;
28348 char * kwnames
[] = {
28349 (char *) "context", NULL
28352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
28353 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28354 if (!SWIG_IsOK(res1
)) {
28355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
28358 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
28359 if (PyErr_Occurred()) SWIG_fail
;
28361 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28368 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(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 *) "window", NULL
28378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",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_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
28384 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
28385 if (PyErr_Occurred()) SWIG_fail
;
28387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28394 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28395 PyObject
*resultobj
= 0;
28396 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28397 wxGraphicsPath result
;
28400 PyObject
*swig_obj
[1] ;
28402 if (!args
) SWIG_fail
;
28403 swig_obj
[0] = args
;
28404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28405 if (!SWIG_IsOK(res1
)) {
28406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28408 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28410 result
= (arg1
)->CreatePath();
28411 if (PyErr_Occurred()) SWIG_fail
;
28413 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
28420 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28421 PyObject
*resultobj
= 0;
28422 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28424 wxGraphicsPen result
;
28429 PyObject
* obj0
= 0 ;
28430 PyObject
* obj1
= 0 ;
28431 char * kwnames
[] = {
28432 (char *) "self",(char *) "pen", NULL
28435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28437 if (!SWIG_IsOK(res1
)) {
28438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28440 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28441 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28442 if (!SWIG_IsOK(res2
)) {
28443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28448 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28450 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
28451 if (PyErr_Occurred()) SWIG_fail
;
28453 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
28460 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28461 PyObject
*resultobj
= 0;
28462 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28463 wxBrush
*arg2
= 0 ;
28464 wxGraphicsBrush result
;
28469 PyObject
* obj0
= 0 ;
28470 PyObject
* obj1
= 0 ;
28471 char * kwnames
[] = {
28472 (char *) "self",(char *) "brush", NULL
28475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28477 if (!SWIG_IsOK(res1
)) {
28478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28480 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28481 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28482 if (!SWIG_IsOK(res2
)) {
28483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28488 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28490 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
28491 if (PyErr_Occurred()) SWIG_fail
;
28493 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28500 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28501 PyObject
*resultobj
= 0;
28502 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28507 wxColour
*arg6
= 0 ;
28508 wxColour
*arg7
= 0 ;
28509 wxGraphicsBrush result
;
28522 PyObject
* obj0
= 0 ;
28523 PyObject
* obj1
= 0 ;
28524 PyObject
* obj2
= 0 ;
28525 PyObject
* obj3
= 0 ;
28526 PyObject
* obj4
= 0 ;
28527 PyObject
* obj5
= 0 ;
28528 PyObject
* obj6
= 0 ;
28529 char * kwnames
[] = {
28530 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
28533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28535 if (!SWIG_IsOK(res1
)) {
28536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28538 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28539 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28540 if (!SWIG_IsOK(ecode2
)) {
28541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28543 arg2
= static_cast< wxDouble
>(val2
);
28544 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28545 if (!SWIG_IsOK(ecode3
)) {
28546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28548 arg3
= static_cast< wxDouble
>(val3
);
28549 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28550 if (!SWIG_IsOK(ecode4
)) {
28551 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28553 arg4
= static_cast< wxDouble
>(val4
);
28554 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28555 if (!SWIG_IsOK(ecode5
)) {
28556 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28558 arg5
= static_cast< wxDouble
>(val5
);
28561 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28565 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28568 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28569 if (PyErr_Occurred()) SWIG_fail
;
28571 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28578 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28579 PyObject
*resultobj
= 0;
28580 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28586 wxColour
*arg7
= 0 ;
28587 wxColour
*arg8
= 0 ;
28588 wxGraphicsBrush result
;
28603 PyObject
* obj0
= 0 ;
28604 PyObject
* obj1
= 0 ;
28605 PyObject
* obj2
= 0 ;
28606 PyObject
* obj3
= 0 ;
28607 PyObject
* obj4
= 0 ;
28608 PyObject
* obj5
= 0 ;
28609 PyObject
* obj6
= 0 ;
28610 PyObject
* obj7
= 0 ;
28611 char * kwnames
[] = {
28612 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28617 if (!SWIG_IsOK(res1
)) {
28618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28620 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28621 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28622 if (!SWIG_IsOK(ecode2
)) {
28623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28625 arg2
= static_cast< wxDouble
>(val2
);
28626 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28627 if (!SWIG_IsOK(ecode3
)) {
28628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28630 arg3
= static_cast< wxDouble
>(val3
);
28631 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28632 if (!SWIG_IsOK(ecode4
)) {
28633 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28635 arg4
= static_cast< wxDouble
>(val4
);
28636 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28637 if (!SWIG_IsOK(ecode5
)) {
28638 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28640 arg5
= static_cast< wxDouble
>(val5
);
28641 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28642 if (!SWIG_IsOK(ecode6
)) {
28643 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28645 arg6
= static_cast< wxDouble
>(val6
);
28648 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28652 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28655 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28656 if (PyErr_Occurred()) SWIG_fail
;
28658 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28665 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28666 PyObject
*resultobj
= 0;
28667 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28669 wxColour
const &arg3_defvalue
= *wxBLACK
;
28670 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28671 wxGraphicsFont result
;
28677 PyObject
* obj0
= 0 ;
28678 PyObject
* obj1
= 0 ;
28679 PyObject
* obj2
= 0 ;
28680 char * kwnames
[] = {
28681 (char *) "self",(char *) "font",(char *) "col", NULL
28684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28686 if (!SWIG_IsOK(res1
)) {
28687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28689 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28690 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28691 if (!SWIG_IsOK(res2
)) {
28692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28697 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28701 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28705 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28706 if (PyErr_Occurred()) SWIG_fail
;
28708 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28715 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28716 PyObject
*resultobj
= 0;
28717 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28718 wxDouble arg2
= (wxDouble
) 1.0 ;
28719 wxDouble arg3
= (wxDouble
) 0.0 ;
28720 wxDouble arg4
= (wxDouble
) 0.0 ;
28721 wxDouble arg5
= (wxDouble
) 1.0 ;
28722 wxDouble arg6
= (wxDouble
) 0.0 ;
28723 wxDouble arg7
= (wxDouble
) 0.0 ;
28724 wxGraphicsMatrix result
;
28739 PyObject
* obj0
= 0 ;
28740 PyObject
* obj1
= 0 ;
28741 PyObject
* obj2
= 0 ;
28742 PyObject
* obj3
= 0 ;
28743 PyObject
* obj4
= 0 ;
28744 PyObject
* obj5
= 0 ;
28745 PyObject
* obj6
= 0 ;
28746 char * kwnames
[] = {
28747 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28752 if (!SWIG_IsOK(res1
)) {
28753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28755 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28757 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28758 if (!SWIG_IsOK(ecode2
)) {
28759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28761 arg2
= static_cast< wxDouble
>(val2
);
28764 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28765 if (!SWIG_IsOK(ecode3
)) {
28766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28768 arg3
= static_cast< wxDouble
>(val3
);
28771 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28772 if (!SWIG_IsOK(ecode4
)) {
28773 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28775 arg4
= static_cast< wxDouble
>(val4
);
28778 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28779 if (!SWIG_IsOK(ecode5
)) {
28780 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28782 arg5
= static_cast< wxDouble
>(val5
);
28785 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28786 if (!SWIG_IsOK(ecode6
)) {
28787 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28789 arg6
= static_cast< wxDouble
>(val6
);
28792 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28793 if (!SWIG_IsOK(ecode7
)) {
28794 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28796 arg7
= static_cast< wxDouble
>(val7
);
28799 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28800 if (PyErr_Occurred()) SWIG_fail
;
28802 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28809 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28810 PyObject
*resultobj
= 0;
28811 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28814 PyObject
*swig_obj
[1] ;
28816 if (!args
) SWIG_fail
;
28817 swig_obj
[0] = args
;
28818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28819 if (!SWIG_IsOK(res1
)) {
28820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28822 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28824 (arg1
)->PushState();
28825 if (PyErr_Occurred()) SWIG_fail
;
28827 resultobj
= SWIG_Py_Void();
28834 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28835 PyObject
*resultobj
= 0;
28836 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28839 PyObject
*swig_obj
[1] ;
28841 if (!args
) SWIG_fail
;
28842 swig_obj
[0] = args
;
28843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28844 if (!SWIG_IsOK(res1
)) {
28845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28847 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28849 (arg1
)->PopState();
28850 if (PyErr_Occurred()) SWIG_fail
;
28852 resultobj
= SWIG_Py_Void();
28859 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28860 PyObject
*resultobj
= 0;
28861 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28862 wxRegion
*arg2
= 0 ;
28867 PyObject
* obj0
= 0 ;
28868 PyObject
* obj1
= 0 ;
28869 char * kwnames
[] = {
28870 (char *) "self",(char *) "region", NULL
28873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28875 if (!SWIG_IsOK(res1
)) {
28876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28878 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28879 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28880 if (!SWIG_IsOK(res2
)) {
28881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28886 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28888 (arg1
)->Clip((wxRegion
const &)*arg2
);
28889 if (PyErr_Occurred()) SWIG_fail
;
28891 resultobj
= SWIG_Py_Void();
28898 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28899 PyObject
*resultobj
= 0;
28900 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28915 PyObject
* obj0
= 0 ;
28916 PyObject
* obj1
= 0 ;
28917 PyObject
* obj2
= 0 ;
28918 PyObject
* obj3
= 0 ;
28919 PyObject
* obj4
= 0 ;
28920 char * kwnames
[] = {
28921 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28926 if (!SWIG_IsOK(res1
)) {
28927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28929 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28930 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28931 if (!SWIG_IsOK(ecode2
)) {
28932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28934 arg2
= static_cast< wxDouble
>(val2
);
28935 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28936 if (!SWIG_IsOK(ecode3
)) {
28937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28939 arg3
= static_cast< wxDouble
>(val3
);
28940 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28941 if (!SWIG_IsOK(ecode4
)) {
28942 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28944 arg4
= static_cast< wxDouble
>(val4
);
28945 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28946 if (!SWIG_IsOK(ecode5
)) {
28947 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28949 arg5
= static_cast< wxDouble
>(val5
);
28951 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28954 resultobj
= SWIG_Py_Void();
28961 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28962 PyObject
*resultobj
= 0;
28963 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28966 PyObject
*swig_obj
[1] ;
28968 if (!args
) SWIG_fail
;
28969 swig_obj
[0] = args
;
28970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28971 if (!SWIG_IsOK(res1
)) {
28972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28974 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28976 (arg1
)->ResetClip();
28977 if (PyErr_Occurred()) SWIG_fail
;
28979 resultobj
= SWIG_Py_Void();
28986 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28987 PyObject
*resultobj
= 0;
28988 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_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29000 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29002 result
= (void *)(arg1
)->GetNativeContext();
29003 if (PyErr_Occurred()) SWIG_fail
;
29005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
29012 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29013 PyObject
*resultobj
= 0;
29014 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29023 PyObject
* obj0
= 0 ;
29024 PyObject
* obj1
= 0 ;
29025 PyObject
* obj2
= 0 ;
29026 char * kwnames
[] = {
29027 (char *) "self",(char *) "dx",(char *) "dy", NULL
29030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29032 if (!SWIG_IsOK(res1
)) {
29033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29035 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29036 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29037 if (!SWIG_IsOK(ecode2
)) {
29038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
29040 arg2
= static_cast< wxDouble
>(val2
);
29041 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29042 if (!SWIG_IsOK(ecode3
)) {
29043 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
29045 arg3
= static_cast< wxDouble
>(val3
);
29047 (arg1
)->Translate(arg2
,arg3
);
29048 if (PyErr_Occurred()) SWIG_fail
;
29050 resultobj
= SWIG_Py_Void();
29057 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29058 PyObject
*resultobj
= 0;
29059 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29068 PyObject
* obj0
= 0 ;
29069 PyObject
* obj1
= 0 ;
29070 PyObject
* obj2
= 0 ;
29071 char * kwnames
[] = {
29072 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
29075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29077 if (!SWIG_IsOK(res1
)) {
29078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29080 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29081 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29082 if (!SWIG_IsOK(ecode2
)) {
29083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
29085 arg2
= static_cast< wxDouble
>(val2
);
29086 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29087 if (!SWIG_IsOK(ecode3
)) {
29088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
29090 arg3
= static_cast< wxDouble
>(val3
);
29092 (arg1
)->Scale(arg2
,arg3
);
29093 if (PyErr_Occurred()) SWIG_fail
;
29095 resultobj
= SWIG_Py_Void();
29102 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29103 PyObject
*resultobj
= 0;
29104 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29110 PyObject
* obj0
= 0 ;
29111 PyObject
* obj1
= 0 ;
29112 char * kwnames
[] = {
29113 (char *) "self",(char *) "angle", NULL
29116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29118 if (!SWIG_IsOK(res1
)) {
29119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29121 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29122 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29123 if (!SWIG_IsOK(ecode2
)) {
29124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
29126 arg2
= static_cast< wxDouble
>(val2
);
29128 (arg1
)->Rotate(arg2
);
29129 if (PyErr_Occurred()) SWIG_fail
;
29131 resultobj
= SWIG_Py_Void();
29138 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29139 PyObject
*resultobj
= 0;
29140 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29141 wxGraphicsMatrix
*arg2
= 0 ;
29146 PyObject
* obj0
= 0 ;
29147 PyObject
* obj1
= 0 ;
29148 char * kwnames
[] = {
29149 (char *) "self",(char *) "matrix", NULL
29152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29154 if (!SWIG_IsOK(res1
)) {
29155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29157 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29158 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29159 if (!SWIG_IsOK(res2
)) {
29160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29165 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29167 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
29168 if (PyErr_Occurred()) SWIG_fail
;
29170 resultobj
= SWIG_Py_Void();
29177 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29178 PyObject
*resultobj
= 0;
29179 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29180 wxGraphicsMatrix
*arg2
= 0 ;
29185 PyObject
* obj0
= 0 ;
29186 PyObject
* obj1
= 0 ;
29187 char * kwnames
[] = {
29188 (char *) "self",(char *) "matrix", NULL
29191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29193 if (!SWIG_IsOK(res1
)) {
29194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29196 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29197 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29198 if (!SWIG_IsOK(res2
)) {
29199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29204 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29206 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
29207 if (PyErr_Occurred()) SWIG_fail
;
29209 resultobj
= SWIG_Py_Void();
29216 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29217 PyObject
*resultobj
= 0;
29218 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29219 wxGraphicsMatrix result
;
29222 PyObject
*swig_obj
[1] ;
29224 if (!args
) SWIG_fail
;
29225 swig_obj
[0] = args
;
29226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29227 if (!SWIG_IsOK(res1
)) {
29228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29230 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29232 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
29233 if (PyErr_Occurred()) SWIG_fail
;
29235 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29242 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29243 PyObject
*resultobj
= 0;
29244 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29245 wxGraphicsPen
*arg2
= 0 ;
29251 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
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_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29256 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29257 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
29258 if (!SWIG_IsOK(res2
)) {
29259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29264 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
29266 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
29267 if (PyErr_Occurred()) SWIG_fail
;
29269 resultobj
= SWIG_Py_Void();
29276 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29277 PyObject
*resultobj
= 0;
29278 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29285 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29287 if (!SWIG_IsOK(res1
)) {
29288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29290 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29291 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29292 if (!SWIG_IsOK(res2
)) {
29293 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29296 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29298 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29300 (arg1
)->SetPen((wxPen
const &)*arg2
);
29301 if (PyErr_Occurred()) SWIG_fail
;
29303 resultobj
= SWIG_Py_Void();
29310 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
29314 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
29319 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
29320 _v
= SWIG_CheckState(res
);
29322 if (!_v
) goto check_1
;
29323 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
29328 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
29332 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
29337 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29338 PyObject
*resultobj
= 0;
29339 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29340 wxGraphicsBrush
*arg2
= 0 ;
29346 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29348 if (!SWIG_IsOK(res1
)) {
29349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29351 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29352 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29353 if (!SWIG_IsOK(res2
)) {
29354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29357 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29359 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
29361 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
29362 if (PyErr_Occurred()) SWIG_fail
;
29364 resultobj
= SWIG_Py_Void();
29371 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29372 PyObject
*resultobj
= 0;
29373 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29374 wxBrush
*arg2
= 0 ;
29380 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29382 if (!SWIG_IsOK(res1
)) {
29383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29385 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29386 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29387 if (!SWIG_IsOK(res2
)) {
29388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29393 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29395 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
29396 if (PyErr_Occurred()) SWIG_fail
;
29398 resultobj
= SWIG_Py_Void();
29405 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
29409 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
29414 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
29415 _v
= SWIG_CheckState(res
);
29417 if (!_v
) goto check_1
;
29418 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
29423 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
29427 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
29432 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29433 PyObject
*resultobj
= 0;
29434 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29435 wxGraphicsFont
*arg2
= 0 ;
29441 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29443 if (!SWIG_IsOK(res1
)) {
29444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29446 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29447 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
29448 if (!SWIG_IsOK(res2
)) {
29449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29454 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
29456 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
29457 if (PyErr_Occurred()) SWIG_fail
;
29459 resultobj
= SWIG_Py_Void();
29466 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29467 PyObject
*resultobj
= 0;
29468 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29470 wxColour
const &arg3_defvalue
= *wxBLACK
;
29471 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29478 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29480 if (!SWIG_IsOK(res1
)) {
29481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29483 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29484 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29485 if (!SWIG_IsOK(res2
)) {
29486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29491 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29495 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
29499 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29500 if (PyErr_Occurred()) SWIG_fail
;
29502 resultobj
= SWIG_Py_Void();
29509 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29513 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29518 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29519 _v
= SWIG_CheckState(res
);
29521 if (!_v
) goto check_1
;
29522 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29526 if ((argc
>= 2) && (argc
<= 3)) {
29527 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29531 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29536 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29537 PyObject
*resultobj
= 0;
29538 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29539 wxGraphicsPath
*arg2
= 0 ;
29544 PyObject
* obj0
= 0 ;
29545 PyObject
* obj1
= 0 ;
29546 char * kwnames
[] = {
29547 (char *) "self",(char *) "path", NULL
29550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29552 if (!SWIG_IsOK(res1
)) {
29553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29555 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29556 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29557 if (!SWIG_IsOK(res2
)) {
29558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29563 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29565 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29566 if (PyErr_Occurred()) SWIG_fail
;
29568 resultobj
= SWIG_Py_Void();
29575 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29576 PyObject
*resultobj
= 0;
29577 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29578 wxGraphicsPath
*arg2
= 0 ;
29579 int arg3
= (int) wxODDEVEN_RULE
;
29586 PyObject
* obj0
= 0 ;
29587 PyObject
* obj1
= 0 ;
29588 PyObject
* obj2
= 0 ;
29589 char * kwnames
[] = {
29590 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29595 if (!SWIG_IsOK(res1
)) {
29596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29598 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29599 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29600 if (!SWIG_IsOK(res2
)) {
29601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29606 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29608 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29609 if (!SWIG_IsOK(ecode3
)) {
29610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29612 arg3
= static_cast< int >(val3
);
29615 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29616 if (PyErr_Occurred()) SWIG_fail
;
29618 resultobj
= SWIG_Py_Void();
29625 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29626 PyObject
*resultobj
= 0;
29627 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29628 wxGraphicsPath
*arg2
= 0 ;
29629 int arg3
= (int) wxODDEVEN_RULE
;
29636 PyObject
* obj0
= 0 ;
29637 PyObject
* obj1
= 0 ;
29638 PyObject
* obj2
= 0 ;
29639 char * kwnames
[] = {
29640 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29645 if (!SWIG_IsOK(res1
)) {
29646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29648 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29649 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29650 if (!SWIG_IsOK(res2
)) {
29651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29654 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29656 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29658 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29659 if (!SWIG_IsOK(ecode3
)) {
29660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29662 arg3
= static_cast< int >(val3
);
29665 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29666 if (PyErr_Occurred()) SWIG_fail
;
29668 resultobj
= SWIG_Py_Void();
29675 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29676 PyObject
*resultobj
= 0;
29677 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29678 wxString
*arg2
= 0 ;
29683 bool temp2
= false ;
29688 PyObject
* obj0
= 0 ;
29689 PyObject
* obj1
= 0 ;
29690 PyObject
* obj2
= 0 ;
29691 PyObject
* obj3
= 0 ;
29692 char * kwnames
[] = {
29693 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
29696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29698 if (!SWIG_IsOK(res1
)) {
29699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29701 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29703 arg2
= wxString_in_helper(obj1
);
29704 if (arg2
== NULL
) SWIG_fail
;
29707 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29708 if (!SWIG_IsOK(ecode3
)) {
29709 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29711 arg3
= static_cast< wxDouble
>(val3
);
29712 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29713 if (!SWIG_IsOK(ecode4
)) {
29714 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29716 arg4
= static_cast< wxDouble
>(val4
);
29718 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
29719 if (PyErr_Occurred()) SWIG_fail
;
29721 resultobj
= SWIG_Py_Void();
29736 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29737 PyObject
*resultobj
= 0;
29738 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29739 wxString
*arg2
= 0 ;
29745 bool temp2
= false ;
29752 PyObject
* obj0
= 0 ;
29753 PyObject
* obj1
= 0 ;
29754 PyObject
* obj2
= 0 ;
29755 PyObject
* obj3
= 0 ;
29756 PyObject
* obj4
= 0 ;
29757 char * kwnames
[] = {
29758 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
29761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29763 if (!SWIG_IsOK(res1
)) {
29764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29766 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29768 arg2
= wxString_in_helper(obj1
);
29769 if (arg2
== NULL
) SWIG_fail
;
29772 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29773 if (!SWIG_IsOK(ecode3
)) {
29774 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29776 arg3
= static_cast< wxDouble
>(val3
);
29777 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29778 if (!SWIG_IsOK(ecode4
)) {
29779 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29781 arg4
= static_cast< wxDouble
>(val4
);
29782 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29783 if (!SWIG_IsOK(ecode5
)) {
29784 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29786 arg5
= static_cast< wxDouble
>(val5
);
29788 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29789 if (PyErr_Occurred()) SWIG_fail
;
29791 resultobj
= SWIG_Py_Void();
29806 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29807 PyObject
*resultobj
= 0;
29808 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29809 wxString
*arg2
= 0 ;
29810 wxDouble
*arg3
= (wxDouble
*) 0 ;
29811 wxDouble
*arg4
= (wxDouble
*) 0 ;
29812 wxDouble
*arg5
= (wxDouble
*) 0 ;
29813 wxDouble
*arg6
= (wxDouble
*) 0 ;
29816 bool temp2
= false ;
29818 int res3
= SWIG_TMPOBJ
;
29820 int res4
= SWIG_TMPOBJ
;
29822 int res5
= SWIG_TMPOBJ
;
29824 int res6
= SWIG_TMPOBJ
;
29825 PyObject
* obj0
= 0 ;
29826 PyObject
* obj1
= 0 ;
29827 char * kwnames
[] = {
29828 (char *) "self",(char *) "text", NULL
29835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29837 if (!SWIG_IsOK(res1
)) {
29838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29840 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29842 arg2
= wxString_in_helper(obj1
);
29843 if (arg2
== NULL
) SWIG_fail
;
29847 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29848 if (PyErr_Occurred()) SWIG_fail
;
29850 resultobj
= SWIG_Py_Void();
29851 if (SWIG_IsTmpObj(res3
)) {
29852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29854 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29855 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29857 if (SWIG_IsTmpObj(res4
)) {
29858 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29860 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29863 if (SWIG_IsTmpObj(res5
)) {
29864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29866 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29869 if (SWIG_IsTmpObj(res6
)) {
29870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29872 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29889 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29890 PyObject
*resultobj
= 0;
29891 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29892 wxString
*arg2
= 0 ;
29893 PyObject
*result
= 0 ;
29896 bool temp2
= false ;
29897 PyObject
* obj0
= 0 ;
29898 PyObject
* obj1
= 0 ;
29899 char * kwnames
[] = {
29900 (char *) "self",(char *) "text", NULL
29903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29905 if (!SWIG_IsOK(res1
)) {
29906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29908 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29910 arg2
= wxString_in_helper(obj1
);
29911 if (arg2
== NULL
) SWIG_fail
;
29915 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29916 if (PyErr_Occurred()) SWIG_fail
;
29918 resultobj
= result
;
29933 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29934 PyObject
*resultobj
= 0;
29935 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29936 wxString
*arg2
= 0 ;
29937 wxArrayDouble result
;
29940 bool temp2
= false ;
29941 PyObject
* obj0
= 0 ;
29942 PyObject
* obj1
= 0 ;
29943 char * kwnames
[] = {
29944 (char *) "self",(char *) "text", NULL
29947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29949 if (!SWIG_IsOK(res1
)) {
29950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29952 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29954 arg2
= wxString_in_helper(obj1
);
29955 if (arg2
== NULL
) SWIG_fail
;
29959 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29960 if (PyErr_Occurred()) SWIG_fail
;
29963 resultobj
= wxArrayDouble2PyList_helper(result
);
29979 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29980 PyObject
*resultobj
= 0;
29981 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29982 wxBitmap
*arg2
= 0 ;
29999 PyObject
* obj0
= 0 ;
30000 PyObject
* obj1
= 0 ;
30001 PyObject
* obj2
= 0 ;
30002 PyObject
* obj3
= 0 ;
30003 PyObject
* obj4
= 0 ;
30004 PyObject
* obj5
= 0 ;
30005 char * kwnames
[] = {
30006 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30011 if (!SWIG_IsOK(res1
)) {
30012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30014 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30015 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30016 if (!SWIG_IsOK(res2
)) {
30017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30022 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30023 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30024 if (!SWIG_IsOK(ecode3
)) {
30025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
30027 arg3
= static_cast< wxDouble
>(val3
);
30028 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30029 if (!SWIG_IsOK(ecode4
)) {
30030 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
30032 arg4
= static_cast< wxDouble
>(val4
);
30033 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30034 if (!SWIG_IsOK(ecode5
)) {
30035 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
30037 arg5
= static_cast< wxDouble
>(val5
);
30038 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30039 if (!SWIG_IsOK(ecode6
)) {
30040 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
30042 arg6
= static_cast< wxDouble
>(val6
);
30044 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30045 if (PyErr_Occurred()) SWIG_fail
;
30047 resultobj
= SWIG_Py_Void();
30054 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30055 PyObject
*resultobj
= 0;
30056 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30074 PyObject
* obj0
= 0 ;
30075 PyObject
* obj1
= 0 ;
30076 PyObject
* obj2
= 0 ;
30077 PyObject
* obj3
= 0 ;
30078 PyObject
* obj4
= 0 ;
30079 PyObject
* obj5
= 0 ;
30080 char * kwnames
[] = {
30081 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30086 if (!SWIG_IsOK(res1
)) {
30087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30089 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30090 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30091 if (!SWIG_IsOK(res2
)) {
30092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30095 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30097 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30098 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30099 if (!SWIG_IsOK(ecode3
)) {
30100 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
30102 arg3
= static_cast< wxDouble
>(val3
);
30103 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30104 if (!SWIG_IsOK(ecode4
)) {
30105 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
30107 arg4
= static_cast< wxDouble
>(val4
);
30108 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30109 if (!SWIG_IsOK(ecode5
)) {
30110 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
30112 arg5
= static_cast< wxDouble
>(val5
);
30113 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30114 if (!SWIG_IsOK(ecode6
)) {
30115 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
30117 arg6
= static_cast< wxDouble
>(val6
);
30119 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30120 if (PyErr_Occurred()) SWIG_fail
;
30122 resultobj
= SWIG_Py_Void();
30129 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30130 PyObject
*resultobj
= 0;
30131 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30146 PyObject
* obj0
= 0 ;
30147 PyObject
* obj1
= 0 ;
30148 PyObject
* obj2
= 0 ;
30149 PyObject
* obj3
= 0 ;
30150 PyObject
* obj4
= 0 ;
30151 char * kwnames
[] = {
30152 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
30155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30157 if (!SWIG_IsOK(res1
)) {
30158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30160 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30161 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30162 if (!SWIG_IsOK(ecode2
)) {
30163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
30165 arg2
= static_cast< wxDouble
>(val2
);
30166 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30167 if (!SWIG_IsOK(ecode3
)) {
30168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
30170 arg3
= static_cast< wxDouble
>(val3
);
30171 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30172 if (!SWIG_IsOK(ecode4
)) {
30173 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
30175 arg4
= static_cast< wxDouble
>(val4
);
30176 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30177 if (!SWIG_IsOK(ecode5
)) {
30178 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
30180 arg5
= static_cast< wxDouble
>(val5
);
30182 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
30183 if (PyErr_Occurred()) SWIG_fail
;
30185 resultobj
= SWIG_Py_Void();
30192 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30193 PyObject
*resultobj
= 0;
30194 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30196 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30199 PyObject
* obj0
= 0 ;
30200 PyObject
* obj1
= 0 ;
30201 char * kwnames
[] = {
30202 (char *) "self",(char *) "points", NULL
30205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30207 if (!SWIG_IsOK(res1
)) {
30208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30210 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30212 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30213 if (arg3
== NULL
) SWIG_fail
;
30216 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
30217 if (PyErr_Occurred()) SWIG_fail
;
30219 resultobj
= SWIG_Py_Void();
30221 if (arg3
) delete [] arg3
;
30226 if (arg3
) delete [] arg3
;
30232 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30233 PyObject
*resultobj
= 0;
30234 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30235 PyObject
*arg2
= (PyObject
*) 0 ;
30236 PyObject
*arg3
= (PyObject
*) 0 ;
30239 PyObject
* obj0
= 0 ;
30240 PyObject
* obj1
= 0 ;
30241 PyObject
* obj2
= 0 ;
30242 char * kwnames
[] = {
30243 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
30246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30248 if (!SWIG_IsOK(res1
)) {
30249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30251 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30255 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
30256 if (PyErr_Occurred()) SWIG_fail
;
30258 resultobj
= SWIG_Py_Void();
30265 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30266 PyObject
*resultobj
= 0;
30267 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30269 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30270 int arg4
= (int) wxODDEVEN_RULE
;
30275 PyObject
* obj0
= 0 ;
30276 PyObject
* obj1
= 0 ;
30277 PyObject
* obj2
= 0 ;
30278 char * kwnames
[] = {
30279 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
30282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30284 if (!SWIG_IsOK(res1
)) {
30285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30287 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30289 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30290 if (arg3
== NULL
) SWIG_fail
;
30293 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30294 if (!SWIG_IsOK(ecode4
)) {
30295 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
30297 arg4
= static_cast< int >(val4
);
30300 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
30301 if (PyErr_Occurred()) SWIG_fail
;
30303 resultobj
= SWIG_Py_Void();
30305 if (arg3
) delete [] arg3
;
30310 if (arg3
) delete [] arg3
;
30316 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30317 PyObject
*resultobj
= 0;
30318 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30333 PyObject
* obj0
= 0 ;
30334 PyObject
* obj1
= 0 ;
30335 PyObject
* obj2
= 0 ;
30336 PyObject
* obj3
= 0 ;
30337 PyObject
* obj4
= 0 ;
30338 char * kwnames
[] = {
30339 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30344 if (!SWIG_IsOK(res1
)) {
30345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30347 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30348 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30349 if (!SWIG_IsOK(ecode2
)) {
30350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30352 arg2
= static_cast< wxDouble
>(val2
);
30353 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30354 if (!SWIG_IsOK(ecode3
)) {
30355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30357 arg3
= static_cast< wxDouble
>(val3
);
30358 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30359 if (!SWIG_IsOK(ecode4
)) {
30360 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30362 arg4
= static_cast< wxDouble
>(val4
);
30363 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30364 if (!SWIG_IsOK(ecode5
)) {
30365 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30367 arg5
= static_cast< wxDouble
>(val5
);
30369 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
30370 if (PyErr_Occurred()) SWIG_fail
;
30372 resultobj
= SWIG_Py_Void();
30379 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30380 PyObject
*resultobj
= 0;
30381 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30396 PyObject
* obj0
= 0 ;
30397 PyObject
* obj1
= 0 ;
30398 PyObject
* obj2
= 0 ;
30399 PyObject
* obj3
= 0 ;
30400 PyObject
* obj4
= 0 ;
30401 char * kwnames
[] = {
30402 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30407 if (!SWIG_IsOK(res1
)) {
30408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30410 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30411 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30412 if (!SWIG_IsOK(ecode2
)) {
30413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
30415 arg2
= static_cast< wxDouble
>(val2
);
30416 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30417 if (!SWIG_IsOK(ecode3
)) {
30418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
30420 arg3
= static_cast< wxDouble
>(val3
);
30421 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30422 if (!SWIG_IsOK(ecode4
)) {
30423 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
30425 arg4
= static_cast< wxDouble
>(val4
);
30426 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30427 if (!SWIG_IsOK(ecode5
)) {
30428 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
30430 arg5
= static_cast< wxDouble
>(val5
);
30432 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30433 if (PyErr_Occurred()) SWIG_fail
;
30435 resultobj
= SWIG_Py_Void();
30442 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30443 PyObject
*resultobj
= 0;
30444 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30462 PyObject
* obj0
= 0 ;
30463 PyObject
* obj1
= 0 ;
30464 PyObject
* obj2
= 0 ;
30465 PyObject
* obj3
= 0 ;
30466 PyObject
* obj4
= 0 ;
30467 PyObject
* obj5
= 0 ;
30468 char * kwnames
[] = {
30469 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30474 if (!SWIG_IsOK(res1
)) {
30475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30477 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30478 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30479 if (!SWIG_IsOK(ecode2
)) {
30480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30482 arg2
= static_cast< wxDouble
>(val2
);
30483 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30484 if (!SWIG_IsOK(ecode3
)) {
30485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30487 arg3
= static_cast< wxDouble
>(val3
);
30488 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30489 if (!SWIG_IsOK(ecode4
)) {
30490 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30492 arg4
= static_cast< wxDouble
>(val4
);
30493 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30494 if (!SWIG_IsOK(ecode5
)) {
30495 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30497 arg5
= static_cast< wxDouble
>(val5
);
30498 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30499 if (!SWIG_IsOK(ecode6
)) {
30500 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30502 arg6
= static_cast< wxDouble
>(val6
);
30504 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30505 if (PyErr_Occurred()) SWIG_fail
;
30507 resultobj
= SWIG_Py_Void();
30514 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30515 PyObject
*resultobj
= 0;
30516 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30520 PyObject
*swig_obj
[1] ;
30522 if (!args
) SWIG_fail
;
30523 swig_obj
[0] = args
;
30524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30525 if (!SWIG_IsOK(res1
)) {
30526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30528 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30530 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30531 if (PyErr_Occurred()) SWIG_fail
;
30534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30542 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30545 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30546 return SWIG_Py_Void();
30549 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30550 PyObject
*resultobj
= 0;
30551 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30554 PyObject
*swig_obj
[1] ;
30556 if (!args
) SWIG_fail
;
30557 swig_obj
[0] = args
;
30558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30559 if (!SWIG_IsOK(res1
)) {
30560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30562 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30566 if (PyErr_Occurred()) SWIG_fail
;
30568 resultobj
= SWIG_Py_Void();
30575 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30576 PyObject
*resultobj
= 0;
30577 wxGraphicsRenderer
*result
= 0 ;
30579 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30581 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30582 if (PyErr_Occurred()) SWIG_fail
;
30584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30591 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30592 PyObject
*resultobj
= 0;
30593 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30594 wxWindowDC
*arg2
= 0 ;
30595 wxGraphicsContext
*result
= 0 ;
30601 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30603 if (!SWIG_IsOK(res1
)) {
30604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30606 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30607 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30608 if (!SWIG_IsOK(res2
)) {
30609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30614 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30616 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30617 if (PyErr_Occurred()) SWIG_fail
;
30619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30626 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30627 PyObject
*resultobj
= 0;
30628 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30629 wxWindow
*arg2
= (wxWindow
*) 0 ;
30630 wxGraphicsContext
*result
= 0 ;
30636 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30638 if (!SWIG_IsOK(res1
)) {
30639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30641 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30642 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30643 if (!SWIG_IsOK(res2
)) {
30644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30646 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30648 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30649 if (PyErr_Occurred()) SWIG_fail
;
30651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30658 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30662 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30667 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30668 _v
= SWIG_CheckState(res
);
30670 if (!_v
) goto check_1
;
30671 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30676 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30680 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30685 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30686 PyObject
*resultobj
= 0;
30687 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30688 void *arg2
= (void *) 0 ;
30689 wxGraphicsContext
*result
= 0 ;
30693 PyObject
* obj0
= 0 ;
30694 PyObject
* obj1
= 0 ;
30695 char * kwnames
[] = {
30696 (char *) "self",(char *) "context", NULL
30699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30701 if (!SWIG_IsOK(res1
)) {
30702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30704 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30705 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30706 if (!SWIG_IsOK(res2
)) {
30707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30710 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30711 if (PyErr_Occurred()) SWIG_fail
;
30713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30720 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30721 PyObject
*resultobj
= 0;
30722 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30723 void *arg2
= (void *) 0 ;
30724 wxGraphicsContext
*result
= 0 ;
30728 PyObject
* obj0
= 0 ;
30729 PyObject
* obj1
= 0 ;
30730 char * kwnames
[] = {
30731 (char *) "self",(char *) "window", NULL
30734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30736 if (!SWIG_IsOK(res1
)) {
30737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30739 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30740 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30741 if (!SWIG_IsOK(res2
)) {
30742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30745 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30746 if (PyErr_Occurred()) SWIG_fail
;
30748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30755 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30756 PyObject
*resultobj
= 0;
30757 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30758 wxGraphicsPath result
;
30761 PyObject
*swig_obj
[1] ;
30763 if (!args
) SWIG_fail
;
30764 swig_obj
[0] = args
;
30765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30766 if (!SWIG_IsOK(res1
)) {
30767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30769 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30771 result
= (arg1
)->CreatePath();
30772 if (PyErr_Occurred()) SWIG_fail
;
30774 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30781 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30782 PyObject
*resultobj
= 0;
30783 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30784 wxDouble arg2
= (wxDouble
) 1.0 ;
30785 wxDouble arg3
= (wxDouble
) 0.0 ;
30786 wxDouble arg4
= (wxDouble
) 0.0 ;
30787 wxDouble arg5
= (wxDouble
) 1.0 ;
30788 wxDouble arg6
= (wxDouble
) 0.0 ;
30789 wxDouble arg7
= (wxDouble
) 0.0 ;
30790 wxGraphicsMatrix result
;
30805 PyObject
* obj0
= 0 ;
30806 PyObject
* obj1
= 0 ;
30807 PyObject
* obj2
= 0 ;
30808 PyObject
* obj3
= 0 ;
30809 PyObject
* obj4
= 0 ;
30810 PyObject
* obj5
= 0 ;
30811 PyObject
* obj6
= 0 ;
30812 char * kwnames
[] = {
30813 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30818 if (!SWIG_IsOK(res1
)) {
30819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30821 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30823 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30824 if (!SWIG_IsOK(ecode2
)) {
30825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30827 arg2
= static_cast< wxDouble
>(val2
);
30830 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30831 if (!SWIG_IsOK(ecode3
)) {
30832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30834 arg3
= static_cast< wxDouble
>(val3
);
30837 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30838 if (!SWIG_IsOK(ecode4
)) {
30839 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30841 arg4
= static_cast< wxDouble
>(val4
);
30844 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30845 if (!SWIG_IsOK(ecode5
)) {
30846 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30848 arg5
= static_cast< wxDouble
>(val5
);
30851 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30852 if (!SWIG_IsOK(ecode6
)) {
30853 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30855 arg6
= static_cast< wxDouble
>(val6
);
30858 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30859 if (!SWIG_IsOK(ecode7
)) {
30860 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30862 arg7
= static_cast< wxDouble
>(val7
);
30865 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30866 if (PyErr_Occurred()) SWIG_fail
;
30868 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30875 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30876 PyObject
*resultobj
= 0;
30877 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30879 wxGraphicsPen result
;
30884 PyObject
* obj0
= 0 ;
30885 PyObject
* obj1
= 0 ;
30886 char * kwnames
[] = {
30887 (char *) "self",(char *) "pen", NULL
30890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30892 if (!SWIG_IsOK(res1
)) {
30893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30895 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30896 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30897 if (!SWIG_IsOK(res2
)) {
30898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30901 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30903 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30905 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30906 if (PyErr_Occurred()) SWIG_fail
;
30908 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30915 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30916 PyObject
*resultobj
= 0;
30917 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30918 wxBrush
*arg2
= 0 ;
30919 wxGraphicsBrush result
;
30924 PyObject
* obj0
= 0 ;
30925 PyObject
* obj1
= 0 ;
30926 char * kwnames
[] = {
30927 (char *) "self",(char *) "brush", NULL
30930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30932 if (!SWIG_IsOK(res1
)) {
30933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30935 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30936 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30937 if (!SWIG_IsOK(res2
)) {
30938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30943 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30945 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30946 if (PyErr_Occurred()) SWIG_fail
;
30948 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30955 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30956 PyObject
*resultobj
= 0;
30957 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30962 wxColour
*arg6
= 0 ;
30963 wxColour
*arg7
= 0 ;
30964 wxGraphicsBrush result
;
30977 PyObject
* obj0
= 0 ;
30978 PyObject
* obj1
= 0 ;
30979 PyObject
* obj2
= 0 ;
30980 PyObject
* obj3
= 0 ;
30981 PyObject
* obj4
= 0 ;
30982 PyObject
* obj5
= 0 ;
30983 PyObject
* obj6
= 0 ;
30984 char * kwnames
[] = {
30985 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30990 if (!SWIG_IsOK(res1
)) {
30991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30993 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30994 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30995 if (!SWIG_IsOK(ecode2
)) {
30996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30998 arg2
= static_cast< wxDouble
>(val2
);
30999 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31000 if (!SWIG_IsOK(ecode3
)) {
31001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31003 arg3
= static_cast< wxDouble
>(val3
);
31004 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31005 if (!SWIG_IsOK(ecode4
)) {
31006 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31008 arg4
= static_cast< wxDouble
>(val4
);
31009 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31010 if (!SWIG_IsOK(ecode5
)) {
31011 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31013 arg5
= static_cast< wxDouble
>(val5
);
31016 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
31020 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31023 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
31024 if (PyErr_Occurred()) SWIG_fail
;
31026 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31033 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31034 PyObject
*resultobj
= 0;
31035 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31041 wxColour
*arg7
= 0 ;
31042 wxColour
*arg8
= 0 ;
31043 wxGraphicsBrush result
;
31058 PyObject
* obj0
= 0 ;
31059 PyObject
* obj1
= 0 ;
31060 PyObject
* obj2
= 0 ;
31061 PyObject
* obj3
= 0 ;
31062 PyObject
* obj4
= 0 ;
31063 PyObject
* obj5
= 0 ;
31064 PyObject
* obj6
= 0 ;
31065 PyObject
* obj7
= 0 ;
31066 char * kwnames
[] = {
31067 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
31070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31072 if (!SWIG_IsOK(res1
)) {
31073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31075 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31076 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31077 if (!SWIG_IsOK(ecode2
)) {
31078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31080 arg2
= static_cast< wxDouble
>(val2
);
31081 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31082 if (!SWIG_IsOK(ecode3
)) {
31083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31085 arg3
= static_cast< wxDouble
>(val3
);
31086 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31087 if (!SWIG_IsOK(ecode4
)) {
31088 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31090 arg4
= static_cast< wxDouble
>(val4
);
31091 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31092 if (!SWIG_IsOK(ecode5
)) {
31093 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31095 arg5
= static_cast< wxDouble
>(val5
);
31096 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31097 if (!SWIG_IsOK(ecode6
)) {
31098 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
31100 arg6
= static_cast< wxDouble
>(val6
);
31103 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31107 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
31110 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
31111 if (PyErr_Occurred()) SWIG_fail
;
31113 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31120 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31121 PyObject
*resultobj
= 0;
31122 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31124 wxColour
const &arg3_defvalue
= *wxBLACK
;
31125 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
31126 wxGraphicsFont result
;
31132 PyObject
* obj0
= 0 ;
31133 PyObject
* obj1
= 0 ;
31134 PyObject
* obj2
= 0 ;
31135 char * kwnames
[] = {
31136 (char *) "self",(char *) "font",(char *) "col", NULL
31139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31141 if (!SWIG_IsOK(res1
)) {
31142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31144 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31145 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31146 if (!SWIG_IsOK(res2
)) {
31147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31150 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31152 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31156 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31160 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
31161 if (PyErr_Occurred()) SWIG_fail
;
31163 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
31170 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31172 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31173 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
31174 return SWIG_Py_Void();
31177 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31178 PyObject
*resultobj
= 0;
31179 wxWindowDC
*arg1
= 0 ;
31180 wxGCDC
*result
= 0 ;
31183 PyObject
* obj0
= 0 ;
31184 char * kwnames
[] = {
31185 (char *) "dc", NULL
31188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
31189 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
31190 if (!SWIG_IsOK(res1
)) {
31191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31196 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
31198 if (!wxPyCheckForApp()) SWIG_fail
;
31199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31200 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
31201 wxPyEndAllowThreads(__tstate
);
31202 if (PyErr_Occurred()) SWIG_fail
;
31204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31211 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31212 PyObject
*resultobj
= 0;
31213 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31216 PyObject
*swig_obj
[1] ;
31218 if (!args
) SWIG_fail
;
31219 swig_obj
[0] = args
;
31220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
31221 if (!SWIG_IsOK(res1
)) {
31222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
31224 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31228 if (PyErr_Occurred()) SWIG_fail
;
31230 resultobj
= SWIG_Py_Void();
31237 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31238 PyObject
*resultobj
= 0;
31239 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31240 wxGraphicsContext
*result
= 0 ;
31243 PyObject
*swig_obj
[1] ;
31245 if (!args
) SWIG_fail
;
31246 swig_obj
[0] = args
;
31247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31248 if (!SWIG_IsOK(res1
)) {
31249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31251 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31253 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
31254 if (PyErr_Occurred()) SWIG_fail
;
31256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31263 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31264 PyObject
*resultobj
= 0;
31265 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31266 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
31271 PyObject
* obj0
= 0 ;
31272 PyObject
* obj1
= 0 ;
31273 char * kwnames
[] = {
31274 (char *) "self",(char *) "ctx", NULL
31277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31279 if (!SWIG_IsOK(res1
)) {
31280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31282 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31283 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31284 if (!SWIG_IsOK(res2
)) {
31285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
31287 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
31289 (arg1
)->SetGraphicsContext(arg2
);
31290 if (PyErr_Occurred()) SWIG_fail
;
31292 resultobj
= SWIG_Py_Void();
31299 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31301 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31302 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
31303 return SWIG_Py_Void();
31306 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31307 return SWIG_Python_InitShadowInstance(args
);
31310 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31311 PyObject
*resultobj
= 0;
31312 wxOverlay
*result
= 0 ;
31314 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
31316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31317 result
= (wxOverlay
*)new wxOverlay();
31318 wxPyEndAllowThreads(__tstate
);
31319 if (PyErr_Occurred()) SWIG_fail
;
31321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
31328 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31329 PyObject
*resultobj
= 0;
31330 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31333 PyObject
*swig_obj
[1] ;
31335 if (!args
) SWIG_fail
;
31336 swig_obj
[0] = args
;
31337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
31338 if (!SWIG_IsOK(res1
)) {
31339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
31341 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31346 wxPyEndAllowThreads(__tstate
);
31347 if (PyErr_Occurred()) SWIG_fail
;
31349 resultobj
= SWIG_Py_Void();
31356 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31357 PyObject
*resultobj
= 0;
31358 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31361 PyObject
*swig_obj
[1] ;
31363 if (!args
) SWIG_fail
;
31364 swig_obj
[0] = args
;
31365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
31366 if (!SWIG_IsOK(res1
)) {
31367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
31369 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31373 wxPyEndAllowThreads(__tstate
);
31374 if (PyErr_Occurred()) SWIG_fail
;
31376 resultobj
= SWIG_Py_Void();
31383 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31385 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31386 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
31387 return SWIG_Py_Void();
31390 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31391 return SWIG_Python_InitShadowInstance(args
);
31394 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31395 PyObject
*resultobj
= 0;
31396 wxOverlay
*arg1
= 0 ;
31397 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31402 wxDCOverlay
*result
= 0 ;
31416 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31418 if (!SWIG_IsOK(res1
)) {
31419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31422 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31424 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31425 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31426 if (!SWIG_IsOK(res2
)) {
31427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31429 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31430 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31431 if (!SWIG_IsOK(ecode3
)) {
31432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31434 arg3
= static_cast< int >(val3
);
31435 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31436 if (!SWIG_IsOK(ecode4
)) {
31437 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31439 arg4
= static_cast< int >(val4
);
31440 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31441 if (!SWIG_IsOK(ecode5
)) {
31442 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31444 arg5
= static_cast< int >(val5
);
31445 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31446 if (!SWIG_IsOK(ecode6
)) {
31447 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31449 arg6
= static_cast< int >(val6
);
31451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31452 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31453 wxPyEndAllowThreads(__tstate
);
31454 if (PyErr_Occurred()) SWIG_fail
;
31456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31463 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31464 PyObject
*resultobj
= 0;
31465 wxOverlay
*arg1
= 0 ;
31466 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31467 wxDCOverlay
*result
= 0 ;
31473 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31475 if (!SWIG_IsOK(res1
)) {
31476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31481 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31482 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31483 if (!SWIG_IsOK(res2
)) {
31484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31486 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31489 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31490 wxPyEndAllowThreads(__tstate
);
31491 if (PyErr_Occurred()) SWIG_fail
;
31493 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31500 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31504 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31507 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31510 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31514 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31519 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31520 PyObject
*resultobj
= 0;
31521 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31524 PyObject
*swig_obj
[1] ;
31526 if (!args
) SWIG_fail
;
31527 swig_obj
[0] = args
;
31528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31529 if (!SWIG_IsOK(res1
)) {
31530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31532 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31537 wxPyEndAllowThreads(__tstate
);
31538 if (PyErr_Occurred()) SWIG_fail
;
31540 resultobj
= SWIG_Py_Void();
31547 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31548 PyObject
*resultobj
= 0;
31549 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31552 PyObject
*swig_obj
[1] ;
31554 if (!args
) SWIG_fail
;
31555 swig_obj
[0] = args
;
31556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31557 if (!SWIG_IsOK(res1
)) {
31558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31560 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31564 wxPyEndAllowThreads(__tstate
);
31565 if (PyErr_Occurred()) SWIG_fail
;
31567 resultobj
= SWIG_Py_Void();
31574 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31576 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31577 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31578 return SWIG_Py_Void();
31581 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31582 return SWIG_Python_InitShadowInstance(args
);
31585 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31586 PyObject
*resultobj
= 0;
31589 int arg3
= (int) true ;
31590 int arg4
= (int) 1 ;
31591 wxImageList
*result
= 0 ;
31600 PyObject
* obj0
= 0 ;
31601 PyObject
* obj1
= 0 ;
31602 PyObject
* obj2
= 0 ;
31603 PyObject
* obj3
= 0 ;
31604 char * kwnames
[] = {
31605 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31609 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31610 if (!SWIG_IsOK(ecode1
)) {
31611 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31613 arg1
= static_cast< int >(val1
);
31614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31615 if (!SWIG_IsOK(ecode2
)) {
31616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31618 arg2
= static_cast< int >(val2
);
31620 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31621 if (!SWIG_IsOK(ecode3
)) {
31622 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31624 arg3
= static_cast< int >(val3
);
31627 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31628 if (!SWIG_IsOK(ecode4
)) {
31629 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31631 arg4
= static_cast< int >(val4
);
31634 if (!wxPyCheckForApp()) SWIG_fail
;
31635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31636 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31637 wxPyEndAllowThreads(__tstate
);
31638 if (PyErr_Occurred()) SWIG_fail
;
31640 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31647 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31648 PyObject
*resultobj
= 0;
31649 wxImageList
*arg1
= (wxImageList
*) 0 ;
31652 PyObject
*swig_obj
[1] ;
31654 if (!args
) SWIG_fail
;
31655 swig_obj
[0] = args
;
31656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31657 if (!SWIG_IsOK(res1
)) {
31658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31660 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31665 wxPyEndAllowThreads(__tstate
);
31666 if (PyErr_Occurred()) SWIG_fail
;
31668 resultobj
= SWIG_Py_Void();
31675 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31676 PyObject
*resultobj
= 0;
31677 wxImageList
*arg1
= (wxImageList
*) 0 ;
31678 wxBitmap
*arg2
= 0 ;
31679 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31680 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31688 PyObject
* obj0
= 0 ;
31689 PyObject
* obj1
= 0 ;
31690 PyObject
* obj2
= 0 ;
31691 char * kwnames
[] = {
31692 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31697 if (!SWIG_IsOK(res1
)) {
31698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31700 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31701 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31702 if (!SWIG_IsOK(res2
)) {
31703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31708 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31710 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31711 if (!SWIG_IsOK(res3
)) {
31712 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31717 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31721 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31722 wxPyEndAllowThreads(__tstate
);
31723 if (PyErr_Occurred()) SWIG_fail
;
31725 resultobj
= SWIG_From_int(static_cast< int >(result
));
31732 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31733 PyObject
*resultobj
= 0;
31734 wxImageList
*arg1
= (wxImageList
*) 0 ;
31735 wxBitmap
*arg2
= 0 ;
31736 wxColour
*arg3
= 0 ;
31743 PyObject
* obj0
= 0 ;
31744 PyObject
* obj1
= 0 ;
31745 PyObject
* obj2
= 0 ;
31746 char * kwnames
[] = {
31747 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31752 if (!SWIG_IsOK(res1
)) {
31753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31755 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31756 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31757 if (!SWIG_IsOK(res2
)) {
31758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31763 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31766 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31770 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31771 wxPyEndAllowThreads(__tstate
);
31772 if (PyErr_Occurred()) SWIG_fail
;
31774 resultobj
= SWIG_From_int(static_cast< int >(result
));
31781 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31782 PyObject
*resultobj
= 0;
31783 wxImageList
*arg1
= (wxImageList
*) 0 ;
31790 PyObject
* obj0
= 0 ;
31791 PyObject
* obj1
= 0 ;
31792 char * kwnames
[] = {
31793 (char *) "self",(char *) "icon", NULL
31796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31798 if (!SWIG_IsOK(res1
)) {
31799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31801 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31802 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31803 if (!SWIG_IsOK(res2
)) {
31804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31809 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31812 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31813 wxPyEndAllowThreads(__tstate
);
31814 if (PyErr_Occurred()) SWIG_fail
;
31816 resultobj
= SWIG_From_int(static_cast< int >(result
));
31823 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31824 PyObject
*resultobj
= 0;
31825 wxImageList
*arg1
= (wxImageList
*) 0 ;
31827 SwigValueWrapper
<wxBitmap
> result
;
31832 PyObject
* obj0
= 0 ;
31833 PyObject
* obj1
= 0 ;
31834 char * kwnames
[] = {
31835 (char *) "self",(char *) "index", NULL
31838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31840 if (!SWIG_IsOK(res1
)) {
31841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31843 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31845 if (!SWIG_IsOK(ecode2
)) {
31846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31848 arg2
= static_cast< int >(val2
);
31850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31851 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31852 wxPyEndAllowThreads(__tstate
);
31853 if (PyErr_Occurred()) SWIG_fail
;
31855 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31862 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31863 PyObject
*resultobj
= 0;
31864 wxImageList
*arg1
= (wxImageList
*) 0 ;
31871 PyObject
* obj0
= 0 ;
31872 PyObject
* obj1
= 0 ;
31873 char * kwnames
[] = {
31874 (char *) "self",(char *) "index", NULL
31877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31879 if (!SWIG_IsOK(res1
)) {
31880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31882 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31884 if (!SWIG_IsOK(ecode2
)) {
31885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31887 arg2
= static_cast< int >(val2
);
31889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31890 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31891 wxPyEndAllowThreads(__tstate
);
31892 if (PyErr_Occurred()) SWIG_fail
;
31894 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31901 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31902 PyObject
*resultobj
= 0;
31903 wxImageList
*arg1
= (wxImageList
*) 0 ;
31905 wxBitmap
*arg3
= 0 ;
31906 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31907 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31917 PyObject
* obj0
= 0 ;
31918 PyObject
* obj1
= 0 ;
31919 PyObject
* obj2
= 0 ;
31920 PyObject
* obj3
= 0 ;
31921 char * kwnames
[] = {
31922 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31927 if (!SWIG_IsOK(res1
)) {
31928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31930 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31932 if (!SWIG_IsOK(ecode2
)) {
31933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31935 arg2
= static_cast< int >(val2
);
31936 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31937 if (!SWIG_IsOK(res3
)) {
31938 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31943 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31945 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31946 if (!SWIG_IsOK(res4
)) {
31947 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31950 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31952 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31956 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31957 wxPyEndAllowThreads(__tstate
);
31958 if (PyErr_Occurred()) SWIG_fail
;
31961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31969 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31970 PyObject
*resultobj
= 0;
31971 wxImageList
*arg1
= (wxImageList
*) 0 ;
31976 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31977 bool arg7
= (bool) (bool)false ;
31993 PyObject
* obj0
= 0 ;
31994 PyObject
* obj1
= 0 ;
31995 PyObject
* obj2
= 0 ;
31996 PyObject
* obj3
= 0 ;
31997 PyObject
* obj4
= 0 ;
31998 PyObject
* obj5
= 0 ;
31999 PyObject
* obj6
= 0 ;
32000 char * kwnames
[] = {
32001 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
32004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32006 if (!SWIG_IsOK(res1
)) {
32007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
32009 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32011 if (!SWIG_IsOK(ecode2
)) {
32012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
32014 arg2
= static_cast< int >(val2
);
32015 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32016 if (!SWIG_IsOK(res3
)) {
32017 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32022 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32023 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32024 if (!SWIG_IsOK(ecode4
)) {
32025 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
32027 arg4
= static_cast< int >(val4
);
32028 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32029 if (!SWIG_IsOK(ecode5
)) {
32030 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
32032 arg5
= static_cast< int >(val5
);
32034 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32035 if (!SWIG_IsOK(ecode6
)) {
32036 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
32038 arg6
= static_cast< int >(val6
);
32041 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
32042 if (!SWIG_IsOK(ecode7
)) {
32043 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
32045 arg7
= static_cast< bool >(val7
);
32048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32049 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
32050 wxPyEndAllowThreads(__tstate
);
32051 if (PyErr_Occurred()) SWIG_fail
;
32054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32062 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32063 PyObject
*resultobj
= 0;
32064 wxImageList
*arg1
= (wxImageList
*) 0 ;
32068 PyObject
*swig_obj
[1] ;
32070 if (!args
) SWIG_fail
;
32071 swig_obj
[0] = args
;
32072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32073 if (!SWIG_IsOK(res1
)) {
32074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
32076 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32079 result
= (int)(arg1
)->GetImageCount();
32080 wxPyEndAllowThreads(__tstate
);
32081 if (PyErr_Occurred()) SWIG_fail
;
32083 resultobj
= SWIG_From_int(static_cast< int >(result
));
32090 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32091 PyObject
*resultobj
= 0;
32092 wxImageList
*arg1
= (wxImageList
*) 0 ;
32099 PyObject
* obj0
= 0 ;
32100 PyObject
* obj1
= 0 ;
32101 char * kwnames
[] = {
32102 (char *) "self",(char *) "index", NULL
32105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32107 if (!SWIG_IsOK(res1
)) {
32108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
32110 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32112 if (!SWIG_IsOK(ecode2
)) {
32113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
32115 arg2
= static_cast< int >(val2
);
32117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32118 result
= (bool)(arg1
)->Remove(arg2
);
32119 wxPyEndAllowThreads(__tstate
);
32120 if (PyErr_Occurred()) SWIG_fail
;
32123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32131 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32132 PyObject
*resultobj
= 0;
32133 wxImageList
*arg1
= (wxImageList
*) 0 ;
32137 PyObject
*swig_obj
[1] ;
32139 if (!args
) SWIG_fail
;
32140 swig_obj
[0] = args
;
32141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32142 if (!SWIG_IsOK(res1
)) {
32143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
32145 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32148 result
= (bool)(arg1
)->RemoveAll();
32149 wxPyEndAllowThreads(__tstate
);
32150 if (PyErr_Occurred()) SWIG_fail
;
32153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32161 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32162 PyObject
*resultobj
= 0;
32163 wxImageList
*arg1
= (wxImageList
*) 0 ;
32172 int res3
= SWIG_TMPOBJ
;
32174 int res4
= SWIG_TMPOBJ
;
32175 PyObject
* obj0
= 0 ;
32176 PyObject
* obj1
= 0 ;
32177 char * kwnames
[] = {
32178 (char *) "self",(char *) "index", NULL
32183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32185 if (!SWIG_IsOK(res1
)) {
32186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
32188 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32190 if (!SWIG_IsOK(ecode2
)) {
32191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
32193 arg2
= static_cast< int >(val2
);
32195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32196 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
32197 wxPyEndAllowThreads(__tstate
);
32198 if (PyErr_Occurred()) SWIG_fail
;
32200 resultobj
= SWIG_Py_Void();
32201 if (SWIG_IsTmpObj(res3
)) {
32202 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32204 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32205 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32207 if (SWIG_IsTmpObj(res4
)) {
32208 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
32210 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32211 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
32219 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32222 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
32223 return SWIG_Py_Void();
32226 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32227 return SWIG_Python_InitShadowInstance(args
);
32230 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32231 PyObject
*resultobj
= 0;
32232 wxStockGDI
*result
= 0 ;
32234 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
32236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32237 result
= (wxStockGDI
*)new wxStockGDI();
32238 wxPyEndAllowThreads(__tstate
);
32239 if (PyErr_Occurred()) SWIG_fail
;
32241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
32248 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32249 PyObject
*resultobj
= 0;
32250 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32253 PyObject
*swig_obj
[1] ;
32255 if (!args
) SWIG_fail
;
32256 swig_obj
[0] = args
;
32257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
32258 if (!SWIG_IsOK(res1
)) {
32259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32261 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32266 wxPyEndAllowThreads(__tstate
);
32267 if (PyErr_Occurred()) SWIG_fail
;
32269 resultobj
= SWIG_Py_Void();
32276 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32277 PyObject
*resultobj
= 0;
32279 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
32281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32282 wxStockGDI::DeleteAll();
32283 wxPyEndAllowThreads(__tstate
);
32284 if (PyErr_Occurred()) SWIG_fail
;
32286 resultobj
= SWIG_Py_Void();
32293 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32294 PyObject
*resultobj
= 0;
32295 wxStockGDI
*result
= 0 ;
32297 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
32299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32301 wxStockGDI
&_result_ref
= wxStockGDI::instance();
32302 result
= (wxStockGDI
*) &_result_ref
;
32304 wxPyEndAllowThreads(__tstate
);
32305 if (PyErr_Occurred()) SWIG_fail
;
32307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32314 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32315 PyObject
*resultobj
= 0;
32316 wxStockGDI::Item arg1
;
32317 wxBrush
*result
= 0 ;
32320 PyObject
* obj0
= 0 ;
32321 char * kwnames
[] = {
32322 (char *) "item", NULL
32325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
32326 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32327 if (!SWIG_IsOK(ecode1
)) {
32328 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32330 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32333 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
32334 wxPyEndAllowThreads(__tstate
);
32335 if (PyErr_Occurred()) SWIG_fail
;
32337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32344 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32345 PyObject
*resultobj
= 0;
32346 wxStockGDI::Item arg1
;
32347 wxColour
*result
= 0 ;
32350 PyObject
* obj0
= 0 ;
32351 char * kwnames
[] = {
32352 (char *) "item", NULL
32355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
32356 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32357 if (!SWIG_IsOK(ecode1
)) {
32358 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32360 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32363 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
32364 wxPyEndAllowThreads(__tstate
);
32365 if (PyErr_Occurred()) SWIG_fail
;
32367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32374 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32375 PyObject
*resultobj
= 0;
32376 wxStockGDI::Item arg1
;
32377 wxCursor
*result
= 0 ;
32380 PyObject
* obj0
= 0 ;
32381 char * kwnames
[] = {
32382 (char *) "item", NULL
32385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
32386 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32387 if (!SWIG_IsOK(ecode1
)) {
32388 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32390 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32393 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
32394 wxPyEndAllowThreads(__tstate
);
32395 if (PyErr_Occurred()) SWIG_fail
;
32397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32404 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32405 PyObject
*resultobj
= 0;
32406 wxStockGDI::Item arg1
;
32407 wxPen
*result
= 0 ;
32410 PyObject
* obj0
= 0 ;
32411 char * kwnames
[] = {
32412 (char *) "item", NULL
32415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32416 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32417 if (!SWIG_IsOK(ecode1
)) {
32418 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32420 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32423 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32424 wxPyEndAllowThreads(__tstate
);
32425 if (PyErr_Occurred()) SWIG_fail
;
32427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32434 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32435 PyObject
*resultobj
= 0;
32436 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32437 wxStockGDI::Item arg2
;
32438 wxFont
*result
= 0 ;
32443 PyObject
* obj0
= 0 ;
32444 PyObject
* obj1
= 0 ;
32445 char * kwnames
[] = {
32446 (char *) "self",(char *) "item", NULL
32449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32451 if (!SWIG_IsOK(res1
)) {
32452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32454 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32456 if (!SWIG_IsOK(ecode2
)) {
32457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32459 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32462 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32463 wxPyEndAllowThreads(__tstate
);
32464 if (PyErr_Occurred()) SWIG_fail
;
32466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32473 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32475 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32476 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32477 return SWIG_Py_Void();
32480 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32481 return SWIG_Python_InitShadowInstance(args
);
32484 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32485 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32490 SWIGINTERN PyObject
*NullBitmap_get(void) {
32491 PyObject
*pyobj
= 0;
32493 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32498 SWIGINTERN
int NullIcon_set(PyObject
*) {
32499 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32504 SWIGINTERN PyObject
*NullIcon_get(void) {
32505 PyObject
*pyobj
= 0;
32507 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32512 SWIGINTERN
int NullCursor_set(PyObject
*) {
32513 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32518 SWIGINTERN PyObject
*NullCursor_get(void) {
32519 PyObject
*pyobj
= 0;
32521 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32526 SWIGINTERN
int NullPen_set(PyObject
*) {
32527 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32532 SWIGINTERN PyObject
*NullPen_get(void) {
32533 PyObject
*pyobj
= 0;
32535 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32540 SWIGINTERN
int NullBrush_set(PyObject
*) {
32541 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32546 SWIGINTERN PyObject
*NullBrush_get(void) {
32547 PyObject
*pyobj
= 0;
32549 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32554 SWIGINTERN
int NullPalette_set(PyObject
*) {
32555 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32560 SWIGINTERN PyObject
*NullPalette_get(void) {
32561 PyObject
*pyobj
= 0;
32563 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32568 SWIGINTERN
int NullFont_set(PyObject
*) {
32569 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32574 SWIGINTERN PyObject
*NullFont_get(void) {
32575 PyObject
*pyobj
= 0;
32577 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32582 SWIGINTERN
int NullColour_set(PyObject
*) {
32583 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32588 SWIGINTERN PyObject
*NullColour_get(void) {
32589 PyObject
*pyobj
= 0;
32591 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32596 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32597 PyObject
*resultobj
= 0;
32598 wxGDIObjListBase
*result
= 0 ;
32600 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32603 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32604 wxPyEndAllowThreads(__tstate
);
32605 if (PyErr_Occurred()) SWIG_fail
;
32607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32614 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32615 PyObject
*resultobj
= 0;
32616 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32619 PyObject
*swig_obj
[1] ;
32621 if (!args
) SWIG_fail
;
32622 swig_obj
[0] = args
;
32623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32624 if (!SWIG_IsOK(res1
)) {
32625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32627 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32632 wxPyEndAllowThreads(__tstate
);
32633 if (PyErr_Occurred()) SWIG_fail
;
32635 resultobj
= SWIG_Py_Void();
32642 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32644 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32645 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32646 return SWIG_Py_Void();
32649 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32650 return SWIG_Python_InitShadowInstance(args
);
32653 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32654 PyObject
*resultobj
= 0;
32655 wxPenList
*arg1
= (wxPenList
*) 0 ;
32656 wxColour
*arg2
= 0 ;
32659 wxPen
*result
= 0 ;
32667 PyObject
* obj0
= 0 ;
32668 PyObject
* obj1
= 0 ;
32669 PyObject
* obj2
= 0 ;
32670 PyObject
* obj3
= 0 ;
32671 char * kwnames
[] = {
32672 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32677 if (!SWIG_IsOK(res1
)) {
32678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32680 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32683 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32685 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32686 if (!SWIG_IsOK(ecode3
)) {
32687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32689 arg3
= static_cast< int >(val3
);
32690 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32691 if (!SWIG_IsOK(ecode4
)) {
32692 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32694 arg4
= static_cast< int >(val4
);
32696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32697 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32698 wxPyEndAllowThreads(__tstate
);
32699 if (PyErr_Occurred()) SWIG_fail
;
32701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32708 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32709 PyObject
*resultobj
= 0;
32710 wxPenList
*arg1
= (wxPenList
*) 0 ;
32711 wxPen
*arg2
= (wxPen
*) 0 ;
32716 PyObject
* obj0
= 0 ;
32717 PyObject
* obj1
= 0 ;
32718 char * kwnames
[] = {
32719 (char *) "self",(char *) "pen", NULL
32722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32724 if (!SWIG_IsOK(res1
)) {
32725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32727 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32728 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32729 if (!SWIG_IsOK(res2
)) {
32730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32732 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32735 (arg1
)->AddPen(arg2
);
32736 wxPyEndAllowThreads(__tstate
);
32737 if (PyErr_Occurred()) SWIG_fail
;
32739 resultobj
= SWIG_Py_Void();
32746 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32747 PyObject
*resultobj
= 0;
32748 wxPenList
*arg1
= (wxPenList
*) 0 ;
32749 wxPen
*arg2
= (wxPen
*) 0 ;
32754 PyObject
* obj0
= 0 ;
32755 PyObject
* obj1
= 0 ;
32756 char * kwnames
[] = {
32757 (char *) "self",(char *) "pen", NULL
32760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32762 if (!SWIG_IsOK(res1
)) {
32763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32765 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32766 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32767 if (!SWIG_IsOK(res2
)) {
32768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32770 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32773 (arg1
)->RemovePen(arg2
);
32774 wxPyEndAllowThreads(__tstate
);
32775 if (PyErr_Occurred()) SWIG_fail
;
32777 resultobj
= SWIG_Py_Void();
32784 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32786 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32787 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32788 return SWIG_Py_Void();
32791 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32792 PyObject
*resultobj
= 0;
32793 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32794 wxColour
*arg2
= 0 ;
32795 int arg3
= (int) wxSOLID
;
32796 wxBrush
*result
= 0 ;
32802 PyObject
* obj0
= 0 ;
32803 PyObject
* obj1
= 0 ;
32804 PyObject
* obj2
= 0 ;
32805 char * kwnames
[] = {
32806 (char *) "self",(char *) "colour",(char *) "style", NULL
32809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32811 if (!SWIG_IsOK(res1
)) {
32812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32814 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32817 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32821 if (!SWIG_IsOK(ecode3
)) {
32822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32824 arg3
= static_cast< int >(val3
);
32827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32828 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32829 wxPyEndAllowThreads(__tstate
);
32830 if (PyErr_Occurred()) SWIG_fail
;
32832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32839 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32840 PyObject
*resultobj
= 0;
32841 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32842 wxBrush
*arg2
= (wxBrush
*) 0 ;
32847 PyObject
* obj0
= 0 ;
32848 PyObject
* obj1
= 0 ;
32849 char * kwnames
[] = {
32850 (char *) "self",(char *) "brush", NULL
32853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32855 if (!SWIG_IsOK(res1
)) {
32856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32858 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32859 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32860 if (!SWIG_IsOK(res2
)) {
32861 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32863 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32866 (arg1
)->AddBrush(arg2
);
32867 wxPyEndAllowThreads(__tstate
);
32868 if (PyErr_Occurred()) SWIG_fail
;
32870 resultobj
= SWIG_Py_Void();
32877 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32878 PyObject
*resultobj
= 0;
32879 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32880 wxBrush
*arg2
= (wxBrush
*) 0 ;
32885 PyObject
* obj0
= 0 ;
32886 PyObject
* obj1
= 0 ;
32887 char * kwnames
[] = {
32888 (char *) "self",(char *) "brush", NULL
32891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32893 if (!SWIG_IsOK(res1
)) {
32894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32896 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32897 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32898 if (!SWIG_IsOK(res2
)) {
32899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32901 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32904 (arg1
)->RemoveBrush(arg2
);
32905 wxPyEndAllowThreads(__tstate
);
32906 if (PyErr_Occurred()) SWIG_fail
;
32908 resultobj
= SWIG_Py_Void();
32915 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32917 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32918 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32919 return SWIG_Py_Void();
32922 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32923 PyObject
*resultobj
= 0;
32924 wxFontList
*arg1
= (wxFontList
*) 0 ;
32929 bool arg6
= (bool) false ;
32930 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32931 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32932 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32933 wxFont
*result
= 0 ;
32946 bool temp7
= false ;
32949 PyObject
* obj0
= 0 ;
32950 PyObject
* obj1
= 0 ;
32951 PyObject
* obj2
= 0 ;
32952 PyObject
* obj3
= 0 ;
32953 PyObject
* obj4
= 0 ;
32954 PyObject
* obj5
= 0 ;
32955 PyObject
* obj6
= 0 ;
32956 PyObject
* obj7
= 0 ;
32957 char * kwnames
[] = {
32958 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32963 if (!SWIG_IsOK(res1
)) {
32964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32966 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32968 if (!SWIG_IsOK(ecode2
)) {
32969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32971 arg2
= static_cast< int >(val2
);
32972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32973 if (!SWIG_IsOK(ecode3
)) {
32974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32976 arg3
= static_cast< int >(val3
);
32977 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32978 if (!SWIG_IsOK(ecode4
)) {
32979 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32981 arg4
= static_cast< int >(val4
);
32982 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32983 if (!SWIG_IsOK(ecode5
)) {
32984 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32986 arg5
= static_cast< int >(val5
);
32988 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32989 if (!SWIG_IsOK(ecode6
)) {
32990 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32992 arg6
= static_cast< bool >(val6
);
32996 arg7
= wxString_in_helper(obj6
);
32997 if (arg7
== NULL
) SWIG_fail
;
33002 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
33003 if (!SWIG_IsOK(ecode8
)) {
33004 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
33006 arg8
= static_cast< wxFontEncoding
>(val8
);
33009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33010 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
33011 wxPyEndAllowThreads(__tstate
);
33012 if (PyErr_Occurred()) SWIG_fail
;
33014 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33029 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33030 PyObject
*resultobj
= 0;
33031 wxFontList
*arg1
= (wxFontList
*) 0 ;
33032 wxFont
*arg2
= (wxFont
*) 0 ;
33037 PyObject
* obj0
= 0 ;
33038 PyObject
* obj1
= 0 ;
33039 char * kwnames
[] = {
33040 (char *) "self",(char *) "font", NULL
33043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33045 if (!SWIG_IsOK(res1
)) {
33046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33048 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33049 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33050 if (!SWIG_IsOK(res2
)) {
33051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
33053 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33056 (arg1
)->AddFont(arg2
);
33057 wxPyEndAllowThreads(__tstate
);
33058 if (PyErr_Occurred()) SWIG_fail
;
33060 resultobj
= SWIG_Py_Void();
33067 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33068 PyObject
*resultobj
= 0;
33069 wxFontList
*arg1
= (wxFontList
*) 0 ;
33070 wxFont
*arg2
= (wxFont
*) 0 ;
33075 PyObject
* obj0
= 0 ;
33076 PyObject
* obj1
= 0 ;
33077 char * kwnames
[] = {
33078 (char *) "self",(char *) "font", NULL
33081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33083 if (!SWIG_IsOK(res1
)) {
33084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33086 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33087 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33088 if (!SWIG_IsOK(res2
)) {
33089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
33091 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33094 (arg1
)->RemoveFont(arg2
);
33095 wxPyEndAllowThreads(__tstate
);
33096 if (PyErr_Occurred()) SWIG_fail
;
33098 resultobj
= SWIG_Py_Void();
33105 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33107 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33108 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
33109 return SWIG_Py_Void();
33112 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33113 PyObject
*resultobj
= 0;
33114 wxColourDatabase
*result
= 0 ;
33116 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
33118 if (!wxPyCheckForApp()) SWIG_fail
;
33119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33120 result
= (wxColourDatabase
*)new wxColourDatabase();
33121 wxPyEndAllowThreads(__tstate
);
33122 if (PyErr_Occurred()) SWIG_fail
;
33124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
33131 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33132 PyObject
*resultobj
= 0;
33133 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33136 PyObject
*swig_obj
[1] ;
33138 if (!args
) SWIG_fail
;
33139 swig_obj
[0] = args
;
33140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
33141 if (!SWIG_IsOK(res1
)) {
33142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33144 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33149 wxPyEndAllowThreads(__tstate
);
33150 if (PyErr_Occurred()) SWIG_fail
;
33152 resultobj
= SWIG_Py_Void();
33159 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33160 PyObject
*resultobj
= 0;
33161 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33162 wxString
*arg2
= 0 ;
33166 bool temp2
= false ;
33167 PyObject
* obj0
= 0 ;
33168 PyObject
* obj1
= 0 ;
33169 char * kwnames
[] = {
33170 (char *) "self",(char *) "name", NULL
33173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33175 if (!SWIG_IsOK(res1
)) {
33176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33178 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33180 arg2
= wxString_in_helper(obj1
);
33181 if (arg2
== NULL
) SWIG_fail
;
33185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33186 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
33187 wxPyEndAllowThreads(__tstate
);
33188 if (PyErr_Occurred()) SWIG_fail
;
33190 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33205 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33206 PyObject
*resultobj
= 0;
33207 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33208 wxColour
*arg2
= 0 ;
33213 PyObject
* obj0
= 0 ;
33214 PyObject
* obj1
= 0 ;
33215 char * kwnames
[] = {
33216 (char *) "self",(char *) "colour", NULL
33219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33221 if (!SWIG_IsOK(res1
)) {
33222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33224 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33227 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33231 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
33232 wxPyEndAllowThreads(__tstate
);
33233 if (PyErr_Occurred()) SWIG_fail
;
33237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33248 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33249 PyObject
*resultobj
= 0;
33250 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33251 wxString
*arg2
= 0 ;
33252 wxColour
*arg3
= 0 ;
33255 bool temp2
= false ;
33257 PyObject
* obj0
= 0 ;
33258 PyObject
* obj1
= 0 ;
33259 PyObject
* obj2
= 0 ;
33260 char * kwnames
[] = {
33261 (char *) "self",(char *) "name",(char *) "colour", NULL
33264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33266 if (!SWIG_IsOK(res1
)) {
33267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33269 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33271 arg2
= wxString_in_helper(obj1
);
33272 if (arg2
== NULL
) SWIG_fail
;
33277 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33281 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
33282 wxPyEndAllowThreads(__tstate
);
33283 if (PyErr_Occurred()) SWIG_fail
;
33285 resultobj
= SWIG_Py_Void();
33300 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33301 PyObject
*resultobj
= 0;
33302 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33303 wxString
*arg2
= 0 ;
33309 bool temp2
= false ;
33316 PyObject
* obj0
= 0 ;
33317 PyObject
* obj1
= 0 ;
33318 PyObject
* obj2
= 0 ;
33319 PyObject
* obj3
= 0 ;
33320 PyObject
* obj4
= 0 ;
33321 char * kwnames
[] = {
33322 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
33325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33327 if (!SWIG_IsOK(res1
)) {
33328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33330 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33332 arg2
= wxString_in_helper(obj1
);
33333 if (arg2
== NULL
) SWIG_fail
;
33336 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33337 if (!SWIG_IsOK(ecode3
)) {
33338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
33340 arg3
= static_cast< int >(val3
);
33341 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33342 if (!SWIG_IsOK(ecode4
)) {
33343 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
33345 arg4
= static_cast< int >(val4
);
33346 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33347 if (!SWIG_IsOK(ecode5
)) {
33348 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
33350 arg5
= static_cast< int >(val5
);
33352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33353 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33354 wxPyEndAllowThreads(__tstate
);
33355 if (PyErr_Occurred()) SWIG_fail
;
33357 resultobj
= SWIG_Py_Void();
33372 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33374 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33375 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
33376 return SWIG_Py_Void();
33379 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33380 return SWIG_Python_InitShadowInstance(args
);
33383 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33384 PyObject
*resultobj
= 0;
33385 wxFontList
*result
= 0 ;
33387 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33390 result
= (wxFontList
*)_wxPyInitTheFontList();
33391 wxPyEndAllowThreads(__tstate
);
33392 if (PyErr_Occurred()) SWIG_fail
;
33394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33401 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33402 PyObject
*resultobj
= 0;
33403 wxPenList
*result
= 0 ;
33405 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33408 result
= (wxPenList
*)_wxPyInitThePenList();
33409 wxPyEndAllowThreads(__tstate
);
33410 if (PyErr_Occurred()) SWIG_fail
;
33412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33419 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33420 PyObject
*resultobj
= 0;
33421 wxBrushList
*result
= 0 ;
33423 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33426 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33427 wxPyEndAllowThreads(__tstate
);
33428 if (PyErr_Occurred()) SWIG_fail
;
33430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33437 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33438 PyObject
*resultobj
= 0;
33439 wxColourDatabase
*result
= 0 ;
33441 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33444 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33445 wxPyEndAllowThreads(__tstate
);
33446 if (PyErr_Occurred()) SWIG_fail
;
33448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33455 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33456 PyObject
*resultobj
= 0;
33457 wxEffects
*result
= 0 ;
33459 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33462 result
= (wxEffects
*)new wxEffects();
33463 wxPyEndAllowThreads(__tstate
);
33464 if (PyErr_Occurred()) SWIG_fail
;
33466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33473 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33474 PyObject
*resultobj
= 0;
33475 wxEffects
*arg1
= (wxEffects
*) 0 ;
33479 PyObject
*swig_obj
[1] ;
33481 if (!args
) SWIG_fail
;
33482 swig_obj
[0] = args
;
33483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33484 if (!SWIG_IsOK(res1
)) {
33485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33487 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33490 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33491 wxPyEndAllowThreads(__tstate
);
33492 if (PyErr_Occurred()) SWIG_fail
;
33494 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33501 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33502 PyObject
*resultobj
= 0;
33503 wxEffects
*arg1
= (wxEffects
*) 0 ;
33507 PyObject
*swig_obj
[1] ;
33509 if (!args
) SWIG_fail
;
33510 swig_obj
[0] = args
;
33511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33512 if (!SWIG_IsOK(res1
)) {
33513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33515 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33518 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33519 wxPyEndAllowThreads(__tstate
);
33520 if (PyErr_Occurred()) SWIG_fail
;
33522 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33529 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33530 PyObject
*resultobj
= 0;
33531 wxEffects
*arg1
= (wxEffects
*) 0 ;
33535 PyObject
*swig_obj
[1] ;
33537 if (!args
) SWIG_fail
;
33538 swig_obj
[0] = args
;
33539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33540 if (!SWIG_IsOK(res1
)) {
33541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33543 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33546 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33547 wxPyEndAllowThreads(__tstate
);
33548 if (PyErr_Occurred()) SWIG_fail
;
33550 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33557 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33558 PyObject
*resultobj
= 0;
33559 wxEffects
*arg1
= (wxEffects
*) 0 ;
33563 PyObject
*swig_obj
[1] ;
33565 if (!args
) SWIG_fail
;
33566 swig_obj
[0] = args
;
33567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33568 if (!SWIG_IsOK(res1
)) {
33569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33571 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33574 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33575 wxPyEndAllowThreads(__tstate
);
33576 if (PyErr_Occurred()) SWIG_fail
;
33578 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33585 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33586 PyObject
*resultobj
= 0;
33587 wxEffects
*arg1
= (wxEffects
*) 0 ;
33591 PyObject
*swig_obj
[1] ;
33593 if (!args
) SWIG_fail
;
33594 swig_obj
[0] = args
;
33595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33596 if (!SWIG_IsOK(res1
)) {
33597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33599 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33602 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33603 wxPyEndAllowThreads(__tstate
);
33604 if (PyErr_Occurred()) SWIG_fail
;
33606 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33613 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33614 PyObject
*resultobj
= 0;
33615 wxEffects
*arg1
= (wxEffects
*) 0 ;
33616 wxColour
*arg2
= 0 ;
33620 PyObject
* obj0
= 0 ;
33621 PyObject
* obj1
= 0 ;
33622 char * kwnames
[] = {
33623 (char *) "self",(char *) "c", NULL
33626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33628 if (!SWIG_IsOK(res1
)) {
33629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33631 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33634 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33638 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33639 wxPyEndAllowThreads(__tstate
);
33640 if (PyErr_Occurred()) SWIG_fail
;
33642 resultobj
= SWIG_Py_Void();
33649 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33650 PyObject
*resultobj
= 0;
33651 wxEffects
*arg1
= (wxEffects
*) 0 ;
33652 wxColour
*arg2
= 0 ;
33656 PyObject
* obj0
= 0 ;
33657 PyObject
* obj1
= 0 ;
33658 char * kwnames
[] = {
33659 (char *) "self",(char *) "c", NULL
33662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33664 if (!SWIG_IsOK(res1
)) {
33665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33667 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33670 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33674 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33675 wxPyEndAllowThreads(__tstate
);
33676 if (PyErr_Occurred()) SWIG_fail
;
33678 resultobj
= SWIG_Py_Void();
33685 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33686 PyObject
*resultobj
= 0;
33687 wxEffects
*arg1
= (wxEffects
*) 0 ;
33688 wxColour
*arg2
= 0 ;
33692 PyObject
* obj0
= 0 ;
33693 PyObject
* obj1
= 0 ;
33694 char * kwnames
[] = {
33695 (char *) "self",(char *) "c", NULL
33698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33700 if (!SWIG_IsOK(res1
)) {
33701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33703 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33706 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33710 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33711 wxPyEndAllowThreads(__tstate
);
33712 if (PyErr_Occurred()) SWIG_fail
;
33714 resultobj
= SWIG_Py_Void();
33721 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33722 PyObject
*resultobj
= 0;
33723 wxEffects
*arg1
= (wxEffects
*) 0 ;
33724 wxColour
*arg2
= 0 ;
33728 PyObject
* obj0
= 0 ;
33729 PyObject
* obj1
= 0 ;
33730 char * kwnames
[] = {
33731 (char *) "self",(char *) "c", NULL
33734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33736 if (!SWIG_IsOK(res1
)) {
33737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33739 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33742 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33746 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33747 wxPyEndAllowThreads(__tstate
);
33748 if (PyErr_Occurred()) SWIG_fail
;
33750 resultobj
= SWIG_Py_Void();
33757 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33758 PyObject
*resultobj
= 0;
33759 wxEffects
*arg1
= (wxEffects
*) 0 ;
33760 wxColour
*arg2
= 0 ;
33764 PyObject
* obj0
= 0 ;
33765 PyObject
* obj1
= 0 ;
33766 char * kwnames
[] = {
33767 (char *) "self",(char *) "c", NULL
33770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33772 if (!SWIG_IsOK(res1
)) {
33773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33775 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33778 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33782 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33783 wxPyEndAllowThreads(__tstate
);
33784 if (PyErr_Occurred()) SWIG_fail
;
33786 resultobj
= SWIG_Py_Void();
33793 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33794 PyObject
*resultobj
= 0;
33795 wxEffects
*arg1
= (wxEffects
*) 0 ;
33796 wxColour
*arg2
= 0 ;
33797 wxColour
*arg3
= 0 ;
33798 wxColour
*arg4
= 0 ;
33799 wxColour
*arg5
= 0 ;
33800 wxColour
*arg6
= 0 ;
33808 PyObject
* obj0
= 0 ;
33809 PyObject
* obj1
= 0 ;
33810 PyObject
* obj2
= 0 ;
33811 PyObject
* obj3
= 0 ;
33812 PyObject
* obj4
= 0 ;
33813 PyObject
* obj5
= 0 ;
33814 char * kwnames
[] = {
33815 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33820 if (!SWIG_IsOK(res1
)) {
33821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33823 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33826 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33830 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33834 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33838 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33842 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33846 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33847 wxPyEndAllowThreads(__tstate
);
33848 if (PyErr_Occurred()) SWIG_fail
;
33850 resultobj
= SWIG_Py_Void();
33857 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33858 PyObject
*resultobj
= 0;
33859 wxEffects
*arg1
= (wxEffects
*) 0 ;
33862 int arg4
= (int) 1 ;
33870 PyObject
* obj0
= 0 ;
33871 PyObject
* obj1
= 0 ;
33872 PyObject
* obj2
= 0 ;
33873 PyObject
* obj3
= 0 ;
33874 char * kwnames
[] = {
33875 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33880 if (!SWIG_IsOK(res1
)) {
33881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33883 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33884 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33885 if (!SWIG_IsOK(res2
)) {
33886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33891 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33894 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33897 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33898 if (!SWIG_IsOK(ecode4
)) {
33899 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33901 arg4
= static_cast< int >(val4
);
33904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33905 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33906 wxPyEndAllowThreads(__tstate
);
33907 if (PyErr_Occurred()) SWIG_fail
;
33909 resultobj
= SWIG_Py_Void();
33916 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33917 PyObject
*resultobj
= 0;
33918 wxEffects
*arg1
= (wxEffects
*) 0 ;
33921 wxBitmap
*arg4
= 0 ;
33930 PyObject
* obj0
= 0 ;
33931 PyObject
* obj1
= 0 ;
33932 PyObject
* obj2
= 0 ;
33933 PyObject
* obj3
= 0 ;
33934 char * kwnames
[] = {
33935 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33940 if (!SWIG_IsOK(res1
)) {
33941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33943 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33946 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33948 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33949 if (!SWIG_IsOK(res3
)) {
33950 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33955 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33956 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33957 if (!SWIG_IsOK(res4
)) {
33958 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33963 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33966 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33967 wxPyEndAllowThreads(__tstate
);
33968 if (PyErr_Occurred()) SWIG_fail
;
33971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33979 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33981 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33982 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33983 return SWIG_Py_Void();
33986 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33987 return SWIG_Python_InitShadowInstance(args
);
33990 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33991 PyObject
*resultobj
= 0;
33995 wxSplitterRenderParams
*result
= 0 ;
34002 PyObject
* obj0
= 0 ;
34003 PyObject
* obj1
= 0 ;
34004 PyObject
* obj2
= 0 ;
34005 char * kwnames
[] = {
34006 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
34009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34010 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34011 if (!SWIG_IsOK(ecode1
)) {
34012 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
34014 arg1
= static_cast< int >(val1
);
34015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34016 if (!SWIG_IsOK(ecode2
)) {
34017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
34019 arg2
= static_cast< int >(val2
);
34020 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34021 if (!SWIG_IsOK(ecode3
)) {
34022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
34024 arg3
= static_cast< bool >(val3
);
34026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34027 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
34028 wxPyEndAllowThreads(__tstate
);
34029 if (PyErr_Occurred()) SWIG_fail
;
34031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
34038 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34039 PyObject
*resultobj
= 0;
34040 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34043 PyObject
*swig_obj
[1] ;
34045 if (!args
) SWIG_fail
;
34046 swig_obj
[0] = args
;
34047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
34048 if (!SWIG_IsOK(res1
)) {
34049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34051 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34056 wxPyEndAllowThreads(__tstate
);
34057 if (PyErr_Occurred()) SWIG_fail
;
34059 resultobj
= SWIG_Py_Void();
34066 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34067 PyObject
*resultobj
= 0;
34068 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34072 PyObject
*swig_obj
[1] ;
34074 if (!args
) SWIG_fail
;
34075 swig_obj
[0] = args
;
34076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34077 if (!SWIG_IsOK(res1
)) {
34078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34080 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34081 result
= (int)(int) ((arg1
)->widthSash
);
34082 resultobj
= SWIG_From_int(static_cast< int >(result
));
34089 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34090 PyObject
*resultobj
= 0;
34091 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34095 PyObject
*swig_obj
[1] ;
34097 if (!args
) SWIG_fail
;
34098 swig_obj
[0] = args
;
34099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34100 if (!SWIG_IsOK(res1
)) {
34101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34103 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34104 result
= (int)(int) ((arg1
)->border
);
34105 resultobj
= SWIG_From_int(static_cast< int >(result
));
34112 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34113 PyObject
*resultobj
= 0;
34114 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34118 PyObject
*swig_obj
[1] ;
34120 if (!args
) SWIG_fail
;
34121 swig_obj
[0] = args
;
34122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34123 if (!SWIG_IsOK(res1
)) {
34124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34126 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34127 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
34128 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
34135 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34137 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34138 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
34139 return SWIG_Py_Void();
34142 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34143 return SWIG_Python_InitShadowInstance(args
);
34146 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34147 PyObject
*resultobj
= 0;
34148 wxHeaderButtonParams
*result
= 0 ;
34150 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
34152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34153 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
34154 wxPyEndAllowThreads(__tstate
);
34155 if (PyErr_Occurred()) SWIG_fail
;
34157 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
34164 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34165 PyObject
*resultobj
= 0;
34166 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34169 PyObject
*swig_obj
[1] ;
34171 if (!args
) SWIG_fail
;
34172 swig_obj
[0] = args
;
34173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
34174 if (!SWIG_IsOK(res1
)) {
34175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34177 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34182 wxPyEndAllowThreads(__tstate
);
34183 if (PyErr_Occurred()) SWIG_fail
;
34185 resultobj
= SWIG_Py_Void();
34192 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34193 PyObject
*resultobj
= 0;
34194 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34195 wxColour
*arg2
= (wxColour
*) 0 ;
34199 PyObject
*swig_obj
[2] ;
34201 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
34202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34203 if (!SWIG_IsOK(res1
)) {
34204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34206 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34209 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34211 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
34213 resultobj
= SWIG_Py_Void();
34220 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34221 PyObject
*resultobj
= 0;
34222 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34223 wxColour
*result
= 0 ;
34226 PyObject
*swig_obj
[1] ;
34228 if (!args
) SWIG_fail
;
34229 swig_obj
[0] = args
;
34230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34231 if (!SWIG_IsOK(res1
)) {
34232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34234 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34235 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
34236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34243 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34244 PyObject
*resultobj
= 0;
34245 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34246 wxColour
*arg2
= (wxColour
*) 0 ;
34250 PyObject
*swig_obj
[2] ;
34252 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
34253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34254 if (!SWIG_IsOK(res1
)) {
34255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34257 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34260 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34262 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
34264 resultobj
= SWIG_Py_Void();
34271 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34272 PyObject
*resultobj
= 0;
34273 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34274 wxColour
*result
= 0 ;
34277 PyObject
*swig_obj
[1] ;
34279 if (!args
) SWIG_fail
;
34280 swig_obj
[0] = args
;
34281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34282 if (!SWIG_IsOK(res1
)) {
34283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34285 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34286 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
34287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34294 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34295 PyObject
*resultobj
= 0;
34296 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34297 wxString
*arg2
= (wxString
*) 0 ;
34300 bool temp2
= false ;
34301 PyObject
*swig_obj
[2] ;
34303 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
34304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34305 if (!SWIG_IsOK(res1
)) {
34306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34308 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34310 arg2
= wxString_in_helper(swig_obj
[1]);
34311 if (arg2
== NULL
) SWIG_fail
;
34314 if (arg1
) (arg1
)->m_labelText
= *arg2
;
34316 resultobj
= SWIG_Py_Void();
34331 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34332 PyObject
*resultobj
= 0;
34333 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34334 wxString
*result
= 0 ;
34337 PyObject
*swig_obj
[1] ;
34339 if (!args
) SWIG_fail
;
34340 swig_obj
[0] = args
;
34341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34342 if (!SWIG_IsOK(res1
)) {
34343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34345 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34346 result
= (wxString
*)& ((arg1
)->m_labelText
);
34349 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34351 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34360 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34361 PyObject
*resultobj
= 0;
34362 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34363 wxFont
*arg2
= (wxFont
*) 0 ;
34368 PyObject
*swig_obj
[2] ;
34370 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
34371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34372 if (!SWIG_IsOK(res1
)) {
34373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34375 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34376 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
34377 if (!SWIG_IsOK(res2
)) {
34378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
34380 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34381 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34383 resultobj
= SWIG_Py_Void();
34390 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34391 PyObject
*resultobj
= 0;
34392 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34393 wxFont
*result
= 0 ;
34396 PyObject
*swig_obj
[1] ;
34398 if (!args
) SWIG_fail
;
34399 swig_obj
[0] = args
;
34400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34401 if (!SWIG_IsOK(res1
)) {
34402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34404 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34405 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34413 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34414 PyObject
*resultobj
= 0;
34415 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34416 wxColour
*arg2
= (wxColour
*) 0 ;
34420 PyObject
*swig_obj
[2] ;
34422 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34424 if (!SWIG_IsOK(res1
)) {
34425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34427 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34430 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34432 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34434 resultobj
= SWIG_Py_Void();
34441 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34442 PyObject
*resultobj
= 0;
34443 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34444 wxColour
*result
= 0 ;
34447 PyObject
*swig_obj
[1] ;
34449 if (!args
) SWIG_fail
;
34450 swig_obj
[0] = args
;
34451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34452 if (!SWIG_IsOK(res1
)) {
34453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34455 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34456 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34464 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34465 PyObject
*resultobj
= 0;
34466 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34467 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34472 PyObject
*swig_obj
[2] ;
34474 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34476 if (!SWIG_IsOK(res1
)) {
34477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34479 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34480 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34481 if (!SWIG_IsOK(res2
)) {
34482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34484 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34485 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34487 resultobj
= SWIG_Py_Void();
34494 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34495 PyObject
*resultobj
= 0;
34496 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34497 wxBitmap
*result
= 0 ;
34500 PyObject
*swig_obj
[1] ;
34502 if (!args
) SWIG_fail
;
34503 swig_obj
[0] = args
;
34504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34505 if (!SWIG_IsOK(res1
)) {
34506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34508 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34509 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34517 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34518 PyObject
*resultobj
= 0;
34519 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34525 PyObject
*swig_obj
[2] ;
34527 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34529 if (!SWIG_IsOK(res1
)) {
34530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34532 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34533 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34534 if (!SWIG_IsOK(ecode2
)) {
34535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34537 arg2
= static_cast< int >(val2
);
34538 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34540 resultobj
= SWIG_Py_Void();
34547 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34548 PyObject
*resultobj
= 0;
34549 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34553 PyObject
*swig_obj
[1] ;
34555 if (!args
) SWIG_fail
;
34556 swig_obj
[0] = args
;
34557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34558 if (!SWIG_IsOK(res1
)) {
34559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34561 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34562 result
= (int) ((arg1
)->m_labelAlignment
);
34563 resultobj
= SWIG_From_int(static_cast< int >(result
));
34570 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34572 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34573 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34574 return SWIG_Py_Void();
34577 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34578 return SWIG_Python_InitShadowInstance(args
);
34581 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34582 PyObject
*resultobj
= 0;
34585 wxRendererVersion
*result
= 0 ;
34590 PyObject
* obj0
= 0 ;
34591 PyObject
* obj1
= 0 ;
34592 char * kwnames
[] = {
34593 (char *) "version_",(char *) "age_", NULL
34596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34597 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34598 if (!SWIG_IsOK(ecode1
)) {
34599 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34601 arg1
= static_cast< int >(val1
);
34602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34603 if (!SWIG_IsOK(ecode2
)) {
34604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34606 arg2
= static_cast< int >(val2
);
34608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34609 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34610 wxPyEndAllowThreads(__tstate
);
34611 if (PyErr_Occurred()) SWIG_fail
;
34613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34620 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34621 PyObject
*resultobj
= 0;
34622 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34625 PyObject
*swig_obj
[1] ;
34627 if (!args
) SWIG_fail
;
34628 swig_obj
[0] = args
;
34629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34630 if (!SWIG_IsOK(res1
)) {
34631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34633 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34638 wxPyEndAllowThreads(__tstate
);
34639 if (PyErr_Occurred()) SWIG_fail
;
34641 resultobj
= SWIG_Py_Void();
34648 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34649 PyObject
*resultobj
= 0;
34650 wxRendererVersion
*arg1
= 0 ;
34654 PyObject
* obj0
= 0 ;
34655 char * kwnames
[] = {
34656 (char *) "ver", NULL
34659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34660 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34661 if (!SWIG_IsOK(res1
)) {
34662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34665 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34667 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34670 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34671 wxPyEndAllowThreads(__tstate
);
34672 if (PyErr_Occurred()) SWIG_fail
;
34675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34683 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34684 PyObject
*resultobj
= 0;
34685 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34689 PyObject
*swig_obj
[1] ;
34691 if (!args
) SWIG_fail
;
34692 swig_obj
[0] = args
;
34693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34694 if (!SWIG_IsOK(res1
)) {
34695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34697 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34698 result
= (int)(int) ((arg1
)->version
);
34699 resultobj
= SWIG_From_int(static_cast< int >(result
));
34706 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34707 PyObject
*resultobj
= 0;
34708 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34712 PyObject
*swig_obj
[1] ;
34714 if (!args
) SWIG_fail
;
34715 swig_obj
[0] = args
;
34716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34717 if (!SWIG_IsOK(res1
)) {
34718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34720 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34721 result
= (int)(int) ((arg1
)->age
);
34722 resultobj
= SWIG_From_int(static_cast< int >(result
));
34729 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34731 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34732 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34733 return SWIG_Py_Void();
34736 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34737 return SWIG_Python_InitShadowInstance(args
);
34740 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34741 PyObject
*resultobj
= 0;
34742 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34743 wxWindow
*arg2
= (wxWindow
*) 0 ;
34746 int arg5
= (int) 0 ;
34747 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34748 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34762 PyObject
* obj0
= 0 ;
34763 PyObject
* obj1
= 0 ;
34764 PyObject
* obj2
= 0 ;
34765 PyObject
* obj3
= 0 ;
34766 PyObject
* obj4
= 0 ;
34767 PyObject
* obj5
= 0 ;
34768 PyObject
* obj6
= 0 ;
34769 char * kwnames
[] = {
34770 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34775 if (!SWIG_IsOK(res1
)) {
34776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34778 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34779 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34780 if (!SWIG_IsOK(res2
)) {
34781 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34783 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34784 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34785 if (!SWIG_IsOK(res3
)) {
34786 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34791 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34794 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34797 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34798 if (!SWIG_IsOK(ecode5
)) {
34799 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34801 arg5
= static_cast< int >(val5
);
34804 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34805 if (!SWIG_IsOK(ecode6
)) {
34806 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34808 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34811 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34812 if (!SWIG_IsOK(res7
)) {
34813 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34815 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34819 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34820 wxPyEndAllowThreads(__tstate
);
34821 if (PyErr_Occurred()) SWIG_fail
;
34823 resultobj
= SWIG_Py_Void();
34830 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34831 PyObject
*resultobj
= 0;
34832 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34833 wxWindow
*arg2
= (wxWindow
*) 0 ;
34836 int arg5
= (int) 0 ;
34837 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34838 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34852 PyObject
* obj0
= 0 ;
34853 PyObject
* obj1
= 0 ;
34854 PyObject
* obj2
= 0 ;
34855 PyObject
* obj3
= 0 ;
34856 PyObject
* obj4
= 0 ;
34857 PyObject
* obj5
= 0 ;
34858 PyObject
* obj6
= 0 ;
34859 char * kwnames
[] = {
34860 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34865 if (!SWIG_IsOK(res1
)) {
34866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34868 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34869 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34870 if (!SWIG_IsOK(res2
)) {
34871 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34873 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34874 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34875 if (!SWIG_IsOK(res3
)) {
34876 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34881 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34884 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34887 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34888 if (!SWIG_IsOK(ecode5
)) {
34889 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34891 arg5
= static_cast< int >(val5
);
34894 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34895 if (!SWIG_IsOK(ecode6
)) {
34896 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34898 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34901 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34902 if (!SWIG_IsOK(res7
)) {
34903 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34905 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34909 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34910 wxPyEndAllowThreads(__tstate
);
34911 if (PyErr_Occurred()) SWIG_fail
;
34913 resultobj
= SWIG_Py_Void();
34920 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34921 PyObject
*resultobj
= 0;
34922 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34923 wxWindow
*arg2
= (wxWindow
*) 0 ;
34929 PyObject
* obj0
= 0 ;
34930 PyObject
* obj1
= 0 ;
34931 char * kwnames
[] = {
34932 (char *) "self",(char *) "win", NULL
34935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34937 if (!SWIG_IsOK(res1
)) {
34938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34940 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34941 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34942 if (!SWIG_IsOK(res2
)) {
34943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34945 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34948 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34949 wxPyEndAllowThreads(__tstate
);
34950 if (PyErr_Occurred()) SWIG_fail
;
34952 resultobj
= SWIG_From_int(static_cast< int >(result
));
34959 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34960 PyObject
*resultobj
= 0;
34961 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34962 wxWindow
*arg2
= (wxWindow
*) 0 ;
34965 int arg5
= (int) 0 ;
34975 PyObject
* obj0
= 0 ;
34976 PyObject
* obj1
= 0 ;
34977 PyObject
* obj2
= 0 ;
34978 PyObject
* obj3
= 0 ;
34979 PyObject
* obj4
= 0 ;
34980 char * kwnames
[] = {
34981 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34986 if (!SWIG_IsOK(res1
)) {
34987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34989 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34990 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34991 if (!SWIG_IsOK(res2
)) {
34992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34994 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34995 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34996 if (!SWIG_IsOK(res3
)) {
34997 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35000 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35002 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35005 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35008 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35009 if (!SWIG_IsOK(ecode5
)) {
35010 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
35012 arg5
= static_cast< int >(val5
);
35015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35016 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35017 wxPyEndAllowThreads(__tstate
);
35018 if (PyErr_Occurred()) SWIG_fail
;
35020 resultobj
= SWIG_Py_Void();
35027 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35028 PyObject
*resultobj
= 0;
35029 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35030 wxWindow
*arg2
= (wxWindow
*) 0 ;
35033 int arg5
= (int) 0 ;
35043 PyObject
* obj0
= 0 ;
35044 PyObject
* obj1
= 0 ;
35045 PyObject
* obj2
= 0 ;
35046 PyObject
* obj3
= 0 ;
35047 PyObject
* obj4
= 0 ;
35048 char * kwnames
[] = {
35049 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35054 if (!SWIG_IsOK(res1
)) {
35055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35057 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35058 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35059 if (!SWIG_IsOK(res2
)) {
35060 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
35062 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35063 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35064 if (!SWIG_IsOK(res3
)) {
35065 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35070 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35073 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35076 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35077 if (!SWIG_IsOK(ecode5
)) {
35078 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
35080 arg5
= static_cast< int >(val5
);
35083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35084 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35085 wxPyEndAllowThreads(__tstate
);
35086 if (PyErr_Occurred()) SWIG_fail
;
35088 resultobj
= SWIG_Py_Void();
35095 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35096 PyObject
*resultobj
= 0;
35097 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35098 wxWindow
*arg2
= (wxWindow
*) 0 ;
35102 wxOrientation arg6
;
35103 int arg7
= (int) 0 ;
35117 PyObject
* obj0
= 0 ;
35118 PyObject
* obj1
= 0 ;
35119 PyObject
* obj2
= 0 ;
35120 PyObject
* obj3
= 0 ;
35121 PyObject
* obj4
= 0 ;
35122 PyObject
* obj5
= 0 ;
35123 PyObject
* obj6
= 0 ;
35124 char * kwnames
[] = {
35125 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
35128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35130 if (!SWIG_IsOK(res1
)) {
35131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35133 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35134 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35135 if (!SWIG_IsOK(res2
)) {
35136 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
35138 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35139 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35140 if (!SWIG_IsOK(res3
)) {
35141 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35144 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35146 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35149 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
35151 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35152 if (!SWIG_IsOK(ecode5
)) {
35153 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
35155 arg5
= static_cast< int >(val5
);
35156 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35157 if (!SWIG_IsOK(ecode6
)) {
35158 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
35160 arg6
= static_cast< wxOrientation
>(val6
);
35162 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35163 if (!SWIG_IsOK(ecode7
)) {
35164 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
35166 arg7
= static_cast< int >(val7
);
35169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35170 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
35171 wxPyEndAllowThreads(__tstate
);
35172 if (PyErr_Occurred()) SWIG_fail
;
35174 resultobj
= SWIG_Py_Void();
35181 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35182 PyObject
*resultobj
= 0;
35183 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35184 wxWindow
*arg2
= (wxWindow
*) 0 ;
35187 int arg5
= (int) 0 ;
35197 PyObject
* obj0
= 0 ;
35198 PyObject
* obj1
= 0 ;
35199 PyObject
* obj2
= 0 ;
35200 PyObject
* obj3
= 0 ;
35201 PyObject
* obj4
= 0 ;
35202 char * kwnames
[] = {
35203 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35208 if (!SWIG_IsOK(res1
)) {
35209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35211 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35212 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35213 if (!SWIG_IsOK(res2
)) {
35214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35216 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35217 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35218 if (!SWIG_IsOK(res3
)) {
35219 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35224 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35227 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35230 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35231 if (!SWIG_IsOK(ecode5
)) {
35232 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
35234 arg5
= static_cast< int >(val5
);
35237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35238 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35239 wxPyEndAllowThreads(__tstate
);
35240 if (PyErr_Occurred()) SWIG_fail
;
35242 resultobj
= SWIG_Py_Void();
35249 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35250 PyObject
*resultobj
= 0;
35251 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35252 wxWindow
*arg2
= (wxWindow
*) 0 ;
35255 int arg5
= (int) 0 ;
35265 PyObject
* obj0
= 0 ;
35266 PyObject
* obj1
= 0 ;
35267 PyObject
* obj2
= 0 ;
35268 PyObject
* obj3
= 0 ;
35269 PyObject
* obj4
= 0 ;
35270 char * kwnames
[] = {
35271 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35276 if (!SWIG_IsOK(res1
)) {
35277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35279 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35280 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35281 if (!SWIG_IsOK(res2
)) {
35282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
35284 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35285 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35286 if (!SWIG_IsOK(res3
)) {
35287 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35290 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35292 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35295 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35298 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35299 if (!SWIG_IsOK(ecode5
)) {
35300 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
35302 arg5
= static_cast< int >(val5
);
35305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35306 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35307 wxPyEndAllowThreads(__tstate
);
35308 if (PyErr_Occurred()) SWIG_fail
;
35310 resultobj
= SWIG_Py_Void();
35317 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35318 PyObject
*resultobj
= 0;
35319 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35320 wxWindow
*arg2
= (wxWindow
*) 0 ;
35323 int arg5
= (int) 0 ;
35333 PyObject
* obj0
= 0 ;
35334 PyObject
* obj1
= 0 ;
35335 PyObject
* obj2
= 0 ;
35336 PyObject
* obj3
= 0 ;
35337 PyObject
* obj4
= 0 ;
35338 char * kwnames
[] = {
35339 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35344 if (!SWIG_IsOK(res1
)) {
35345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35347 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35348 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35349 if (!SWIG_IsOK(res2
)) {
35350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
35352 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35353 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35354 if (!SWIG_IsOK(res3
)) {
35355 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35360 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35363 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35366 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35367 if (!SWIG_IsOK(ecode5
)) {
35368 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
35370 arg5
= static_cast< int >(val5
);
35373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35374 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35375 wxPyEndAllowThreads(__tstate
);
35376 if (PyErr_Occurred()) SWIG_fail
;
35378 resultobj
= SWIG_Py_Void();
35385 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35386 PyObject
*resultobj
= 0;
35387 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35388 wxWindow
*arg2
= (wxWindow
*) 0 ;
35391 int arg5
= (int) 0 ;
35401 PyObject
* obj0
= 0 ;
35402 PyObject
* obj1
= 0 ;
35403 PyObject
* obj2
= 0 ;
35404 PyObject
* obj3
= 0 ;
35405 PyObject
* obj4
= 0 ;
35406 char * kwnames
[] = {
35407 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35412 if (!SWIG_IsOK(res1
)) {
35413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35415 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35416 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35417 if (!SWIG_IsOK(res2
)) {
35418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35420 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35421 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35422 if (!SWIG_IsOK(res3
)) {
35423 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35428 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35431 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35434 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35435 if (!SWIG_IsOK(ecode5
)) {
35436 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35438 arg5
= static_cast< int >(val5
);
35441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35442 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35443 wxPyEndAllowThreads(__tstate
);
35444 if (PyErr_Occurred()) SWIG_fail
;
35446 resultobj
= SWIG_Py_Void();
35453 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35454 PyObject
*resultobj
= 0;
35455 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35456 wxWindow
*arg2
= (wxWindow
*) 0 ;
35459 int arg5
= (int) 0 ;
35469 PyObject
* obj0
= 0 ;
35470 PyObject
* obj1
= 0 ;
35471 PyObject
* obj2
= 0 ;
35472 PyObject
* obj3
= 0 ;
35473 PyObject
* obj4
= 0 ;
35474 char * kwnames
[] = {
35475 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35480 if (!SWIG_IsOK(res1
)) {
35481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35483 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35484 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35485 if (!SWIG_IsOK(res2
)) {
35486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35488 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35489 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35490 if (!SWIG_IsOK(res3
)) {
35491 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35496 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35499 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35502 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35503 if (!SWIG_IsOK(ecode5
)) {
35504 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35506 arg5
= static_cast< int >(val5
);
35509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35510 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35511 wxPyEndAllowThreads(__tstate
);
35512 if (PyErr_Occurred()) SWIG_fail
;
35514 resultobj
= SWIG_Py_Void();
35521 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35522 PyObject
*resultobj
= 0;
35523 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35524 wxWindow
*arg2
= (wxWindow
*) 0 ;
35525 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35530 PyObject
* obj0
= 0 ;
35531 PyObject
* obj1
= 0 ;
35532 char * kwnames
[] = {
35533 (char *) "self",(char *) "win", NULL
35536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35538 if (!SWIG_IsOK(res1
)) {
35539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35541 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35542 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35543 if (!SWIG_IsOK(res2
)) {
35544 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35546 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35549 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35550 wxPyEndAllowThreads(__tstate
);
35551 if (PyErr_Occurred()) SWIG_fail
;
35553 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35560 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35561 PyObject
*resultobj
= 0;
35562 wxRendererNative
*result
= 0 ;
35564 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35566 if (!wxPyCheckForApp()) SWIG_fail
;
35567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35569 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35570 result
= (wxRendererNative
*) &_result_ref
;
35572 wxPyEndAllowThreads(__tstate
);
35573 if (PyErr_Occurred()) SWIG_fail
;
35575 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35582 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35583 PyObject
*resultobj
= 0;
35584 wxRendererNative
*result
= 0 ;
35586 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35588 if (!wxPyCheckForApp()) SWIG_fail
;
35589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35591 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35592 result
= (wxRendererNative
*) &_result_ref
;
35594 wxPyEndAllowThreads(__tstate
);
35595 if (PyErr_Occurred()) SWIG_fail
;
35597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35604 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35605 PyObject
*resultobj
= 0;
35606 wxRendererNative
*result
= 0 ;
35608 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35610 if (!wxPyCheckForApp()) SWIG_fail
;
35611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35613 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35614 result
= (wxRendererNative
*) &_result_ref
;
35616 wxPyEndAllowThreads(__tstate
);
35617 if (PyErr_Occurred()) SWIG_fail
;
35619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35626 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35627 PyObject
*resultobj
= 0;
35628 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35629 wxRendererNative
*result
= 0 ;
35632 PyObject
* obj0
= 0 ;
35633 char * kwnames
[] = {
35634 (char *) "renderer", NULL
35637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35639 if (!SWIG_IsOK(res1
)) {
35640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35642 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35644 if (!wxPyCheckForApp()) SWIG_fail
;
35645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35646 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35647 wxPyEndAllowThreads(__tstate
);
35648 if (PyErr_Occurred()) SWIG_fail
;
35650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35657 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35658 PyObject
*resultobj
= 0;
35659 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35660 SwigValueWrapper
<wxRendererVersion
> result
;
35663 PyObject
*swig_obj
[1] ;
35665 if (!args
) SWIG_fail
;
35666 swig_obj
[0] = args
;
35667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35668 if (!SWIG_IsOK(res1
)) {
35669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35671 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35674 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35675 wxPyEndAllowThreads(__tstate
);
35676 if (PyErr_Occurred()) SWIG_fail
;
35678 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35685 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35687 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35688 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35689 return SWIG_Py_Void();
35692 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35693 PyObject
*resultobj
= 0;
35694 wxPseudoDC
*result
= 0 ;
35696 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35699 result
= (wxPseudoDC
*)new wxPseudoDC();
35700 wxPyEndAllowThreads(__tstate
);
35701 if (PyErr_Occurred()) SWIG_fail
;
35703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35710 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35711 PyObject
*resultobj
= 0;
35712 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35715 PyObject
*swig_obj
[1] ;
35717 if (!args
) SWIG_fail
;
35718 swig_obj
[0] = args
;
35719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35720 if (!SWIG_IsOK(res1
)) {
35721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35723 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35726 (arg1
)->BeginDrawing();
35727 wxPyEndAllowThreads(__tstate
);
35728 if (PyErr_Occurred()) SWIG_fail
;
35730 resultobj
= SWIG_Py_Void();
35737 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35738 PyObject
*resultobj
= 0;
35739 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35742 PyObject
*swig_obj
[1] ;
35744 if (!args
) SWIG_fail
;
35745 swig_obj
[0] = args
;
35746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35747 if (!SWIG_IsOK(res1
)) {
35748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35750 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35753 (arg1
)->EndDrawing();
35754 wxPyEndAllowThreads(__tstate
);
35755 if (PyErr_Occurred()) SWIG_fail
;
35757 resultobj
= SWIG_Py_Void();
35764 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35765 PyObject
*resultobj
= 0;
35766 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35769 PyObject
*swig_obj
[1] ;
35771 if (!args
) SWIG_fail
;
35772 swig_obj
[0] = args
;
35773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35774 if (!SWIG_IsOK(res1
)) {
35775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35777 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35782 wxPyEndAllowThreads(__tstate
);
35783 if (PyErr_Occurred()) SWIG_fail
;
35785 resultobj
= SWIG_Py_Void();
35792 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35793 PyObject
*resultobj
= 0;
35794 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35797 PyObject
*swig_obj
[1] ;
35799 if (!args
) SWIG_fail
;
35800 swig_obj
[0] = args
;
35801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35802 if (!SWIG_IsOK(res1
)) {
35803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35805 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35808 (arg1
)->RemoveAll();
35809 wxPyEndAllowThreads(__tstate
);
35810 if (PyErr_Occurred()) SWIG_fail
;
35812 resultobj
= SWIG_Py_Void();
35819 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35820 PyObject
*resultobj
= 0;
35821 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35825 PyObject
*swig_obj
[1] ;
35827 if (!args
) SWIG_fail
;
35828 swig_obj
[0] = args
;
35829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35830 if (!SWIG_IsOK(res1
)) {
35831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35833 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35836 result
= (int)(arg1
)->GetLen();
35837 wxPyEndAllowThreads(__tstate
);
35838 if (PyErr_Occurred()) SWIG_fail
;
35840 resultobj
= SWIG_From_int(static_cast< int >(result
));
35847 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35848 PyObject
*resultobj
= 0;
35849 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35855 PyObject
* obj0
= 0 ;
35856 PyObject
* obj1
= 0 ;
35857 char * kwnames
[] = {
35858 (char *) "self",(char *) "id", NULL
35861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35863 if (!SWIG_IsOK(res1
)) {
35864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35866 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35868 if (!SWIG_IsOK(ecode2
)) {
35869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35871 arg2
= static_cast< int >(val2
);
35873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35874 (arg1
)->SetId(arg2
);
35875 wxPyEndAllowThreads(__tstate
);
35876 if (PyErr_Occurred()) SWIG_fail
;
35878 resultobj
= SWIG_Py_Void();
35885 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35886 PyObject
*resultobj
= 0;
35887 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35893 PyObject
* obj0
= 0 ;
35894 PyObject
* obj1
= 0 ;
35895 char * kwnames
[] = {
35896 (char *) "self",(char *) "id", NULL
35899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35901 if (!SWIG_IsOK(res1
)) {
35902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35904 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35906 if (!SWIG_IsOK(ecode2
)) {
35907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35909 arg2
= static_cast< int >(val2
);
35911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35912 (arg1
)->ClearId(arg2
);
35913 wxPyEndAllowThreads(__tstate
);
35914 if (PyErr_Occurred()) SWIG_fail
;
35916 resultobj
= SWIG_Py_Void();
35923 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35924 PyObject
*resultobj
= 0;
35925 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35931 PyObject
* obj0
= 0 ;
35932 PyObject
* obj1
= 0 ;
35933 char * kwnames
[] = {
35934 (char *) "self",(char *) "id", NULL
35937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35939 if (!SWIG_IsOK(res1
)) {
35940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35942 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35944 if (!SWIG_IsOK(ecode2
)) {
35945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35947 arg2
= static_cast< int >(val2
);
35949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35950 (arg1
)->RemoveId(arg2
);
35951 wxPyEndAllowThreads(__tstate
);
35952 if (PyErr_Occurred()) SWIG_fail
;
35954 resultobj
= SWIG_Py_Void();
35961 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35962 PyObject
*resultobj
= 0;
35963 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35975 PyObject
* obj0
= 0 ;
35976 PyObject
* obj1
= 0 ;
35977 PyObject
* obj2
= 0 ;
35978 PyObject
* obj3
= 0 ;
35979 char * kwnames
[] = {
35980 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35985 if (!SWIG_IsOK(res1
)) {
35986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35988 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35989 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35990 if (!SWIG_IsOK(ecode2
)) {
35991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35993 arg2
= static_cast< int >(val2
);
35994 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35995 if (!SWIG_IsOK(ecode3
)) {
35996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35998 arg3
= static_cast< int >(val3
);
35999 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36000 if (!SWIG_IsOK(ecode4
)) {
36001 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
36003 arg4
= static_cast< int >(val4
);
36005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36006 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
36007 wxPyEndAllowThreads(__tstate
);
36008 if (PyErr_Occurred()) SWIG_fail
;
36010 resultobj
= SWIG_Py_Void();
36017 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36018 PyObject
*resultobj
= 0;
36019 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36021 bool arg3
= (bool) true ;
36028 PyObject
* obj0
= 0 ;
36029 PyObject
* obj1
= 0 ;
36030 PyObject
* obj2
= 0 ;
36031 char * kwnames
[] = {
36032 (char *) "self",(char *) "id",(char *) "greyout", NULL
36035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36037 if (!SWIG_IsOK(res1
)) {
36038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36040 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36042 if (!SWIG_IsOK(ecode2
)) {
36043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36045 arg2
= static_cast< int >(val2
);
36047 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36048 if (!SWIG_IsOK(ecode3
)) {
36049 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
36051 arg3
= static_cast< bool >(val3
);
36054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36055 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
36056 wxPyEndAllowThreads(__tstate
);
36057 if (PyErr_Occurred()) SWIG_fail
;
36059 resultobj
= SWIG_Py_Void();
36066 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36067 PyObject
*resultobj
= 0;
36068 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36075 PyObject
* obj0
= 0 ;
36076 PyObject
* obj1
= 0 ;
36077 char * kwnames
[] = {
36078 (char *) "self",(char *) "id", NULL
36081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36083 if (!SWIG_IsOK(res1
)) {
36084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36086 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36088 if (!SWIG_IsOK(ecode2
)) {
36089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36091 arg2
= static_cast< int >(val2
);
36093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36094 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
36095 wxPyEndAllowThreads(__tstate
);
36096 if (PyErr_Occurred()) SWIG_fail
;
36099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36107 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36108 PyObject
*resultobj
= 0;
36109 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36112 int arg4
= (int) 1 ;
36113 wxColor
const &arg5_defvalue
= *wxWHITE
;
36114 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
36115 PyObject
*result
= 0 ;
36126 PyObject
* obj0
= 0 ;
36127 PyObject
* obj1
= 0 ;
36128 PyObject
* obj2
= 0 ;
36129 PyObject
* obj3
= 0 ;
36130 PyObject
* obj4
= 0 ;
36131 char * kwnames
[] = {
36132 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
36135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36137 if (!SWIG_IsOK(res1
)) {
36138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36140 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36142 if (!SWIG_IsOK(ecode2
)) {
36143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
36145 arg2
= static_cast< int >(val2
);
36146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36147 if (!SWIG_IsOK(ecode3
)) {
36148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
36150 arg3
= static_cast< int >(val3
);
36152 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36153 if (!SWIG_IsOK(ecode4
)) {
36154 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
36156 arg4
= static_cast< int >(val4
);
36159 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
36160 if (!SWIG_IsOK(res5
)) {
36161 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
36164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
36166 arg5
= reinterpret_cast< wxColor
* >(argp5
);
36169 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
36170 if (PyErr_Occurred()) SWIG_fail
;
36172 resultobj
= result
;
36179 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36180 PyObject
*resultobj
= 0;
36181 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36184 PyObject
*result
= 0 ;
36191 PyObject
* obj0
= 0 ;
36192 PyObject
* obj1
= 0 ;
36193 PyObject
* obj2
= 0 ;
36194 char * kwnames
[] = {
36195 (char *) "self",(char *) "x",(char *) "y", NULL
36198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36200 if (!SWIG_IsOK(res1
)) {
36201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36203 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36205 if (!SWIG_IsOK(ecode2
)) {
36206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
36208 arg2
= static_cast< int >(val2
);
36209 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36210 if (!SWIG_IsOK(ecode3
)) {
36211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
36213 arg3
= static_cast< int >(val3
);
36215 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
36216 if (PyErr_Occurred()) SWIG_fail
;
36218 resultobj
= result
;
36225 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36226 PyObject
*resultobj
= 0;
36227 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36229 wxDC
*arg3
= (wxDC
*) 0 ;
36236 PyObject
* obj0
= 0 ;
36237 PyObject
* obj1
= 0 ;
36238 PyObject
* obj2
= 0 ;
36239 char * kwnames
[] = {
36240 (char *) "self",(char *) "id",(char *) "dc", NULL
36243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36245 if (!SWIG_IsOK(res1
)) {
36246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36248 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36250 if (!SWIG_IsOK(ecode2
)) {
36251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
36253 arg2
= static_cast< int >(val2
);
36254 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
36255 if (!SWIG_IsOK(res3
)) {
36256 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
36258 arg3
= reinterpret_cast< wxDC
* >(argp3
);
36260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36261 (arg1
)->DrawIdToDC(arg2
,arg3
);
36262 wxPyEndAllowThreads(__tstate
);
36263 if (PyErr_Occurred()) SWIG_fail
;
36265 resultobj
= SWIG_Py_Void();
36272 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36273 PyObject
*resultobj
= 0;
36274 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36282 PyObject
* obj0
= 0 ;
36283 PyObject
* obj1
= 0 ;
36284 PyObject
* obj2
= 0 ;
36285 char * kwnames
[] = {
36286 (char *) "self",(char *) "id",(char *) "rect", NULL
36289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36291 if (!SWIG_IsOK(res1
)) {
36292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36294 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36296 if (!SWIG_IsOK(ecode2
)) {
36297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
36299 arg2
= static_cast< int >(val2
);
36302 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36306 (arg1
)->SetIdBounds(arg2
,*arg3
);
36307 wxPyEndAllowThreads(__tstate
);
36308 if (PyErr_Occurred()) SWIG_fail
;
36310 resultobj
= SWIG_Py_Void();
36317 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36318 PyObject
*resultobj
= 0;
36319 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36326 PyObject
* obj0
= 0 ;
36327 PyObject
* obj1
= 0 ;
36328 char * kwnames
[] = {
36329 (char *) "self",(char *) "id", NULL
36332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36334 if (!SWIG_IsOK(res1
)) {
36335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36337 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36339 if (!SWIG_IsOK(ecode2
)) {
36340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
36342 arg2
= static_cast< int >(val2
);
36344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36345 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
36346 wxPyEndAllowThreads(__tstate
);
36347 if (PyErr_Occurred()) SWIG_fail
;
36349 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36356 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36357 PyObject
*resultobj
= 0;
36358 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36359 wxDC
*arg2
= (wxDC
*) 0 ;
36366 PyObject
* obj0
= 0 ;
36367 PyObject
* obj1
= 0 ;
36368 PyObject
* obj2
= 0 ;
36369 char * kwnames
[] = {
36370 (char *) "self",(char *) "dc",(char *) "rect", NULL
36373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36375 if (!SWIG_IsOK(res1
)) {
36376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36378 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36379 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36380 if (!SWIG_IsOK(res2
)) {
36381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
36383 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36386 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36390 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36391 wxPyEndAllowThreads(__tstate
);
36392 if (PyErr_Occurred()) SWIG_fail
;
36394 resultobj
= SWIG_Py_Void();
36401 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36402 PyObject
*resultobj
= 0;
36403 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36404 wxDC
*arg2
= (wxDC
*) 0 ;
36405 wxRegion
*arg3
= 0 ;
36412 PyObject
* obj0
= 0 ;
36413 PyObject
* obj1
= 0 ;
36414 PyObject
* obj2
= 0 ;
36415 char * kwnames
[] = {
36416 (char *) "self",(char *) "dc",(char *) "region", NULL
36419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36421 if (!SWIG_IsOK(res1
)) {
36422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36424 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36425 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36426 if (!SWIG_IsOK(res2
)) {
36427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36429 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36430 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36431 if (!SWIG_IsOK(res3
)) {
36432 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36437 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36440 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36441 wxPyEndAllowThreads(__tstate
);
36442 if (PyErr_Occurred()) SWIG_fail
;
36444 resultobj
= SWIG_Py_Void();
36451 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36452 PyObject
*resultobj
= 0;
36453 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36454 wxDC
*arg2
= (wxDC
*) 0 ;
36459 PyObject
* obj0
= 0 ;
36460 PyObject
* obj1
= 0 ;
36461 char * kwnames
[] = {
36462 (char *) "self",(char *) "dc", NULL
36465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36467 if (!SWIG_IsOK(res1
)) {
36468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36470 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36471 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36472 if (!SWIG_IsOK(res2
)) {
36473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36475 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36478 (arg1
)->DrawToDC(arg2
);
36479 wxPyEndAllowThreads(__tstate
);
36480 if (PyErr_Occurred()) SWIG_fail
;
36482 resultobj
= SWIG_Py_Void();
36489 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36490 PyObject
*resultobj
= 0;
36491 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36494 wxColour
*arg4
= 0 ;
36495 int arg5
= (int) wxFLOOD_SURFACE
;
36505 PyObject
* obj0
= 0 ;
36506 PyObject
* obj1
= 0 ;
36507 PyObject
* obj2
= 0 ;
36508 PyObject
* obj3
= 0 ;
36509 PyObject
* obj4
= 0 ;
36510 char * kwnames
[] = {
36511 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36516 if (!SWIG_IsOK(res1
)) {
36517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36519 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36521 if (!SWIG_IsOK(ecode2
)) {
36522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36524 arg2
= static_cast< int >(val2
);
36525 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36526 if (!SWIG_IsOK(ecode3
)) {
36527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36529 arg3
= static_cast< int >(val3
);
36532 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36535 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36536 if (!SWIG_IsOK(ecode5
)) {
36537 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36539 arg5
= static_cast< int >(val5
);
36542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36543 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36544 wxPyEndAllowThreads(__tstate
);
36545 if (PyErr_Occurred()) SWIG_fail
;
36547 resultobj
= SWIG_Py_Void();
36554 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36555 PyObject
*resultobj
= 0;
36556 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36557 wxPoint
*arg2
= 0 ;
36558 wxColour
*arg3
= 0 ;
36559 int arg4
= (int) wxFLOOD_SURFACE
;
36566 PyObject
* obj0
= 0 ;
36567 PyObject
* obj1
= 0 ;
36568 PyObject
* obj2
= 0 ;
36569 PyObject
* obj3
= 0 ;
36570 char * kwnames
[] = {
36571 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36576 if (!SWIG_IsOK(res1
)) {
36577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36579 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36582 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36586 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36589 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36590 if (!SWIG_IsOK(ecode4
)) {
36591 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36593 arg4
= static_cast< int >(val4
);
36596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36597 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36598 wxPyEndAllowThreads(__tstate
);
36599 if (PyErr_Occurred()) SWIG_fail
;
36601 resultobj
= SWIG_Py_Void();
36608 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36609 PyObject
*resultobj
= 0;
36610 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36625 PyObject
* obj0
= 0 ;
36626 PyObject
* obj1
= 0 ;
36627 PyObject
* obj2
= 0 ;
36628 PyObject
* obj3
= 0 ;
36629 PyObject
* obj4
= 0 ;
36630 char * kwnames
[] = {
36631 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36636 if (!SWIG_IsOK(res1
)) {
36637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36639 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36641 if (!SWIG_IsOK(ecode2
)) {
36642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36644 arg2
= static_cast< int >(val2
);
36645 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36646 if (!SWIG_IsOK(ecode3
)) {
36647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36649 arg3
= static_cast< int >(val3
);
36650 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36651 if (!SWIG_IsOK(ecode4
)) {
36652 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36654 arg4
= static_cast< int >(val4
);
36655 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36656 if (!SWIG_IsOK(ecode5
)) {
36657 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36659 arg5
= static_cast< int >(val5
);
36661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36662 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36663 wxPyEndAllowThreads(__tstate
);
36664 if (PyErr_Occurred()) SWIG_fail
;
36666 resultobj
= SWIG_Py_Void();
36673 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36674 PyObject
*resultobj
= 0;
36675 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36676 wxPoint
*arg2
= 0 ;
36677 wxPoint
*arg3
= 0 ;
36682 PyObject
* obj0
= 0 ;
36683 PyObject
* obj1
= 0 ;
36684 PyObject
* obj2
= 0 ;
36685 char * kwnames
[] = {
36686 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36691 if (!SWIG_IsOK(res1
)) {
36692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36694 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36697 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36701 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36705 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36706 wxPyEndAllowThreads(__tstate
);
36707 if (PyErr_Occurred()) SWIG_fail
;
36709 resultobj
= SWIG_Py_Void();
36716 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36717 PyObject
*resultobj
= 0;
36718 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36727 PyObject
* obj0
= 0 ;
36728 PyObject
* obj1
= 0 ;
36729 PyObject
* obj2
= 0 ;
36730 char * kwnames
[] = {
36731 (char *) "self",(char *) "x",(char *) "y", NULL
36734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36736 if (!SWIG_IsOK(res1
)) {
36737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36739 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36741 if (!SWIG_IsOK(ecode2
)) {
36742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36744 arg2
= static_cast< int >(val2
);
36745 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36746 if (!SWIG_IsOK(ecode3
)) {
36747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36749 arg3
= static_cast< int >(val3
);
36751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36752 (arg1
)->CrossHair(arg2
,arg3
);
36753 wxPyEndAllowThreads(__tstate
);
36754 if (PyErr_Occurred()) SWIG_fail
;
36756 resultobj
= SWIG_Py_Void();
36763 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36764 PyObject
*resultobj
= 0;
36765 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36766 wxPoint
*arg2
= 0 ;
36770 PyObject
* obj0
= 0 ;
36771 PyObject
* obj1
= 0 ;
36772 char * kwnames
[] = {
36773 (char *) "self",(char *) "pt", NULL
36776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36778 if (!SWIG_IsOK(res1
)) {
36779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36781 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36784 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36788 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36789 wxPyEndAllowThreads(__tstate
);
36790 if (PyErr_Occurred()) SWIG_fail
;
36792 resultobj
= SWIG_Py_Void();
36799 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36800 PyObject
*resultobj
= 0;
36801 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36822 PyObject
* obj0
= 0 ;
36823 PyObject
* obj1
= 0 ;
36824 PyObject
* obj2
= 0 ;
36825 PyObject
* obj3
= 0 ;
36826 PyObject
* obj4
= 0 ;
36827 PyObject
* obj5
= 0 ;
36828 PyObject
* obj6
= 0 ;
36829 char * kwnames
[] = {
36830 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36835 if (!SWIG_IsOK(res1
)) {
36836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36838 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36840 if (!SWIG_IsOK(ecode2
)) {
36841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36843 arg2
= static_cast< int >(val2
);
36844 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36845 if (!SWIG_IsOK(ecode3
)) {
36846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36848 arg3
= static_cast< int >(val3
);
36849 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36850 if (!SWIG_IsOK(ecode4
)) {
36851 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36853 arg4
= static_cast< int >(val4
);
36854 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36855 if (!SWIG_IsOK(ecode5
)) {
36856 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36858 arg5
= static_cast< int >(val5
);
36859 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36860 if (!SWIG_IsOK(ecode6
)) {
36861 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36863 arg6
= static_cast< int >(val6
);
36864 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36865 if (!SWIG_IsOK(ecode7
)) {
36866 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36868 arg7
= static_cast< int >(val7
);
36870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36871 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36872 wxPyEndAllowThreads(__tstate
);
36873 if (PyErr_Occurred()) SWIG_fail
;
36875 resultobj
= SWIG_Py_Void();
36882 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36883 PyObject
*resultobj
= 0;
36884 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36885 wxPoint
*arg2
= 0 ;
36886 wxPoint
*arg3
= 0 ;
36887 wxPoint
*arg4
= 0 ;
36893 PyObject
* obj0
= 0 ;
36894 PyObject
* obj1
= 0 ;
36895 PyObject
* obj2
= 0 ;
36896 PyObject
* obj3
= 0 ;
36897 char * kwnames
[] = {
36898 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36903 if (!SWIG_IsOK(res1
)) {
36904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36906 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36909 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36913 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36917 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36921 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36922 wxPyEndAllowThreads(__tstate
);
36923 if (PyErr_Occurred()) SWIG_fail
;
36925 resultobj
= SWIG_Py_Void();
36932 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36933 PyObject
*resultobj
= 0;
36934 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36949 PyObject
* obj0
= 0 ;
36950 PyObject
* obj1
= 0 ;
36951 PyObject
* obj2
= 0 ;
36952 PyObject
* obj3
= 0 ;
36953 PyObject
* obj4
= 0 ;
36954 char * kwnames
[] = {
36955 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36960 if (!SWIG_IsOK(res1
)) {
36961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36963 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36965 if (!SWIG_IsOK(ecode2
)) {
36966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36968 arg2
= static_cast< int >(val2
);
36969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36970 if (!SWIG_IsOK(ecode3
)) {
36971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36973 arg3
= static_cast< int >(val3
);
36974 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36975 if (!SWIG_IsOK(ecode4
)) {
36976 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36978 arg4
= static_cast< int >(val4
);
36979 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36980 if (!SWIG_IsOK(ecode5
)) {
36981 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36983 arg5
= static_cast< int >(val5
);
36985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36986 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36987 wxPyEndAllowThreads(__tstate
);
36988 if (PyErr_Occurred()) SWIG_fail
;
36990 resultobj
= SWIG_Py_Void();
36997 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36998 PyObject
*resultobj
= 0;
36999 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37004 PyObject
* obj0
= 0 ;
37005 PyObject
* obj1
= 0 ;
37006 char * kwnames
[] = {
37007 (char *) "self",(char *) "rect", NULL
37010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37012 if (!SWIG_IsOK(res1
)) {
37013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37015 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37018 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37022 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
37023 wxPyEndAllowThreads(__tstate
);
37024 if (PyErr_Occurred()) SWIG_fail
;
37026 resultobj
= SWIG_Py_Void();
37033 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37034 PyObject
*resultobj
= 0;
37035 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37056 PyObject
* obj0
= 0 ;
37057 PyObject
* obj1
= 0 ;
37058 PyObject
* obj2
= 0 ;
37059 PyObject
* obj3
= 0 ;
37060 PyObject
* obj4
= 0 ;
37061 PyObject
* obj5
= 0 ;
37062 PyObject
* obj6
= 0 ;
37063 char * kwnames
[] = {
37064 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
37067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37069 if (!SWIG_IsOK(res1
)) {
37070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37072 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37074 if (!SWIG_IsOK(ecode2
)) {
37075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
37077 arg2
= static_cast< int >(val2
);
37078 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37079 if (!SWIG_IsOK(ecode3
)) {
37080 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
37082 arg3
= static_cast< int >(val3
);
37083 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37084 if (!SWIG_IsOK(ecode4
)) {
37085 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
37087 arg4
= static_cast< int >(val4
);
37088 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37089 if (!SWIG_IsOK(ecode5
)) {
37090 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
37092 arg5
= static_cast< int >(val5
);
37093 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37094 if (!SWIG_IsOK(ecode6
)) {
37095 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
37097 arg6
= static_cast< double >(val6
);
37098 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
37099 if (!SWIG_IsOK(ecode7
)) {
37100 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
37102 arg7
= static_cast< double >(val7
);
37104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37105 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37106 wxPyEndAllowThreads(__tstate
);
37107 if (PyErr_Occurred()) SWIG_fail
;
37109 resultobj
= SWIG_Py_Void();
37116 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37117 PyObject
*resultobj
= 0;
37118 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37119 wxPoint
*arg2
= 0 ;
37131 PyObject
* obj0
= 0 ;
37132 PyObject
* obj1
= 0 ;
37133 PyObject
* obj2
= 0 ;
37134 PyObject
* obj3
= 0 ;
37135 PyObject
* obj4
= 0 ;
37136 char * kwnames
[] = {
37137 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
37140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37142 if (!SWIG_IsOK(res1
)) {
37143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37145 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37148 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37152 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37154 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37155 if (!SWIG_IsOK(ecode4
)) {
37156 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
37158 arg4
= static_cast< double >(val4
);
37159 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37160 if (!SWIG_IsOK(ecode5
)) {
37161 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
37163 arg5
= static_cast< double >(val5
);
37165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37166 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
37167 wxPyEndAllowThreads(__tstate
);
37168 if (PyErr_Occurred()) SWIG_fail
;
37170 resultobj
= SWIG_Py_Void();
37177 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37178 PyObject
*resultobj
= 0;
37179 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37188 PyObject
* obj0
= 0 ;
37189 PyObject
* obj1
= 0 ;
37190 PyObject
* obj2
= 0 ;
37191 char * kwnames
[] = {
37192 (char *) "self",(char *) "x",(char *) "y", NULL
37195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37197 if (!SWIG_IsOK(res1
)) {
37198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37200 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37202 if (!SWIG_IsOK(ecode2
)) {
37203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
37205 arg2
= static_cast< int >(val2
);
37206 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37207 if (!SWIG_IsOK(ecode3
)) {
37208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
37210 arg3
= static_cast< int >(val3
);
37212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37213 (arg1
)->DrawPoint(arg2
,arg3
);
37214 wxPyEndAllowThreads(__tstate
);
37215 if (PyErr_Occurred()) SWIG_fail
;
37217 resultobj
= SWIG_Py_Void();
37224 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37225 PyObject
*resultobj
= 0;
37226 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37227 wxPoint
*arg2
= 0 ;
37231 PyObject
* obj0
= 0 ;
37232 PyObject
* obj1
= 0 ;
37233 char * kwnames
[] = {
37234 (char *) "self",(char *) "pt", NULL
37237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37239 if (!SWIG_IsOK(res1
)) {
37240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37242 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37245 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37249 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
37250 wxPyEndAllowThreads(__tstate
);
37251 if (PyErr_Occurred()) SWIG_fail
;
37253 resultobj
= SWIG_Py_Void();
37260 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37261 PyObject
*resultobj
= 0;
37262 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37277 PyObject
* obj0
= 0 ;
37278 PyObject
* obj1
= 0 ;
37279 PyObject
* obj2
= 0 ;
37280 PyObject
* obj3
= 0 ;
37281 PyObject
* obj4
= 0 ;
37282 char * kwnames
[] = {
37283 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37288 if (!SWIG_IsOK(res1
)) {
37289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37291 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37293 if (!SWIG_IsOK(ecode2
)) {
37294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
37296 arg2
= static_cast< int >(val2
);
37297 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37298 if (!SWIG_IsOK(ecode3
)) {
37299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
37301 arg3
= static_cast< int >(val3
);
37302 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37303 if (!SWIG_IsOK(ecode4
)) {
37304 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
37306 arg4
= static_cast< int >(val4
);
37307 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37308 if (!SWIG_IsOK(ecode5
)) {
37309 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
37311 arg5
= static_cast< int >(val5
);
37313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37314 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
37315 wxPyEndAllowThreads(__tstate
);
37316 if (PyErr_Occurred()) SWIG_fail
;
37318 resultobj
= SWIG_Py_Void();
37325 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37326 PyObject
*resultobj
= 0;
37327 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37332 PyObject
* obj0
= 0 ;
37333 PyObject
* obj1
= 0 ;
37334 char * kwnames
[] = {
37335 (char *) "self",(char *) "rect", NULL
37338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37340 if (!SWIG_IsOK(res1
)) {
37341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37343 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37346 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37350 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
37351 wxPyEndAllowThreads(__tstate
);
37352 if (PyErr_Occurred()) SWIG_fail
;
37354 resultobj
= SWIG_Py_Void();
37361 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37362 PyObject
*resultobj
= 0;
37363 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37364 wxPoint
*arg2
= 0 ;
37370 PyObject
* obj0
= 0 ;
37371 PyObject
* obj1
= 0 ;
37372 PyObject
* obj2
= 0 ;
37373 char * kwnames
[] = {
37374 (char *) "self",(char *) "pt",(char *) "sz", NULL
37377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37379 if (!SWIG_IsOK(res1
)) {
37380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37382 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37385 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37389 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37393 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37394 wxPyEndAllowThreads(__tstate
);
37395 if (PyErr_Occurred()) SWIG_fail
;
37397 resultobj
= SWIG_Py_Void();
37404 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37405 PyObject
*resultobj
= 0;
37406 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37424 PyObject
* obj0
= 0 ;
37425 PyObject
* obj1
= 0 ;
37426 PyObject
* obj2
= 0 ;
37427 PyObject
* obj3
= 0 ;
37428 PyObject
* obj4
= 0 ;
37429 PyObject
* obj5
= 0 ;
37430 char * kwnames
[] = {
37431 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37436 if (!SWIG_IsOK(res1
)) {
37437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37439 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37441 if (!SWIG_IsOK(ecode2
)) {
37442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37444 arg2
= static_cast< int >(val2
);
37445 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37446 if (!SWIG_IsOK(ecode3
)) {
37447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37449 arg3
= static_cast< int >(val3
);
37450 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37451 if (!SWIG_IsOK(ecode4
)) {
37452 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37454 arg4
= static_cast< int >(val4
);
37455 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37456 if (!SWIG_IsOK(ecode5
)) {
37457 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37459 arg5
= static_cast< int >(val5
);
37460 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37461 if (!SWIG_IsOK(ecode6
)) {
37462 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37464 arg6
= static_cast< double >(val6
);
37466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37467 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37468 wxPyEndAllowThreads(__tstate
);
37469 if (PyErr_Occurred()) SWIG_fail
;
37471 resultobj
= SWIG_Py_Void();
37478 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37479 PyObject
*resultobj
= 0;
37480 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37488 PyObject
* obj0
= 0 ;
37489 PyObject
* obj1
= 0 ;
37490 PyObject
* obj2
= 0 ;
37491 char * kwnames
[] = {
37492 (char *) "self",(char *) "r",(char *) "radius", NULL
37495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37497 if (!SWIG_IsOK(res1
)) {
37498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37500 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37503 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37505 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37506 if (!SWIG_IsOK(ecode3
)) {
37507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37509 arg3
= static_cast< double >(val3
);
37511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37512 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37513 wxPyEndAllowThreads(__tstate
);
37514 if (PyErr_Occurred()) SWIG_fail
;
37516 resultobj
= SWIG_Py_Void();
37523 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37524 PyObject
*resultobj
= 0;
37525 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37526 wxPoint
*arg2
= 0 ;
37535 PyObject
* obj0
= 0 ;
37536 PyObject
* obj1
= 0 ;
37537 PyObject
* obj2
= 0 ;
37538 PyObject
* obj3
= 0 ;
37539 char * kwnames
[] = {
37540 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37545 if (!SWIG_IsOK(res1
)) {
37546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37548 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37551 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37555 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37557 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37558 if (!SWIG_IsOK(ecode4
)) {
37559 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37561 arg4
= static_cast< double >(val4
);
37563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37564 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37565 wxPyEndAllowThreads(__tstate
);
37566 if (PyErr_Occurred()) SWIG_fail
;
37568 resultobj
= SWIG_Py_Void();
37575 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37576 PyObject
*resultobj
= 0;
37577 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37589 PyObject
* obj0
= 0 ;
37590 PyObject
* obj1
= 0 ;
37591 PyObject
* obj2
= 0 ;
37592 PyObject
* obj3
= 0 ;
37593 char * kwnames
[] = {
37594 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37599 if (!SWIG_IsOK(res1
)) {
37600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37602 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37604 if (!SWIG_IsOK(ecode2
)) {
37605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37607 arg2
= static_cast< int >(val2
);
37608 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37609 if (!SWIG_IsOK(ecode3
)) {
37610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37612 arg3
= static_cast< int >(val3
);
37613 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37614 if (!SWIG_IsOK(ecode4
)) {
37615 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37617 arg4
= static_cast< int >(val4
);
37619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37620 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37621 wxPyEndAllowThreads(__tstate
);
37622 if (PyErr_Occurred()) SWIG_fail
;
37624 resultobj
= SWIG_Py_Void();
37631 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37632 PyObject
*resultobj
= 0;
37633 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37634 wxPoint
*arg2
= 0 ;
37641 PyObject
* obj0
= 0 ;
37642 PyObject
* obj1
= 0 ;
37643 PyObject
* obj2
= 0 ;
37644 char * kwnames
[] = {
37645 (char *) "self",(char *) "pt",(char *) "radius", NULL
37648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37650 if (!SWIG_IsOK(res1
)) {
37651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37653 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37656 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37658 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37659 if (!SWIG_IsOK(ecode3
)) {
37660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37662 arg3
= static_cast< int >(val3
);
37664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37665 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37666 wxPyEndAllowThreads(__tstate
);
37667 if (PyErr_Occurred()) SWIG_fail
;
37669 resultobj
= SWIG_Py_Void();
37676 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37677 PyObject
*resultobj
= 0;
37678 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37693 PyObject
* obj0
= 0 ;
37694 PyObject
* obj1
= 0 ;
37695 PyObject
* obj2
= 0 ;
37696 PyObject
* obj3
= 0 ;
37697 PyObject
* obj4
= 0 ;
37698 char * kwnames
[] = {
37699 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37704 if (!SWIG_IsOK(res1
)) {
37705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37707 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37709 if (!SWIG_IsOK(ecode2
)) {
37710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37712 arg2
= static_cast< int >(val2
);
37713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37714 if (!SWIG_IsOK(ecode3
)) {
37715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37717 arg3
= static_cast< int >(val3
);
37718 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37719 if (!SWIG_IsOK(ecode4
)) {
37720 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37722 arg4
= static_cast< int >(val4
);
37723 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37724 if (!SWIG_IsOK(ecode5
)) {
37725 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37727 arg5
= static_cast< int >(val5
);
37729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37730 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37731 wxPyEndAllowThreads(__tstate
);
37732 if (PyErr_Occurred()) SWIG_fail
;
37734 resultobj
= SWIG_Py_Void();
37741 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37742 PyObject
*resultobj
= 0;
37743 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37748 PyObject
* obj0
= 0 ;
37749 PyObject
* obj1
= 0 ;
37750 char * kwnames
[] = {
37751 (char *) "self",(char *) "rect", NULL
37754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37756 if (!SWIG_IsOK(res1
)) {
37757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37759 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37762 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37766 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37767 wxPyEndAllowThreads(__tstate
);
37768 if (PyErr_Occurred()) SWIG_fail
;
37770 resultobj
= SWIG_Py_Void();
37777 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37778 PyObject
*resultobj
= 0;
37779 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37780 wxPoint
*arg2
= 0 ;
37786 PyObject
* obj0
= 0 ;
37787 PyObject
* obj1
= 0 ;
37788 PyObject
* obj2
= 0 ;
37789 char * kwnames
[] = {
37790 (char *) "self",(char *) "pt",(char *) "sz", NULL
37793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37795 if (!SWIG_IsOK(res1
)) {
37796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37798 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37801 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37805 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37809 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37810 wxPyEndAllowThreads(__tstate
);
37811 if (PyErr_Occurred()) SWIG_fail
;
37813 resultobj
= SWIG_Py_Void();
37820 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37821 PyObject
*resultobj
= 0;
37822 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37834 PyObject
* obj0
= 0 ;
37835 PyObject
* obj1
= 0 ;
37836 PyObject
* obj2
= 0 ;
37837 PyObject
* obj3
= 0 ;
37838 char * kwnames
[] = {
37839 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37844 if (!SWIG_IsOK(res1
)) {
37845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37847 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37848 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37849 if (!SWIG_IsOK(res2
)) {
37850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37855 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37856 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37857 if (!SWIG_IsOK(ecode3
)) {
37858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37860 arg3
= static_cast< int >(val3
);
37861 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37862 if (!SWIG_IsOK(ecode4
)) {
37863 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37865 arg4
= static_cast< int >(val4
);
37867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37868 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37869 wxPyEndAllowThreads(__tstate
);
37870 if (PyErr_Occurred()) SWIG_fail
;
37872 resultobj
= SWIG_Py_Void();
37879 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37880 PyObject
*resultobj
= 0;
37881 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37883 wxPoint
*arg3
= 0 ;
37889 PyObject
* obj0
= 0 ;
37890 PyObject
* obj1
= 0 ;
37891 PyObject
* obj2
= 0 ;
37892 char * kwnames
[] = {
37893 (char *) "self",(char *) "icon",(char *) "pt", NULL
37896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37898 if (!SWIG_IsOK(res1
)) {
37899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37901 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37902 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37903 if (!SWIG_IsOK(res2
)) {
37904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37909 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37912 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37916 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37917 wxPyEndAllowThreads(__tstate
);
37918 if (PyErr_Occurred()) SWIG_fail
;
37920 resultobj
= SWIG_Py_Void();
37927 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37928 PyObject
*resultobj
= 0;
37929 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37930 wxBitmap
*arg2
= 0 ;
37933 bool arg5
= (bool) false ;
37944 PyObject
* obj0
= 0 ;
37945 PyObject
* obj1
= 0 ;
37946 PyObject
* obj2
= 0 ;
37947 PyObject
* obj3
= 0 ;
37948 PyObject
* obj4
= 0 ;
37949 char * kwnames
[] = {
37950 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37955 if (!SWIG_IsOK(res1
)) {
37956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37958 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37959 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37960 if (!SWIG_IsOK(res2
)) {
37961 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37964 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37966 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37967 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37968 if (!SWIG_IsOK(ecode3
)) {
37969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37971 arg3
= static_cast< int >(val3
);
37972 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37973 if (!SWIG_IsOK(ecode4
)) {
37974 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37976 arg4
= static_cast< int >(val4
);
37978 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37979 if (!SWIG_IsOK(ecode5
)) {
37980 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37982 arg5
= static_cast< bool >(val5
);
37985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37986 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37987 wxPyEndAllowThreads(__tstate
);
37988 if (PyErr_Occurred()) SWIG_fail
;
37990 resultobj
= SWIG_Py_Void();
37997 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37998 PyObject
*resultobj
= 0;
37999 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38000 wxBitmap
*arg2
= 0 ;
38001 wxPoint
*arg3
= 0 ;
38002 bool arg4
= (bool) false ;
38010 PyObject
* obj0
= 0 ;
38011 PyObject
* obj1
= 0 ;
38012 PyObject
* obj2
= 0 ;
38013 PyObject
* obj3
= 0 ;
38014 char * kwnames
[] = {
38015 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
38018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38020 if (!SWIG_IsOK(res1
)) {
38021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38023 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38024 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38025 if (!SWIG_IsOK(res2
)) {
38026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38031 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38034 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38037 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
38038 if (!SWIG_IsOK(ecode4
)) {
38039 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
38041 arg4
= static_cast< bool >(val4
);
38044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38045 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38046 wxPyEndAllowThreads(__tstate
);
38047 if (PyErr_Occurred()) SWIG_fail
;
38049 resultobj
= SWIG_Py_Void();
38056 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38057 PyObject
*resultobj
= 0;
38058 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38059 wxString
*arg2
= 0 ;
38064 bool temp2
= false ;
38069 PyObject
* obj0
= 0 ;
38070 PyObject
* obj1
= 0 ;
38071 PyObject
* obj2
= 0 ;
38072 PyObject
* obj3
= 0 ;
38073 char * kwnames
[] = {
38074 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
38077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38079 if (!SWIG_IsOK(res1
)) {
38080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38082 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38084 arg2
= wxString_in_helper(obj1
);
38085 if (arg2
== NULL
) SWIG_fail
;
38088 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38089 if (!SWIG_IsOK(ecode3
)) {
38090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
38092 arg3
= static_cast< int >(val3
);
38093 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38094 if (!SWIG_IsOK(ecode4
)) {
38095 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
38097 arg4
= static_cast< int >(val4
);
38099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38100 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
38101 wxPyEndAllowThreads(__tstate
);
38102 if (PyErr_Occurred()) SWIG_fail
;
38104 resultobj
= SWIG_Py_Void();
38119 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38120 PyObject
*resultobj
= 0;
38121 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38122 wxString
*arg2
= 0 ;
38123 wxPoint
*arg3
= 0 ;
38126 bool temp2
= false ;
38128 PyObject
* obj0
= 0 ;
38129 PyObject
* obj1
= 0 ;
38130 PyObject
* obj2
= 0 ;
38131 char * kwnames
[] = {
38132 (char *) "self",(char *) "text",(char *) "pt", NULL
38135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38137 if (!SWIG_IsOK(res1
)) {
38138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38140 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38142 arg2
= wxString_in_helper(obj1
);
38143 if (arg2
== NULL
) SWIG_fail
;
38148 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38152 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
38153 wxPyEndAllowThreads(__tstate
);
38154 if (PyErr_Occurred()) SWIG_fail
;
38156 resultobj
= SWIG_Py_Void();
38171 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38172 PyObject
*resultobj
= 0;
38173 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38174 wxString
*arg2
= 0 ;
38180 bool temp2
= false ;
38187 PyObject
* obj0
= 0 ;
38188 PyObject
* obj1
= 0 ;
38189 PyObject
* obj2
= 0 ;
38190 PyObject
* obj3
= 0 ;
38191 PyObject
* obj4
= 0 ;
38192 char * kwnames
[] = {
38193 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
38196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38198 if (!SWIG_IsOK(res1
)) {
38199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38201 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38203 arg2
= wxString_in_helper(obj1
);
38204 if (arg2
== NULL
) SWIG_fail
;
38207 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38208 if (!SWIG_IsOK(ecode3
)) {
38209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
38211 arg3
= static_cast< int >(val3
);
38212 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38213 if (!SWIG_IsOK(ecode4
)) {
38214 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
38216 arg4
= static_cast< int >(val4
);
38217 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
38218 if (!SWIG_IsOK(ecode5
)) {
38219 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
38221 arg5
= static_cast< double >(val5
);
38223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38224 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
38225 wxPyEndAllowThreads(__tstate
);
38226 if (PyErr_Occurred()) SWIG_fail
;
38228 resultobj
= SWIG_Py_Void();
38243 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38244 PyObject
*resultobj
= 0;
38245 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38246 wxString
*arg2
= 0 ;
38247 wxPoint
*arg3
= 0 ;
38251 bool temp2
= false ;
38255 PyObject
* obj0
= 0 ;
38256 PyObject
* obj1
= 0 ;
38257 PyObject
* obj2
= 0 ;
38258 PyObject
* obj3
= 0 ;
38259 char * kwnames
[] = {
38260 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
38263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38265 if (!SWIG_IsOK(res1
)) {
38266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38268 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38270 arg2
= wxString_in_helper(obj1
);
38271 if (arg2
== NULL
) SWIG_fail
;
38276 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38278 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
38279 if (!SWIG_IsOK(ecode4
)) {
38280 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
38282 arg4
= static_cast< double >(val4
);
38284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38285 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38286 wxPyEndAllowThreads(__tstate
);
38287 if (PyErr_Occurred()) SWIG_fail
;
38289 resultobj
= SWIG_Py_Void();
38304 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38305 PyObject
*resultobj
= 0;
38306 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38308 wxPoint
*arg3
= (wxPoint
*) 0 ;
38309 int arg4
= (int) 0 ;
38310 int arg5
= (int) 0 ;
38317 PyObject
* obj0
= 0 ;
38318 PyObject
* obj1
= 0 ;
38319 PyObject
* obj2
= 0 ;
38320 PyObject
* obj3
= 0 ;
38321 char * kwnames
[] = {
38322 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
38325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38327 if (!SWIG_IsOK(res1
)) {
38328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38330 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38332 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38333 if (arg3
== NULL
) SWIG_fail
;
38336 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38337 if (!SWIG_IsOK(ecode4
)) {
38338 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
38340 arg4
= static_cast< int >(val4
);
38343 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38344 if (!SWIG_IsOK(ecode5
)) {
38345 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
38347 arg5
= static_cast< int >(val5
);
38350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38351 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
38352 wxPyEndAllowThreads(__tstate
);
38353 if (PyErr_Occurred()) SWIG_fail
;
38355 resultobj
= SWIG_Py_Void();
38357 if (arg3
) delete [] arg3
;
38362 if (arg3
) delete [] arg3
;
38368 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38369 PyObject
*resultobj
= 0;
38370 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38372 wxPoint
*arg3
= (wxPoint
*) 0 ;
38373 int arg4
= (int) 0 ;
38374 int arg5
= (int) 0 ;
38375 int arg6
= (int) wxODDEVEN_RULE
;
38384 PyObject
* obj0
= 0 ;
38385 PyObject
* obj1
= 0 ;
38386 PyObject
* obj2
= 0 ;
38387 PyObject
* obj3
= 0 ;
38388 PyObject
* obj4
= 0 ;
38389 char * kwnames
[] = {
38390 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38395 if (!SWIG_IsOK(res1
)) {
38396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38398 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38400 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38401 if (arg3
== NULL
) SWIG_fail
;
38404 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38405 if (!SWIG_IsOK(ecode4
)) {
38406 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38408 arg4
= static_cast< int >(val4
);
38411 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38412 if (!SWIG_IsOK(ecode5
)) {
38413 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38415 arg5
= static_cast< int >(val5
);
38418 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38419 if (!SWIG_IsOK(ecode6
)) {
38420 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38422 arg6
= static_cast< int >(val6
);
38425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38426 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38427 wxPyEndAllowThreads(__tstate
);
38428 if (PyErr_Occurred()) SWIG_fail
;
38430 resultobj
= SWIG_Py_Void();
38432 if (arg3
) delete [] arg3
;
38437 if (arg3
) delete [] arg3
;
38443 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38444 PyObject
*resultobj
= 0;
38445 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38446 wxString
*arg2
= 0 ;
38448 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38449 int arg5
= (int) -1 ;
38452 bool temp2
= false ;
38458 PyObject
* obj0
= 0 ;
38459 PyObject
* obj1
= 0 ;
38460 PyObject
* obj2
= 0 ;
38461 PyObject
* obj3
= 0 ;
38462 PyObject
* obj4
= 0 ;
38463 char * kwnames
[] = {
38464 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38469 if (!SWIG_IsOK(res1
)) {
38470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38472 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38474 arg2
= wxString_in_helper(obj1
);
38475 if (arg2
== NULL
) SWIG_fail
;
38480 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38483 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38484 if (!SWIG_IsOK(ecode4
)) {
38485 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38487 arg4
= static_cast< int >(val4
);
38490 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38491 if (!SWIG_IsOK(ecode5
)) {
38492 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38494 arg5
= static_cast< int >(val5
);
38497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38498 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38499 wxPyEndAllowThreads(__tstate
);
38500 if (PyErr_Occurred()) SWIG_fail
;
38502 resultobj
= SWIG_Py_Void();
38517 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38518 PyObject
*resultobj
= 0;
38519 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38520 wxString
*arg2
= 0 ;
38521 wxBitmap
*arg3
= 0 ;
38523 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38524 int arg6
= (int) -1 ;
38527 bool temp2
= false ;
38535 PyObject
* obj0
= 0 ;
38536 PyObject
* obj1
= 0 ;
38537 PyObject
* obj2
= 0 ;
38538 PyObject
* obj3
= 0 ;
38539 PyObject
* obj4
= 0 ;
38540 PyObject
* obj5
= 0 ;
38541 char * kwnames
[] = {
38542 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38547 if (!SWIG_IsOK(res1
)) {
38548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38550 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38552 arg2
= wxString_in_helper(obj1
);
38553 if (arg2
== NULL
) SWIG_fail
;
38556 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38557 if (!SWIG_IsOK(res3
)) {
38558 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38563 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38566 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38569 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38570 if (!SWIG_IsOK(ecode5
)) {
38571 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38573 arg5
= static_cast< int >(val5
);
38576 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38577 if (!SWIG_IsOK(ecode6
)) {
38578 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38580 arg6
= static_cast< int >(val6
);
38583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38584 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38585 wxPyEndAllowThreads(__tstate
);
38586 if (PyErr_Occurred()) SWIG_fail
;
38588 resultobj
= SWIG_Py_Void();
38603 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38604 PyObject
*resultobj
= 0;
38605 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38607 wxPoint
*arg3
= (wxPoint
*) 0 ;
38610 PyObject
* obj0
= 0 ;
38611 PyObject
* obj1
= 0 ;
38612 char * kwnames
[] = {
38613 (char *) "self",(char *) "points", NULL
38616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38618 if (!SWIG_IsOK(res1
)) {
38619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38621 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38623 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38624 if (arg3
== NULL
) SWIG_fail
;
38627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38628 (arg1
)->DrawSpline(arg2
,arg3
);
38629 wxPyEndAllowThreads(__tstate
);
38630 if (PyErr_Occurred()) SWIG_fail
;
38632 resultobj
= SWIG_Py_Void();
38634 if (arg3
) delete [] arg3
;
38639 if (arg3
) delete [] arg3
;
38645 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38646 PyObject
*resultobj
= 0;
38647 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38650 PyObject
*swig_obj
[1] ;
38652 if (!args
) SWIG_fail
;
38653 swig_obj
[0] = args
;
38654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38655 if (!SWIG_IsOK(res1
)) {
38656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38658 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38662 wxPyEndAllowThreads(__tstate
);
38663 if (PyErr_Occurred()) SWIG_fail
;
38665 resultobj
= SWIG_Py_Void();
38672 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38673 PyObject
*resultobj
= 0;
38674 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38680 PyObject
* obj0
= 0 ;
38681 PyObject
* obj1
= 0 ;
38682 char * kwnames
[] = {
38683 (char *) "self",(char *) "font", NULL
38686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38688 if (!SWIG_IsOK(res1
)) {
38689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38691 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38692 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38693 if (!SWIG_IsOK(res2
)) {
38694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38699 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38702 (arg1
)->SetFont((wxFont
const &)*arg2
);
38703 wxPyEndAllowThreads(__tstate
);
38704 if (PyErr_Occurred()) SWIG_fail
;
38706 resultobj
= SWIG_Py_Void();
38713 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38714 PyObject
*resultobj
= 0;
38715 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38721 PyObject
* obj0
= 0 ;
38722 PyObject
* obj1
= 0 ;
38723 char * kwnames
[] = {
38724 (char *) "self",(char *) "pen", NULL
38727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38729 if (!SWIG_IsOK(res1
)) {
38730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38732 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38733 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38734 if (!SWIG_IsOK(res2
)) {
38735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38740 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38743 (arg1
)->SetPen((wxPen
const &)*arg2
);
38744 wxPyEndAllowThreads(__tstate
);
38745 if (PyErr_Occurred()) SWIG_fail
;
38747 resultobj
= SWIG_Py_Void();
38754 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38755 PyObject
*resultobj
= 0;
38756 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38757 wxBrush
*arg2
= 0 ;
38762 PyObject
* obj0
= 0 ;
38763 PyObject
* obj1
= 0 ;
38764 char * kwnames
[] = {
38765 (char *) "self",(char *) "brush", NULL
38768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38770 if (!SWIG_IsOK(res1
)) {
38771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38773 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38774 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38775 if (!SWIG_IsOK(res2
)) {
38776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38781 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38784 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38785 wxPyEndAllowThreads(__tstate
);
38786 if (PyErr_Occurred()) SWIG_fail
;
38788 resultobj
= SWIG_Py_Void();
38795 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38796 PyObject
*resultobj
= 0;
38797 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38798 wxBrush
*arg2
= 0 ;
38803 PyObject
* obj0
= 0 ;
38804 PyObject
* obj1
= 0 ;
38805 char * kwnames
[] = {
38806 (char *) "self",(char *) "brush", NULL
38809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38811 if (!SWIG_IsOK(res1
)) {
38812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38814 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38815 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38816 if (!SWIG_IsOK(res2
)) {
38817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38822 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38825 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38826 wxPyEndAllowThreads(__tstate
);
38827 if (PyErr_Occurred()) SWIG_fail
;
38829 resultobj
= SWIG_Py_Void();
38836 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38837 PyObject
*resultobj
= 0;
38838 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38844 PyObject
* obj0
= 0 ;
38845 PyObject
* obj1
= 0 ;
38846 char * kwnames
[] = {
38847 (char *) "self",(char *) "mode", NULL
38850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38852 if (!SWIG_IsOK(res1
)) {
38853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38855 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38857 if (!SWIG_IsOK(ecode2
)) {
38858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38860 arg2
= static_cast< int >(val2
);
38862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38863 (arg1
)->SetBackgroundMode(arg2
);
38864 wxPyEndAllowThreads(__tstate
);
38865 if (PyErr_Occurred()) SWIG_fail
;
38867 resultobj
= SWIG_Py_Void();
38874 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38875 PyObject
*resultobj
= 0;
38876 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38877 wxPalette
*arg2
= 0 ;
38882 PyObject
* obj0
= 0 ;
38883 PyObject
* obj1
= 0 ;
38884 char * kwnames
[] = {
38885 (char *) "self",(char *) "palette", NULL
38888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38890 if (!SWIG_IsOK(res1
)) {
38891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38893 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38894 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38895 if (!SWIG_IsOK(res2
)) {
38896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38901 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38904 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38905 wxPyEndAllowThreads(__tstate
);
38906 if (PyErr_Occurred()) SWIG_fail
;
38908 resultobj
= SWIG_Py_Void();
38915 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38916 PyObject
*resultobj
= 0;
38917 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38918 wxColour
*arg2
= 0 ;
38922 PyObject
* obj0
= 0 ;
38923 PyObject
* obj1
= 0 ;
38924 char * kwnames
[] = {
38925 (char *) "self",(char *) "colour", NULL
38928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38930 if (!SWIG_IsOK(res1
)) {
38931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38933 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38936 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38940 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38941 wxPyEndAllowThreads(__tstate
);
38942 if (PyErr_Occurred()) SWIG_fail
;
38944 resultobj
= SWIG_Py_Void();
38951 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38952 PyObject
*resultobj
= 0;
38953 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38954 wxColour
*arg2
= 0 ;
38958 PyObject
* obj0
= 0 ;
38959 PyObject
* obj1
= 0 ;
38960 char * kwnames
[] = {
38961 (char *) "self",(char *) "colour", NULL
38964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38966 if (!SWIG_IsOK(res1
)) {
38967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38969 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38972 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38976 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38977 wxPyEndAllowThreads(__tstate
);
38978 if (PyErr_Occurred()) SWIG_fail
;
38980 resultobj
= SWIG_Py_Void();
38987 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38988 PyObject
*resultobj
= 0;
38989 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38995 PyObject
* obj0
= 0 ;
38996 PyObject
* obj1
= 0 ;
38997 char * kwnames
[] = {
38998 (char *) "self",(char *) "function", NULL
39001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39003 if (!SWIG_IsOK(res1
)) {
39004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39006 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39008 if (!SWIG_IsOK(ecode2
)) {
39009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
39011 arg2
= static_cast< int >(val2
);
39013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39014 (arg1
)->SetLogicalFunction(arg2
);
39015 wxPyEndAllowThreads(__tstate
);
39016 if (PyErr_Occurred()) SWIG_fail
;
39018 resultobj
= SWIG_Py_Void();
39025 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39028 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
39029 return SWIG_Py_Void();
39032 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39033 return SWIG_Python_InitShadowInstance(args
);
39036 static PyMethodDef SwigMethods
[] = {
39037 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
39038 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
39039 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
39040 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
39041 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
39042 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39043 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39044 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39045 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
39046 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
39047 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
39048 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
39049 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
39050 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
39051 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39052 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39054 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39055 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
39056 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39057 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39058 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39059 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
39060 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
39061 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
39062 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39063 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
39064 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39065 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39066 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
39067 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
39068 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
39069 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
39070 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39071 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
39072 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
39073 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
39074 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
39075 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
39076 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
39077 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
39078 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39079 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39080 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39081 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39082 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39083 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39084 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
39085 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39086 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
39087 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
39088 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39089 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39090 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39091 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
39092 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
39093 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39094 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39095 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
39096 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39097 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39098 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39099 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
39100 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
39101 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
39102 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
39103 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
39104 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
39105 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
39106 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39107 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
39108 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39109 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39110 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39111 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39113 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
39114 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39115 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
39116 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
39117 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
39118 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
39119 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
39120 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
39121 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
39122 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39123 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39124 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39125 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39126 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39127 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
39128 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39129 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39130 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39131 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39132 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39133 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39135 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39137 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39138 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
39140 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
39141 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39142 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39143 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39144 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
39145 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
39146 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
39147 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
39148 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
39149 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
39150 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
39151 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
39152 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
39153 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
39154 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
39155 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
39156 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
39157 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
39158 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
39159 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39160 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
39161 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
39162 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
39168 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39169 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39170 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
39171 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
39172 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
39173 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
39174 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
39175 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
39176 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
39177 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
39178 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
39179 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39180 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
39181 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
39182 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39183 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39184 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39185 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39186 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39187 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
39188 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39189 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39190 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39191 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
39192 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
39193 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
39194 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39195 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
39196 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
39197 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39198 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39199 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39200 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39201 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
39202 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39203 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
39204 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
39205 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
39206 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
39207 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39208 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39209 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39210 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39211 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39212 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
39213 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
39214 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39215 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
39216 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
39217 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39218 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
39219 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39220 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
39221 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
39222 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
39223 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
39224 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39225 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39226 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
39227 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39228 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39229 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39230 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
39231 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
39232 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39233 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
39234 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39235 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39236 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
39237 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39238 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
39239 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
39240 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
39241 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
39242 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39243 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39244 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39245 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39246 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
39247 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
39248 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39249 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39250 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39251 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39252 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
39253 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
39254 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39255 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39256 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39257 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39258 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39259 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
39260 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39261 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39262 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39263 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
39264 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39265 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39266 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39267 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39268 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39269 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39270 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39271 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39273 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39274 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
39275 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39276 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39277 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
39278 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
39279 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39280 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
39281 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
39282 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
39283 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
39284 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
39285 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
39286 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
39287 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
39288 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
39289 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
39290 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
39291 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
39292 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
39293 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
39294 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
39295 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
39296 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
39297 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39298 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
39299 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
39300 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
39301 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
39302 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
39303 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
39304 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
39305 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
39306 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39307 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39308 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39312 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39314 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39315 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
39316 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
39317 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
39319 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
39320 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
39321 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
39322 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
39323 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
39324 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
39325 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
39326 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
39327 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
39329 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
39330 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
39331 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39332 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
39334 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
39335 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
39336 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39337 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39338 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
39339 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39341 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39342 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39344 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
39345 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39346 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39349 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
39350 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
39351 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39352 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
39353 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39354 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39355 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39357 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
39359 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39361 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
39362 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
39363 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
39364 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
39365 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
39366 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
39367 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
39368 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
39369 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
39370 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
39371 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
39372 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
39373 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
39374 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39375 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39376 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39377 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39378 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39382 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39383 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39384 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39385 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
39386 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
39387 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
39388 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39389 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
39390 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
39391 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39392 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
39393 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
39394 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
39395 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
39396 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39397 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39398 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39399 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
39400 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
39401 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39402 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
39403 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39404 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
39405 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
39406 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
39407 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
39408 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
39409 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
39410 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
39411 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39412 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
39413 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39414 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39415 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
39416 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
39417 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
39418 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39419 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39420 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39421 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39422 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39423 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39424 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39425 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39426 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39427 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39428 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39429 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39430 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39431 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39432 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39433 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39434 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39435 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39436 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39437 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39438 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39439 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39440 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39441 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39442 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39443 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39444 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39445 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39446 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39447 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39448 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39449 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39450 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39451 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39452 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39453 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39454 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39455 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39456 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39457 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39458 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39459 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39460 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39461 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39462 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39463 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39464 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39465 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39466 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39467 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39468 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39469 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39470 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39471 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39472 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39473 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39474 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39475 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39476 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39477 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39478 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39479 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39480 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39481 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39482 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39483 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39484 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39485 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39486 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39487 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39488 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39489 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39490 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39491 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39492 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39493 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39494 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39495 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39496 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39497 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39498 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39499 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39500 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39501 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39502 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39503 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39504 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39505 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39506 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39507 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39508 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39509 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39510 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39511 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39512 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39513 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39514 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39515 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39516 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39517 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39518 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39519 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39520 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39521 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39522 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39523 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39524 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39525 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39526 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39527 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39528 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39529 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39530 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39531 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39532 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39533 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39534 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39536 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39537 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39538 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39539 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39540 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39541 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39542 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39543 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39544 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39545 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39546 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39547 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39548 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39549 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39550 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39551 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39552 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39553 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39554 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39555 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39556 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39557 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39558 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39559 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39560 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39561 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39562 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39563 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39564 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39565 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39567 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39568 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39570 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39571 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39572 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39573 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39574 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39575 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39576 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39577 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
39578 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39579 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39580 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39581 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39582 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39583 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39584 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39585 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39586 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39587 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39588 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39589 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39590 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39591 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39592 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39593 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39594 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39595 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39596 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39597 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39598 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39599 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39600 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39601 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39602 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39603 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39604 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39605 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39606 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39607 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39608 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39609 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39610 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39611 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39612 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39613 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39614 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39615 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39616 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39617 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39618 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39619 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39620 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39621 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39622 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39623 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39624 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39625 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39626 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39627 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39628 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39629 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39630 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39631 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39632 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39633 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39634 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39635 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39636 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39637 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39638 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39639 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39640 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39641 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39642 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39643 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39644 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39645 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
39646 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
39647 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39648 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
39649 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
39650 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
39651 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
39652 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39653 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39654 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39655 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
39656 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39657 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39658 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39659 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39660 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39661 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39662 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39663 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39664 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39665 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39666 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39667 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39668 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39669 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39670 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39671 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39672 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39673 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39674 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39675 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39676 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39677 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39678 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39679 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
39680 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39681 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39682 { (char *)"GraphicsMatrix_Copy", (PyCFunction
) _wrap_GraphicsMatrix_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39683 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39684 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39685 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39686 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39687 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39688 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39689 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39690 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39691 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39692 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39693 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39694 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
39695 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
39696 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39697 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39698 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39699 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39700 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39701 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39702 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39703 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39704 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39705 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39706 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39707 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39708 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39709 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39710 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39711 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39712 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39713 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39714 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39715 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39716 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
39717 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39718 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39719 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39720 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39721 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39722 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39723 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39724 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39725 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39726 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39727 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39728 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39729 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39730 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39731 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39732 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39733 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39734 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39735 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39736 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39737 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39738 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39739 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39740 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39741 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39742 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39743 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39744 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39745 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39746 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39747 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39748 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39749 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39750 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39751 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39752 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39753 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39754 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39755 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39756 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39757 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39758 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39759 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39760 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39761 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39762 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39763 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39764 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39765 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39766 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39767 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39768 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39769 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39770 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39771 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39772 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39773 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39774 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39775 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39776 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39777 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39778 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39779 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39780 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39781 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39782 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39783 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39784 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39785 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39786 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39787 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39788 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39789 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39790 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39791 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39792 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39793 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39794 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39795 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39796 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39797 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39798 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39799 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39800 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39801 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39802 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39803 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39804 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39805 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39806 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39807 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39808 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39809 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39810 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39811 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39812 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39813 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39814 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39815 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39816 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39817 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39818 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39819 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39820 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39821 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39822 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39823 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39824 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39825 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39826 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39827 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39828 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39829 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39830 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39831 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39832 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39833 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39834 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39835 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39836 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39837 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39838 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39839 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39840 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39841 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39842 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39843 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39844 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39845 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39846 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39847 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39848 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39849 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39850 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39851 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39852 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39853 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39854 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39855 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39856 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39857 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39858 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39859 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39860 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39861 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39862 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39863 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39864 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39865 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39866 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39867 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39868 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39869 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39870 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39871 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39872 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39873 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39874 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39875 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39876 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39877 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39878 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39879 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39880 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39881 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39882 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39883 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39884 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39885 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39886 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39887 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39888 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39889 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39890 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39891 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39892 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39893 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39894 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39895 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39896 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39897 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39898 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39899 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39900 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39901 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39902 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39903 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39904 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39905 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39906 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39907 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39908 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39909 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39910 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39911 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39912 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39913 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39914 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39915 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39916 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39917 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39918 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39919 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39920 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39921 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39922 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39923 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39924 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39925 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39926 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39927 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39928 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39929 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39930 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39931 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39932 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39933 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39934 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39935 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39936 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39937 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39938 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39939 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39940 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39941 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39942 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39943 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39944 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39945 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39946 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39947 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39948 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39949 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39950 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39951 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39952 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39953 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39954 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39955 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39956 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39957 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39958 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39959 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39960 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39961 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39962 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39963 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39964 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39965 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39966 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39967 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39968 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39969 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39970 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39971 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39972 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39973 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39974 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39975 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39976 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39977 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39978 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39979 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39980 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39981 { NULL
, NULL
, 0, NULL
}
39985 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39987 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39988 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39990 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39991 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39993 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39994 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39996 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39997 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39999 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
40000 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
40002 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
40003 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
40005 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
40006 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40008 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
40009 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40011 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
40012 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40014 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
40015 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40017 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
40018 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40020 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
40021 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40023 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
40024 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
40026 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
40027 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
40029 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
40030 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
40032 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
40033 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
40035 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
40036 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
40038 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
40039 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
40041 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
40042 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
40044 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
40045 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
40047 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
40048 return (void *)((wxDC
*) ((wxGCDC
*) x
));
40050 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
40051 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
40053 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
40054 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
40056 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
40057 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
40059 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
40060 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
40062 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
40063 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
40065 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
40066 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
40068 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
40069 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
40071 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
40072 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40074 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
40075 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40077 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
40078 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40080 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
40081 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
40083 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
40084 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
40086 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
40087 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
40089 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
40090 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
40092 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
40093 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
40095 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
40096 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40098 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40099 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40101 static void *_p_wxPenTo_p_wxObject(void *x
) {
40102 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
40104 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
40105 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
40107 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40108 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40110 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40111 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40113 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40114 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40116 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40117 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40119 static void *_p_wxIconTo_p_wxObject(void *x
) {
40120 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
40122 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40123 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40125 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40126 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40128 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40129 return (void *)((wxObject
*) ((wxSizer
*) x
));
40131 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40132 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40134 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40135 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40137 static void *_p_wxEventTo_p_wxObject(void *x
) {
40138 return (void *)((wxObject
*) ((wxEvent
*) x
));
40140 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40141 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40143 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40144 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40146 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40147 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40149 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
40150 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
40152 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40153 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40155 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40156 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40158 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40159 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40161 static void *_p_wxDCTo_p_wxObject(void *x
) {
40162 return (void *)((wxObject
*) ((wxDC
*) x
));
40164 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40165 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40167 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40168 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40170 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40171 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40173 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40174 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40176 static void *_p_wxControlTo_p_wxObject(void *x
) {
40177 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40179 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
40180 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40182 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40183 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40185 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
40186 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
40188 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40189 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40191 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
40192 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
40194 static void *_p_wxRegionTo_p_wxObject(void *x
) {
40195 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
40197 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40198 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40200 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
40201 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
40203 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
40204 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
40206 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
40207 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
40209 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
40210 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40212 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
40213 return (void *)((wxObject
*) ((wxEffects
*) x
));
40215 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40216 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40218 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40219 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40221 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
40222 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
40224 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
40225 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40227 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40228 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40230 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40231 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40233 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40234 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40236 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40237 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40239 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40240 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40242 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40243 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40245 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40246 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40248 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40249 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40251 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40252 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40254 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40255 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40257 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40258 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40260 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40261 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40263 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40264 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40266 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40267 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40269 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40270 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40272 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40273 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40275 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40276 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40278 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40279 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40281 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40282 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40284 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40285 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40287 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40288 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40290 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40291 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40293 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40294 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40296 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40297 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40299 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40300 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40302 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40303 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40305 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
40306 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40308 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
40309 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40311 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
40312 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40314 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
40315 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
40317 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
40318 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
40320 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40321 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40323 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40324 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40326 static void *_p_wxImageTo_p_wxObject(void *x
) {
40327 return (void *)((wxObject
*) ((wxImage
*) x
));
40329 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40330 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40332 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
40333 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40335 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
40336 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
40338 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
40339 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
40341 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
40342 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40344 static void *_p_wxImageListTo_p_wxObject(void *x
) {
40345 return (void *)((wxObject
*) ((wxImageList
*) x
));
40347 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
40348 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
40350 static void *_p_wxCursorTo_p_wxObject(void *x
) {
40351 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
40353 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
40354 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
40356 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
40357 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
40359 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
40360 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40362 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40363 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40365 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40366 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40368 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40369 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40371 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40372 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40374 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40375 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40377 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40378 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40380 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
40381 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
40383 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40384 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40386 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
40387 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
40389 static void *_p_wxMaskTo_p_wxObject(void *x
) {
40390 return (void *)((wxObject
*) ((wxMask
*) x
));
40392 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
40393 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40395 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40396 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40398 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40399 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40401 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40402 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40404 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40405 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40407 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40408 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40410 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40411 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40413 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40414 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40416 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40417 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40419 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40420 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40422 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40423 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40425 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40426 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40428 static void *_p_wxFontTo_p_wxObject(void *x
) {
40429 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40431 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40432 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40434 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40435 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40437 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40438 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40440 static void *_p_wxColourTo_p_wxObject(void *x
) {
40441 return (void *)((wxObject
*) ((wxColour
*) x
));
40443 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40444 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40446 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40447 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40449 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40450 return (void *)((wxWindow
*) ((wxControl
*) x
));
40452 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40453 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40455 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40456 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40458 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40459 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40461 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40462 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40464 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40465 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40466 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40467 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};
40468 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40469 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40470 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40471 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40472 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40473 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40474 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40475 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40476 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40477 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40478 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40479 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40480 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40481 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40482 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40483 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
40484 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40485 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40486 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40487 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40488 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40489 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40490 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40491 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40492 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40493 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40494 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40495 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40496 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40497 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40498 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40499 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40500 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40501 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40502 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40503 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40504 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40505 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40506 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40507 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40508 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40509 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40510 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40511 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40512 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40513 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40514 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40515 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40516 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40517 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40518 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40519 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40520 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40521 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40522 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40523 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40524 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40525 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40526 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40527 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40528 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40529 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40530 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40531 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40532 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40533 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40534 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40535 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40536 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40537 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40538 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40539 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40540 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40541 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40542 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40543 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40544 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40545 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40546 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40547 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40548 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40549 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40550 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40551 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40552 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40553 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40554 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40555 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40556 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40557 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40558 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40559 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40560 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40561 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40562 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40563 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40564 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40565 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40566 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40567 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40568 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40569 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40570 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40571 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40572 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40573 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40574 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40575 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40576 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40577 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40578 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40579 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40580 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40581 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40582 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40583 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40584 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40585 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40586 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40587 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40588 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40589 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40590 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40591 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40592 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40593 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40594 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40595 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40596 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40597 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40598 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40599 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40600 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40601 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40602 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40603 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40604 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40605 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40606 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40607 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40608 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40609 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40610 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40611 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40612 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40613 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40614 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
40615 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40616 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40617 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40618 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40619 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40620 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40621 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40622 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
40623 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40624 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40625 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40626 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40627 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40628 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40629 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40630 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40631 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40632 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40633 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40635 static swig_type_info
*swig_type_initial
[] = {
40639 &_swigt__p_form_ops_t
,
40641 &_swigt__p_unsigned_char
,
40642 &_swigt__p_unsigned_int
,
40643 &_swigt__p_unsigned_long
,
40645 &_swigt__p_wxANIHandler
,
40646 &_swigt__p_wxAcceleratorTable
,
40647 &_swigt__p_wxActivateEvent
,
40648 &_swigt__p_wxAlphaPixelData
,
40649 &_swigt__p_wxAlphaPixelData_Accessor
,
40650 &_swigt__p_wxAutoBufferedPaintDC
,
40651 &_swigt__p_wxBMPHandler
,
40652 &_swigt__p_wxBitmap
,
40653 &_swigt__p_wxBoxSizer
,
40654 &_swigt__p_wxBrush
,
40655 &_swigt__p_wxBrushList
,
40656 &_swigt__p_wxBufferedDC
,
40657 &_swigt__p_wxBufferedPaintDC
,
40658 &_swigt__p_wxCURHandler
,
40660 &_swigt__p_wxChildFocusEvent
,
40661 &_swigt__p_wxClientDC
,
40662 &_swigt__p_wxClipboardTextEvent
,
40663 &_swigt__p_wxCloseEvent
,
40664 &_swigt__p_wxColor
,
40665 &_swigt__p_wxColour
,
40666 &_swigt__p_wxColourDatabase
,
40667 &_swigt__p_wxCommandEvent
,
40668 &_swigt__p_wxContextMenuEvent
,
40669 &_swigt__p_wxControl
,
40670 &_swigt__p_wxControlWithItems
,
40671 &_swigt__p_wxCursor
,
40673 &_swigt__p_wxDCBrushChanger
,
40674 &_swigt__p_wxDCClipper
,
40675 &_swigt__p_wxDCOverlay
,
40676 &_swigt__p_wxDCPenChanger
,
40677 &_swigt__p_wxDCTextColourChanger
,
40679 &_swigt__p_wxDateEvent
,
40680 &_swigt__p_wxDisplayChangedEvent
,
40681 &_swigt__p_wxDropFilesEvent
,
40682 &_swigt__p_wxDuplexMode
,
40683 &_swigt__p_wxEffects
,
40684 &_swigt__p_wxEncodingConverter
,
40685 &_swigt__p_wxEraseEvent
,
40686 &_swigt__p_wxEvent
,
40687 &_swigt__p_wxEvtHandler
,
40688 &_swigt__p_wxFSFile
,
40689 &_swigt__p_wxFileSystem
,
40690 &_swigt__p_wxFlexGridSizer
,
40691 &_swigt__p_wxFocusEvent
,
40693 &_swigt__p_wxFontList
,
40694 &_swigt__p_wxFontMapper
,
40695 &_swigt__p_wxGBSizerItem
,
40697 &_swigt__p_wxGDIObjListBase
,
40698 &_swigt__p_wxGDIObject
,
40699 &_swigt__p_wxGIFHandler
,
40700 &_swigt__p_wxGraphicsBrush
,
40701 &_swigt__p_wxGraphicsContext
,
40702 &_swigt__p_wxGraphicsFont
,
40703 &_swigt__p_wxGraphicsMatrix
,
40704 &_swigt__p_wxGraphicsObject
,
40705 &_swigt__p_wxGraphicsPath
,
40706 &_swigt__p_wxGraphicsPen
,
40707 &_swigt__p_wxGraphicsRenderer
,
40708 &_swigt__p_wxGridBagSizer
,
40709 &_swigt__p_wxGridSizer
,
40710 &_swigt__p_wxHeaderButtonParams
,
40711 &_swigt__p_wxICOHandler
,
40713 &_swigt__p_wxIconBundle
,
40714 &_swigt__p_wxIconLocation
,
40715 &_swigt__p_wxIconizeEvent
,
40716 &_swigt__p_wxIdleEvent
,
40717 &_swigt__p_wxImage
,
40718 &_swigt__p_wxImageHandler
,
40719 &_swigt__p_wxImageList
,
40720 &_swigt__p_wxIndividualLayoutConstraint
,
40721 &_swigt__p_wxInitDialogEvent
,
40722 &_swigt__p_wxJPEGHandler
,
40723 &_swigt__p_wxKeyEvent
,
40724 &_swigt__p_wxLanguageInfo
,
40725 &_swigt__p_wxLayoutConstraints
,
40726 &_swigt__p_wxLocale
,
40728 &_swigt__p_wxMaximizeEvent
,
40729 &_swigt__p_wxMemoryDC
,
40731 &_swigt__p_wxMenuBar
,
40732 &_swigt__p_wxMenuEvent
,
40733 &_swigt__p_wxMenuItem
,
40734 &_swigt__p_wxMetaFile
,
40735 &_swigt__p_wxMetaFileDC
,
40736 &_swigt__p_wxMirrorDC
,
40737 &_swigt__p_wxMouseCaptureChangedEvent
,
40738 &_swigt__p_wxMouseCaptureLostEvent
,
40739 &_swigt__p_wxMouseEvent
,
40740 &_swigt__p_wxMoveEvent
,
40741 &_swigt__p_wxNativeEncodingInfo
,
40742 &_swigt__p_wxNativeFontInfo
,
40743 &_swigt__p_wxNativePixelData
,
40744 &_swigt__p_wxNativePixelData_Accessor
,
40745 &_swigt__p_wxNavigationKeyEvent
,
40746 &_swigt__p_wxNcPaintEvent
,
40747 &_swigt__p_wxNotifyEvent
,
40748 &_swigt__p_wxObject
,
40749 &_swigt__p_wxOverlay
,
40750 &_swigt__p_wxPCXHandler
,
40751 &_swigt__p_wxPNGHandler
,
40752 &_swigt__p_wxPNMHandler
,
40753 &_swigt__p_wxPaintDC
,
40754 &_swigt__p_wxPaintEvent
,
40755 &_swigt__p_wxPalette
,
40756 &_swigt__p_wxPaletteChangedEvent
,
40757 &_swigt__p_wxPaperSize
,
40759 &_swigt__p_wxPenList
,
40760 &_swigt__p_wxPixelDataBase
,
40761 &_swigt__p_wxPoint
,
40762 &_swigt__p_wxPoint2D
,
40763 &_swigt__p_wxPoint2DDouble
,
40764 &_swigt__p_wxPostScriptDC
,
40765 &_swigt__p_wxPrintData
,
40766 &_swigt__p_wxPrinterDC
,
40767 &_swigt__p_wxPseudoDC
,
40768 &_swigt__p_wxPyApp
,
40769 &_swigt__p_wxPyCommandEvent
,
40770 &_swigt__p_wxPyEvent
,
40771 &_swigt__p_wxPyFontEnumerator
,
40772 &_swigt__p_wxPyImageHandler
,
40773 &_swigt__p_wxPyLocale
,
40774 &_swigt__p_wxPySizer
,
40775 &_swigt__p_wxPyValidator
,
40776 &_swigt__p_wxQueryNewPaletteEvent
,
40778 &_swigt__p_wxRect2DDouble
,
40779 &_swigt__p_wxRegion
,
40780 &_swigt__p_wxRegionIterator
,
40781 &_swigt__p_wxRendererNative
,
40782 &_swigt__p_wxRendererVersion
,
40783 &_swigt__p_wxScreenDC
,
40784 &_swigt__p_wxScrollEvent
,
40785 &_swigt__p_wxScrollWinEvent
,
40786 &_swigt__p_wxSetCursorEvent
,
40787 &_swigt__p_wxShowEvent
,
40789 &_swigt__p_wxSizeEvent
,
40790 &_swigt__p_wxSizer
,
40791 &_swigt__p_wxSizerItem
,
40792 &_swigt__p_wxSplitterRenderParams
,
40793 &_swigt__p_wxStaticBoxSizer
,
40794 &_swigt__p_wxStdDialogButtonSizer
,
40795 &_swigt__p_wxStockGDI
,
40796 &_swigt__p_wxString
,
40797 &_swigt__p_wxSysColourChangedEvent
,
40798 &_swigt__p_wxTIFFHandler
,
40799 &_swigt__p_wxUpdateUIEvent
,
40800 &_swigt__p_wxValidator
,
40801 &_swigt__p_wxWindow
,
40802 &_swigt__p_wxWindowCreateEvent
,
40803 &_swigt__p_wxWindowDC
,
40804 &_swigt__p_wxWindowDestroyEvent
,
40805 &_swigt__p_wxXPMHandler
,
40808 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40809 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40810 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40811 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40812 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40813 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40814 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40815 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40816 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40817 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40818 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40819 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40820 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40821 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40822 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40823 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}};
40824 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40825 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40826 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}};
40827 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
40828 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40829 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40830 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40831 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}};
40832 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40833 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40834 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40835 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40836 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40837 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40838 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40839 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40840 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40841 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40842 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40843 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40844 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40845 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}};
40846 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}};
40847 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40848 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40849 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40850 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40851 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}};
40852 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40853 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40854 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40855 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40856 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40857 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40858 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40859 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40860 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40861 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40862 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}};
40863 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40864 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}};
40865 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40866 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40867 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40868 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40869 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40870 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40871 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40872 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40873 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40874 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40875 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40876 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40877 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40878 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40879 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40880 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40881 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40882 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40883 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40884 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40885 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40886 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40887 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40888 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40889 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40890 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40891 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40892 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40893 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40894 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40895 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40896 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40897 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40898 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40899 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40900 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40901 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40902 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40903 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40904 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40905 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40906 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40907 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40908 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40909 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40910 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40911 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40912 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40913 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40914 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40915 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40916 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40917 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40918 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40919 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40920 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40921 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40922 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40923 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40924 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40925 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40926 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40927 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40928 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40929 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40930 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40931 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40932 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40933 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40934 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40935 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40936 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40937 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40938 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40939 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40940 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40941 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40942 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40943 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40944 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40945 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40946 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40947 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40948 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_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_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_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}};
40949 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40950 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40951 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40952 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40953 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40954 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40955 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}};
40956 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40957 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40958 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40959 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40960 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40961 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40962 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40963 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40964 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40965 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40966 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40967 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40968 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40969 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40970 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40971 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40972 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40973 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40974 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40975 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40976 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}};
40977 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}};
40979 static swig_cast_info
*swig_cast_initial
[] = {
40983 _swigc__p_form_ops_t
,
40985 _swigc__p_unsigned_char
,
40986 _swigc__p_unsigned_int
,
40987 _swigc__p_unsigned_long
,
40989 _swigc__p_wxANIHandler
,
40990 _swigc__p_wxAcceleratorTable
,
40991 _swigc__p_wxActivateEvent
,
40992 _swigc__p_wxAlphaPixelData
,
40993 _swigc__p_wxAlphaPixelData_Accessor
,
40994 _swigc__p_wxAutoBufferedPaintDC
,
40995 _swigc__p_wxBMPHandler
,
40996 _swigc__p_wxBitmap
,
40997 _swigc__p_wxBoxSizer
,
40999 _swigc__p_wxBrushList
,
41000 _swigc__p_wxBufferedDC
,
41001 _swigc__p_wxBufferedPaintDC
,
41002 _swigc__p_wxCURHandler
,
41004 _swigc__p_wxChildFocusEvent
,
41005 _swigc__p_wxClientDC
,
41006 _swigc__p_wxClipboardTextEvent
,
41007 _swigc__p_wxCloseEvent
,
41009 _swigc__p_wxColour
,
41010 _swigc__p_wxColourDatabase
,
41011 _swigc__p_wxCommandEvent
,
41012 _swigc__p_wxContextMenuEvent
,
41013 _swigc__p_wxControl
,
41014 _swigc__p_wxControlWithItems
,
41015 _swigc__p_wxCursor
,
41017 _swigc__p_wxDCBrushChanger
,
41018 _swigc__p_wxDCClipper
,
41019 _swigc__p_wxDCOverlay
,
41020 _swigc__p_wxDCPenChanger
,
41021 _swigc__p_wxDCTextColourChanger
,
41023 _swigc__p_wxDateEvent
,
41024 _swigc__p_wxDisplayChangedEvent
,
41025 _swigc__p_wxDropFilesEvent
,
41026 _swigc__p_wxDuplexMode
,
41027 _swigc__p_wxEffects
,
41028 _swigc__p_wxEncodingConverter
,
41029 _swigc__p_wxEraseEvent
,
41031 _swigc__p_wxEvtHandler
,
41032 _swigc__p_wxFSFile
,
41033 _swigc__p_wxFileSystem
,
41034 _swigc__p_wxFlexGridSizer
,
41035 _swigc__p_wxFocusEvent
,
41037 _swigc__p_wxFontList
,
41038 _swigc__p_wxFontMapper
,
41039 _swigc__p_wxGBSizerItem
,
41041 _swigc__p_wxGDIObjListBase
,
41042 _swigc__p_wxGDIObject
,
41043 _swigc__p_wxGIFHandler
,
41044 _swigc__p_wxGraphicsBrush
,
41045 _swigc__p_wxGraphicsContext
,
41046 _swigc__p_wxGraphicsFont
,
41047 _swigc__p_wxGraphicsMatrix
,
41048 _swigc__p_wxGraphicsObject
,
41049 _swigc__p_wxGraphicsPath
,
41050 _swigc__p_wxGraphicsPen
,
41051 _swigc__p_wxGraphicsRenderer
,
41052 _swigc__p_wxGridBagSizer
,
41053 _swigc__p_wxGridSizer
,
41054 _swigc__p_wxHeaderButtonParams
,
41055 _swigc__p_wxICOHandler
,
41057 _swigc__p_wxIconBundle
,
41058 _swigc__p_wxIconLocation
,
41059 _swigc__p_wxIconizeEvent
,
41060 _swigc__p_wxIdleEvent
,
41062 _swigc__p_wxImageHandler
,
41063 _swigc__p_wxImageList
,
41064 _swigc__p_wxIndividualLayoutConstraint
,
41065 _swigc__p_wxInitDialogEvent
,
41066 _swigc__p_wxJPEGHandler
,
41067 _swigc__p_wxKeyEvent
,
41068 _swigc__p_wxLanguageInfo
,
41069 _swigc__p_wxLayoutConstraints
,
41070 _swigc__p_wxLocale
,
41072 _swigc__p_wxMaximizeEvent
,
41073 _swigc__p_wxMemoryDC
,
41075 _swigc__p_wxMenuBar
,
41076 _swigc__p_wxMenuEvent
,
41077 _swigc__p_wxMenuItem
,
41078 _swigc__p_wxMetaFile
,
41079 _swigc__p_wxMetaFileDC
,
41080 _swigc__p_wxMirrorDC
,
41081 _swigc__p_wxMouseCaptureChangedEvent
,
41082 _swigc__p_wxMouseCaptureLostEvent
,
41083 _swigc__p_wxMouseEvent
,
41084 _swigc__p_wxMoveEvent
,
41085 _swigc__p_wxNativeEncodingInfo
,
41086 _swigc__p_wxNativeFontInfo
,
41087 _swigc__p_wxNativePixelData
,
41088 _swigc__p_wxNativePixelData_Accessor
,
41089 _swigc__p_wxNavigationKeyEvent
,
41090 _swigc__p_wxNcPaintEvent
,
41091 _swigc__p_wxNotifyEvent
,
41092 _swigc__p_wxObject
,
41093 _swigc__p_wxOverlay
,
41094 _swigc__p_wxPCXHandler
,
41095 _swigc__p_wxPNGHandler
,
41096 _swigc__p_wxPNMHandler
,
41097 _swigc__p_wxPaintDC
,
41098 _swigc__p_wxPaintEvent
,
41099 _swigc__p_wxPalette
,
41100 _swigc__p_wxPaletteChangedEvent
,
41101 _swigc__p_wxPaperSize
,
41103 _swigc__p_wxPenList
,
41104 _swigc__p_wxPixelDataBase
,
41106 _swigc__p_wxPoint2D
,
41107 _swigc__p_wxPoint2DDouble
,
41108 _swigc__p_wxPostScriptDC
,
41109 _swigc__p_wxPrintData
,
41110 _swigc__p_wxPrinterDC
,
41111 _swigc__p_wxPseudoDC
,
41113 _swigc__p_wxPyCommandEvent
,
41114 _swigc__p_wxPyEvent
,
41115 _swigc__p_wxPyFontEnumerator
,
41116 _swigc__p_wxPyImageHandler
,
41117 _swigc__p_wxPyLocale
,
41118 _swigc__p_wxPySizer
,
41119 _swigc__p_wxPyValidator
,
41120 _swigc__p_wxQueryNewPaletteEvent
,
41122 _swigc__p_wxRect2DDouble
,
41123 _swigc__p_wxRegion
,
41124 _swigc__p_wxRegionIterator
,
41125 _swigc__p_wxRendererNative
,
41126 _swigc__p_wxRendererVersion
,
41127 _swigc__p_wxScreenDC
,
41128 _swigc__p_wxScrollEvent
,
41129 _swigc__p_wxScrollWinEvent
,
41130 _swigc__p_wxSetCursorEvent
,
41131 _swigc__p_wxShowEvent
,
41133 _swigc__p_wxSizeEvent
,
41135 _swigc__p_wxSizerItem
,
41136 _swigc__p_wxSplitterRenderParams
,
41137 _swigc__p_wxStaticBoxSizer
,
41138 _swigc__p_wxStdDialogButtonSizer
,
41139 _swigc__p_wxStockGDI
,
41140 _swigc__p_wxString
,
41141 _swigc__p_wxSysColourChangedEvent
,
41142 _swigc__p_wxTIFFHandler
,
41143 _swigc__p_wxUpdateUIEvent
,
41144 _swigc__p_wxValidator
,
41145 _swigc__p_wxWindow
,
41146 _swigc__p_wxWindowCreateEvent
,
41147 _swigc__p_wxWindowDC
,
41148 _swigc__p_wxWindowDestroyEvent
,
41149 _swigc__p_wxXPMHandler
,
41153 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41155 static swig_const_info swig_const_table
[] = {
41156 {0, 0, 0, 0.0, 0, 0}};
41161 /* -----------------------------------------------------------------------------
41162 * Type initialization:
41163 * This problem is tough by the requirement that no dynamic
41164 * memory is used. Also, since swig_type_info structures store pointers to
41165 * swig_cast_info structures and swig_cast_info structures store pointers back
41166 * to swig_type_info structures, we need some lookup code at initialization.
41167 * The idea is that swig generates all the structures that are needed.
41168 * The runtime then collects these partially filled structures.
41169 * The SWIG_InitializeModule function takes these initial arrays out of
41170 * swig_module, and does all the lookup, filling in the swig_module.types
41171 * array with the correct data and linking the correct swig_cast_info
41172 * structures together.
41174 * The generated swig_type_info structures are assigned staticly to an initial
41175 * array. We just loop though that array, and handle each type individually.
41176 * First we lookup if this type has been already loaded, and if so, use the
41177 * loaded structure instead of the generated one. Then we have to fill in the
41178 * cast linked list. The cast data is initially stored in something like a
41179 * two-dimensional array. Each row corresponds to a type (there are the same
41180 * number of rows as there are in the swig_type_initial array). Each entry in
41181 * a column is one of the swig_cast_info structures for that type.
41182 * The cast_initial array is actually an array of arrays, because each row has
41183 * a variable number of columns. So to actually build the cast linked list,
41184 * we find the array of casts associated with the type, and loop through it
41185 * adding the casts to the list. The one last trick we need to do is making
41186 * sure the type pointer in the swig_cast_info struct is correct.
41188 * First off, we lookup the cast->type name to see if it is already loaded.
41189 * There are three cases to handle:
41190 * 1) If the cast->type has already been loaded AND the type we are adding
41191 * casting info to has not been loaded (it is in this module), THEN we
41192 * replace the cast->type pointer with the type pointer that has already
41194 * 2) If BOTH types (the one we are adding casting info to, and the
41195 * cast->type) are loaded, THEN the cast info has already been loaded by
41196 * the previous module so we just ignore it.
41197 * 3) Finally, if cast->type has not already been loaded, then we add that
41198 * swig_cast_info to the linked list (because the cast->type) pointer will
41200 * ----------------------------------------------------------------------------- */
41210 #define SWIGRUNTIME_DEBUG
41214 SWIG_InitializeModule(void *clientdata
) {
41216 swig_module_info
*module_head
;
41217 static int init_run
= 0;
41219 clientdata
= clientdata
;
41221 if (init_run
) return;
41224 /* Initialize the swig_module */
41225 swig_module
.type_initial
= swig_type_initial
;
41226 swig_module
.cast_initial
= swig_cast_initial
;
41228 /* Try and load any already created modules */
41229 module_head
= SWIG_GetModule(clientdata
);
41231 swig_module
.next
= module_head
->next
;
41232 module_head
->next
= &swig_module
;
41234 /* This is the first module loaded */
41235 swig_module
.next
= &swig_module
;
41236 SWIG_SetModule(clientdata
, &swig_module
);
41239 /* Now work on filling in swig_module.types */
41240 #ifdef SWIGRUNTIME_DEBUG
41241 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41243 for (i
= 0; i
< swig_module
.size
; ++i
) {
41244 swig_type_info
*type
= 0;
41245 swig_type_info
*ret
;
41246 swig_cast_info
*cast
;
41248 #ifdef SWIGRUNTIME_DEBUG
41249 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41252 /* if there is another module already loaded */
41253 if (swig_module
.next
!= &swig_module
) {
41254 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41257 /* Overwrite clientdata field */
41258 #ifdef SWIGRUNTIME_DEBUG
41259 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41261 if (swig_module
.type_initial
[i
]->clientdata
) {
41262 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41263 #ifdef SWIGRUNTIME_DEBUG
41264 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41268 type
= swig_module
.type_initial
[i
];
41271 /* Insert casting types */
41272 cast
= swig_module
.cast_initial
[i
];
41273 while (cast
->type
) {
41274 /* Don't need to add information already in the list */
41276 #ifdef SWIGRUNTIME_DEBUG
41277 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41279 if (swig_module
.next
!= &swig_module
) {
41280 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41281 #ifdef SWIGRUNTIME_DEBUG
41282 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41286 if (type
== swig_module
.type_initial
[i
]) {
41287 #ifdef SWIGRUNTIME_DEBUG
41288 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41293 /* Check for casting already in the list */
41294 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41295 #ifdef SWIGRUNTIME_DEBUG
41296 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41298 if (!ocast
) ret
= 0;
41303 #ifdef SWIGRUNTIME_DEBUG
41304 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41307 type
->cast
->prev
= cast
;
41308 cast
->next
= type
->cast
;
41314 /* Set entry in modules->types array equal to the type */
41315 swig_module
.types
[i
] = type
;
41317 swig_module
.types
[i
] = 0;
41319 #ifdef SWIGRUNTIME_DEBUG
41320 printf("**** SWIG_InitializeModule: Cast List ******\n");
41321 for (i
= 0; i
< swig_module
.size
; ++i
) {
41323 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41324 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41325 while (cast
->type
) {
41326 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41330 printf("---- Total casts: %d\n",j
);
41332 printf("**** SWIG_InitializeModule: Cast List ******\n");
41336 /* This function will propagate the clientdata field of type to
41337 * any new swig_type_info structures that have been added into the list
41338 * of equivalent types. It is like calling
41339 * SWIG_TypeClientData(type, clientdata) a second time.
41342 SWIG_PropagateClientData(void) {
41344 swig_cast_info
*equiv
;
41345 static int init_run
= 0;
41347 if (init_run
) return;
41350 for (i
= 0; i
< swig_module
.size
; i
++) {
41351 if (swig_module
.types
[i
]->clientdata
) {
41352 equiv
= swig_module
.types
[i
]->cast
;
41354 if (!equiv
->converter
) {
41355 if (equiv
->type
&& !equiv
->type
->clientdata
)
41356 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41358 equiv
= equiv
->next
;
41378 /* Python-specific SWIG API */
41379 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41380 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41381 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41383 /* -----------------------------------------------------------------------------
41384 * global variable support code.
41385 * ----------------------------------------------------------------------------- */
41387 typedef struct swig_globalvar
{
41388 char *name
; /* Name of global variable */
41389 PyObject
*(*get_attr
)(void); /* Return the current value */
41390 int (*set_attr
)(PyObject
*); /* Set the value */
41391 struct swig_globalvar
*next
;
41394 typedef struct swig_varlinkobject
{
41396 swig_globalvar
*vars
;
41397 } swig_varlinkobject
;
41399 SWIGINTERN PyObject
*
41400 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41401 return PyString_FromString("<Swig global variables>");
41404 SWIGINTERN PyObject
*
41405 swig_varlink_str(swig_varlinkobject
*v
) {
41406 PyObject
*str
= PyString_FromString("(");
41407 swig_globalvar
*var
;
41408 for (var
= v
->vars
; var
; var
=var
->next
) {
41409 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41410 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41412 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41417 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41418 PyObject
*str
= swig_varlink_str(v
);
41419 fprintf(fp
,"Swig global variables ");
41420 fprintf(fp
,"%s\n", PyString_AsString(str
));
41426 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41427 swig_globalvar
*var
= v
->vars
;
41429 swig_globalvar
*n
= var
->next
;
41436 SWIGINTERN PyObject
*
41437 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41438 PyObject
*res
= NULL
;
41439 swig_globalvar
*var
= v
->vars
;
41441 if (strcmp(var
->name
,n
) == 0) {
41442 res
= (*var
->get_attr
)();
41447 if (res
== NULL
&& !PyErr_Occurred()) {
41448 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41454 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41456 swig_globalvar
*var
= v
->vars
;
41458 if (strcmp(var
->name
,n
) == 0) {
41459 res
= (*var
->set_attr
)(p
);
41464 if (res
== 1 && !PyErr_Occurred()) {
41465 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41470 SWIGINTERN PyTypeObject
*
41471 swig_varlink_type(void) {
41472 static char varlink__doc__
[] = "Swig var link object";
41473 static PyTypeObject varlink_type
;
41474 static int type_init
= 0;
41476 const PyTypeObject tmp
41478 PyObject_HEAD_INIT(NULL
)
41479 0, /* Number of items in variable part (ob_size) */
41480 (char *)"swigvarlink", /* Type name (tp_name) */
41481 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41482 0, /* Itemsize (tp_itemsize) */
41483 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41484 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41485 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41486 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41487 0, /* tp_compare */
41488 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41489 0, /* tp_as_number */
41490 0, /* tp_as_sequence */
41491 0, /* tp_as_mapping */
41494 (reprfunc
)swig_varlink_str
, /* tp_str */
41495 0, /* tp_getattro */
41496 0, /* tp_setattro */
41497 0, /* tp_as_buffer */
41499 varlink__doc__
, /* tp_doc */
41500 0, /* tp_traverse */
41502 0, /* tp_richcompare */
41503 0, /* tp_weaklistoffset */
41504 #if PY_VERSION_HEX >= 0x02020000
41505 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41507 #if PY_VERSION_HEX >= 0x02030000
41510 #ifdef COUNT_ALLOCS
41511 0,0,0,0 /* tp_alloc -> tp_next */
41514 varlink_type
= tmp
;
41515 varlink_type
.ob_type
= &PyType_Type
;
41518 return &varlink_type
;
41521 /* Create a variable linking object for use later */
41522 SWIGINTERN PyObject
*
41523 SWIG_Python_newvarlink(void) {
41524 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41528 return ((PyObject
*) result
);
41532 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41533 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41534 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41536 size_t size
= strlen(name
)+1;
41537 gv
->name
= (char *)malloc(size
);
41539 strncpy(gv
->name
,name
,size
);
41540 gv
->get_attr
= get_attr
;
41541 gv
->set_attr
= set_attr
;
41542 gv
->next
= v
->vars
;
41548 SWIGINTERN PyObject
*
41550 static PyObject
*_SWIG_globals
= 0;
41551 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41552 return _SWIG_globals
;
41555 /* -----------------------------------------------------------------------------
41556 * constants/methods manipulation
41557 * ----------------------------------------------------------------------------- */
41559 /* Install Constants */
41561 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41564 for (i
= 0; constants
[i
].type
; ++i
) {
41565 switch(constants
[i
].type
) {
41566 case SWIG_PY_POINTER
:
41567 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41569 case SWIG_PY_BINARY
:
41570 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41577 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41583 /* -----------------------------------------------------------------------------*/
41584 /* Fix SwigMethods to carry the callback ptrs when needed */
41585 /* -----------------------------------------------------------------------------*/
41588 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41589 swig_const_info
*const_table
,
41590 swig_type_info
**types
,
41591 swig_type_info
**types_initial
) {
41593 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41594 const char *c
= methods
[i
].ml_doc
;
41595 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41597 swig_const_info
*ci
= 0;
41598 const char *name
= c
+ 10;
41599 for (j
= 0; const_table
[j
].type
; ++j
) {
41600 if (strncmp(const_table
[j
].name
, name
,
41601 strlen(const_table
[j
].name
)) == 0) {
41602 ci
= &(const_table
[j
]);
41607 size_t shift
= (ci
->ptype
) - types
;
41608 swig_type_info
*ty
= types_initial
[shift
];
41609 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41610 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41611 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41614 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41616 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41618 strncpy(buff
, "swig_ptr: ", 10);
41620 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41621 methods
[i
].ml_doc
= ndoc
;
41633 /* -----------------------------------------------------------------------------*
41634 * Partial Init method
41635 * -----------------------------------------------------------------------------*/
41640 SWIGEXPORT
void SWIG_init(void) {
41643 /* Fix SwigMethods to carry the callback ptrs when needed */
41644 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41646 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41647 d
= PyModule_GetDict(m
);
41649 SWIG_InitializeModule(0);
41650 SWIG_InstallConstants(d
,swig_const_table
);
41653 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41654 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41655 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41656 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41657 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41658 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41659 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41660 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41661 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41662 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41663 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41664 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41665 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41666 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41667 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41668 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41669 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41670 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41671 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41672 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41673 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41674 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41675 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41676 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41677 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41678 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41679 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41680 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41681 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41682 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41683 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41684 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41685 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41686 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41687 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41688 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41689 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41690 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41691 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41692 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41693 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41694 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41695 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41696 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41697 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41698 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41699 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41700 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41701 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41702 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41703 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41704 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41705 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41706 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41707 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41708 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41709 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41710 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41711 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41712 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41713 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41714 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41715 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41716 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41717 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41718 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41719 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41720 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41721 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41722 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41723 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41724 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41725 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41726 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41727 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41728 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41729 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41730 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41731 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41732 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41733 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41734 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41735 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41736 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41737 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41738 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41739 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41740 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41741 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41742 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41743 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41744 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41745 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41746 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41747 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41748 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41749 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41750 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41751 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41752 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41753 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41754 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41755 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41756 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41757 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41758 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41759 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41760 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41761 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41762 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41763 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41764 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41765 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41766 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41767 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41768 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41769 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41770 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41771 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41772 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41773 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41774 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41775 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41776 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41777 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41778 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41779 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41780 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41781 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41782 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41783 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41784 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41786 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41788 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41789 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41790 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41791 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41792 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41793 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41794 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41795 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41796 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41797 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41798 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41799 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41800 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41801 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41802 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41803 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41804 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41805 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41806 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41807 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41808 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41809 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41810 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41811 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41812 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41813 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41814 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41815 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41816 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41817 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41818 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41819 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41820 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41821 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41822 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41823 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41824 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41825 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41826 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41827 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41828 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41829 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41830 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41831 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41832 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41833 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41834 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41835 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41836 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41837 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41838 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41839 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41840 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41841 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41842 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41843 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41844 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41845 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41846 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41847 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41848 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41849 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41850 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41851 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41852 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41853 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41854 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41855 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41856 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41857 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41858 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41859 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41860 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41861 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41862 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41863 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41864 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41865 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41866 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41867 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41868 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41869 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41870 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41871 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41872 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41873 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41874 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41875 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41876 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41877 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41878 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41879 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41880 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41881 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41882 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41883 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41884 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41885 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41886 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41887 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41888 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41889 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41890 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41891 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41892 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41893 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41894 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41895 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41896 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41897 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41898 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41899 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41900 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41901 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41902 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41903 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41904 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41905 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41906 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41907 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41908 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41909 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41910 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41911 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41912 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41913 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41914 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41915 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41916 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41917 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41918 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41919 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41920 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41921 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41922 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41923 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41924 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41925 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41926 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41927 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41928 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41929 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41930 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41931 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41932 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41933 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41934 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41935 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41936 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41937 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41938 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41939 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41940 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41941 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41942 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41943 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41944 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41945 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41946 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41947 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41948 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41949 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41950 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41951 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41952 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41953 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41954 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41955 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41956 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41957 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41958 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41959 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41960 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41961 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41962 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41963 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41964 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41965 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41966 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41967 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41968 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41969 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41970 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41971 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41972 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41973 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41974 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41975 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41976 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41977 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41978 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41979 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41980 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41981 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41982 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41983 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41984 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41985 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41986 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41987 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41988 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41989 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41990 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41991 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41992 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41993 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41994 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41995 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41996 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41997 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41998 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41999 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
42000 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
42001 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
42002 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
42003 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
42004 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
42005 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
42006 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
42007 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
42008 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
42009 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
42010 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
42011 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
42012 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
42013 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
42014 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
42015 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
42016 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
42017 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
42018 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
42019 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
42020 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
42021 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
42022 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
42023 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
42024 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
42025 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
42026 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
42027 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
42028 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
42029 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
42030 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
42031 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
42032 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
42033 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
42034 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
42035 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
42036 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
42037 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
42038 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
42039 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
42040 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
42041 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
42042 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
42043 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
42044 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
42045 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
42046 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
42047 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
42048 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
42049 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
42050 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
42051 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
42052 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
42053 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
42054 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
42055 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
42056 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
42057 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
42058 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
42059 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
42060 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
42061 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
42062 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
42063 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
42064 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
42065 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
42066 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
42067 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
42068 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
42069 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
42070 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
42071 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
42072 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
42073 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
42074 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
42075 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
42076 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
42077 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
42078 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
42079 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
42080 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
42081 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
42082 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
42083 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
42084 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
42085 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
42086 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
42087 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
42088 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
42089 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
42090 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
42091 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
42092 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
42093 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
42094 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
42095 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
42096 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
42097 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
42098 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
42099 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
42100 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
42101 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
42102 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
42103 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
42104 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
42105 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
42106 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
42107 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
42108 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
42109 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
42110 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
42111 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
42113 // Work around a chicken/egg problem in drawlist.cpp
42114 wxPyDrawList_SetAPIPtr();