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_wxChildFocusEvent swig_types[23]
2490 #define SWIGTYPE_p_wxClientDC swig_types[24]
2491 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[25]
2492 #define SWIGTYPE_p_wxCloseEvent swig_types[26]
2493 #define SWIGTYPE_p_wxColour swig_types[27]
2494 #define SWIGTYPE_p_wxColourDatabase swig_types[28]
2495 #define SWIGTYPE_p_wxCommandEvent swig_types[29]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[30]
2497 #define SWIGTYPE_p_wxControl swig_types[31]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[32]
2499 #define SWIGTYPE_p_wxCursor swig_types[33]
2500 #define SWIGTYPE_p_wxDC swig_types[34]
2501 #define SWIGTYPE_p_wxDCBrushChanger swig_types[35]
2502 #define SWIGTYPE_p_wxDCClipper swig_types[36]
2503 #define SWIGTYPE_p_wxDCOverlay swig_types[37]
2504 #define SWIGTYPE_p_wxDCPenChanger swig_types[38]
2505 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[39]
2506 #define SWIGTYPE_p_wxDash swig_types[40]
2507 #define SWIGTYPE_p_wxDateEvent swig_types[41]
2508 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDropFilesEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
2511 #define SWIGTYPE_p_wxEffects swig_types[45]
2512 #define SWIGTYPE_p_wxEncodingConverter swig_types[46]
2513 #define SWIGTYPE_p_wxEraseEvent swig_types[47]
2514 #define SWIGTYPE_p_wxEvent swig_types[48]
2515 #define SWIGTYPE_p_wxEventBlocker swig_types[49]
2516 #define SWIGTYPE_p_wxEvtHandler swig_types[50]
2517 #define SWIGTYPE_p_wxFSFile swig_types[51]
2518 #define SWIGTYPE_p_wxFileSystem swig_types[52]
2519 #define SWIGTYPE_p_wxFlexGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxFocusEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFont swig_types[55]
2522 #define SWIGTYPE_p_wxFontList swig_types[56]
2523 #define SWIGTYPE_p_wxFontMapper swig_types[57]
2524 #define SWIGTYPE_p_wxGBSizerItem swig_types[58]
2525 #define SWIGTYPE_p_wxGCDC swig_types[59]
2526 #define SWIGTYPE_p_wxGDIObjListBase swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObject swig_types[61]
2528 #define SWIGTYPE_p_wxGIFHandler swig_types[62]
2529 #define SWIGTYPE_p_wxGraphicsBrush swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsContext swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsFont swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsObject swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsPath swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPen swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[70]
2537 #define SWIGTYPE_p_wxGridBagSizer swig_types[71]
2538 #define SWIGTYPE_p_wxGridSizer swig_types[72]
2539 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[73]
2540 #define SWIGTYPE_p_wxICOHandler swig_types[74]
2541 #define SWIGTYPE_p_wxIcon swig_types[75]
2542 #define SWIGTYPE_p_wxIconBundle swig_types[76]
2543 #define SWIGTYPE_p_wxIconLocation swig_types[77]
2544 #define SWIGTYPE_p_wxIconizeEvent swig_types[78]
2545 #define SWIGTYPE_p_wxIdleEvent swig_types[79]
2546 #define SWIGTYPE_p_wxImage swig_types[80]
2547 #define SWIGTYPE_p_wxImageHandler swig_types[81]
2548 #define SWIGTYPE_p_wxImageList swig_types[82]
2549 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[83]
2550 #define SWIGTYPE_p_wxInitDialogEvent swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLanguageInfo swig_types[87]
2554 #define SWIGTYPE_p_wxLayoutConstraints swig_types[88]
2555 #define SWIGTYPE_p_wxLocale swig_types[89]
2556 #define SWIGTYPE_p_wxMask swig_types[90]
2557 #define SWIGTYPE_p_wxMaximizeEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMemoryDC swig_types[92]
2559 #define SWIGTYPE_p_wxMenu swig_types[93]
2560 #define SWIGTYPE_p_wxMenuBar swig_types[94]
2561 #define SWIGTYPE_p_wxMenuEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMenuItem swig_types[96]
2563 #define SWIGTYPE_p_wxMetaFile swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFileDC swig_types[98]
2565 #define SWIGTYPE_p_wxMirrorDC swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMoveEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[104]
2571 #define SWIGTYPE_p_wxNativeFontInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativePixelData swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[107]
2574 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNcPaintEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNotifyEvent swig_types[110]
2577 #define SWIGTYPE_p_wxObject swig_types[111]
2578 #define SWIGTYPE_p_wxOverlay swig_types[112]
2579 #define SWIGTYPE_p_wxPCXHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPNGHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNMHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPaintDC swig_types[116]
2583 #define SWIGTYPE_p_wxPaintEvent swig_types[117]
2584 #define SWIGTYPE_p_wxPalette swig_types[118]
2585 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[119]
2586 #define SWIGTYPE_p_wxPaperSize swig_types[120]
2587 #define SWIGTYPE_p_wxPen swig_types[121]
2588 #define SWIGTYPE_p_wxPenList swig_types[122]
2589 #define SWIGTYPE_p_wxPixelDataBase swig_types[123]
2590 #define SWIGTYPE_p_wxPoint swig_types[124]
2591 #define SWIGTYPE_p_wxPoint2D swig_types[125]
2592 #define SWIGTYPE_p_wxPostScriptDC swig_types[126]
2593 #define SWIGTYPE_p_wxPrintData swig_types[127]
2594 #define SWIGTYPE_p_wxPrinterDC swig_types[128]
2595 #define SWIGTYPE_p_wxPseudoDC swig_types[129]
2596 #define SWIGTYPE_p_wxPyApp swig_types[130]
2597 #define SWIGTYPE_p_wxPyCommandEvent swig_types[131]
2598 #define SWIGTYPE_p_wxPyEvent swig_types[132]
2599 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[133]
2600 #define SWIGTYPE_p_wxPyImageHandler swig_types[134]
2601 #define SWIGTYPE_p_wxPyLocale swig_types[135]
2602 #define SWIGTYPE_p_wxPySizer swig_types[136]
2603 #define SWIGTYPE_p_wxPyValidator swig_types[137]
2604 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[138]
2605 #define SWIGTYPE_p_wxRect swig_types[139]
2606 #define SWIGTYPE_p_wxRect2D swig_types[140]
2607 #define SWIGTYPE_p_wxRegion swig_types[141]
2608 #define SWIGTYPE_p_wxRegionIterator swig_types[142]
2609 #define SWIGTYPE_p_wxRendererNative swig_types[143]
2610 #define SWIGTYPE_p_wxRendererVersion swig_types[144]
2611 #define SWIGTYPE_p_wxScreenDC swig_types[145]
2612 #define SWIGTYPE_p_wxScrollEvent swig_types[146]
2613 #define SWIGTYPE_p_wxScrollWinEvent swig_types[147]
2614 #define SWIGTYPE_p_wxSetCursorEvent swig_types[148]
2615 #define SWIGTYPE_p_wxShowEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSize swig_types[150]
2617 #define SWIGTYPE_p_wxSizeEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSizer swig_types[152]
2619 #define SWIGTYPE_p_wxSizerItem swig_types[153]
2620 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[154]
2621 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[155]
2622 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[156]
2623 #define SWIGTYPE_p_wxStockGDI swig_types[157]
2624 #define SWIGTYPE_p_wxString swig_types[158]
2625 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[159]
2626 #define SWIGTYPE_p_wxTGAHandler swig_types[160]
2627 #define SWIGTYPE_p_wxTIFFHandler swig_types[161]
2628 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
2629 #define SWIGTYPE_p_wxValidator swig_types[163]
2630 #define SWIGTYPE_p_wxWindow swig_types[164]
2631 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[165]
2632 #define SWIGTYPE_p_wxWindowDC swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
2634 #define SWIGTYPE_p_wxXPMHandler swig_types[168]
2635 static swig_type_info
*swig_types
[170];
2636 static swig_module_info swig_module
= {swig_types
, 169, 0, 0, 0, 0};
2637 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2638 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2640 /* -------- TYPES TABLE (END) -------- */
2642 #if (PY_VERSION_HEX <= 0x02000000)
2643 # if !defined(SWIG_PYTHON_CLASSIC)
2644 # error "This python version requires to use swig with the '-classic' option"
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodern' option"
2650 #if (PY_VERSION_HEX <= 0x02020000)
2651 # error "This python version requires to use swig with the '-nomodernargs' option"
2654 # error "This python version requires to use swig with the '-nofastunpack' option"
2657 /*-----------------------------------------------
2658 @(target):= _gdi_.so
2659 ------------------------------------------------*/
2660 #define SWIG_init init_gdi_
2662 #define SWIG_name "_gdi_"
2664 #define SWIGVERSION 0x010329
2667 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2668 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2671 #include <stdexcept>
2675 class PyObject_ptr
{
2680 PyObject_ptr() :_obj(0)
2684 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2689 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2691 if (initial_ref
) Py_XINCREF(_obj
);
2694 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2696 Py_XINCREF(item
._obj
);
2707 operator PyObject
*() const
2712 PyObject
*operator->() const
2721 struct PyObject_var
: PyObject_ptr
{
2722 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2724 PyObject_var
& operator = (PyObject
* obj
)
2734 #include "wx/wxPython/wxPython.h"
2735 #include "wx/wxPython/pyclasses.h"
2738 static const wxString
wxPyEmptyString(wxEmptyString
);
2740 #define SWIG_From_long PyInt_FromLong
2743 SWIGINTERNINLINE PyObject
*
2744 SWIG_From_int (int value
)
2746 return SWIG_From_long (value
);
2752 # define LLONG_MIN LONG_LONG_MIN
2755 # define LLONG_MAX LONG_LONG_MAX
2758 # define ULLONG_MAX ULONG_LONG_MAX
2763 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2765 if (PyNumber_Check(obj
)) {
2766 if (val
) *val
= PyInt_AsLong(obj
);
2769 return SWIG_TypeError
;
2774 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2777 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2778 return SWIG_TypeError
;
2781 *val
= (unsigned long)v
;
2787 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2790 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2791 if (SWIG_IsOK(res
)) {
2792 if ((v
> UCHAR_MAX
)) {
2793 return SWIG_OverflowError
;
2795 if (val
) *val
= static_cast< unsigned char >(v
);
2802 SWIGINTERNINLINE PyObject
*
2803 SWIG_From_unsigned_SS_long (unsigned long value
)
2805 return (value
> LONG_MAX
) ?
2806 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2810 SWIGINTERNINLINE PyObject
*
2811 SWIG_From_unsigned_SS_char (unsigned char value
)
2813 return SWIG_From_unsigned_SS_long (value
);
2816 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2817 wxColour temp
, *obj
= &temp
;
2818 if ( other
== Py_None
) return false;
2819 if ( ! wxColour_helper(other
, &obj
) ) {
2823 return self
->operator==(*obj
);
2825 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2826 wxColour temp
, *obj
= &temp
;
2827 if ( other
== Py_None
) return true;
2828 if ( ! wxColour_helper(other
, &obj
)) {
2832 return self
->operator!=(*obj
);
2836 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2838 if (obj
== Py_True
) {
2839 if (val
) *val
= true;
2841 } else if (obj
== Py_False
) {
2842 if (val
) *val
= false;
2846 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2847 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2852 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2853 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2857 int alpha
= wxALPHA_OPAQUE
;
2860 green
= self
->Green();
2861 blue
= self
->Blue();
2862 alpha
= self
->Alpha();
2864 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2865 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2866 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2868 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2871 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2872 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2876 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2879 int res
= SWIG_AsVal_long (obj
, &v
);
2880 if (SWIG_IsOK(res
)) {
2881 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2882 return SWIG_OverflowError
;
2884 if (val
) *val
= static_cast< int >(v
);
2890 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2892 int count
= self
->GetDashes(&dashes
);
2893 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2894 PyObject
* retval
= PyList_New(0);
2895 for (int x
=0; x
<count
; x
++) {
2896 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2897 PyList_Append(retval
, pyint
);
2900 wxPyEndBlockThreads(blocked
);
2903 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2904 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2905 int size
= PyList_Size(pyDashes
);
2906 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2908 // black magic warning! The array of wxDashes needs to exist as
2909 // long as the pen does because wxPen does not copy the array. So
2910 // stick a copy in a Python string object and attach it to _self,
2911 // and then call SetDashes with a pointer to that array. Then
2912 // when the Python pen object is destroyed the array will be
2914 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2915 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2917 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2919 Py_DECREF(strDashes
);
2920 wxPyEndBlockThreads(blocked
);
2922 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2923 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2925 #include <wx/rawbmp.h>
2928 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2929 // appears to me that the other platforms are already doing it, so I'll just
2930 // automatically do it for wxMSW here.
2932 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2933 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2935 #define wxPy_premultiply(p, a) (p)
2936 #define wxPy_unpremultiply(p, a) (p)
2940 #include <wx/image.h>
2942 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2943 char** cArray
= NULL
;
2946 if (!PyList_Check(listOfStrings
)) {
2947 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2950 count
= PyList_Size(listOfStrings
);
2951 cArray
= new char*[count
];
2953 for(int x
=0; x
<count
; x
++) {
2954 // TODO: Need some validation and error checking here
2955 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2961 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2962 char** cArray
= NULL
;
2965 cArray
= ConvertListOfStrings(listOfStrings
);
2968 bmp
= new wxBitmap(cArray
);
2972 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2975 PyString_AsStringAndSize(bits
, &buf
, &length
);
2976 return new wxBitmap(buf
, width
, height
, depth
);
2978 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2979 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2980 wxSize
size(self
->GetWidth(), self
->GetHeight());
2983 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2984 wxMask
*mask
= new wxMask(*self
, colour
);
2985 self
->SetMask(mask
);
2987 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2988 self
->SetWidth(size
.x
);
2989 self
->SetHeight(size
.y
);
2991 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2992 int height
=self
->GetHeight();
2993 int width
=self
->GetWidth();
2995 if (DATASIZE
!= width
* height
* 3) {
2996 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2998 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3000 // raise an exception...
3001 wxPyErr_SetString(PyExc_RuntimeError
,
3002 "Failed to gain raw access to bitmap data.");
3006 wxNativePixelData::Iterator
p(pixData
);
3007 for (int y
=0; y
<height
; y
++) {
3008 wxNativePixelData::Iterator rowStart
= p
;
3009 for (int x
=0; x
<width
; x
++) {
3010 p
.Red() = *(data
++);
3011 p
.Green() = *(data
++);
3012 p
.Blue() = *(data
++);
3016 p
.OffsetY(pixData
, 1);
3019 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3020 int height
=self
->GetHeight();
3021 int width
=self
->GetWidth();
3023 if (DATASIZE
!= width
* height
* 4) {
3024 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3026 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3028 // raise an exception...
3029 wxPyErr_SetString(PyExc_RuntimeError
,
3030 "Failed to gain raw access to bitmap data.");
3035 wxAlphaPixelData::Iterator
p(pixData
);
3036 for (int y
=0; y
<height
; y
++) {
3037 wxAlphaPixelData::Iterator rowStart
= p
;
3038 for (int x
=0; x
<width
; x
++) {
3040 p
.Red() = wxPy_premultiply(*(data
++), a
);
3041 p
.Green() = wxPy_premultiply(*(data
++), a
);
3042 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3043 p
.Alpha() = a
; data
++;
3047 p
.OffsetY(pixData
, 1);
3050 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3051 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3053 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3054 buffer data
, int DATASIZE
,
3055 buffer alpha
, int ALPHASIZE
)
3057 if (DATASIZE
!= width
*height
*3) {
3058 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3062 if (ALPHASIZE
!= width
*height
) {
3063 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3067 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3068 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3070 // raise an exception...
3071 wxPyErr_SetString(PyExc_RuntimeError
,
3072 "Failed to gain raw access to bitmap data.");
3077 wxAlphaPixelData::Iterator
p(pixData
);
3078 for (int y
=0; y
<height
; y
++) {
3079 wxAlphaPixelData::Iterator rowStart
= p
;
3080 for (int x
=0; x
<width
; x
++) {
3081 byte a
= *(alpha
++);
3082 p
.Red() = wxPy_premultiply(*(data
++), a
);
3083 p
.Green() = wxPy_premultiply(*(data
++), a
);
3084 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3089 p
.OffsetY(pixData
, 1);
3094 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3096 if (DATASIZE
!= width
*height
*3) {
3097 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3101 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3102 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3104 // raise an exception...
3105 wxPyErr_SetString(PyExc_RuntimeError
,
3106 "Failed to gain raw access to bitmap data.");
3110 wxNativePixelData::Iterator
p(pixData
);
3111 for (int y
=0; y
<height
; y
++) {
3112 wxNativePixelData::Iterator rowStart
= p
;
3113 for (int x
=0; x
<width
; x
++) {
3114 p
.Red() = *(data
++);
3115 p
.Green() = *(data
++);
3116 p
.Blue() = *(data
++);
3120 p
.OffsetY(pixData
, 1);
3126 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3128 if (DATASIZE
!= width
*height
*4) {
3129 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3133 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3134 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3136 // raise an exception...
3137 wxPyErr_SetString(PyExc_RuntimeError
,
3138 "Failed to gain raw access to bitmap data.");
3143 wxAlphaPixelData::Iterator
p(pixData
);
3144 for (int y
=0; y
<height
; y
++) {
3145 wxAlphaPixelData::Iterator rowStart
= p
;
3146 for (int x
=0; x
<width
; x
++) {
3148 p
.Red() = wxPy_premultiply(*(data
++), a
);
3149 p
.Green() = wxPy_premultiply(*(data
++), a
);
3150 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3151 p
.Alpha() = a
; data
++;
3155 p
.OffsetY(pixData
, 1);
3161 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3163 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3164 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3165 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3167 self
->Green() = green
;
3168 self
->Blue() = blue
;
3170 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3171 PyObject
* rv
= PyTuple_New(3);
3172 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3173 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3174 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3178 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3180 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3181 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3182 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3183 self
->Red() = wxPy_premultiply(red
, alpha
);
3184 self
->Green() = wxPy_premultiply(green
, alpha
);
3185 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3186 self
->Alpha() = alpha
;
3188 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3189 PyObject
* rv
= PyTuple_New(4);
3190 int red
= self
->Red();
3191 int green
= self
->Green();
3192 int blue
= self
->Blue();
3193 int alpha
= self
->Alpha();
3195 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3196 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3197 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3198 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3201 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3202 if ( !colour
.IsOk() )
3203 return new wxMask(bitmap
, *wxBLACK
);
3205 return new wxMask(bitmap
, colour
);
3208 #include <wx/iconbndl.h>
3210 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3211 wxIcon
* icon
= new wxIcon();
3212 icon
->CopyFromBitmap(bmp
);
3215 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3216 char** cArray
= NULL
;
3219 cArray
= ConvertListOfStrings(listOfStrings
);
3222 icon
= new wxIcon(cArray
);
3226 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3227 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3229 return new wxIconLocation(*filename
, num
);
3234 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3236 self
->SetIndex(num
);
3241 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3243 return self
->GetIndex();
3249 SWIGINTERNINLINE PyObject
*
3250 SWIG_From_size_t (size_t value
)
3252 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3256 SWIGINTERNINLINE
int
3257 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3260 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3261 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3265 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3267 wxImage
img(cursorName
, type
);
3268 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3269 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3270 return new wxCursor(img
);
3272 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3275 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3278 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3281 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3282 return self
->operator bool();
3285 #include <wx/fontutil.h>
3286 #include <wx/fontmap.h>
3287 #include <wx/fontenum.h>
3289 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3290 return self
->ToString();
3293 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3294 { wxPyRaiseNotImplemented(); return NULL
; }
3296 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3297 { wxPyRaiseNotImplemented(); return false; }
3299 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3300 wxFontEncoding alt_enc
;
3301 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3302 return PyInt_FromLong(alt_enc
);
3308 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3309 wxNativeFontInfo nfi
;
3310 nfi
.FromString(info
);
3311 return new wxFont(nfi
);
3313 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3314 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3316 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3317 return wxFontBase::New(pixelSize
, family
,
3318 style
, weight
, underlined
,
3321 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3322 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3324 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3325 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3327 class wxPyFontEnumerator
: public wxFontEnumerator
{
3329 wxPyFontEnumerator() {}
3330 ~wxPyFontEnumerator() {}
3332 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3333 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3338 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3339 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3342 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3344 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3345 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3346 ret
= wxArrayString2PyList_helper(arr
);
3347 wxPyEndBlockThreads(blocked
);
3350 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3352 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3353 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3354 ret
= wxArrayString2PyList_helper(arr
);
3355 wxPyEndBlockThreads(blocked
);
3361 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3364 loc
= new wxLocale();
3366 loc
= new wxLocale(language
, flags
);
3367 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3368 // for the floating point conversions and such to work right.
3369 #if PY_VERSION_HEX < 0x02040000
3370 setlocale(LC_NUMERIC
, "C");
3374 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &name
,wxString
const &shortName
=wxPyEmptyString
,wxString
const &locale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3375 bool rc
= self
->Init(name
, shortName
, locale
, bLoadDefault
, bConvertEncoding
);
3376 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3377 // for the floating point conversions and such to work right.
3378 #if PY_VERSION_HEX < 0x02040000
3379 setlocale(LC_NUMERIC
, "C");
3383 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3384 bool rc
= self
->Init(language
, flags
);
3385 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3386 // for the floating point conversions and such to work right.
3387 #if PY_VERSION_HEX < 0x02040000
3388 setlocale(LC_NUMERIC
, "C");
3393 class wxPyLocale
: public wxLocale
3398 wxPyLocale(const wxString
& name
, // name (for messages)
3399 const wxString
& shortName
= wxPyEmptyString
, // dir prefix (for msg files)
3400 const wxString
& locale
= wxPyEmptyString
, // locale (for setlocale)
3401 bool bLoadDefault
= true, // preload wxstd.mo?
3402 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3404 wxPyLocale(int language
, // wxLanguage id or custom language
3405 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3409 virtual const wxString
& GetString(const wxString
& origString
,
3410 const wxString
& domain
= wxPyEmptyString
) const;
3411 virtual const wxString
& GetString(const wxString
& origString
,
3412 const wxString
& origString2
,
3414 const wxString
& domain
= wxPyEmptyString
) const;
3416 virtual const wxString
& GetSingularString(const wxString
& origString
,
3417 const wxString
& domain
= wxPyEmptyString
) const;
3418 virtual const wxString
& GetPluralString(const wxString
& origString
,
3419 const wxString
& origString2
,
3421 const wxString
& domain
= wxPyEmptyString
) const;
3426 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3429 wxPyLocale::wxPyLocale() : wxLocale()
3433 wxPyLocale::wxPyLocale(const wxString
& name
, // name (for messages)
3434 const wxString
& shortName
, // dir prefix (for msg files)
3435 const wxString
& locale
, // locale (for setlocale)
3436 bool bLoadDefault
, // preload wxstd.mo?
3437 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3438 : wxLocale(name
, shortName
, locale
, bLoadDefault
, bConvertEncoding
)
3442 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3443 int flags
) : wxLocale(language
, flags
)
3447 wxPyLocale::~wxPyLocale()
3451 const wxString
& wxPyLocale::GetString(const wxString
& origString
,
3452 const wxString
& domain
) const
3454 return GetSingularString(origString
, domain
);
3457 const wxString
& wxPyLocale::GetString(const wxString
& origString
,
3458 const wxString
& origString2
,
3460 const wxString
& domain
) const
3462 return GetPluralString(origString
, origString2
, n
, domain
);
3465 const wxString
& wxPyLocale::GetSingularString(const wxString
& origString
,
3466 const wxString
& domain
) const
3469 wxString
str( _T("error in translation"));
3470 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3471 if ((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3472 PyObject
* param1
= wx2PyString(origString
);
3473 PyObject
* param2
= wx2PyString(domain
);
3474 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3478 str
= Py2wxString(ret
);
3482 wxPyEndBlockThreads(blocked
);
3483 return (found
? str
: wxLocale::GetString(origString
, domain
));
3486 const wxString
& wxPyLocale::GetPluralString(const wxString
& origString
,
3487 const wxString
& origString2
, size_t n
,
3488 const wxString
& domain
) const
3491 wxString
str( _T("error in translation"));
3492 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3493 if ((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3494 PyObject
* param1
= wx2PyString(origString
);
3495 PyObject
* param2
= wx2PyString(origString2
);
3496 PyObject
* param4
= wx2PyString(domain
);
3497 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
,
3498 Py_BuildValue("(OOiO)",
3505 str
= Py2wxString(ret
);
3509 wxPyEndBlockThreads(blocked
);
3510 return (found
? str
: wxLocale::GetString(origString
, origString2
, n
, domain
) );
3513 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3516 loc
= new wxPyLocale();
3518 loc
= new wxPyLocale(language
, flags
);
3519 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3520 // for the floating point conversions and such to work right.
3521 #if PY_VERSION_HEX < 0x02040000
3522 setlocale(LC_NUMERIC
, "C");
3527 #include "wx/wxPython/pydrawxxx.h"
3529 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3531 self
->GetPixel(x
, y
, &col
);
3534 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3536 self
->GetPixel(pt
, &col
);
3541 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3543 if (PyNumber_Check(obj
)) {
3544 if (val
) *val
= PyFloat_AsDouble(obj
);
3547 return SWIG_TypeError
;
3550 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3552 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3555 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3557 self
->GetClippingBox(rect
);
3560 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3562 self
->GetPartialTextExtents(text
, widths
);
3566 #define SWIG_From_double PyFloat_FromDouble
3568 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3569 self
->SetLogicalOrigin(point
.x
, point
.y
);
3571 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3572 self
->SetDeviceOrigin(point
.x
, point
.y
);
3574 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3575 self
->CalcBoundingBox(point
.x
, point
.y
);
3577 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3578 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3580 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3581 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3583 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3584 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3586 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3587 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3589 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3590 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3592 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3593 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3596 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3604 #include <wx/dcbuffer.h>
3607 #include <wx/dcps.h>
3610 #include <wx/metafile.h>
3613 #include <wx/graphics.h>
3616 #if !wxUSE_GRAPHICS_CONTEXT
3617 // C++ stub classes for platforms or build configurations that don't have
3618 // wxGraphicsContext yet.
3620 class wxGraphicsRenderer
;
3621 class wxGraphicsMatrix
;
3624 class wxGraphicsObject
: public wxObject
3627 wxGraphicsObject() {}
3628 wxGraphicsObject( wxGraphicsRenderer
* ) {
3629 PyErr_SetString(PyExc_NotImplementedError
,
3630 "wx.GraphicsObject is not available on this platform.");
3632 wxGraphicsObject( const wxGraphicsObject
& ) {}
3633 virtual ~wxGraphicsObject() {}
3634 bool IsNull() const { return false; }
3635 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3640 class wxGraphicsPen
: public wxGraphicsObject
3644 virtual ~wxGraphicsPen() {}
3646 wxGraphicsPen wxNullGraphicsPen
;
3650 class wxGraphicsBrush
: public wxGraphicsObject
3653 wxGraphicsBrush() {}
3654 virtual ~wxGraphicsBrush() {}
3656 wxGraphicsBrush wxNullGraphicsBrush
;
3660 class wxGraphicsFont
: public wxGraphicsObject
3664 virtual ~wxGraphicsFont() {}
3666 wxGraphicsFont wxNullGraphicsFont
;
3670 class wxGraphicsPath
: public wxGraphicsObject
3673 wxGraphicsPath() { }
3674 wxGraphicsPath(wxGraphicsRenderer
* ) {
3675 PyErr_SetString(PyExc_NotImplementedError
,
3676 "wx.GraphicsPath is not available on this platform.");
3678 virtual ~wxGraphicsPath() {}
3680 void MoveToPoint( wxDouble
, wxDouble
) {}
3681 void MoveToPoint( const wxPoint2DDouble
& ) {}
3682 void AddLineToPoint( wxDouble
, wxDouble
) {}
3683 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3684 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3685 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3686 void AddPath( const wxGraphicsPath
& ) {}
3687 void CloseSubpath() {}
3688 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3689 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3690 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3691 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3693 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3694 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3695 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3696 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3698 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3699 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3700 void * GetNativePath() const { return NULL
; }
3701 void UnGetNativePath(void *) const {}
3702 void Transform( const wxGraphicsMatrix
& ) {}
3703 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3704 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3706 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3707 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3709 wxGraphicsPath wxNullGraphicsPath
;
3712 class wxGraphicsMatrix
: public wxGraphicsObject
3715 wxGraphicsMatrix() { }
3716 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3717 PyErr_SetString(PyExc_NotImplementedError
,
3718 "wx.GraphicsMatrix is not available on this platform.");
3720 virtual ~wxGraphicsMatrix() {}
3721 virtual void Concat( const wxGraphicsMatrix
& ) {}
3722 virtual void Copy( const wxGraphicsMatrix
& ) {}
3723 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3724 wxDouble
, wxDouble
) {}
3725 virtual void Get(wxDouble
*, wxDouble
*, wxDouble
*,
3726 wxDouble
*, wxDouble
*, wxDouble
*) {}
3727 virtual void Invert() {}
3728 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3729 virtual bool IsIdentity() const { return false; }
3730 virtual void Translate( wxDouble
, wxDouble
) {}
3731 virtual void Scale( wxDouble
, wxDouble
) {}
3732 virtual void Rotate( wxDouble
) {}
3733 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3734 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3735 virtual void * GetNativeMatrix() const { return NULL
; }
3737 wxGraphicsMatrix wxNullGraphicsMatrix
;
3740 class wxGraphicsContext
: public wxGraphicsObject
3744 wxGraphicsContext(wxGraphicsRenderer
* ) {
3745 PyErr_SetString(PyExc_NotImplementedError
,
3746 "wx.GraphicsContext is not available on this platform.");
3749 virtual ~wxGraphicsContext() {}
3751 static wxGraphicsContext
* Create() {
3752 PyErr_SetString(PyExc_NotImplementedError
,
3753 "wx.GraphicsContext is not available on this platform.");
3756 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3757 PyErr_SetString(PyExc_NotImplementedError
,
3758 "wx.GraphicsContext is not available on this platform.");
3762 static wxGraphicsContext
* CreateFromNative( void * ) {
3763 PyErr_SetString(PyExc_NotImplementedError
,
3764 "wx.GraphicsContext is not available on this platform.");
3768 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3769 PyErr_SetString(PyExc_NotImplementedError
,
3770 "wx.GraphicsContext is not available on this platform.");
3774 static wxGraphicsContext
* Create( wxWindow
* ) {
3775 PyErr_SetString(PyExc_NotImplementedError
,
3776 "wx.GraphicsContext is not available on this platform.");
3780 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3782 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3784 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3786 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3787 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3789 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3790 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3791 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3793 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3795 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3796 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3798 virtual void PushState() {}
3799 virtual void PopState() {}
3800 virtual void Clip( const wxRegion
& ) {}
3801 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3802 virtual void ResetClip() {}
3803 virtual void * GetNativeContext() { return NULL
; }
3804 virtual int GetLogicalFunction() const { return 0; }
3805 virtual bool SetLogicalFunction(int ) {}
3806 virtual void Translate( wxDouble
, wxDouble
) {}
3807 virtual void Scale( wxDouble
, wxDouble
) {}
3808 virtual void Rotate( wxDouble
) {}
3809 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3810 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3811 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3813 virtual void SetPen( const wxGraphicsPen
& ) {}
3814 void SetPen( const wxPen
& ) {}
3816 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3817 void SetBrush( const wxBrush
& ) {}
3819 virtual void SetFont( const wxGraphicsFont
& ) {}
3820 void SetFont( const wxFont
&, const wxColour
& ) {}
3822 virtual void StrokePath( const wxGraphicsPath
& ) {}
3823 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3824 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3826 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3827 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3828 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3829 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3830 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3831 wxDouble
*, wxDouble
* ) const {}
3832 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3834 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3835 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3837 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3838 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3839 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3840 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3841 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3842 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3843 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3844 virtual bool ShouldOffset() const { return false; }
3848 class wxGraphicsRenderer
: public wxObject
3851 wxGraphicsRenderer() {
3852 PyErr_SetString(PyExc_NotImplementedError
,
3853 "wx.GraphicsRenderer is not available on this platform.");
3856 virtual ~wxGraphicsRenderer() {}
3858 static wxGraphicsRenderer
* GetDefaultRenderer() {
3859 PyErr_SetString(PyExc_NotImplementedError
,
3860 "wx.GraphicsRenderer is not available on this platform.");
3864 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3865 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3866 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3867 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3868 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3870 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3872 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3873 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3875 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3876 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3877 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3878 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3879 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3880 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3881 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3886 class wxGCDC
: public wxWindowDC
3889 wxGCDC(const wxWindowDC
&) {
3890 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3891 PyErr_SetString(PyExc_NotImplementedError
,
3892 "wxGCDC is not available on this platform.");
3893 wxPyEndBlockThreads(blocked
);
3896 wxGCDC(const wxWindow
*) {
3897 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3898 PyErr_SetString(PyExc_NotImplementedError
,
3899 "wxGCDC is not available on this platform.");
3900 wxPyEndBlockThreads(blocked
);
3904 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3905 PyErr_SetString(PyExc_NotImplementedError
,
3906 "wxGCDC is not available on this platform.");
3907 wxPyEndBlockThreads(blocked
);
3910 virtual ~wxGCDC() {}
3912 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3913 void SetGraphicsContext( wxGraphicsContext
* ) {}
3918 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3919 if ( !backgroundBrush
.IsNull() )
3920 self
->DrawText(str
, x
, y
, backgroundBrush
);
3922 self
->DrawText(str
, x
, y
);
3924 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3925 if ( !backgroundBrush
.IsNull() )
3926 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3928 self
->DrawText(str
, x
, y
, angle
);
3930 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3931 wxDouble width
= 0.0,
3933 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3934 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3935 PyObject
* rv
= PyTuple_New(2);
3936 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3937 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3940 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3941 wxArrayDouble widths
;
3942 self
->GetPartialTextExtents(text
, widths
);
3945 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3946 size_t c1
, c2
, count
;
3947 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3948 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3950 if ( beginP
!= NULL
&& endP
!= NULL
)
3952 count
= wxMin(c1
, c2
);
3953 self
->StrokeLines(count
, beginP
, endP
);
3959 #include "wx/dcgraph.h"
3962 #include <wx/overlay.h>
3966 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3967 self
->AddColour(name
, wxColour(red
, green
, blue
));
3970 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3971 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3972 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3973 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3976 #include <wx/effects.h>
3979 #include "wx/renderer.h"
3982 SWIGINTERNINLINE PyObject
*
3983 SWIG_From_bool (bool value
)
3985 return PyBool_FromLong(value
? 1 : 0);
3989 #include "wx/wxPython/pseudodc.h"
3991 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3993 self
->GetIdBounds(id
, rect
);
3999 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4000 PyObject
*resultobj
= 0;
4001 wxGDIObject
*result
= 0 ;
4003 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4005 if (!wxPyCheckForApp()) SWIG_fail
;
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 result
= (wxGDIObject
*)new wxGDIObject();
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4018 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4019 PyObject
*resultobj
= 0;
4020 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4023 PyObject
*swig_obj
[1] ;
4025 if (!args
) SWIG_fail
;
4027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4028 if (!SWIG_IsOK(res1
)) {
4029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4031 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 resultobj
= SWIG_Py_Void();
4046 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4047 PyObject
*resultobj
= 0;
4048 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4052 PyObject
*swig_obj
[1] ;
4054 if (!args
) SWIG_fail
;
4056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4057 if (!SWIG_IsOK(res1
)) {
4058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4060 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 result
= (bool)(arg1
)->IsNull();
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) SWIG_fail
;
4068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4076 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4078 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4079 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4080 return SWIG_Py_Void();
4083 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4084 return SWIG_Python_InitShadowInstance(args
);
4087 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
*resultobj
= 0;
4089 byte arg1
= (byte
) 0 ;
4090 byte arg2
= (byte
) 0 ;
4091 byte arg3
= (byte
) 0 ;
4092 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4093 wxColour
*result
= 0 ;
4094 unsigned char val1
;
4096 unsigned char val2
;
4098 unsigned char val3
;
4100 unsigned char val4
;
4102 PyObject
* obj0
= 0 ;
4103 PyObject
* obj1
= 0 ;
4104 PyObject
* obj2
= 0 ;
4105 PyObject
* obj3
= 0 ;
4106 char * kwnames
[] = {
4107 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4112 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4113 if (!SWIG_IsOK(ecode1
)) {
4114 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4116 arg1
= static_cast< byte
>(val1
);
4119 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4120 if (!SWIG_IsOK(ecode2
)) {
4121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4123 arg2
= static_cast< byte
>(val2
);
4126 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4127 if (!SWIG_IsOK(ecode3
)) {
4128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4130 arg3
= static_cast< byte
>(val3
);
4133 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4134 if (!SWIG_IsOK(ecode4
)) {
4135 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4137 arg4
= static_cast< byte
>(val4
);
4140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4152 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
*resultobj
= 0;
4154 wxString
*arg1
= 0 ;
4155 wxColour
*result
= 0 ;
4156 bool temp1
= false ;
4157 PyObject
* obj0
= 0 ;
4158 char * kwnames
[] = {
4159 (char *) "colorName", NULL
4162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4164 arg1
= wxString_in_helper(obj0
);
4165 if (arg1
== NULL
) SWIG_fail
;
4169 if (!wxPyCheckForApp()) SWIG_fail
;
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4190 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
*resultobj
= 0;
4192 unsigned long arg1
;
4193 wxColour
*result
= 0 ;
4194 unsigned long val1
;
4196 PyObject
* obj0
= 0 ;
4197 char * kwnames
[] = {
4198 (char *) "colRGB", NULL
4201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4202 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4203 if (!SWIG_IsOK(ecode1
)) {
4204 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4206 arg1
= static_cast< unsigned long >(val1
);
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 result
= (wxColour
*)new wxColour(arg1
);
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4220 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4221 PyObject
*resultobj
= 0;
4222 wxColour
*arg1
= (wxColour
*) 0 ;
4225 PyObject
*swig_obj
[1] ;
4227 if (!args
) SWIG_fail
;
4229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4230 if (!SWIG_IsOK(res1
)) {
4231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4233 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) SWIG_fail
;
4241 resultobj
= SWIG_Py_Void();
4248 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4249 PyObject
*resultobj
= 0;
4250 wxColour
*arg1
= (wxColour
*) 0 ;
4254 PyObject
*swig_obj
[1] ;
4256 if (!args
) SWIG_fail
;
4258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4259 if (!SWIG_IsOK(res1
)) {
4260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4262 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 result
= (byte
)(arg1
)->Red();
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4269 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4276 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4277 PyObject
*resultobj
= 0;
4278 wxColour
*arg1
= (wxColour
*) 0 ;
4282 PyObject
*swig_obj
[1] ;
4284 if (!args
) SWIG_fail
;
4286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4287 if (!SWIG_IsOK(res1
)) {
4288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4290 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 result
= (byte
)(arg1
)->Green();
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4304 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4305 PyObject
*resultobj
= 0;
4306 wxColour
*arg1
= (wxColour
*) 0 ;
4310 PyObject
*swig_obj
[1] ;
4312 if (!args
) SWIG_fail
;
4314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4315 if (!SWIG_IsOK(res1
)) {
4316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4318 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 result
= (byte
)(arg1
)->Blue();
4322 wxPyEndAllowThreads(__tstate
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4325 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4332 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4333 PyObject
*resultobj
= 0;
4334 wxColour
*arg1
= (wxColour
*) 0 ;
4338 PyObject
*swig_obj
[1] ;
4340 if (!args
) SWIG_fail
;
4342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4343 if (!SWIG_IsOK(res1
)) {
4344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4346 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 result
= (byte
)(arg1
)->Alpha();
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4360 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4361 PyObject
*resultobj
= 0;
4362 wxColour
*arg1
= (wxColour
*) 0 ;
4366 PyObject
*swig_obj
[1] ;
4368 if (!args
) SWIG_fail
;
4370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4371 if (!SWIG_IsOK(res1
)) {
4372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4374 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4377 result
= (bool)(arg1
)->IsOk();
4378 wxPyEndAllowThreads(__tstate
);
4379 if (PyErr_Occurred()) SWIG_fail
;
4382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4390 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
= 0;
4392 wxColour
*arg1
= (wxColour
*) 0 ;
4396 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4399 unsigned char val2
;
4401 unsigned char val3
;
4403 unsigned char val4
;
4405 unsigned char val5
;
4407 PyObject
* obj0
= 0 ;
4408 PyObject
* obj1
= 0 ;
4409 PyObject
* obj2
= 0 ;
4410 PyObject
* obj3
= 0 ;
4411 PyObject
* obj4
= 0 ;
4412 char * kwnames
[] = {
4413 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4418 if (!SWIG_IsOK(res1
)) {
4419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4421 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4422 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4423 if (!SWIG_IsOK(ecode2
)) {
4424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4426 arg2
= static_cast< byte
>(val2
);
4427 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4428 if (!SWIG_IsOK(ecode3
)) {
4429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4431 arg3
= static_cast< byte
>(val3
);
4432 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4433 if (!SWIG_IsOK(ecode4
)) {
4434 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4436 arg4
= static_cast< byte
>(val4
);
4438 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4439 if (!SWIG_IsOK(ecode5
)) {
4440 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4442 arg5
= static_cast< byte
>(val5
);
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4450 resultobj
= SWIG_Py_Void();
4457 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
*resultobj
= 0;
4459 wxColour
*arg1
= (wxColour
*) 0 ;
4460 unsigned long arg2
;
4463 unsigned long val2
;
4465 PyObject
* obj0
= 0 ;
4466 PyObject
* obj1
= 0 ;
4467 char * kwnames
[] = {
4468 (char *) "self",(char *) "colRGB", NULL
4471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4473 if (!SWIG_IsOK(res1
)) {
4474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4476 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4477 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4478 if (!SWIG_IsOK(ecode2
)) {
4479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4481 arg2
= static_cast< unsigned long >(val2
);
4483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) SWIG_fail
;
4488 resultobj
= SWIG_Py_Void();
4495 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
*resultobj
= 0;
4497 wxColour
*arg1
= (wxColour
*) 0 ;
4498 wxString
*arg2
= 0 ;
4501 bool temp2
= false ;
4502 PyObject
* obj0
= 0 ;
4503 PyObject
* obj1
= 0 ;
4504 char * kwnames
[] = {
4505 (char *) "self",(char *) "colourName", NULL
4508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4510 if (!SWIG_IsOK(res1
)) {
4511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4513 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4515 arg2
= wxString_in_helper(obj1
);
4516 if (arg2
== NULL
) SWIG_fail
;
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 (arg1
)->Set((wxString
const &)*arg2
);
4522 wxPyEndAllowThreads(__tstate
);
4523 if (PyErr_Occurred()) SWIG_fail
;
4525 resultobj
= SWIG_Py_Void();
4540 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
*resultobj
= 0;
4542 wxColour
*arg1
= (wxColour
*) 0 ;
4543 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4549 PyObject
* obj0
= 0 ;
4550 PyObject
* obj1
= 0 ;
4551 char * kwnames
[] = {
4552 (char *) "self",(char *) "flags", NULL
4555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4557 if (!SWIG_IsOK(res1
)) {
4558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4560 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4562 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4563 if (!SWIG_IsOK(ecode2
)) {
4564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4566 arg2
= static_cast< long >(val2
);
4569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4570 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4571 wxPyEndAllowThreads(__tstate
);
4572 if (PyErr_Occurred()) SWIG_fail
;
4576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4587 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4588 PyObject
*resultobj
= 0;
4589 wxColour
*arg1
= (wxColour
*) 0 ;
4593 PyObject
*swig_obj
[1] ;
4595 if (!args
) SWIG_fail
;
4597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4598 if (!SWIG_IsOK(res1
)) {
4599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4601 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4604 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4605 wxPyEndAllowThreads(__tstate
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4608 resultobj
= SWIG_From_long(static_cast< long >(result
));
4615 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
*resultobj
= 0;
4617 wxColour
*arg1
= (wxColour
*) 0 ;
4618 PyObject
*arg2
= (PyObject
*) 0 ;
4622 PyObject
* obj0
= 0 ;
4623 PyObject
* obj1
= 0 ;
4624 char * kwnames
[] = {
4625 (char *) "self",(char *) "other", NULL
4628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4630 if (!SWIG_IsOK(res1
)) {
4631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4633 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4636 result
= (bool)wxColour___eq__(arg1
,arg2
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4648 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
*resultobj
= 0;
4650 wxColour
*arg1
= (wxColour
*) 0 ;
4651 PyObject
*arg2
= (PyObject
*) 0 ;
4655 PyObject
* obj0
= 0 ;
4656 PyObject
* obj1
= 0 ;
4657 char * kwnames
[] = {
4658 (char *) "self",(char *) "other", NULL
4661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4663 if (!SWIG_IsOK(res1
)) {
4664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4666 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4669 result
= (bool)wxColour___ne__(arg1
,arg2
);
4670 if (PyErr_Occurred()) SWIG_fail
;
4673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4681 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
*resultobj
= 0;
4683 wxColour
*arg1
= (wxColour
*) 0 ;
4684 bool arg2
= (bool) false ;
4685 PyObject
*result
= 0 ;
4690 PyObject
* obj0
= 0 ;
4691 PyObject
* obj1
= 0 ;
4692 char * kwnames
[] = {
4693 (char *) "self",(char *) "includeAlpha", NULL
4696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4698 if (!SWIG_IsOK(res1
)) {
4699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4701 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4703 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4704 if (!SWIG_IsOK(ecode2
)) {
4705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4707 arg2
= static_cast< bool >(val2
);
4710 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4711 if (PyErr_Occurred()) SWIG_fail
;
4720 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4721 PyObject
*resultobj
= 0;
4722 wxColour
*arg1
= (wxColour
*) 0 ;
4723 unsigned long result
;
4726 PyObject
*swig_obj
[1] ;
4728 if (!args
) SWIG_fail
;
4730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4731 if (!SWIG_IsOK(res1
)) {
4732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4734 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4736 result
= (unsigned long)wxColour_GetRGB(arg1
);
4737 if (PyErr_Occurred()) SWIG_fail
;
4739 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4746 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4749 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4750 return SWIG_Py_Void();
4753 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4754 return SWIG_Python_InitShadowInstance(args
);
4757 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
*resultobj
= 0;
4760 unsigned char *arg2
= (unsigned char *) 0 ;
4761 unsigned char *arg3
= (unsigned char *) 0 ;
4762 unsigned char *arg4
= (unsigned char *) 0 ;
4763 wxPalette
*result
= 0 ;
4772 PyObject
* obj0
= 0 ;
4773 PyObject
* obj1
= 0 ;
4774 PyObject
* obj2
= 0 ;
4775 PyObject
* obj3
= 0 ;
4776 char * kwnames
[] = {
4777 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4781 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4782 if (!SWIG_IsOK(ecode1
)) {
4783 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4785 arg1
= static_cast< int >(val1
);
4786 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4787 if (!SWIG_IsOK(res2
)) {
4788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4790 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4791 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4792 if (!SWIG_IsOK(res3
)) {
4793 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4795 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4796 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4797 if (!SWIG_IsOK(res4
)) {
4798 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4800 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4802 if (!wxPyCheckForApp()) SWIG_fail
;
4803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4804 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4805 wxPyEndAllowThreads(__tstate
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4815 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4816 PyObject
*resultobj
= 0;
4817 wxPalette
*arg1
= (wxPalette
*) 0 ;
4820 PyObject
*swig_obj
[1] ;
4822 if (!args
) SWIG_fail
;
4824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4825 if (!SWIG_IsOK(res1
)) {
4826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4828 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4833 wxPyEndAllowThreads(__tstate
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4836 resultobj
= SWIG_Py_Void();
4843 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
*resultobj
= 0;
4845 wxPalette
*arg1
= (wxPalette
*) 0 ;
4852 unsigned char val2
;
4854 unsigned char val3
;
4856 unsigned char val4
;
4858 PyObject
* obj0
= 0 ;
4859 PyObject
* obj1
= 0 ;
4860 PyObject
* obj2
= 0 ;
4861 PyObject
* obj3
= 0 ;
4862 char * kwnames
[] = {
4863 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4868 if (!SWIG_IsOK(res1
)) {
4869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4871 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4872 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4873 if (!SWIG_IsOK(ecode2
)) {
4874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4876 arg2
= static_cast< byte
>(val2
);
4877 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4878 if (!SWIG_IsOK(ecode3
)) {
4879 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4881 arg3
= static_cast< byte
>(val3
);
4882 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4883 if (!SWIG_IsOK(ecode4
)) {
4884 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4886 arg4
= static_cast< byte
>(val4
);
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 resultobj
= SWIG_From_int(static_cast< int >(result
));
4900 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
= 0;
4902 wxPalette
*arg1
= (wxPalette
*) 0 ;
4904 byte
*arg3
= (byte
*) 0 ;
4905 byte
*arg4
= (byte
*) 0 ;
4906 byte
*arg5
= (byte
*) 0 ;
4913 int res3
= SWIG_TMPOBJ
;
4915 int res4
= SWIG_TMPOBJ
;
4917 int res5
= SWIG_TMPOBJ
;
4918 PyObject
* obj0
= 0 ;
4919 PyObject
* obj1
= 0 ;
4920 char * kwnames
[] = {
4921 (char *) "self",(char *) "pixel", NULL
4927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4929 if (!SWIG_IsOK(res1
)) {
4930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4932 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4934 if (!SWIG_IsOK(ecode2
)) {
4935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4937 arg2
= static_cast< int >(val2
);
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4947 if (SWIG_IsTmpObj(res3
)) {
4948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4950 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4953 if (SWIG_IsTmpObj(res4
)) {
4954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4956 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4959 if (SWIG_IsTmpObj(res5
)) {
4960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4962 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4971 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4972 PyObject
*resultobj
= 0;
4973 wxPalette
*arg1
= (wxPalette
*) 0 ;
4977 PyObject
*swig_obj
[1] ;
4979 if (!args
) SWIG_fail
;
4981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4982 if (!SWIG_IsOK(res1
)) {
4983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4985 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4992 resultobj
= SWIG_From_int(static_cast< int >(result
));
4999 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5000 PyObject
*resultobj
= 0;
5001 wxPalette
*arg1
= (wxPalette
*) 0 ;
5005 PyObject
*swig_obj
[1] ;
5007 if (!args
) SWIG_fail
;
5009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5010 if (!SWIG_IsOK(res1
)) {
5011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5013 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 result
= (bool)(arg1
)->IsOk();
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5029 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5031 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5032 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5033 return SWIG_Py_Void();
5036 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5037 return SWIG_Python_InitShadowInstance(args
);
5040 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5041 PyObject
*resultobj
= 0;
5042 wxColour
*arg1
= 0 ;
5043 int arg2
= (int) 1 ;
5044 int arg3
= (int) wxSOLID
;
5051 PyObject
* obj0
= 0 ;
5052 PyObject
* obj1
= 0 ;
5053 PyObject
* obj2
= 0 ;
5054 char * kwnames
[] = {
5055 (char *) "colour",(char *) "width",(char *) "style", NULL
5058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5061 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5065 if (!SWIG_IsOK(ecode2
)) {
5066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5068 arg2
= static_cast< int >(val2
);
5071 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5072 if (!SWIG_IsOK(ecode3
)) {
5073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5075 arg3
= static_cast< int >(val3
);
5078 if (!wxPyCheckForApp()) SWIG_fail
;
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5091 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5092 PyObject
*resultobj
= 0;
5093 wxPen
*arg1
= (wxPen
*) 0 ;
5096 PyObject
*swig_obj
[1] ;
5098 if (!args
) SWIG_fail
;
5100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5101 if (!SWIG_IsOK(res1
)) {
5102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5104 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5112 resultobj
= SWIG_Py_Void();
5119 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5120 PyObject
*resultobj
= 0;
5121 wxPen
*arg1
= (wxPen
*) 0 ;
5125 PyObject
*swig_obj
[1] ;
5127 if (!args
) SWIG_fail
;
5129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5130 if (!SWIG_IsOK(res1
)) {
5131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5133 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 result
= (int)(arg1
)->GetCap();
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5140 resultobj
= SWIG_From_int(static_cast< int >(result
));
5147 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5148 PyObject
*resultobj
= 0;
5149 wxPen
*arg1
= (wxPen
*) 0 ;
5153 PyObject
*swig_obj
[1] ;
5155 if (!args
) SWIG_fail
;
5157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5158 if (!SWIG_IsOK(res1
)) {
5159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5161 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5164 result
= (arg1
)->GetColour();
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5168 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5175 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5176 PyObject
*resultobj
= 0;
5177 wxPen
*arg1
= (wxPen
*) 0 ;
5181 PyObject
*swig_obj
[1] ;
5183 if (!args
) SWIG_fail
;
5185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5186 if (!SWIG_IsOK(res1
)) {
5187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5189 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 result
= (int)(arg1
)->GetJoin();
5193 wxPyEndAllowThreads(__tstate
);
5194 if (PyErr_Occurred()) SWIG_fail
;
5196 resultobj
= SWIG_From_int(static_cast< int >(result
));
5203 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5204 PyObject
*resultobj
= 0;
5205 wxPen
*arg1
= (wxPen
*) 0 ;
5209 PyObject
*swig_obj
[1] ;
5211 if (!args
) SWIG_fail
;
5213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5214 if (!SWIG_IsOK(res1
)) {
5215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5217 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 result
= (int)(arg1
)->GetStyle();
5221 wxPyEndAllowThreads(__tstate
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5224 resultobj
= SWIG_From_int(static_cast< int >(result
));
5231 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5232 PyObject
*resultobj
= 0;
5233 wxPen
*arg1
= (wxPen
*) 0 ;
5237 PyObject
*swig_obj
[1] ;
5239 if (!args
) SWIG_fail
;
5241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5242 if (!SWIG_IsOK(res1
)) {
5243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5245 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 result
= (int)(arg1
)->GetWidth();
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5252 resultobj
= SWIG_From_int(static_cast< int >(result
));
5259 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5260 PyObject
*resultobj
= 0;
5261 wxPen
*arg1
= (wxPen
*) 0 ;
5265 PyObject
*swig_obj
[1] ;
5267 if (!args
) SWIG_fail
;
5269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5270 if (!SWIG_IsOK(res1
)) {
5271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5273 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 result
= (bool)(arg1
)->IsOk();
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) SWIG_fail
;
5281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5289 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5290 PyObject
*resultobj
= 0;
5291 wxPen
*arg1
= (wxPen
*) 0 ;
5297 PyObject
* obj0
= 0 ;
5298 PyObject
* obj1
= 0 ;
5299 char * kwnames
[] = {
5300 (char *) "self",(char *) "cap_style", NULL
5303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5305 if (!SWIG_IsOK(res1
)) {
5306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5308 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5310 if (!SWIG_IsOK(ecode2
)) {
5311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5313 arg2
= static_cast< int >(val2
);
5315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5316 (arg1
)->SetCap(arg2
);
5317 wxPyEndAllowThreads(__tstate
);
5318 if (PyErr_Occurred()) SWIG_fail
;
5320 resultobj
= SWIG_Py_Void();
5327 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
*resultobj
= 0;
5329 wxPen
*arg1
= (wxPen
*) 0 ;
5330 wxColour
*arg2
= 0 ;
5334 PyObject
* obj0
= 0 ;
5335 PyObject
* obj1
= 0 ;
5336 char * kwnames
[] = {
5337 (char *) "self",(char *) "colour", NULL
5340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5342 if (!SWIG_IsOK(res1
)) {
5343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5345 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5348 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 (arg1
)->SetColour(*arg2
);
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5356 resultobj
= SWIG_Py_Void();
5363 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
= 0;
5365 wxPen
*arg1
= (wxPen
*) 0 ;
5371 PyObject
* obj0
= 0 ;
5372 PyObject
* obj1
= 0 ;
5373 char * kwnames
[] = {
5374 (char *) "self",(char *) "join_style", NULL
5377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5379 if (!SWIG_IsOK(res1
)) {
5380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5382 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5384 if (!SWIG_IsOK(ecode2
)) {
5385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5387 arg2
= static_cast< int >(val2
);
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 (arg1
)->SetJoin(arg2
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5394 resultobj
= SWIG_Py_Void();
5401 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
*resultobj
= 0;
5403 wxPen
*arg1
= (wxPen
*) 0 ;
5409 PyObject
* obj0
= 0 ;
5410 PyObject
* obj1
= 0 ;
5411 char * kwnames
[] = {
5412 (char *) "self",(char *) "style", NULL
5415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5417 if (!SWIG_IsOK(res1
)) {
5418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5420 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5422 if (!SWIG_IsOK(ecode2
)) {
5423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5425 arg2
= static_cast< int >(val2
);
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 (arg1
)->SetStyle(arg2
);
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5432 resultobj
= SWIG_Py_Void();
5439 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
= 0;
5441 wxPen
*arg1
= (wxPen
*) 0 ;
5447 PyObject
* obj0
= 0 ;
5448 PyObject
* obj1
= 0 ;
5449 char * kwnames
[] = {
5450 (char *) "self",(char *) "width", NULL
5453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5455 if (!SWIG_IsOK(res1
)) {
5456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5458 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5460 if (!SWIG_IsOK(ecode2
)) {
5461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5463 arg2
= static_cast< int >(val2
);
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 (arg1
)->SetWidth(arg2
);
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= SWIG_Py_Void();
5477 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
*resultobj
= 0;
5479 wxPen
*arg1
= (wxPen
*) 0 ;
5481 wxDash
*arg3
= (wxDash
*) 0 ;
5484 PyObject
* obj0
= 0 ;
5485 PyObject
* obj1
= 0 ;
5486 char * kwnames
[] = {
5487 (char *) "self",(char *) "dashes", NULL
5490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5492 if (!SWIG_IsOK(res1
)) {
5493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5495 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5497 arg2
= PyList_Size(obj1
);
5498 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5499 if (arg3
== NULL
) SWIG_fail
;
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 (arg1
)->SetDashes(arg2
,arg3
);
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5507 resultobj
= SWIG_Py_Void();
5509 if (arg3
) delete [] arg3
;
5514 if (arg3
) delete [] arg3
;
5520 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5521 PyObject
*resultobj
= 0;
5522 wxPen
*arg1
= (wxPen
*) 0 ;
5523 PyObject
*result
= 0 ;
5526 PyObject
*swig_obj
[1] ;
5528 if (!args
) SWIG_fail
;
5530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5531 if (!SWIG_IsOK(res1
)) {
5532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5534 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5537 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5548 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
*resultobj
= 0;
5550 wxPen
*arg1
= (wxPen
*) 0 ;
5551 PyObject
*arg2
= (PyObject
*) 0 ;
5552 PyObject
*arg3
= (PyObject
*) 0 ;
5555 PyObject
* obj0
= 0 ;
5556 PyObject
* obj1
= 0 ;
5557 PyObject
* obj2
= 0 ;
5558 char * kwnames
[] = {
5559 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5564 if (!SWIG_IsOK(res1
)) {
5565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5567 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5572 wxPen__SetDashes(arg1
,arg2
,arg3
);
5573 wxPyEndAllowThreads(__tstate
);
5574 if (PyErr_Occurred()) SWIG_fail
;
5576 resultobj
= SWIG_Py_Void();
5583 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5584 PyObject
*resultobj
= 0;
5585 wxPen
*arg1
= (wxPen
*) 0 ;
5589 PyObject
*swig_obj
[1] ;
5591 if (!args
) SWIG_fail
;
5593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5594 if (!SWIG_IsOK(res1
)) {
5595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5597 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 resultobj
= SWIG_From_int(static_cast< int >(result
));
5611 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5612 PyObject
*resultobj
= 0;
5613 wxPen
*arg1
= (wxPen
*) 0 ;
5614 wxBitmap
*result
= 0 ;
5617 PyObject
*swig_obj
[1] ;
5619 if (!args
) SWIG_fail
;
5621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5622 if (!SWIG_IsOK(res1
)) {
5623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5625 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 result
= (wxBitmap
*)(arg1
)->GetStipple();
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5639 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
= 0;
5641 wxPen
*arg1
= (wxPen
*) 0 ;
5642 wxBitmap
*arg2
= 0 ;
5647 PyObject
* obj0
= 0 ;
5648 PyObject
* obj1
= 0 ;
5649 char * kwnames
[] = {
5650 (char *) "self",(char *) "stipple", NULL
5653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",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_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5658 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5659 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5660 if (!SWIG_IsOK(res2
)) {
5661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5666 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5669 (arg1
)->SetStipple(*arg2
);
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5673 resultobj
= SWIG_Py_Void();
5680 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
*resultobj
= 0;
5682 wxPen
*arg1
= (wxPen
*) 0 ;
5683 wxPen
*arg2
= (wxPen
*) 0 ;
5689 PyObject
* obj0
= 0 ;
5690 PyObject
* obj1
= 0 ;
5691 char * kwnames
[] = {
5692 (char *) "self",(char *) "other", NULL
5695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5697 if (!SWIG_IsOK(res1
)) {
5698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5700 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5701 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5702 if (!SWIG_IsOK(res2
)) {
5703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5705 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5721 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
= 0;
5723 wxPen
*arg1
= (wxPen
*) 0 ;
5724 wxPen
*arg2
= (wxPen
*) 0 ;
5730 PyObject
* obj0
= 0 ;
5731 PyObject
* obj1
= 0 ;
5732 char * kwnames
[] = {
5733 (char *) "self",(char *) "other", NULL
5736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5738 if (!SWIG_IsOK(res1
)) {
5739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5741 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5742 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5743 if (!SWIG_IsOK(res2
)) {
5744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5746 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5750 wxPyEndAllowThreads(__tstate
);
5751 if (PyErr_Occurred()) SWIG_fail
;
5754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5762 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5764 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5765 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5766 return SWIG_Py_Void();
5769 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5770 return SWIG_Python_InitShadowInstance(args
);
5773 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
*resultobj
= 0;
5775 wxColour
*arg1
= 0 ;
5776 int arg2
= (int) wxSOLID
;
5777 wxBrush
*result
= 0 ;
5781 PyObject
* obj0
= 0 ;
5782 PyObject
* obj1
= 0 ;
5783 char * kwnames
[] = {
5784 (char *) "colour",(char *) "style", NULL
5787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5790 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5794 if (!SWIG_IsOK(ecode2
)) {
5795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5797 arg2
= static_cast< int >(val2
);
5800 if (!wxPyCheckForApp()) SWIG_fail
;
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5813 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
= 0;
5815 wxBitmap
*arg1
= 0 ;
5816 wxBrush
*result
= 0 ;
5819 PyObject
* obj0
= 0 ;
5820 char * kwnames
[] = {
5821 (char *) "stippleBitmap", NULL
5824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5825 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5826 if (!SWIG_IsOK(res1
)) {
5827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5832 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5834 if (!wxPyCheckForApp()) SWIG_fail
;
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5847 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5848 PyObject
*resultobj
= 0;
5849 wxBrush
*arg1
= (wxBrush
*) 0 ;
5852 PyObject
*swig_obj
[1] ;
5854 if (!args
) SWIG_fail
;
5856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5857 if (!SWIG_IsOK(res1
)) {
5858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5860 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5868 resultobj
= SWIG_Py_Void();
5875 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
= 0;
5877 wxBrush
*arg1
= (wxBrush
*) 0 ;
5878 wxColour
*arg2
= 0 ;
5882 PyObject
* obj0
= 0 ;
5883 PyObject
* obj1
= 0 ;
5884 char * kwnames
[] = {
5885 (char *) "self",(char *) "col", NULL
5888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5890 if (!SWIG_IsOK(res1
)) {
5891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5893 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5896 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 (arg1
)->SetColour((wxColour
const &)*arg2
);
5901 wxPyEndAllowThreads(__tstate
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5904 resultobj
= SWIG_Py_Void();
5911 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
*resultobj
= 0;
5913 wxBrush
*arg1
= (wxBrush
*) 0 ;
5919 PyObject
* obj0
= 0 ;
5920 PyObject
* obj1
= 0 ;
5921 char * kwnames
[] = {
5922 (char *) "self",(char *) "style", NULL
5925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5927 if (!SWIG_IsOK(res1
)) {
5928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5930 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5932 if (!SWIG_IsOK(ecode2
)) {
5933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5935 arg2
= static_cast< int >(val2
);
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 (arg1
)->SetStyle(arg2
);
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5942 resultobj
= SWIG_Py_Void();
5949 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
*resultobj
= 0;
5951 wxBrush
*arg1
= (wxBrush
*) 0 ;
5952 wxBitmap
*arg2
= 0 ;
5957 PyObject
* obj0
= 0 ;
5958 PyObject
* obj1
= 0 ;
5959 char * kwnames
[] = {
5960 (char *) "self",(char *) "stipple", NULL
5963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5965 if (!SWIG_IsOK(res1
)) {
5966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5968 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5969 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5970 if (!SWIG_IsOK(res2
)) {
5971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5976 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5983 resultobj
= SWIG_Py_Void();
5990 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5991 PyObject
*resultobj
= 0;
5992 wxBrush
*arg1
= (wxBrush
*) 0 ;
5996 PyObject
*swig_obj
[1] ;
5998 if (!args
) SWIG_fail
;
6000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6001 if (!SWIG_IsOK(res1
)) {
6002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
6004 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 result
= ((wxBrush
const *)arg1
)->GetColour();
6008 wxPyEndAllowThreads(__tstate
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6011 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6018 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6019 PyObject
*resultobj
= 0;
6020 wxBrush
*arg1
= (wxBrush
*) 0 ;
6024 PyObject
*swig_obj
[1] ;
6026 if (!args
) SWIG_fail
;
6028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6029 if (!SWIG_IsOK(res1
)) {
6030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
6032 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6039 resultobj
= SWIG_From_int(static_cast< int >(result
));
6046 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6047 PyObject
*resultobj
= 0;
6048 wxBrush
*arg1
= (wxBrush
*) 0 ;
6049 wxBitmap
*result
= 0 ;
6052 PyObject
*swig_obj
[1] ;
6054 if (!args
) SWIG_fail
;
6056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6057 if (!SWIG_IsOK(res1
)) {
6058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6060 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6074 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6075 PyObject
*resultobj
= 0;
6076 wxBrush
*arg1
= (wxBrush
*) 0 ;
6080 PyObject
*swig_obj
[1] ;
6082 if (!args
) SWIG_fail
;
6084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6085 if (!SWIG_IsOK(res1
)) {
6086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6088 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6104 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6105 PyObject
*resultobj
= 0;
6106 wxBrush
*arg1
= (wxBrush
*) 0 ;
6110 PyObject
*swig_obj
[1] ;
6112 if (!args
) SWIG_fail
;
6114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6115 if (!SWIG_IsOK(res1
)) {
6116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6118 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 result
= (bool)(arg1
)->IsOk();
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6134 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6137 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6138 return SWIG_Py_Void();
6141 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6142 return SWIG_Python_InitShadowInstance(args
);
6145 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
= 0;
6147 wxString
*arg1
= 0 ;
6148 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6149 wxBitmap
*result
= 0 ;
6150 bool temp1
= false ;
6153 PyObject
* obj0
= 0 ;
6154 PyObject
* obj1
= 0 ;
6155 char * kwnames
[] = {
6156 (char *) "name",(char *) "type", NULL
6159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6161 arg1
= wxString_in_helper(obj0
);
6162 if (arg1
== NULL
) SWIG_fail
;
6166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6167 if (!SWIG_IsOK(ecode2
)) {
6168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6170 arg2
= static_cast< wxBitmapType
>(val2
);
6173 if (!wxPyCheckForApp()) SWIG_fail
;
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6194 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6195 PyObject
*resultobj
= 0;
6196 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6199 PyObject
*swig_obj
[1] ;
6201 if (!args
) SWIG_fail
;
6203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6204 if (!SWIG_IsOK(res1
)) {
6205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6207 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 resultobj
= SWIG_Py_Void();
6220 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
*resultobj
= 0;
6224 int arg3
= (int) -1 ;
6225 wxBitmap
*result
= 0 ;
6232 PyObject
* obj0
= 0 ;
6233 PyObject
* obj1
= 0 ;
6234 PyObject
* obj2
= 0 ;
6235 char * kwnames
[] = {
6236 (char *) "width",(char *) "height",(char *) "depth", NULL
6239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6240 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6241 if (!SWIG_IsOK(ecode1
)) {
6242 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6244 arg1
= static_cast< int >(val1
);
6245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6246 if (!SWIG_IsOK(ecode2
)) {
6247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6249 arg2
= static_cast< int >(val2
);
6251 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6252 if (!SWIG_IsOK(ecode3
)) {
6253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6255 arg3
= static_cast< int >(val3
);
6258 if (!wxPyCheckForApp()) SWIG_fail
;
6259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6260 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6271 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
*resultobj
= 0;
6274 wxBitmap
*result
= 0 ;
6277 PyObject
* obj0
= 0 ;
6278 char * kwnames
[] = {
6279 (char *) "icon", NULL
6282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6283 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6284 if (!SWIG_IsOK(res1
)) {
6285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6290 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6292 if (!wxPyCheckForApp()) SWIG_fail
;
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6295 wxPyEndAllowThreads(__tstate
);
6296 if (PyErr_Occurred()) SWIG_fail
;
6298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6305 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
*resultobj
= 0;
6308 int arg2
= (int) -1 ;
6309 wxBitmap
*result
= 0 ;
6314 PyObject
* obj0
= 0 ;
6315 PyObject
* obj1
= 0 ;
6316 char * kwnames
[] = {
6317 (char *) "image",(char *) "depth", NULL
6320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6321 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6322 if (!SWIG_IsOK(res1
)) {
6323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6328 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6331 if (!SWIG_IsOK(ecode2
)) {
6332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6334 arg2
= static_cast< int >(val2
);
6337 if (!wxPyCheckForApp()) SWIG_fail
;
6338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6339 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6350 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
*resultobj
= 0;
6352 PyObject
*arg1
= (PyObject
*) 0 ;
6353 wxBitmap
*result
= 0 ;
6354 PyObject
* obj0
= 0 ;
6355 char * kwnames
[] = {
6356 (char *) "listOfStrings", NULL
6359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6362 if (!wxPyCheckForApp()) SWIG_fail
;
6363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6364 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6375 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
*resultobj
= 0;
6377 PyObject
*arg1
= (PyObject
*) 0 ;
6380 int arg4
= (int) 1 ;
6381 wxBitmap
*result
= 0 ;
6388 PyObject
* obj0
= 0 ;
6389 PyObject
* obj1
= 0 ;
6390 PyObject
* obj2
= 0 ;
6391 PyObject
* obj3
= 0 ;
6392 char * kwnames
[] = {
6393 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6399 if (!SWIG_IsOK(ecode2
)) {
6400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6402 arg2
= static_cast< int >(val2
);
6403 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6404 if (!SWIG_IsOK(ecode3
)) {
6405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6407 arg3
= static_cast< int >(val3
);
6409 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6410 if (!SWIG_IsOK(ecode4
)) {
6411 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6413 arg4
= static_cast< int >(val4
);
6416 if (!wxPyCheckForApp()) SWIG_fail
;
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6429 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6430 PyObject
*resultobj
= 0;
6431 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6435 PyObject
*swig_obj
[1] ;
6437 if (!args
) SWIG_fail
;
6439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6440 if (!SWIG_IsOK(res1
)) {
6441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6443 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6445 result
= (long)(arg1
)->GetHandle();
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 resultobj
= SWIG_From_long(static_cast< long >(result
));
6455 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
= 0;
6457 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6463 PyObject
* obj0
= 0 ;
6464 PyObject
* obj1
= 0 ;
6465 char * kwnames
[] = {
6466 (char *) "self",(char *) "handle", NULL
6469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6471 if (!SWIG_IsOK(res1
)) {
6472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6474 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6475 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6476 if (!SWIG_IsOK(ecode2
)) {
6477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6479 arg2
= static_cast< long >(val2
);
6481 wxBitmap_SetHandle(arg1
,arg2
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6484 resultobj
= SWIG_Py_Void();
6491 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6492 PyObject
*resultobj
= 0;
6493 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6497 PyObject
*swig_obj
[1] ;
6499 if (!args
) SWIG_fail
;
6501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6502 if (!SWIG_IsOK(res1
)) {
6503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6505 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6507 result
= (bool)(arg1
)->IsOk();
6508 if (PyErr_Occurred()) SWIG_fail
;
6511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6519 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6520 PyObject
*resultobj
= 0;
6521 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6525 PyObject
*swig_obj
[1] ;
6527 if (!args
) SWIG_fail
;
6529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6530 if (!SWIG_IsOK(res1
)) {
6531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6533 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6535 result
= (int)(arg1
)->GetWidth();
6536 if (PyErr_Occurred()) SWIG_fail
;
6538 resultobj
= SWIG_From_int(static_cast< int >(result
));
6545 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6546 PyObject
*resultobj
= 0;
6547 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6551 PyObject
*swig_obj
[1] ;
6553 if (!args
) SWIG_fail
;
6555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6556 if (!SWIG_IsOK(res1
)) {
6557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6559 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6561 result
= (int)(arg1
)->GetHeight();
6562 if (PyErr_Occurred()) SWIG_fail
;
6564 resultobj
= SWIG_From_int(static_cast< int >(result
));
6571 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6572 PyObject
*resultobj
= 0;
6573 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6577 PyObject
*swig_obj
[1] ;
6579 if (!args
) SWIG_fail
;
6581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6582 if (!SWIG_IsOK(res1
)) {
6583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6585 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6587 result
= (int)(arg1
)->GetDepth();
6588 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= SWIG_From_int(static_cast< int >(result
));
6597 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6598 PyObject
*resultobj
= 0;
6599 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6603 PyObject
*swig_obj
[1] ;
6605 if (!args
) SWIG_fail
;
6607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6608 if (!SWIG_IsOK(res1
)) {
6609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6611 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6613 result
= wxBitmap_GetSize(arg1
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6616 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6623 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6624 PyObject
*resultobj
= 0;
6625 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6626 SwigValueWrapper
<wxImage
> result
;
6629 PyObject
*swig_obj
[1] ;
6631 if (!args
) SWIG_fail
;
6633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6634 if (!SWIG_IsOK(res1
)) {
6635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6637 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6639 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6640 if (PyErr_Occurred()) SWIG_fail
;
6642 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6649 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6650 PyObject
*resultobj
= 0;
6651 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6652 wxMask
*result
= 0 ;
6655 PyObject
*swig_obj
[1] ;
6657 if (!args
) SWIG_fail
;
6659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6660 if (!SWIG_IsOK(res1
)) {
6661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6663 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6665 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6666 if (PyErr_Occurred()) SWIG_fail
;
6668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6675 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
= 0;
6677 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6678 wxMask
*arg2
= (wxMask
*) 0 ;
6682 PyObject
* obj0
= 0 ;
6683 PyObject
* obj1
= 0 ;
6684 char * kwnames
[] = {
6685 (char *) "self",(char *) "mask", NULL
6688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6690 if (!SWIG_IsOK(res1
)) {
6691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6693 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6694 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6695 if (!SWIG_IsOK(res2
)) {
6696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6699 (arg1
)->SetMask(arg2
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6702 resultobj
= SWIG_Py_Void();
6709 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
*resultobj
= 0;
6711 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6712 wxColour
*arg2
= 0 ;
6716 PyObject
* obj0
= 0 ;
6717 PyObject
* obj1
= 0 ;
6718 char * kwnames
[] = {
6719 (char *) "self",(char *) "colour", NULL
6722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6724 if (!SWIG_IsOK(res1
)) {
6725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6727 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6730 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6733 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6734 if (PyErr_Occurred()) SWIG_fail
;
6736 resultobj
= SWIG_Py_Void();
6743 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
= 0;
6745 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6747 SwigValueWrapper
<wxBitmap
> result
;
6751 PyObject
* obj0
= 0 ;
6752 PyObject
* obj1
= 0 ;
6753 char * kwnames
[] = {
6754 (char *) "self",(char *) "rect", NULL
6757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6759 if (!SWIG_IsOK(res1
)) {
6760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6762 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6765 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6768 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6771 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6778 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
= 0;
6780 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6781 wxString
*arg2
= 0 ;
6783 wxPalette
*arg4
= (wxPalette
*) NULL
;
6787 bool temp2
= false ;
6792 PyObject
* obj0
= 0 ;
6793 PyObject
* obj1
= 0 ;
6794 PyObject
* obj2
= 0 ;
6795 PyObject
* obj3
= 0 ;
6796 char * kwnames
[] = {
6797 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6802 if (!SWIG_IsOK(res1
)) {
6803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6805 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6807 arg2
= wxString_in_helper(obj1
);
6808 if (arg2
== NULL
) SWIG_fail
;
6811 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6812 if (!SWIG_IsOK(ecode3
)) {
6813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6815 arg3
= static_cast< wxBitmapType
>(val3
);
6817 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6818 if (!SWIG_IsOK(res4
)) {
6819 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6821 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6824 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6825 if (PyErr_Occurred()) SWIG_fail
;
6828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6844 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
*resultobj
= 0;
6846 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6847 wxString
*arg2
= 0 ;
6852 bool temp2
= false ;
6855 PyObject
* obj0
= 0 ;
6856 PyObject
* obj1
= 0 ;
6857 PyObject
* obj2
= 0 ;
6858 char * kwnames
[] = {
6859 (char *) "self",(char *) "name",(char *) "type", NULL
6862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6864 if (!SWIG_IsOK(res1
)) {
6865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6867 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6869 arg2
= wxString_in_helper(obj1
);
6870 if (arg2
== NULL
) SWIG_fail
;
6873 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6874 if (!SWIG_IsOK(ecode3
)) {
6875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6877 arg3
= static_cast< wxBitmapType
>(val3
);
6879 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6899 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6900 PyObject
*resultobj
= 0;
6901 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6902 wxPalette
*result
= 0 ;
6905 PyObject
*swig_obj
[1] ;
6907 if (!args
) SWIG_fail
;
6909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6910 if (!SWIG_IsOK(res1
)) {
6911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6913 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6915 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6916 if (PyErr_Occurred()) SWIG_fail
;
6918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6925 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6926 PyObject
*resultobj
= 0;
6927 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6928 wxPalette
*arg2
= 0 ;
6933 PyObject
* obj0
= 0 ;
6934 PyObject
* obj1
= 0 ;
6935 char * kwnames
[] = {
6936 (char *) "self",(char *) "palette", NULL
6939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6941 if (!SWIG_IsOK(res1
)) {
6942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6944 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6945 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6946 if (!SWIG_IsOK(res2
)) {
6947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6950 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6952 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6954 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= SWIG_Py_Void();
6964 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
= 0;
6966 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6973 PyObject
* obj0
= 0 ;
6974 PyObject
* obj1
= 0 ;
6975 char * kwnames
[] = {
6976 (char *) "self",(char *) "icon", NULL
6979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6981 if (!SWIG_IsOK(res1
)) {
6982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6984 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6985 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6986 if (!SWIG_IsOK(res2
)) {
6987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6992 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6994 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6995 if (PyErr_Occurred()) SWIG_fail
;
6998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7006 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7007 PyObject
*resultobj
= 0;
7008 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7014 PyObject
* obj0
= 0 ;
7015 PyObject
* obj1
= 0 ;
7016 char * kwnames
[] = {
7017 (char *) "self",(char *) "height", NULL
7020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7022 if (!SWIG_IsOK(res1
)) {
7023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
7025 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7027 if (!SWIG_IsOK(ecode2
)) {
7028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
7030 arg2
= static_cast< int >(val2
);
7032 (arg1
)->SetHeight(arg2
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 resultobj
= SWIG_Py_Void();
7042 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
= 0;
7044 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7050 PyObject
* obj0
= 0 ;
7051 PyObject
* obj1
= 0 ;
7052 char * kwnames
[] = {
7053 (char *) "self",(char *) "width", NULL
7056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7058 if (!SWIG_IsOK(res1
)) {
7059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7061 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7063 if (!SWIG_IsOK(ecode2
)) {
7064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
7066 arg2
= static_cast< int >(val2
);
7068 (arg1
)->SetWidth(arg2
);
7069 if (PyErr_Occurred()) SWIG_fail
;
7071 resultobj
= SWIG_Py_Void();
7078 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
*resultobj
= 0;
7080 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7086 PyObject
* obj0
= 0 ;
7087 PyObject
* obj1
= 0 ;
7088 char * kwnames
[] = {
7089 (char *) "self",(char *) "depth", NULL
7092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7094 if (!SWIG_IsOK(res1
)) {
7095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7097 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7099 if (!SWIG_IsOK(ecode2
)) {
7100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
7102 arg2
= static_cast< int >(val2
);
7104 (arg1
)->SetDepth(arg2
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 resultobj
= SWIG_Py_Void();
7114 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
= 0;
7116 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7121 PyObject
* obj0
= 0 ;
7122 PyObject
* obj1
= 0 ;
7123 char * kwnames
[] = {
7124 (char *) "self",(char *) "size", NULL
7127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7129 if (!SWIG_IsOK(res1
)) {
7130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7132 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7135 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7138 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 resultobj
= SWIG_Py_Void();
7148 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
= 0;
7150 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7151 wxCursor
*arg2
= 0 ;
7157 PyObject
* obj0
= 0 ;
7158 PyObject
* obj1
= 0 ;
7159 char * kwnames
[] = {
7160 (char *) "self",(char *) "cursor", NULL
7163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7165 if (!SWIG_IsOK(res1
)) {
7166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
7168 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7169 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
7170 if (!SWIG_IsOK(res2
)) {
7171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7176 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
7178 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7190 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
*resultobj
= 0;
7192 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7198 PyObject
* obj0
= 0 ;
7199 PyObject
* obj1
= 0 ;
7200 char * kwnames
[] = {
7201 (char *) "self",(char *) "data", NULL
7204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7206 if (!SWIG_IsOK(res1
)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7209 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7211 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7215 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7216 if (PyErr_Occurred()) SWIG_fail
;
7218 resultobj
= SWIG_Py_Void();
7225 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
= 0;
7227 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7233 PyObject
* obj0
= 0 ;
7234 PyObject
* obj1
= 0 ;
7235 char * kwnames
[] = {
7236 (char *) "self",(char *) "data", NULL
7239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7241 if (!SWIG_IsOK(res1
)) {
7242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7244 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7246 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7250 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7251 if (PyErr_Occurred()) SWIG_fail
;
7253 resultobj
= SWIG_Py_Void();
7260 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7261 PyObject
*resultobj
= 0;
7262 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7263 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7269 PyObject
* obj0
= 0 ;
7270 PyObject
* obj1
= 0 ;
7271 char * kwnames
[] = {
7272 (char *) "self",(char *) "other", NULL
7275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7277 if (!SWIG_IsOK(res1
)) {
7278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7280 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7281 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7282 if (!SWIG_IsOK(res2
)) {
7283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7285 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7287 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7299 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
*resultobj
= 0;
7301 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7302 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7308 PyObject
* obj0
= 0 ;
7309 PyObject
* obj1
= 0 ;
7310 char * kwnames
[] = {
7311 (char *) "self",(char *) "other", NULL
7314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7316 if (!SWIG_IsOK(res1
)) {
7317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7319 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7320 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7321 if (!SWIG_IsOK(res2
)) {
7322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7324 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7326 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7338 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7341 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7342 return SWIG_Py_Void();
7345 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7346 return SWIG_Python_InitShadowInstance(args
);
7349 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7350 PyObject
*resultobj
= 0;
7357 wxBitmap
*result
= 0 ;
7364 PyObject
* obj0
= 0 ;
7365 PyObject
* obj1
= 0 ;
7366 PyObject
* obj2
= 0 ;
7367 PyObject
* obj3
= 0 ;
7368 char * kwnames
[] = {
7369 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7373 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7374 if (!SWIG_IsOK(ecode1
)) {
7375 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7377 arg1
= static_cast< int >(val1
);
7378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7379 if (!SWIG_IsOK(ecode2
)) {
7380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7382 arg2
= static_cast< int >(val2
);
7384 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7388 if (obj3
!= Py_None
) {
7389 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7394 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7404 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
*resultobj
= 0;
7410 wxBitmap
*result
= 0 ;
7416 PyObject
* obj0
= 0 ;
7417 PyObject
* obj1
= 0 ;
7418 PyObject
* obj2
= 0 ;
7419 char * kwnames
[] = {
7420 (char *) "width",(char *) "height",(char *) "data", NULL
7423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7424 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7425 if (!SWIG_IsOK(ecode1
)) {
7426 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7428 arg1
= static_cast< int >(val1
);
7429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7430 if (!SWIG_IsOK(ecode2
)) {
7431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7433 arg2
= static_cast< int >(val2
);
7435 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7439 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7440 if (PyErr_Occurred()) SWIG_fail
;
7442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7449 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
*resultobj
= 0;
7455 wxBitmap
*result
= 0 ;
7461 PyObject
* obj0
= 0 ;
7462 PyObject
* obj1
= 0 ;
7463 PyObject
* obj2
= 0 ;
7464 char * kwnames
[] = {
7465 (char *) "width",(char *) "height",(char *) "data", NULL
7468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7469 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7470 if (!SWIG_IsOK(ecode1
)) {
7471 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7473 arg1
= static_cast< int >(val1
);
7474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7475 if (!SWIG_IsOK(ecode2
)) {
7476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7478 arg2
= static_cast< int >(val2
);
7480 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7484 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7494 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7495 PyObject
*resultobj
= 0;
7496 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7500 PyObject
*swig_obj
[1] ;
7502 if (!args
) SWIG_fail
;
7504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7505 if (!SWIG_IsOK(res1
)) {
7506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7508 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7510 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7511 if (PyErr_Occurred()) SWIG_fail
;
7513 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7520 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7521 PyObject
*resultobj
= 0;
7522 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7526 PyObject
*swig_obj
[1] ;
7528 if (!args
) SWIG_fail
;
7530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7531 if (!SWIG_IsOK(res1
)) {
7532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7534 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7536 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7537 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= SWIG_From_int(static_cast< int >(result
));
7546 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7547 PyObject
*resultobj
= 0;
7548 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7552 PyObject
*swig_obj
[1] ;
7554 if (!args
) SWIG_fail
;
7556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7557 if (!SWIG_IsOK(res1
)) {
7558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7560 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7562 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 resultobj
= SWIG_From_int(static_cast< int >(result
));
7572 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7573 PyObject
*resultobj
= 0;
7574 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7578 PyObject
*swig_obj
[1] ;
7580 if (!args
) SWIG_fail
;
7582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7583 if (!SWIG_IsOK(res1
)) {
7584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7586 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7588 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7589 if (PyErr_Occurred()) SWIG_fail
;
7591 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7598 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7599 PyObject
*resultobj
= 0;
7600 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7604 PyObject
*swig_obj
[1] ;
7606 if (!args
) SWIG_fail
;
7608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7609 if (!SWIG_IsOK(res1
)) {
7610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7612 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7614 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7615 if (PyErr_Occurred()) SWIG_fail
;
7617 resultobj
= SWIG_From_int(static_cast< int >(result
));
7624 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7626 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7627 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7628 return SWIG_Py_Void();
7631 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7632 PyObject
*resultobj
= 0;
7633 wxBitmap
*arg1
= 0 ;
7634 wxNativePixelData
*result
= 0 ;
7638 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7640 if (!SWIG_IsOK(res1
)) {
7641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7646 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7648 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7649 if (PyErr_Occurred()) SWIG_fail
;
7651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7658 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7659 PyObject
*resultobj
= 0;
7660 wxBitmap
*arg1
= 0 ;
7662 wxNativePixelData
*result
= 0 ;
7667 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7669 if (!SWIG_IsOK(res1
)) {
7670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7675 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7678 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7681 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7691 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7692 PyObject
*resultobj
= 0;
7693 wxBitmap
*arg1
= 0 ;
7696 wxNativePixelData
*result
= 0 ;
7702 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7704 if (!SWIG_IsOK(res1
)) {
7705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7710 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7713 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7717 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7720 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7730 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7734 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7737 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7740 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7743 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7747 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7752 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7753 PyObject
*resultobj
= 0;
7754 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7757 PyObject
*swig_obj
[1] ;
7759 if (!args
) SWIG_fail
;
7761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7762 if (!SWIG_IsOK(res1
)) {
7763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7765 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7771 resultobj
= SWIG_Py_Void();
7778 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7779 PyObject
*resultobj
= 0;
7780 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7781 wxNativePixelData_Accessor result
;
7784 PyObject
*swig_obj
[1] ;
7786 if (!args
) SWIG_fail
;
7788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7789 if (!SWIG_IsOK(res1
)) {
7790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7792 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7794 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7804 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7805 PyObject
*resultobj
= 0;
7806 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7809 PyObject
*swig_obj
[1] ;
7811 if (!args
) SWIG_fail
;
7813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7814 if (!SWIG_IsOK(res1
)) {
7815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7817 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7822 resultobj
= SWIG_Py_Void();
7829 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7830 PyObject
*resultobj
= 0;
7831 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7835 PyObject
*swig_obj
[1] ;
7837 if (!args
) SWIG_fail
;
7839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7840 if (!SWIG_IsOK(res1
)) {
7841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7843 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7845 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7857 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7859 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7860 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7861 return SWIG_Py_Void();
7864 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7865 return SWIG_Python_InitShadowInstance(args
);
7868 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7869 PyObject
*resultobj
= 0;
7870 wxNativePixelData
*arg1
= 0 ;
7871 wxNativePixelData_Accessor
*result
= 0 ;
7875 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7877 if (!SWIG_IsOK(res1
)) {
7878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7883 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7885 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7895 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7896 PyObject
*resultobj
= 0;
7897 wxBitmap
*arg1
= 0 ;
7898 wxNativePixelData
*arg2
= 0 ;
7899 wxNativePixelData_Accessor
*result
= 0 ;
7905 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7907 if (!SWIG_IsOK(res1
)) {
7908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7913 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7914 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7915 if (!SWIG_IsOK(res2
)) {
7916 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7919 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7921 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7923 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7933 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7934 PyObject
*resultobj
= 0;
7935 wxNativePixelData_Accessor
*result
= 0 ;
7937 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7939 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7940 if (PyErr_Occurred()) SWIG_fail
;
7942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7949 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7953 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7956 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7959 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7962 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7966 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7971 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7972 PyObject
*resultobj
= 0;
7973 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7976 PyObject
*swig_obj
[1] ;
7978 if (!args
) SWIG_fail
;
7980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7981 if (!SWIG_IsOK(res1
)) {
7982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7984 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7990 resultobj
= SWIG_Py_Void();
7997 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7998 PyObject
*resultobj
= 0;
7999 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8000 wxNativePixelData
*arg2
= 0 ;
8005 PyObject
* obj0
= 0 ;
8006 PyObject
* obj1
= 0 ;
8007 char * kwnames
[] = {
8008 (char *) "self",(char *) "data", NULL
8011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8013 if (!SWIG_IsOK(res1
)) {
8014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8016 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8017 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8018 if (!SWIG_IsOK(res2
)) {
8019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8024 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8026 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 resultobj
= SWIG_Py_Void();
8036 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8037 PyObject
*resultobj
= 0;
8038 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8042 PyObject
*swig_obj
[1] ;
8044 if (!args
) SWIG_fail
;
8046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8047 if (!SWIG_IsOK(res1
)) {
8048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
8050 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8052 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
8053 if (PyErr_Occurred()) SWIG_fail
;
8056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8064 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8065 PyObject
*resultobj
= 0;
8066 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8069 PyObject
*swig_obj
[1] ;
8071 if (!args
) SWIG_fail
;
8073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8074 if (!SWIG_IsOK(res1
)) {
8075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8077 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8079 wxNativePixelData_Accessor_nextPixel(arg1
);
8080 if (PyErr_Occurred()) SWIG_fail
;
8082 resultobj
= SWIG_Py_Void();
8089 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
*resultobj
= 0;
8091 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8092 wxNativePixelData
*arg2
= 0 ;
8103 PyObject
* obj0
= 0 ;
8104 PyObject
* obj1
= 0 ;
8105 PyObject
* obj2
= 0 ;
8106 PyObject
* obj3
= 0 ;
8107 char * kwnames
[] = {
8108 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8113 if (!SWIG_IsOK(res1
)) {
8114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8116 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8117 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8118 if (!SWIG_IsOK(res2
)) {
8119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8124 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8125 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8126 if (!SWIG_IsOK(ecode3
)) {
8127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8129 arg3
= static_cast< int >(val3
);
8130 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8131 if (!SWIG_IsOK(ecode4
)) {
8132 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8134 arg4
= static_cast< int >(val4
);
8136 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8139 resultobj
= SWIG_Py_Void();
8146 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
*resultobj
= 0;
8148 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8149 wxNativePixelData
*arg2
= 0 ;
8157 PyObject
* obj0
= 0 ;
8158 PyObject
* obj1
= 0 ;
8159 PyObject
* obj2
= 0 ;
8160 char * kwnames
[] = {
8161 (char *) "self",(char *) "data",(char *) "x", NULL
8164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8166 if (!SWIG_IsOK(res1
)) {
8167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8169 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8170 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8171 if (!SWIG_IsOK(res2
)) {
8172 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8177 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8178 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8179 if (!SWIG_IsOK(ecode3
)) {
8180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8182 arg3
= static_cast< int >(val3
);
8184 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= SWIG_Py_Void();
8194 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
*resultobj
= 0;
8196 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8197 wxNativePixelData
*arg2
= 0 ;
8205 PyObject
* obj0
= 0 ;
8206 PyObject
* obj1
= 0 ;
8207 PyObject
* obj2
= 0 ;
8208 char * kwnames
[] = {
8209 (char *) "self",(char *) "data",(char *) "y", NULL
8212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8214 if (!SWIG_IsOK(res1
)) {
8215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8217 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8218 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8219 if (!SWIG_IsOK(res2
)) {
8220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8225 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8226 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8227 if (!SWIG_IsOK(ecode3
)) {
8228 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8230 arg3
= static_cast< int >(val3
);
8232 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8235 resultobj
= SWIG_Py_Void();
8242 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
*resultobj
= 0;
8244 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8245 wxNativePixelData
*arg2
= 0 ;
8256 PyObject
* obj0
= 0 ;
8257 PyObject
* obj1
= 0 ;
8258 PyObject
* obj2
= 0 ;
8259 PyObject
* obj3
= 0 ;
8260 char * kwnames
[] = {
8261 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8266 if (!SWIG_IsOK(res1
)) {
8267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8269 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8270 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8271 if (!SWIG_IsOK(res2
)) {
8272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8277 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8278 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8279 if (!SWIG_IsOK(ecode3
)) {
8280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8282 arg3
= static_cast< int >(val3
);
8283 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8284 if (!SWIG_IsOK(ecode4
)) {
8285 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8287 arg4
= static_cast< int >(val4
);
8289 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8292 resultobj
= SWIG_Py_Void();
8299 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8300 PyObject
*resultobj
= 0;
8301 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8307 unsigned char val2
;
8309 unsigned char val3
;
8311 unsigned char val4
;
8313 PyObject
* obj0
= 0 ;
8314 PyObject
* obj1
= 0 ;
8315 PyObject
* obj2
= 0 ;
8316 PyObject
* obj3
= 0 ;
8317 char * kwnames
[] = {
8318 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8323 if (!SWIG_IsOK(res1
)) {
8324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8326 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8327 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8328 if (!SWIG_IsOK(ecode2
)) {
8329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8331 arg2
= static_cast< byte
>(val2
);
8332 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8333 if (!SWIG_IsOK(ecode3
)) {
8334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8336 arg3
= static_cast< byte
>(val3
);
8337 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8338 if (!SWIG_IsOK(ecode4
)) {
8339 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8341 arg4
= static_cast< byte
>(val4
);
8343 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8346 resultobj
= SWIG_Py_Void();
8353 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8354 PyObject
*resultobj
= 0;
8355 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8356 PyObject
*result
= 0 ;
8359 PyObject
*swig_obj
[1] ;
8361 if (!args
) SWIG_fail
;
8363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8364 if (!SWIG_IsOK(res1
)) {
8365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8367 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8369 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8379 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8381 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8382 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8383 return SWIG_Py_Void();
8386 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8387 return SWIG_Python_InitShadowInstance(args
);
8390 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8391 PyObject
*resultobj
= 0;
8392 wxBitmap
*arg1
= 0 ;
8393 wxAlphaPixelData
*result
= 0 ;
8397 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8399 if (!SWIG_IsOK(res1
)) {
8400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8405 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8407 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8417 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8418 PyObject
*resultobj
= 0;
8419 wxBitmap
*arg1
= 0 ;
8421 wxAlphaPixelData
*result
= 0 ;
8426 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8428 if (!SWIG_IsOK(res1
)) {
8429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8432 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8434 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8437 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8440 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8450 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8451 PyObject
*resultobj
= 0;
8452 wxBitmap
*arg1
= 0 ;
8455 wxAlphaPixelData
*result
= 0 ;
8461 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8463 if (!SWIG_IsOK(res1
)) {
8464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8469 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8472 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8476 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8479 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8489 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8493 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8496 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8499 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8502 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8506 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8511 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8512 PyObject
*resultobj
= 0;
8513 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8516 PyObject
*swig_obj
[1] ;
8518 if (!args
) SWIG_fail
;
8520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8521 if (!SWIG_IsOK(res1
)) {
8522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8524 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8530 resultobj
= SWIG_Py_Void();
8537 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8538 PyObject
*resultobj
= 0;
8539 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8540 wxAlphaPixelData_Accessor result
;
8543 PyObject
*swig_obj
[1] ;
8545 if (!args
) SWIG_fail
;
8547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8548 if (!SWIG_IsOK(res1
)) {
8549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8551 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8553 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8554 if (PyErr_Occurred()) SWIG_fail
;
8556 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8563 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8564 PyObject
*resultobj
= 0;
8565 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8568 PyObject
*swig_obj
[1] ;
8570 if (!args
) SWIG_fail
;
8572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8573 if (!SWIG_IsOK(res1
)) {
8574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8576 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8579 if (PyErr_Occurred()) SWIG_fail
;
8581 resultobj
= SWIG_Py_Void();
8588 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8589 PyObject
*resultobj
= 0;
8590 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8594 PyObject
*swig_obj
[1] ;
8596 if (!args
) SWIG_fail
;
8598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8599 if (!SWIG_IsOK(res1
)) {
8600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8602 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8604 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8616 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8618 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8619 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8620 return SWIG_Py_Void();
8623 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8624 return SWIG_Python_InitShadowInstance(args
);
8627 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8628 PyObject
*resultobj
= 0;
8629 wxAlphaPixelData
*arg1
= 0 ;
8630 wxAlphaPixelData_Accessor
*result
= 0 ;
8634 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8636 if (!SWIG_IsOK(res1
)) {
8637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8642 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8644 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8654 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8655 PyObject
*resultobj
= 0;
8656 wxBitmap
*arg1
= 0 ;
8657 wxAlphaPixelData
*arg2
= 0 ;
8658 wxAlphaPixelData_Accessor
*result
= 0 ;
8664 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8666 if (!SWIG_IsOK(res1
)) {
8667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8672 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8673 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8674 if (!SWIG_IsOK(res2
)) {
8675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8680 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8682 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8683 if (PyErr_Occurred()) SWIG_fail
;
8685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8692 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8693 PyObject
*resultobj
= 0;
8694 wxAlphaPixelData_Accessor
*result
= 0 ;
8696 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8698 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8708 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8712 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8715 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8718 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8721 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8725 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8730 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8731 PyObject
*resultobj
= 0;
8732 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8735 PyObject
*swig_obj
[1] ;
8737 if (!args
) SWIG_fail
;
8739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8740 if (!SWIG_IsOK(res1
)) {
8741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8743 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8749 resultobj
= SWIG_Py_Void();
8756 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
*resultobj
= 0;
8758 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8759 wxAlphaPixelData
*arg2
= 0 ;
8764 PyObject
* obj0
= 0 ;
8765 PyObject
* obj1
= 0 ;
8766 char * kwnames
[] = {
8767 (char *) "self",(char *) "data", NULL
8770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8772 if (!SWIG_IsOK(res1
)) {
8773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8775 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8776 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8777 if (!SWIG_IsOK(res2
)) {
8778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8783 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8785 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8788 resultobj
= SWIG_Py_Void();
8795 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8796 PyObject
*resultobj
= 0;
8797 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8801 PyObject
*swig_obj
[1] ;
8803 if (!args
) SWIG_fail
;
8805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8806 if (!SWIG_IsOK(res1
)) {
8807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8809 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8811 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8812 if (PyErr_Occurred()) SWIG_fail
;
8815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8823 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8824 PyObject
*resultobj
= 0;
8825 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8828 PyObject
*swig_obj
[1] ;
8830 if (!args
) SWIG_fail
;
8832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8833 if (!SWIG_IsOK(res1
)) {
8834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8836 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8838 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8841 resultobj
= SWIG_Py_Void();
8848 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
= 0;
8850 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8851 wxAlphaPixelData
*arg2
= 0 ;
8862 PyObject
* obj0
= 0 ;
8863 PyObject
* obj1
= 0 ;
8864 PyObject
* obj2
= 0 ;
8865 PyObject
* obj3
= 0 ;
8866 char * kwnames
[] = {
8867 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8872 if (!SWIG_IsOK(res1
)) {
8873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8875 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8876 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8877 if (!SWIG_IsOK(res2
)) {
8878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8883 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8884 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8885 if (!SWIG_IsOK(ecode3
)) {
8886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8888 arg3
= static_cast< int >(val3
);
8889 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8890 if (!SWIG_IsOK(ecode4
)) {
8891 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8893 arg4
= static_cast< int >(val4
);
8895 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 resultobj
= SWIG_Py_Void();
8905 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
= 0;
8907 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8908 wxAlphaPixelData
*arg2
= 0 ;
8916 PyObject
* obj0
= 0 ;
8917 PyObject
* obj1
= 0 ;
8918 PyObject
* obj2
= 0 ;
8919 char * kwnames
[] = {
8920 (char *) "self",(char *) "data",(char *) "x", NULL
8923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8925 if (!SWIG_IsOK(res1
)) {
8926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8928 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8929 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8930 if (!SWIG_IsOK(res2
)) {
8931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8934 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8936 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8938 if (!SWIG_IsOK(ecode3
)) {
8939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8941 arg3
= static_cast< int >(val3
);
8943 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8946 resultobj
= SWIG_Py_Void();
8953 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8954 PyObject
*resultobj
= 0;
8955 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8956 wxAlphaPixelData
*arg2
= 0 ;
8964 PyObject
* obj0
= 0 ;
8965 PyObject
* obj1
= 0 ;
8966 PyObject
* obj2
= 0 ;
8967 char * kwnames
[] = {
8968 (char *) "self",(char *) "data",(char *) "y", NULL
8971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8973 if (!SWIG_IsOK(res1
)) {
8974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8976 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8977 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8978 if (!SWIG_IsOK(res2
)) {
8979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8984 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8985 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8986 if (!SWIG_IsOK(ecode3
)) {
8987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8989 arg3
= static_cast< int >(val3
);
8991 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 resultobj
= SWIG_Py_Void();
9001 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
= 0;
9003 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9004 wxAlphaPixelData
*arg2
= 0 ;
9015 PyObject
* obj0
= 0 ;
9016 PyObject
* obj1
= 0 ;
9017 PyObject
* obj2
= 0 ;
9018 PyObject
* obj3
= 0 ;
9019 char * kwnames
[] = {
9020 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
9023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9025 if (!SWIG_IsOK(res1
)) {
9026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9028 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9029 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
9030 if (!SWIG_IsOK(res2
)) {
9031 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
9034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
9036 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
9037 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9038 if (!SWIG_IsOK(ecode3
)) {
9039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
9041 arg3
= static_cast< int >(val3
);
9042 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9043 if (!SWIG_IsOK(ecode4
)) {
9044 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
9046 arg4
= static_cast< int >(val4
);
9048 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9051 resultobj
= SWIG_Py_Void();
9058 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9059 PyObject
*resultobj
= 0;
9060 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9067 unsigned char val2
;
9069 unsigned char val3
;
9071 unsigned char val4
;
9073 unsigned char val5
;
9075 PyObject
* obj0
= 0 ;
9076 PyObject
* obj1
= 0 ;
9077 PyObject
* obj2
= 0 ;
9078 PyObject
* obj3
= 0 ;
9079 PyObject
* obj4
= 0 ;
9080 char * kwnames
[] = {
9081 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
9084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9086 if (!SWIG_IsOK(res1
)) {
9087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9089 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9090 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
9091 if (!SWIG_IsOK(ecode2
)) {
9092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
9094 arg2
= static_cast< byte
>(val2
);
9095 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
9096 if (!SWIG_IsOK(ecode3
)) {
9097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
9099 arg3
= static_cast< byte
>(val3
);
9100 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
9101 if (!SWIG_IsOK(ecode4
)) {
9102 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
9104 arg4
= static_cast< byte
>(val4
);
9105 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
9106 if (!SWIG_IsOK(ecode5
)) {
9107 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
9109 arg5
= static_cast< byte
>(val5
);
9111 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9114 resultobj
= SWIG_Py_Void();
9121 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9122 PyObject
*resultobj
= 0;
9123 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9124 PyObject
*result
= 0 ;
9127 PyObject
*swig_obj
[1] ;
9129 if (!args
) SWIG_fail
;
9131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9132 if (!SWIG_IsOK(res1
)) {
9133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9135 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9137 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
9138 if (PyErr_Occurred()) SWIG_fail
;
9147 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9149 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9150 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
9151 return SWIG_Py_Void();
9154 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9155 return SWIG_Python_InitShadowInstance(args
);
9158 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
*resultobj
= 0;
9160 wxBitmap
*arg1
= 0 ;
9161 wxColour
const &arg2_defvalue
= wxNullColour
;
9162 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
9163 wxMask
*result
= 0 ;
9167 PyObject
* obj0
= 0 ;
9168 PyObject
* obj1
= 0 ;
9169 char * kwnames
[] = {
9170 (char *) "bitmap",(char *) "colour", NULL
9173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9174 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9175 if (!SWIG_IsOK(res1
)) {
9176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9181 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9185 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9189 if (!wxPyCheckForApp()) SWIG_fail
;
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9202 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9203 PyObject
*resultobj
= 0;
9204 wxMask
*arg1
= (wxMask
*) 0 ;
9207 PyObject
*swig_obj
[1] ;
9209 if (!args
) SWIG_fail
;
9211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9212 if (!SWIG_IsOK(res1
)) {
9213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9215 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= SWIG_Py_Void();
9228 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9230 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9231 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9232 return SWIG_Py_Void();
9235 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9236 return SWIG_Python_InitShadowInstance(args
);
9239 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9240 PyObject
*resultobj
= 0;
9241 wxString
*arg1
= 0 ;
9243 int arg3
= (int) -1 ;
9244 int arg4
= (int) -1 ;
9245 wxIcon
*result
= 0 ;
9246 bool temp1
= false ;
9253 PyObject
* obj0
= 0 ;
9254 PyObject
* obj1
= 0 ;
9255 PyObject
* obj2
= 0 ;
9256 PyObject
* obj3
= 0 ;
9257 char * kwnames
[] = {
9258 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9263 arg1
= wxString_in_helper(obj0
);
9264 if (arg1
== NULL
) SWIG_fail
;
9267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9268 if (!SWIG_IsOK(ecode2
)) {
9269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9271 arg2
= static_cast< wxBitmapType
>(val2
);
9273 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9274 if (!SWIG_IsOK(ecode3
)) {
9275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9277 arg3
= static_cast< int >(val3
);
9280 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9281 if (!SWIG_IsOK(ecode4
)) {
9282 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9284 arg4
= static_cast< int >(val4
);
9287 if (!wxPyCheckForApp()) SWIG_fail
;
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9308 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9309 PyObject
*resultobj
= 0;
9310 wxIcon
*arg1
= (wxIcon
*) 0 ;
9313 PyObject
*swig_obj
[1] ;
9315 if (!args
) SWIG_fail
;
9317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9318 if (!SWIG_IsOK(res1
)) {
9319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9321 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9329 resultobj
= SWIG_Py_Void();
9336 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9337 PyObject
*resultobj
= 0;
9338 wxIcon
*result
= 0 ;
9340 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9342 if (!wxPyCheckForApp()) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (wxIcon
*)new wxIcon();
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9355 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
= 0;
9357 wxIconLocation
*arg1
= 0 ;
9358 wxIcon
*result
= 0 ;
9361 PyObject
* obj0
= 0 ;
9362 char * kwnames
[] = {
9363 (char *) "loc", NULL
9366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9367 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9368 if (!SWIG_IsOK(res1
)) {
9369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9374 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9376 if (!wxPyCheckForApp()) SWIG_fail
;
9377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9378 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9379 wxPyEndAllowThreads(__tstate
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9389 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
= 0;
9391 wxBitmap
*arg1
= 0 ;
9392 wxIcon
*result
= 0 ;
9395 PyObject
* obj0
= 0 ;
9396 char * kwnames
[] = {
9397 (char *) "bmp", NULL
9400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9401 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9402 if (!SWIG_IsOK(res1
)) {
9403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9408 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9410 if (!wxPyCheckForApp()) SWIG_fail
;
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9423 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9424 PyObject
*resultobj
= 0;
9425 PyObject
*arg1
= (PyObject
*) 0 ;
9426 wxIcon
*result
= 0 ;
9427 PyObject
* obj0
= 0 ;
9428 char * kwnames
[] = {
9429 (char *) "listOfStrings", NULL
9432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9435 if (!wxPyCheckForApp()) SWIG_fail
;
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 result
= (wxIcon
*)new_wxIcon(arg1
);
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9448 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9449 PyObject
*resultobj
= 0;
9450 wxIcon
*arg1
= (wxIcon
*) 0 ;
9451 wxString
*arg2
= 0 ;
9456 bool temp2
= false ;
9459 PyObject
* obj0
= 0 ;
9460 PyObject
* obj1
= 0 ;
9461 PyObject
* obj2
= 0 ;
9462 char * kwnames
[] = {
9463 (char *) "self",(char *) "name",(char *) "type", NULL
9466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9468 if (!SWIG_IsOK(res1
)) {
9469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9471 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9473 arg2
= wxString_in_helper(obj1
);
9474 if (arg2
== NULL
) SWIG_fail
;
9477 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9478 if (!SWIG_IsOK(ecode3
)) {
9479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9481 arg3
= static_cast< wxBitmapType
>(val3
);
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9505 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9506 PyObject
*resultobj
= 0;
9507 wxIcon
*arg1
= (wxIcon
*) 0 ;
9511 PyObject
*swig_obj
[1] ;
9513 if (!args
) SWIG_fail
;
9515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9516 if (!SWIG_IsOK(res1
)) {
9517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9519 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 result
= (long)(arg1
)->GetHandle();
9523 wxPyEndAllowThreads(__tstate
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9526 resultobj
= SWIG_From_long(static_cast< long >(result
));
9533 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
*resultobj
= 0;
9535 wxIcon
*arg1
= (wxIcon
*) 0 ;
9541 PyObject
* obj0
= 0 ;
9542 PyObject
* obj1
= 0 ;
9543 char * kwnames
[] = {
9544 (char *) "self",(char *) "handle", NULL
9547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9549 if (!SWIG_IsOK(res1
)) {
9550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9552 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9553 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9554 if (!SWIG_IsOK(ecode2
)) {
9555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9557 arg2
= static_cast< long >(val2
);
9559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9560 wxIcon_SetHandle(arg1
,arg2
);
9561 wxPyEndAllowThreads(__tstate
);
9562 if (PyErr_Occurred()) SWIG_fail
;
9564 resultobj
= SWIG_Py_Void();
9571 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9572 PyObject
*resultobj
= 0;
9573 wxIcon
*arg1
= (wxIcon
*) 0 ;
9577 PyObject
*swig_obj
[1] ;
9579 if (!args
) SWIG_fail
;
9581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9582 if (!SWIG_IsOK(res1
)) {
9583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9585 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 result
= (bool)(arg1
)->IsOk();
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) SWIG_fail
;
9593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9601 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9602 PyObject
*resultobj
= 0;
9603 wxIcon
*arg1
= (wxIcon
*) 0 ;
9607 PyObject
*swig_obj
[1] ;
9609 if (!args
) SWIG_fail
;
9611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9612 if (!SWIG_IsOK(res1
)) {
9613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9615 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9618 result
= (int)(arg1
)->GetWidth();
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= SWIG_From_int(static_cast< int >(result
));
9629 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9630 PyObject
*resultobj
= 0;
9631 wxIcon
*arg1
= (wxIcon
*) 0 ;
9635 PyObject
*swig_obj
[1] ;
9637 if (!args
) SWIG_fail
;
9639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9640 if (!SWIG_IsOK(res1
)) {
9641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9643 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 result
= (int)(arg1
)->GetHeight();
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9650 resultobj
= SWIG_From_int(static_cast< int >(result
));
9657 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9658 PyObject
*resultobj
= 0;
9659 wxIcon
*arg1
= (wxIcon
*) 0 ;
9663 PyObject
*swig_obj
[1] ;
9665 if (!args
) SWIG_fail
;
9667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9668 if (!SWIG_IsOK(res1
)) {
9669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9671 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 result
= (int)(arg1
)->GetDepth();
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9678 resultobj
= SWIG_From_int(static_cast< int >(result
));
9685 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
= 0;
9687 wxIcon
*arg1
= (wxIcon
*) 0 ;
9693 PyObject
* obj0
= 0 ;
9694 PyObject
* obj1
= 0 ;
9695 char * kwnames
[] = {
9696 (char *) "self",(char *) "w", NULL
9699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9701 if (!SWIG_IsOK(res1
)) {
9702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9704 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9705 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9706 if (!SWIG_IsOK(ecode2
)) {
9707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9709 arg2
= static_cast< int >(val2
);
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 (arg1
)->SetWidth(arg2
);
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9716 resultobj
= SWIG_Py_Void();
9723 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9724 PyObject
*resultobj
= 0;
9725 wxIcon
*arg1
= (wxIcon
*) 0 ;
9731 PyObject
* obj0
= 0 ;
9732 PyObject
* obj1
= 0 ;
9733 char * kwnames
[] = {
9734 (char *) "self",(char *) "h", NULL
9737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9739 if (!SWIG_IsOK(res1
)) {
9740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9742 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9744 if (!SWIG_IsOK(ecode2
)) {
9745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9747 arg2
= static_cast< int >(val2
);
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 (arg1
)->SetHeight(arg2
);
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9754 resultobj
= SWIG_Py_Void();
9761 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9762 PyObject
*resultobj
= 0;
9763 wxIcon
*arg1
= (wxIcon
*) 0 ;
9769 PyObject
* obj0
= 0 ;
9770 PyObject
* obj1
= 0 ;
9771 char * kwnames
[] = {
9772 (char *) "self",(char *) "d", NULL
9775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9777 if (!SWIG_IsOK(res1
)) {
9778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9780 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9782 if (!SWIG_IsOK(ecode2
)) {
9783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9785 arg2
= static_cast< int >(val2
);
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 (arg1
)->SetDepth(arg2
);
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9792 resultobj
= SWIG_Py_Void();
9799 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9800 PyObject
*resultobj
= 0;
9801 wxIcon
*arg1
= (wxIcon
*) 0 ;
9806 PyObject
* obj0
= 0 ;
9807 PyObject
* obj1
= 0 ;
9808 char * kwnames
[] = {
9809 (char *) "self",(char *) "size", NULL
9812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9814 if (!SWIG_IsOK(res1
)) {
9815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9817 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9820 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 (arg1
)->SetSize((wxSize
const &)*arg2
);
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9828 resultobj
= SWIG_Py_Void();
9835 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
*resultobj
= 0;
9837 wxIcon
*arg1
= (wxIcon
*) 0 ;
9838 wxBitmap
*arg2
= 0 ;
9843 PyObject
* obj0
= 0 ;
9844 PyObject
* obj1
= 0 ;
9845 char * kwnames
[] = {
9846 (char *) "self",(char *) "bmp", NULL
9849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9851 if (!SWIG_IsOK(res1
)) {
9852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9854 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9855 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9856 if (!SWIG_IsOK(res2
)) {
9857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9862 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9869 resultobj
= SWIG_Py_Void();
9876 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9878 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9879 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9880 return SWIG_Py_Void();
9883 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9884 return SWIG_Python_InitShadowInstance(args
);
9887 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
= 0;
9889 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9890 int arg2
= (int) 0 ;
9891 wxIconLocation
*result
= 0 ;
9892 bool temp1
= false ;
9895 PyObject
* obj0
= 0 ;
9896 PyObject
* obj1
= 0 ;
9897 char * kwnames
[] = {
9898 (char *) "filename",(char *) "num", NULL
9901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9904 arg1
= wxString_in_helper(obj0
);
9905 if (arg1
== NULL
) SWIG_fail
;
9910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9911 if (!SWIG_IsOK(ecode2
)) {
9912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9914 arg2
= static_cast< int >(val2
);
9917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9918 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9919 wxPyEndAllowThreads(__tstate
);
9920 if (PyErr_Occurred()) SWIG_fail
;
9922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9937 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9938 PyObject
*resultobj
= 0;
9939 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9942 PyObject
*swig_obj
[1] ;
9944 if (!args
) SWIG_fail
;
9946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9947 if (!SWIG_IsOK(res1
)) {
9948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9950 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9955 wxPyEndAllowThreads(__tstate
);
9956 if (PyErr_Occurred()) SWIG_fail
;
9958 resultobj
= SWIG_Py_Void();
9965 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9966 PyObject
*resultobj
= 0;
9967 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9971 PyObject
*swig_obj
[1] ;
9973 if (!args
) SWIG_fail
;
9975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9976 if (!SWIG_IsOK(res1
)) {
9977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9979 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9995 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9996 PyObject
*resultobj
= 0;
9997 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9998 wxString
*arg2
= 0 ;
10001 bool temp2
= false ;
10002 PyObject
* obj0
= 0 ;
10003 PyObject
* obj1
= 0 ;
10004 char * kwnames
[] = {
10005 (char *) "self",(char *) "filename", NULL
10008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10010 if (!SWIG_IsOK(res1
)) {
10011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10013 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10015 arg2
= wxString_in_helper(obj1
);
10016 if (arg2
== NULL
) SWIG_fail
;
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 (arg1
)->SetFileName((wxString
const &)*arg2
);
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10025 resultobj
= SWIG_Py_Void();
10040 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10041 PyObject
*resultobj
= 0;
10042 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10043 wxString
*result
= 0 ;
10046 PyObject
*swig_obj
[1] ;
10048 if (!args
) SWIG_fail
;
10049 swig_obj
[0] = args
;
10050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10051 if (!SWIG_IsOK(res1
)) {
10052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
10054 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
10059 result
= (wxString
*) &_result_ref
;
10061 wxPyEndAllowThreads(__tstate
);
10062 if (PyErr_Occurred()) SWIG_fail
;
10066 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10068 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10077 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
*resultobj
= 0;
10079 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10085 PyObject
* obj0
= 0 ;
10086 PyObject
* obj1
= 0 ;
10087 char * kwnames
[] = {
10088 (char *) "self",(char *) "num", NULL
10091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10093 if (!SWIG_IsOK(res1
)) {
10094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10096 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10098 if (!SWIG_IsOK(ecode2
)) {
10099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
10101 arg2
= static_cast< int >(val2
);
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 wxIconLocation_SetIndex(arg1
,arg2
);
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10108 resultobj
= SWIG_Py_Void();
10115 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10116 PyObject
*resultobj
= 0;
10117 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10121 PyObject
*swig_obj
[1] ;
10123 if (!args
) SWIG_fail
;
10124 swig_obj
[0] = args
;
10125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10126 if (!SWIG_IsOK(res1
)) {
10127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10129 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 result
= (int)wxIconLocation_GetIndex(arg1
);
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10136 resultobj
= SWIG_From_int(static_cast< int >(result
));
10143 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10145 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10146 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
10147 return SWIG_Py_Void();
10150 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10151 return SWIG_Python_InitShadowInstance(args
);
10154 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10155 PyObject
*resultobj
= 0;
10156 wxIconBundle
*result
= 0 ;
10158 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 result
= (wxIconBundle
*)new wxIconBundle();
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
10172 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10173 PyObject
*resultobj
= 0;
10174 wxString
*arg1
= 0 ;
10176 wxIconBundle
*result
= 0 ;
10177 bool temp1
= false ;
10180 PyObject
* obj0
= 0 ;
10181 PyObject
* obj1
= 0 ;
10182 char * kwnames
[] = {
10183 (char *) "file",(char *) "type", NULL
10186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10188 arg1
= wxString_in_helper(obj0
);
10189 if (arg1
== NULL
) SWIG_fail
;
10192 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10193 if (!SWIG_IsOK(ecode2
)) {
10194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
10196 arg2
= static_cast< long >(val2
);
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10218 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
= 0;
10221 wxIconBundle
*result
= 0 ;
10224 PyObject
* obj0
= 0 ;
10225 char * kwnames
[] = {
10226 (char *) "icon", NULL
10229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
10230 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
10231 if (!SWIG_IsOK(res1
)) {
10232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10237 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
10239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
10241 wxPyEndAllowThreads(__tstate
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10251 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10252 PyObject
*resultobj
= 0;
10253 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10256 PyObject
*swig_obj
[1] ;
10258 if (!args
) SWIG_fail
;
10259 swig_obj
[0] = args
;
10260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
10261 if (!SWIG_IsOK(res1
)) {
10262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10264 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10272 resultobj
= SWIG_Py_Void();
10279 SWIGINTERN PyObject
*_wrap_IconBundle_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10280 PyObject
*resultobj
= 0;
10281 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10285 PyObject
*swig_obj
[1] ;
10287 if (!args
) SWIG_fail
;
10288 swig_obj
[0] = args
;
10289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10290 if (!SWIG_IsOK(res1
)) {
10291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_IsOk" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10293 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 result
= (bool)((wxIconBundle
const *)arg1
)->IsOk();
10297 wxPyEndAllowThreads(__tstate
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10309 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10310 PyObject
*resultobj
= 0;
10311 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10317 PyObject
* obj0
= 0 ;
10318 PyObject
* obj1
= 0 ;
10319 char * kwnames
[] = {
10320 (char *) "self",(char *) "icon", NULL
10323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10325 if (!SWIG_IsOK(res1
)) {
10326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10328 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10329 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10330 if (!SWIG_IsOK(res2
)) {
10331 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10334 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10336 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10340 wxPyEndAllowThreads(__tstate
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10343 resultobj
= SWIG_Py_Void();
10350 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
= 0;
10352 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10353 wxString
*arg2
= 0 ;
10357 bool temp2
= false ;
10360 PyObject
* obj0
= 0 ;
10361 PyObject
* obj1
= 0 ;
10362 PyObject
* obj2
= 0 ;
10363 char * kwnames
[] = {
10364 (char *) "self",(char *) "file",(char *) "type", NULL
10367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10369 if (!SWIG_IsOK(res1
)) {
10370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10372 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10374 arg2
= wxString_in_helper(obj1
);
10375 if (arg2
== NULL
) SWIG_fail
;
10378 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10379 if (!SWIG_IsOK(ecode3
)) {
10380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10382 arg3
= static_cast< long >(val3
);
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10385 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10389 resultobj
= SWIG_Py_Void();
10404 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10405 PyObject
*resultobj
= 0;
10406 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10408 wxIcon
*result
= 0 ;
10412 PyObject
* obj0
= 0 ;
10413 PyObject
* obj1
= 0 ;
10414 char * kwnames
[] = {
10415 (char *) "self",(char *) "size", NULL
10418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10420 if (!SWIG_IsOK(res1
)) {
10421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10423 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10426 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10431 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10432 result
= (wxIcon
*) &_result_ref
;
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10438 wxIcon
* resultptr
= new wxIcon(*result
);
10439 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10447 SWIGINTERN PyObject
*_wrap_IconBundle_GetIconOfExactSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
= 0;
10449 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10455 PyObject
* obj0
= 0 ;
10456 PyObject
* obj1
= 0 ;
10457 char * kwnames
[] = {
10458 (char *) "self",(char *) "size", NULL
10461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIconOfExactSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10463 if (!SWIG_IsOK(res1
)) {
10464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIconOfExactSize" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10466 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10469 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 result
= ((wxIconBundle
const *)arg1
)->GetIconOfExactSize((wxSize
const &)*arg2
);
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10477 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
10484 SWIGINTERN PyObject
*_wrap_IconBundle_GetIconCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10485 PyObject
*resultobj
= 0;
10486 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10490 PyObject
*swig_obj
[1] ;
10492 if (!args
) SWIG_fail
;
10493 swig_obj
[0] = args
;
10494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10495 if (!SWIG_IsOK(res1
)) {
10496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIconCount" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10498 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 result
= (size_t)((wxIconBundle
const *)arg1
)->GetIconCount();
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10505 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10512 SWIGINTERN PyObject
*_wrap_IconBundle_GetIconByIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
*resultobj
= 0;
10514 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10521 PyObject
* obj0
= 0 ;
10522 PyObject
* obj1
= 0 ;
10523 char * kwnames
[] = {
10524 (char *) "self",(char *) "n", NULL
10527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIconByIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10529 if (!SWIG_IsOK(res1
)) {
10530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIconByIndex" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10532 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10533 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
10534 if (!SWIG_IsOK(ecode2
)) {
10535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconBundle_GetIconByIndex" "', expected argument " "2"" of type '" "size_t""'");
10537 arg2
= static_cast< size_t >(val2
);
10539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 result
= ((wxIconBundle
const *)arg1
)->GetIconByIndex(arg2
);
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10544 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
10551 SWIGINTERN PyObject
*_wrap_IconBundle_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10552 PyObject
*resultobj
= 0;
10553 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10557 PyObject
*swig_obj
[1] ;
10559 if (!args
) SWIG_fail
;
10560 swig_obj
[0] = args
;
10561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10562 if (!SWIG_IsOK(res1
)) {
10563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_IsEmpty" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10565 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10568 result
= (bool)((wxIconBundle
const *)arg1
)->IsEmpty();
10569 wxPyEndAllowThreads(__tstate
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10581 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10583 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10584 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10585 return SWIG_Py_Void();
10588 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10589 return SWIG_Python_InitShadowInstance(args
);
10592 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10593 PyObject
*resultobj
= 0;
10594 wxString
*arg1
= 0 ;
10596 int arg3
= (int) 0 ;
10597 int arg4
= (int) 0 ;
10598 wxCursor
*result
= 0 ;
10599 bool temp1
= false ;
10606 PyObject
* obj0
= 0 ;
10607 PyObject
* obj1
= 0 ;
10608 PyObject
* obj2
= 0 ;
10609 PyObject
* obj3
= 0 ;
10610 char * kwnames
[] = {
10611 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10616 arg1
= wxString_in_helper(obj0
);
10617 if (arg1
== NULL
) SWIG_fail
;
10620 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10621 if (!SWIG_IsOK(ecode2
)) {
10622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10624 arg2
= static_cast< long >(val2
);
10626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10627 if (!SWIG_IsOK(ecode3
)) {
10628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10630 arg3
= static_cast< int >(val3
);
10633 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10634 if (!SWIG_IsOK(ecode4
)) {
10635 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10637 arg4
= static_cast< int >(val4
);
10640 if (!wxPyCheckForApp()) SWIG_fail
;
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10661 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10662 PyObject
*resultobj
= 0;
10663 wxCursor
*arg1
= (wxCursor
*) 0 ;
10666 PyObject
*swig_obj
[1] ;
10668 if (!args
) SWIG_fail
;
10669 swig_obj
[0] = args
;
10670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10671 if (!SWIG_IsOK(res1
)) {
10672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10674 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 wxPyEndAllowThreads(__tstate
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10682 resultobj
= SWIG_Py_Void();
10689 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10690 PyObject
*resultobj
= 0;
10692 wxCursor
*result
= 0 ;
10695 PyObject
* obj0
= 0 ;
10696 char * kwnames
[] = {
10697 (char *) "id", NULL
10700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10701 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10702 if (!SWIG_IsOK(ecode1
)) {
10703 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10705 arg1
= static_cast< int >(val1
);
10707 if (!wxPyCheckForApp()) SWIG_fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 result
= (wxCursor
*)new wxCursor(arg1
);
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10720 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
*resultobj
= 0;
10722 wxImage
*arg1
= 0 ;
10723 wxCursor
*result
= 0 ;
10726 PyObject
* obj0
= 0 ;
10727 char * kwnames
[] = {
10728 (char *) "image", NULL
10731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10732 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10733 if (!SWIG_IsOK(res1
)) {
10734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10739 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10741 if (!wxPyCheckForApp()) SWIG_fail
;
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10754 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10755 PyObject
*resultobj
= 0;
10756 wxCursor
*arg1
= (wxCursor
*) 0 ;
10760 PyObject
*swig_obj
[1] ;
10762 if (!args
) SWIG_fail
;
10763 swig_obj
[0] = args
;
10764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10765 if (!SWIG_IsOK(res1
)) {
10766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10768 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10771 result
= (long)(arg1
)->GetHandle();
10772 wxPyEndAllowThreads(__tstate
);
10773 if (PyErr_Occurred()) SWIG_fail
;
10775 resultobj
= SWIG_From_long(static_cast< long >(result
));
10782 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10783 PyObject
*resultobj
= 0;
10784 wxCursor
*arg1
= (wxCursor
*) 0 ;
10790 PyObject
* obj0
= 0 ;
10791 PyObject
* obj1
= 0 ;
10792 char * kwnames
[] = {
10793 (char *) "self",(char *) "handle", NULL
10796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10798 if (!SWIG_IsOK(res1
)) {
10799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10801 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10802 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10803 if (!SWIG_IsOK(ecode2
)) {
10804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10806 arg2
= static_cast< long >(val2
);
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 wxCursor_SetHandle(arg1
,arg2
);
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 resultobj
= SWIG_Py_Void();
10820 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10821 PyObject
*resultobj
= 0;
10822 wxCursor
*arg1
= (wxCursor
*) 0 ;
10826 PyObject
*swig_obj
[1] ;
10828 if (!args
) SWIG_fail
;
10829 swig_obj
[0] = args
;
10830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10831 if (!SWIG_IsOK(res1
)) {
10832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10834 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10837 result
= (bool)(arg1
)->IsOk();
10838 wxPyEndAllowThreads(__tstate
);
10839 if (PyErr_Occurred()) SWIG_fail
;
10842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10850 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10851 PyObject
*resultobj
= 0;
10852 wxCursor
*arg1
= (wxCursor
*) 0 ;
10856 PyObject
*swig_obj
[1] ;
10858 if (!args
) SWIG_fail
;
10859 swig_obj
[0] = args
;
10860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10861 if (!SWIG_IsOK(res1
)) {
10862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10864 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10867 result
= (int)(arg1
)->GetWidth();
10868 wxPyEndAllowThreads(__tstate
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10871 resultobj
= SWIG_From_int(static_cast< int >(result
));
10878 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10879 PyObject
*resultobj
= 0;
10880 wxCursor
*arg1
= (wxCursor
*) 0 ;
10884 PyObject
*swig_obj
[1] ;
10886 if (!args
) SWIG_fail
;
10887 swig_obj
[0] = args
;
10888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10889 if (!SWIG_IsOK(res1
)) {
10890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10892 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10895 result
= (int)(arg1
)->GetHeight();
10896 wxPyEndAllowThreads(__tstate
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10899 resultobj
= SWIG_From_int(static_cast< int >(result
));
10906 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10907 PyObject
*resultobj
= 0;
10908 wxCursor
*arg1
= (wxCursor
*) 0 ;
10912 PyObject
*swig_obj
[1] ;
10914 if (!args
) SWIG_fail
;
10915 swig_obj
[0] = args
;
10916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10917 if (!SWIG_IsOK(res1
)) {
10918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10920 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10923 result
= (int)(arg1
)->GetDepth();
10924 wxPyEndAllowThreads(__tstate
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10927 resultobj
= SWIG_From_int(static_cast< int >(result
));
10934 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10935 PyObject
*resultobj
= 0;
10936 wxCursor
*arg1
= (wxCursor
*) 0 ;
10942 PyObject
* obj0
= 0 ;
10943 PyObject
* obj1
= 0 ;
10944 char * kwnames
[] = {
10945 (char *) "self",(char *) "w", NULL
10948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10950 if (!SWIG_IsOK(res1
)) {
10951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10953 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10955 if (!SWIG_IsOK(ecode2
)) {
10956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10958 arg2
= static_cast< int >(val2
);
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 (arg1
)->SetWidth(arg2
);
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 resultobj
= SWIG_Py_Void();
10972 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
= 0;
10974 wxCursor
*arg1
= (wxCursor
*) 0 ;
10980 PyObject
* obj0
= 0 ;
10981 PyObject
* obj1
= 0 ;
10982 char * kwnames
[] = {
10983 (char *) "self",(char *) "h", NULL
10986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10988 if (!SWIG_IsOK(res1
)) {
10989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10991 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10993 if (!SWIG_IsOK(ecode2
)) {
10994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10996 arg2
= static_cast< int >(val2
);
10998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 (arg1
)->SetHeight(arg2
);
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11003 resultobj
= SWIG_Py_Void();
11010 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
= 0;
11012 wxCursor
*arg1
= (wxCursor
*) 0 ;
11018 PyObject
* obj0
= 0 ;
11019 PyObject
* obj1
= 0 ;
11020 char * kwnames
[] = {
11021 (char *) "self",(char *) "d", NULL
11024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
11026 if (!SWIG_IsOK(res1
)) {
11027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
11029 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
11030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11031 if (!SWIG_IsOK(ecode2
)) {
11032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
11034 arg2
= static_cast< int >(val2
);
11036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11037 (arg1
)->SetDepth(arg2
);
11038 wxPyEndAllowThreads(__tstate
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11041 resultobj
= SWIG_Py_Void();
11048 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11049 PyObject
*resultobj
= 0;
11050 wxCursor
*arg1
= (wxCursor
*) 0 ;
11055 PyObject
* obj0
= 0 ;
11056 PyObject
* obj1
= 0 ;
11057 char * kwnames
[] = {
11058 (char *) "self",(char *) "size", NULL
11061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
11063 if (!SWIG_IsOK(res1
)) {
11064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
11066 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
11069 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 (arg1
)->SetSize((wxSize
const &)*arg2
);
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11077 resultobj
= SWIG_Py_Void();
11084 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11086 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11087 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
11088 return SWIG_Py_Void();
11091 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11092 return SWIG_Python_InitShadowInstance(args
);
11095 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11096 PyObject
*resultobj
= 0;
11097 int arg1
= (int) 0 ;
11098 int arg2
= (int) 0 ;
11099 int arg3
= (int) 0 ;
11100 int arg4
= (int) 0 ;
11101 wxRegion
*result
= 0 ;
11110 PyObject
* obj0
= 0 ;
11111 PyObject
* obj1
= 0 ;
11112 PyObject
* obj2
= 0 ;
11113 PyObject
* obj3
= 0 ;
11114 char * kwnames
[] = {
11115 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11120 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11121 if (!SWIG_IsOK(ecode1
)) {
11122 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
11124 arg1
= static_cast< int >(val1
);
11127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11128 if (!SWIG_IsOK(ecode2
)) {
11129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
11131 arg2
= static_cast< int >(val2
);
11134 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11135 if (!SWIG_IsOK(ecode3
)) {
11136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
11138 arg3
= static_cast< int >(val3
);
11141 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11142 if (!SWIG_IsOK(ecode4
)) {
11143 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
11145 arg4
= static_cast< int >(val4
);
11148 if (!wxPyCheckForApp()) SWIG_fail
;
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
11151 wxPyEndAllowThreads(__tstate
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
11161 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11162 PyObject
*resultobj
= 0;
11163 wxBitmap
*arg1
= 0 ;
11164 wxRegion
*result
= 0 ;
11167 PyObject
* obj0
= 0 ;
11168 char * kwnames
[] = {
11169 (char *) "bmp", NULL
11172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
11173 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11174 if (!SWIG_IsOK(res1
)) {
11175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11180 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
11182 if (!wxPyCheckForApp()) SWIG_fail
;
11183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11184 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
11185 wxPyEndAllowThreads(__tstate
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11195 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11196 PyObject
*resultobj
= 0;
11197 wxBitmap
*arg1
= 0 ;
11198 wxColour
*arg2
= 0 ;
11199 int arg3
= (int) 0 ;
11200 wxRegion
*result
= 0 ;
11206 PyObject
* obj0
= 0 ;
11207 PyObject
* obj1
= 0 ;
11208 PyObject
* obj2
= 0 ;
11209 char * kwnames
[] = {
11210 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11214 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11215 if (!SWIG_IsOK(res1
)) {
11216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11221 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
11224 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11228 if (!SWIG_IsOK(ecode3
)) {
11229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
11231 arg3
= static_cast< int >(val3
);
11234 if (!wxPyCheckForApp()) SWIG_fail
;
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11247 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11248 PyObject
*resultobj
= 0;
11250 wxPoint
*arg2
= (wxPoint
*) 0 ;
11251 int arg3
= (int) wxWINDING_RULE
;
11252 wxRegion
*result
= 0 ;
11255 PyObject
* obj0
= 0 ;
11256 PyObject
* obj1
= 0 ;
11257 char * kwnames
[] = {
11258 (char *) "points",(char *) "fillStyle", NULL
11261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11263 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
11264 if (arg2
== NULL
) SWIG_fail
;
11267 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
11268 if (!SWIG_IsOK(ecode3
)) {
11269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
11271 arg3
= static_cast< int >(val3
);
11274 if (!wxPyCheckForApp()) SWIG_fail
;
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11282 if (arg2
) delete [] arg2
;
11287 if (arg2
) delete [] arg2
;
11293 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11294 PyObject
*resultobj
= 0;
11295 wxRegion
*arg1
= (wxRegion
*) 0 ;
11298 PyObject
*swig_obj
[1] ;
11300 if (!args
) SWIG_fail
;
11301 swig_obj
[0] = args
;
11302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
11303 if (!SWIG_IsOK(res1
)) {
11304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
11306 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11311 wxPyEndAllowThreads(__tstate
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11314 resultobj
= SWIG_Py_Void();
11321 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11322 PyObject
*resultobj
= 0;
11323 wxRegion
*arg1
= (wxRegion
*) 0 ;
11326 PyObject
*swig_obj
[1] ;
11328 if (!args
) SWIG_fail
;
11329 swig_obj
[0] = args
;
11330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11331 if (!SWIG_IsOK(res1
)) {
11332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
11334 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 wxPyEndAllowThreads(__tstate
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11341 resultobj
= SWIG_Py_Void();
11348 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11349 PyObject
*resultobj
= 0;
11350 wxRegion
*arg1
= (wxRegion
*) 0 ;
11360 PyObject
* obj0
= 0 ;
11361 PyObject
* obj1
= 0 ;
11362 PyObject
* obj2
= 0 ;
11363 char * kwnames
[] = {
11364 (char *) "self",(char *) "x",(char *) "y", NULL
11367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11369 if (!SWIG_IsOK(res1
)) {
11370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
11372 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11374 if (!SWIG_IsOK(ecode2
)) {
11375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
11377 arg2
= static_cast< int >(val2
);
11378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11379 if (!SWIG_IsOK(ecode3
)) {
11380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
11382 arg3
= static_cast< int >(val3
);
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
11386 wxPyEndAllowThreads(__tstate
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11398 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11399 PyObject
*resultobj
= 0;
11400 wxRegion
*arg1
= (wxRegion
*) 0 ;
11403 wxRegionContain result
;
11410 PyObject
* obj0
= 0 ;
11411 PyObject
* obj1
= 0 ;
11412 PyObject
* obj2
= 0 ;
11413 char * kwnames
[] = {
11414 (char *) "self",(char *) "x",(char *) "y", NULL
11417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11419 if (!SWIG_IsOK(res1
)) {
11420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
11422 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11424 if (!SWIG_IsOK(ecode2
)) {
11425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
11427 arg2
= static_cast< int >(val2
);
11428 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11429 if (!SWIG_IsOK(ecode3
)) {
11430 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
11432 arg3
= static_cast< int >(val3
);
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
11436 wxPyEndAllowThreads(__tstate
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11439 resultobj
= SWIG_From_int(static_cast< int >(result
));
11446 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11447 PyObject
*resultobj
= 0;
11448 wxRegion
*arg1
= (wxRegion
*) 0 ;
11449 wxPoint
*arg2
= 0 ;
11450 wxRegionContain result
;
11454 PyObject
* obj0
= 0 ;
11455 PyObject
* obj1
= 0 ;
11456 char * kwnames
[] = {
11457 (char *) "self",(char *) "pt", NULL
11460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11462 if (!SWIG_IsOK(res1
)) {
11463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
11465 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11468 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11472 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11476 resultobj
= SWIG_From_int(static_cast< int >(result
));
11483 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11484 PyObject
*resultobj
= 0;
11485 wxRegion
*arg1
= (wxRegion
*) 0 ;
11487 wxRegionContain result
;
11491 PyObject
* obj0
= 0 ;
11492 PyObject
* obj1
= 0 ;
11493 char * kwnames
[] = {
11494 (char *) "self",(char *) "rect", NULL
11497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11499 if (!SWIG_IsOK(res1
)) {
11500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11502 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11505 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11509 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
11510 wxPyEndAllowThreads(__tstate
);
11511 if (PyErr_Occurred()) SWIG_fail
;
11513 resultobj
= SWIG_From_int(static_cast< int >(result
));
11520 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11521 PyObject
*resultobj
= 0;
11522 wxRegion
*arg1
= (wxRegion
*) 0 ;
11527 wxRegionContain result
;
11538 PyObject
* obj0
= 0 ;
11539 PyObject
* obj1
= 0 ;
11540 PyObject
* obj2
= 0 ;
11541 PyObject
* obj3
= 0 ;
11542 PyObject
* obj4
= 0 ;
11543 char * kwnames
[] = {
11544 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11549 if (!SWIG_IsOK(res1
)) {
11550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
11552 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11553 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11554 if (!SWIG_IsOK(ecode2
)) {
11555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
11557 arg2
= static_cast< int >(val2
);
11558 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11559 if (!SWIG_IsOK(ecode3
)) {
11560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
11562 arg3
= static_cast< int >(val3
);
11563 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11564 if (!SWIG_IsOK(ecode4
)) {
11565 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
11567 arg4
= static_cast< int >(val4
);
11568 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11569 if (!SWIG_IsOK(ecode5
)) {
11570 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
11572 arg5
= static_cast< int >(val5
);
11574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11575 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
11576 wxPyEndAllowThreads(__tstate
);
11577 if (PyErr_Occurred()) SWIG_fail
;
11579 resultobj
= SWIG_From_int(static_cast< int >(result
));
11586 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11587 PyObject
*resultobj
= 0;
11588 wxRegion
*arg1
= (wxRegion
*) 0 ;
11592 PyObject
*swig_obj
[1] ;
11594 if (!args
) SWIG_fail
;
11595 swig_obj
[0] = args
;
11596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11597 if (!SWIG_IsOK(res1
)) {
11598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11600 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 result
= (arg1
)->GetBox();
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11614 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
= 0;
11616 wxRegion
*arg1
= (wxRegion
*) 0 ;
11632 PyObject
* obj0
= 0 ;
11633 PyObject
* obj1
= 0 ;
11634 PyObject
* obj2
= 0 ;
11635 PyObject
* obj3
= 0 ;
11636 PyObject
* obj4
= 0 ;
11637 char * kwnames
[] = {
11638 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11643 if (!SWIG_IsOK(res1
)) {
11644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11646 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11648 if (!SWIG_IsOK(ecode2
)) {
11649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11651 arg2
= static_cast< int >(val2
);
11652 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11653 if (!SWIG_IsOK(ecode3
)) {
11654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11656 arg3
= static_cast< int >(val3
);
11657 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11658 if (!SWIG_IsOK(ecode4
)) {
11659 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11661 arg4
= static_cast< int >(val4
);
11662 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11663 if (!SWIG_IsOK(ecode5
)) {
11664 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11666 arg5
= static_cast< int >(val5
);
11668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11669 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11670 wxPyEndAllowThreads(__tstate
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11682 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
*resultobj
= 0;
11684 wxRegion
*arg1
= (wxRegion
*) 0 ;
11690 PyObject
* obj0
= 0 ;
11691 PyObject
* obj1
= 0 ;
11692 char * kwnames
[] = {
11693 (char *) "self",(char *) "rect", NULL
11696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11698 if (!SWIG_IsOK(res1
)) {
11699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11701 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11704 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11708 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11709 wxPyEndAllowThreads(__tstate
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11721 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
= 0;
11723 wxRegion
*arg1
= (wxRegion
*) 0 ;
11724 wxRegion
*arg2
= 0 ;
11730 PyObject
* obj0
= 0 ;
11731 PyObject
* obj1
= 0 ;
11732 char * kwnames
[] = {
11733 (char *) "self",(char *) "region", NULL
11736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11738 if (!SWIG_IsOK(res1
)) {
11739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11741 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11742 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11743 if (!SWIG_IsOK(res2
)) {
11744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11749 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11752 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11765 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11766 PyObject
*resultobj
= 0;
11767 wxRegion
*arg1
= (wxRegion
*) 0 ;
11771 PyObject
*swig_obj
[1] ;
11773 if (!args
) SWIG_fail
;
11774 swig_obj
[0] = args
;
11775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11776 if (!SWIG_IsOK(res1
)) {
11777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11779 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11782 result
= (bool)(arg1
)->IsEmpty();
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11795 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11796 PyObject
*resultobj
= 0;
11797 wxRegion
*arg1
= (wxRegion
*) 0 ;
11798 wxRegion
*arg2
= 0 ;
11804 PyObject
* obj0
= 0 ;
11805 PyObject
* obj1
= 0 ;
11806 char * kwnames
[] = {
11807 (char *) "self",(char *) "region", NULL
11810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11812 if (!SWIG_IsOK(res1
)) {
11813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11815 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11816 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11817 if (!SWIG_IsOK(res2
)) {
11818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11821 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11823 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11826 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11827 wxPyEndAllowThreads(__tstate
);
11828 if (PyErr_Occurred()) SWIG_fail
;
11831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11839 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11840 PyObject
*resultobj
= 0;
11841 wxRegion
*arg1
= (wxRegion
*) 0 ;
11857 PyObject
* obj0
= 0 ;
11858 PyObject
* obj1
= 0 ;
11859 PyObject
* obj2
= 0 ;
11860 PyObject
* obj3
= 0 ;
11861 PyObject
* obj4
= 0 ;
11862 char * kwnames
[] = {
11863 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11871 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11873 if (!SWIG_IsOK(ecode2
)) {
11874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11876 arg2
= static_cast< int >(val2
);
11877 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11878 if (!SWIG_IsOK(ecode3
)) {
11879 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11881 arg3
= static_cast< int >(val3
);
11882 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11883 if (!SWIG_IsOK(ecode4
)) {
11884 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11886 arg4
= static_cast< int >(val4
);
11887 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11888 if (!SWIG_IsOK(ecode5
)) {
11889 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11891 arg5
= static_cast< int >(val5
);
11893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11894 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11895 wxPyEndAllowThreads(__tstate
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11907 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11908 PyObject
*resultobj
= 0;
11909 wxRegion
*arg1
= (wxRegion
*) 0 ;
11915 PyObject
* obj0
= 0 ;
11916 PyObject
* obj1
= 0 ;
11917 char * kwnames
[] = {
11918 (char *) "self",(char *) "rect", NULL
11921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11923 if (!SWIG_IsOK(res1
)) {
11924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11926 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11929 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11933 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11934 wxPyEndAllowThreads(__tstate
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11946 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11947 PyObject
*resultobj
= 0;
11948 wxRegion
*arg1
= (wxRegion
*) 0 ;
11949 wxRegion
*arg2
= 0 ;
11955 PyObject
* obj0
= 0 ;
11956 PyObject
* obj1
= 0 ;
11957 char * kwnames
[] = {
11958 (char *) "self",(char *) "region", NULL
11961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11963 if (!SWIG_IsOK(res1
)) {
11964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11966 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11967 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11968 if (!SWIG_IsOK(res2
)) {
11969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11972 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11974 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11990 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11991 PyObject
*resultobj
= 0;
11992 wxRegion
*arg1
= (wxRegion
*) 0 ;
12008 PyObject
* obj0
= 0 ;
12009 PyObject
* obj1
= 0 ;
12010 PyObject
* obj2
= 0 ;
12011 PyObject
* obj3
= 0 ;
12012 PyObject
* obj4
= 0 ;
12013 char * kwnames
[] = {
12014 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
12022 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12024 if (!SWIG_IsOK(ecode2
)) {
12025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
12027 arg2
= static_cast< int >(val2
);
12028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12029 if (!SWIG_IsOK(ecode3
)) {
12030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
12032 arg3
= static_cast< int >(val3
);
12033 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12034 if (!SWIG_IsOK(ecode4
)) {
12035 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
12037 arg4
= static_cast< int >(val4
);
12038 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12039 if (!SWIG_IsOK(ecode5
)) {
12040 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
12042 arg5
= static_cast< int >(val5
);
12044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12045 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
12046 wxPyEndAllowThreads(__tstate
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12058 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
= 0;
12060 wxRegion
*arg1
= (wxRegion
*) 0 ;
12066 PyObject
* obj0
= 0 ;
12067 PyObject
* obj1
= 0 ;
12068 char * kwnames
[] = {
12069 (char *) "self",(char *) "rect", NULL
12072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12074 if (!SWIG_IsOK(res1
)) {
12075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
12077 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12080 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12084 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
12085 wxPyEndAllowThreads(__tstate
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12097 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12098 PyObject
*resultobj
= 0;
12099 wxRegion
*arg1
= (wxRegion
*) 0 ;
12100 wxRegion
*arg2
= 0 ;
12106 PyObject
* obj0
= 0 ;
12107 PyObject
* obj1
= 0 ;
12108 char * kwnames
[] = {
12109 (char *) "self",(char *) "region", NULL
12112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12114 if (!SWIG_IsOK(res1
)) {
12115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
12117 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12118 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
12119 if (!SWIG_IsOK(res2
)) {
12120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12123 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12125 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12128 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
12129 wxPyEndAllowThreads(__tstate
);
12130 if (PyErr_Occurred()) SWIG_fail
;
12133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12141 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12142 PyObject
*resultobj
= 0;
12143 wxRegion
*arg1
= (wxRegion
*) 0 ;
12159 PyObject
* obj0
= 0 ;
12160 PyObject
* obj1
= 0 ;
12161 PyObject
* obj2
= 0 ;
12162 PyObject
* obj3
= 0 ;
12163 PyObject
* obj4
= 0 ;
12164 char * kwnames
[] = {
12165 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
12169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12170 if (!SWIG_IsOK(res1
)) {
12171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
12173 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12175 if (!SWIG_IsOK(ecode2
)) {
12176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
12178 arg2
= static_cast< int >(val2
);
12179 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12180 if (!SWIG_IsOK(ecode3
)) {
12181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
12183 arg3
= static_cast< int >(val3
);
12184 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12185 if (!SWIG_IsOK(ecode4
)) {
12186 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
12188 arg4
= static_cast< int >(val4
);
12189 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12190 if (!SWIG_IsOK(ecode5
)) {
12191 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
12193 arg5
= static_cast< int >(val5
);
12195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12196 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
12197 wxPyEndAllowThreads(__tstate
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12209 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12210 PyObject
*resultobj
= 0;
12211 wxRegion
*arg1
= (wxRegion
*) 0 ;
12217 PyObject
* obj0
= 0 ;
12218 PyObject
* obj1
= 0 ;
12219 char * kwnames
[] = {
12220 (char *) "self",(char *) "rect", NULL
12223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12225 if (!SWIG_IsOK(res1
)) {
12226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
12228 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12231 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12235 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
12236 wxPyEndAllowThreads(__tstate
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12248 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12249 PyObject
*resultobj
= 0;
12250 wxRegion
*arg1
= (wxRegion
*) 0 ;
12251 wxRegion
*arg2
= 0 ;
12257 PyObject
* obj0
= 0 ;
12258 PyObject
* obj1
= 0 ;
12259 char * kwnames
[] = {
12260 (char *) "self",(char *) "region", NULL
12263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12265 if (!SWIG_IsOK(res1
)) {
12266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
12268 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12269 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
12270 if (!SWIG_IsOK(res2
)) {
12271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12276 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
12278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12279 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
12280 wxPyEndAllowThreads(__tstate
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12292 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12293 PyObject
*resultobj
= 0;
12294 wxRegion
*arg1
= (wxRegion
*) 0 ;
12295 SwigValueWrapper
<wxBitmap
> result
;
12298 PyObject
*swig_obj
[1] ;
12300 if (!args
) SWIG_fail
;
12301 swig_obj
[0] = args
;
12302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12303 if (!SWIG_IsOK(res1
)) {
12304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12306 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12309 result
= (arg1
)->ConvertToBitmap();
12310 wxPyEndAllowThreads(__tstate
);
12311 if (PyErr_Occurred()) SWIG_fail
;
12313 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
12320 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12321 PyObject
*resultobj
= 0;
12322 wxRegion
*arg1
= (wxRegion
*) 0 ;
12323 wxBitmap
*arg2
= 0 ;
12329 PyObject
* obj0
= 0 ;
12330 PyObject
* obj1
= 0 ;
12331 char * kwnames
[] = {
12332 (char *) "self",(char *) "bmp", NULL
12335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12337 if (!SWIG_IsOK(res1
)) {
12338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12340 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12341 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12342 if (!SWIG_IsOK(res2
)) {
12343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12348 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12364 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12365 PyObject
*resultobj
= 0;
12366 wxRegion
*arg1
= (wxRegion
*) 0 ;
12367 wxBitmap
*arg2
= 0 ;
12368 wxColour
*arg3
= 0 ;
12369 int arg4
= (int) 0 ;
12378 PyObject
* obj0
= 0 ;
12379 PyObject
* obj1
= 0 ;
12380 PyObject
* obj2
= 0 ;
12381 PyObject
* obj3
= 0 ;
12382 char * kwnames
[] = {
12383 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
12386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12388 if (!SWIG_IsOK(res1
)) {
12389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
12391 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12392 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12393 if (!SWIG_IsOK(res2
)) {
12394 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12397 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12399 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12402 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12405 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12406 if (!SWIG_IsOK(ecode4
)) {
12407 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
12409 arg4
= static_cast< int >(val4
);
12412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12413 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12414 wxPyEndAllowThreads(__tstate
);
12415 if (PyErr_Occurred()) SWIG_fail
;
12418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12426 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12428 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12429 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
12430 return SWIG_Py_Void();
12433 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12434 return SWIG_Python_InitShadowInstance(args
);
12437 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12438 PyObject
*resultobj
= 0;
12439 wxRegion
*arg1
= 0 ;
12440 wxRegionIterator
*result
= 0 ;
12443 PyObject
* obj0
= 0 ;
12444 char * kwnames
[] = {
12445 (char *) "region", NULL
12448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
12449 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
12450 if (!SWIG_IsOK(res1
)) {
12451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12454 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12456 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12458 if (!wxPyCheckForApp()) SWIG_fail
;
12459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12460 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
12461 wxPyEndAllowThreads(__tstate
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
12471 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12472 PyObject
*resultobj
= 0;
12473 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12476 PyObject
*swig_obj
[1] ;
12478 if (!args
) SWIG_fail
;
12479 swig_obj
[0] = args
;
12480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
12481 if (!SWIG_IsOK(res1
)) {
12482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12484 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 resultobj
= SWIG_Py_Void();
12499 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12500 PyObject
*resultobj
= 0;
12501 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12505 PyObject
*swig_obj
[1] ;
12507 if (!args
) SWIG_fail
;
12508 swig_obj
[0] = args
;
12509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12510 if (!SWIG_IsOK(res1
)) {
12511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12513 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 result
= (int)(arg1
)->GetX();
12517 wxPyEndAllowThreads(__tstate
);
12518 if (PyErr_Occurred()) SWIG_fail
;
12520 resultobj
= SWIG_From_int(static_cast< int >(result
));
12527 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12528 PyObject
*resultobj
= 0;
12529 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12533 PyObject
*swig_obj
[1] ;
12535 if (!args
) SWIG_fail
;
12536 swig_obj
[0] = args
;
12537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12538 if (!SWIG_IsOK(res1
)) {
12539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12541 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12544 result
= (int)(arg1
)->GetY();
12545 wxPyEndAllowThreads(__tstate
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12548 resultobj
= SWIG_From_int(static_cast< int >(result
));
12555 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12556 PyObject
*resultobj
= 0;
12557 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12561 PyObject
*swig_obj
[1] ;
12563 if (!args
) SWIG_fail
;
12564 swig_obj
[0] = args
;
12565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12566 if (!SWIG_IsOK(res1
)) {
12567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12569 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12572 result
= (int)(arg1
)->GetW();
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12576 resultobj
= SWIG_From_int(static_cast< int >(result
));
12583 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12584 PyObject
*resultobj
= 0;
12585 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12589 PyObject
*swig_obj
[1] ;
12591 if (!args
) SWIG_fail
;
12592 swig_obj
[0] = args
;
12593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12594 if (!SWIG_IsOK(res1
)) {
12595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12597 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 result
= (int)(arg1
)->GetWidth();
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12604 resultobj
= SWIG_From_int(static_cast< int >(result
));
12611 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12612 PyObject
*resultobj
= 0;
12613 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12617 PyObject
*swig_obj
[1] ;
12619 if (!args
) SWIG_fail
;
12620 swig_obj
[0] = args
;
12621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12622 if (!SWIG_IsOK(res1
)) {
12623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12625 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 result
= (int)(arg1
)->GetH();
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12632 resultobj
= SWIG_From_int(static_cast< int >(result
));
12639 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12640 PyObject
*resultobj
= 0;
12641 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12645 PyObject
*swig_obj
[1] ;
12647 if (!args
) SWIG_fail
;
12648 swig_obj
[0] = args
;
12649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12650 if (!SWIG_IsOK(res1
)) {
12651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12653 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12656 result
= (int)(arg1
)->GetHeight();
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 resultobj
= SWIG_From_int(static_cast< int >(result
));
12667 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12668 PyObject
*resultobj
= 0;
12669 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12673 PyObject
*swig_obj
[1] ;
12675 if (!args
) SWIG_fail
;
12676 swig_obj
[0] = args
;
12677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12678 if (!SWIG_IsOK(res1
)) {
12679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12681 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 result
= (arg1
)->GetRect();
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12688 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12695 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12696 PyObject
*resultobj
= 0;
12697 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12701 PyObject
*swig_obj
[1] ;
12703 if (!args
) SWIG_fail
;
12704 swig_obj
[0] = args
;
12705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12706 if (!SWIG_IsOK(res1
)) {
12707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12709 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 result
= (bool)(arg1
)->HaveRects();
12713 wxPyEndAllowThreads(__tstate
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12725 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12726 PyObject
*resultobj
= 0;
12727 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12730 PyObject
*swig_obj
[1] ;
12732 if (!args
) SWIG_fail
;
12733 swig_obj
[0] = args
;
12734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12735 if (!SWIG_IsOK(res1
)) {
12736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12738 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 wxPyEndAllowThreads(__tstate
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12745 resultobj
= SWIG_Py_Void();
12752 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12753 PyObject
*resultobj
= 0;
12754 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12757 PyObject
*swig_obj
[1] ;
12759 if (!args
) SWIG_fail
;
12760 swig_obj
[0] = args
;
12761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12762 if (!SWIG_IsOK(res1
)) {
12763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12765 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12768 wxRegionIterator_Next(arg1
);
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12772 resultobj
= SWIG_Py_Void();
12779 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12780 PyObject
*resultobj
= 0;
12781 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12785 PyObject
*swig_obj
[1] ;
12787 if (!args
) SWIG_fail
;
12788 swig_obj
[0] = args
;
12789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12790 if (!SWIG_IsOK(res1
)) {
12791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12793 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12796 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12797 wxPyEndAllowThreads(__tstate
);
12798 if (PyErr_Occurred()) SWIG_fail
;
12801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12809 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12811 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12812 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12813 return SWIG_Py_Void();
12816 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12817 return SWIG_Python_InitShadowInstance(args
);
12820 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12821 PyObject
*resultobj
= 0;
12822 wxNativeFontInfo
*result
= 0 ;
12824 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12838 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12839 PyObject
*resultobj
= 0;
12840 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12843 PyObject
*swig_obj
[1] ;
12845 if (!args
) SWIG_fail
;
12846 swig_obj
[0] = args
;
12847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12848 if (!SWIG_IsOK(res1
)) {
12849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12851 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12859 resultobj
= SWIG_Py_Void();
12866 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12867 PyObject
*resultobj
= 0;
12868 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12871 PyObject
*swig_obj
[1] ;
12873 if (!args
) SWIG_fail
;
12874 swig_obj
[0] = args
;
12875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12876 if (!SWIG_IsOK(res1
)) {
12877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12879 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12883 wxPyEndAllowThreads(__tstate
);
12884 if (PyErr_Occurred()) SWIG_fail
;
12886 resultobj
= SWIG_Py_Void();
12893 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12894 PyObject
*resultobj
= 0;
12895 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12901 PyObject
* obj0
= 0 ;
12902 PyObject
* obj1
= 0 ;
12903 char * kwnames
[] = {
12904 (char *) "self",(char *) "font", NULL
12907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12909 if (!SWIG_IsOK(res1
)) {
12910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12912 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12913 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12914 if (!SWIG_IsOK(res2
)) {
12915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12920 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12924 wxPyEndAllowThreads(__tstate
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12927 resultobj
= SWIG_Py_Void();
12934 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12935 PyObject
*resultobj
= 0;
12936 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12940 PyObject
*swig_obj
[1] ;
12942 if (!args
) SWIG_fail
;
12943 swig_obj
[0] = args
;
12944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12945 if (!SWIG_IsOK(res1
)) {
12946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12948 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12951 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12952 wxPyEndAllowThreads(__tstate
);
12953 if (PyErr_Occurred()) SWIG_fail
;
12955 resultobj
= SWIG_From_int(static_cast< int >(result
));
12962 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12963 PyObject
*resultobj
= 0;
12964 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12968 PyObject
*swig_obj
[1] ;
12970 if (!args
) SWIG_fail
;
12971 swig_obj
[0] = args
;
12972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12973 if (!SWIG_IsOK(res1
)) {
12974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12976 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12979 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12980 wxPyEndAllowThreads(__tstate
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12983 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12990 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12991 PyObject
*resultobj
= 0;
12992 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12993 wxFontStyle result
;
12996 PyObject
*swig_obj
[1] ;
12998 if (!args
) SWIG_fail
;
12999 swig_obj
[0] = args
;
13000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13001 if (!SWIG_IsOK(res1
)) {
13002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13004 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13007 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 resultobj
= SWIG_From_int(static_cast< int >(result
));
13018 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13019 PyObject
*resultobj
= 0;
13020 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13021 wxFontWeight result
;
13024 PyObject
*swig_obj
[1] ;
13026 if (!args
) SWIG_fail
;
13027 swig_obj
[0] = args
;
13028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13029 if (!SWIG_IsOK(res1
)) {
13030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13032 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13035 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
13036 wxPyEndAllowThreads(__tstate
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13039 resultobj
= SWIG_From_int(static_cast< int >(result
));
13046 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13047 PyObject
*resultobj
= 0;
13048 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13052 PyObject
*swig_obj
[1] ;
13054 if (!args
) SWIG_fail
;
13055 swig_obj
[0] = args
;
13056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13057 if (!SWIG_IsOK(res1
)) {
13058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13060 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13063 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
13064 wxPyEndAllowThreads(__tstate
);
13065 if (PyErr_Occurred()) SWIG_fail
;
13068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13076 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13077 PyObject
*resultobj
= 0;
13078 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13082 PyObject
*swig_obj
[1] ;
13084 if (!args
) SWIG_fail
;
13085 swig_obj
[0] = args
;
13086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13087 if (!SWIG_IsOK(res1
)) {
13088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13090 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13093 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13099 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13101 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13110 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13111 PyObject
*resultobj
= 0;
13112 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13113 wxFontFamily result
;
13116 PyObject
*swig_obj
[1] ;
13118 if (!args
) SWIG_fail
;
13119 swig_obj
[0] = args
;
13120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13121 if (!SWIG_IsOK(res1
)) {
13122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13124 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13127 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
13128 wxPyEndAllowThreads(__tstate
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13131 resultobj
= SWIG_From_int(static_cast< int >(result
));
13138 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13139 PyObject
*resultobj
= 0;
13140 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13141 wxFontEncoding result
;
13144 PyObject
*swig_obj
[1] ;
13146 if (!args
) SWIG_fail
;
13147 swig_obj
[0] = args
;
13148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13149 if (!SWIG_IsOK(res1
)) {
13150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13152 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
13156 wxPyEndAllowThreads(__tstate
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13159 resultobj
= SWIG_From_int(static_cast< int >(result
));
13166 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13167 PyObject
*resultobj
= 0;
13168 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13174 PyObject
* obj0
= 0 ;
13175 PyObject
* obj1
= 0 ;
13176 char * kwnames
[] = {
13177 (char *) "self",(char *) "pointsize", NULL
13180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13182 if (!SWIG_IsOK(res1
)) {
13183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13185 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13187 if (!SWIG_IsOK(ecode2
)) {
13188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
13190 arg2
= static_cast< int >(val2
);
13192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13193 (arg1
)->SetPointSize(arg2
);
13194 wxPyEndAllowThreads(__tstate
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13197 resultobj
= SWIG_Py_Void();
13204 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13205 PyObject
*resultobj
= 0;
13206 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13211 PyObject
* obj0
= 0 ;
13212 PyObject
* obj1
= 0 ;
13213 char * kwnames
[] = {
13214 (char *) "self",(char *) "pixelSize", NULL
13217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13219 if (!SWIG_IsOK(res1
)) {
13220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13222 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13225 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13233 resultobj
= SWIG_Py_Void();
13240 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13241 PyObject
*resultobj
= 0;
13242 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13248 PyObject
* obj0
= 0 ;
13249 PyObject
* obj1
= 0 ;
13250 char * kwnames
[] = {
13251 (char *) "self",(char *) "style", NULL
13254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13256 if (!SWIG_IsOK(res1
)) {
13257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13259 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13261 if (!SWIG_IsOK(ecode2
)) {
13262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
13264 arg2
= static_cast< wxFontStyle
>(val2
);
13266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13267 (arg1
)->SetStyle(arg2
);
13268 wxPyEndAllowThreads(__tstate
);
13269 if (PyErr_Occurred()) SWIG_fail
;
13271 resultobj
= SWIG_Py_Void();
13278 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13279 PyObject
*resultobj
= 0;
13280 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13281 wxFontWeight arg2
;
13286 PyObject
* obj0
= 0 ;
13287 PyObject
* obj1
= 0 ;
13288 char * kwnames
[] = {
13289 (char *) "self",(char *) "weight", NULL
13292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13294 if (!SWIG_IsOK(res1
)) {
13295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13297 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13299 if (!SWIG_IsOK(ecode2
)) {
13300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
13302 arg2
= static_cast< wxFontWeight
>(val2
);
13304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13305 (arg1
)->SetWeight(arg2
);
13306 wxPyEndAllowThreads(__tstate
);
13307 if (PyErr_Occurred()) SWIG_fail
;
13309 resultobj
= SWIG_Py_Void();
13316 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13317 PyObject
*resultobj
= 0;
13318 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13324 PyObject
* obj0
= 0 ;
13325 PyObject
* obj1
= 0 ;
13326 char * kwnames
[] = {
13327 (char *) "self",(char *) "underlined", NULL
13330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13332 if (!SWIG_IsOK(res1
)) {
13333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13335 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13336 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13337 if (!SWIG_IsOK(ecode2
)) {
13338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
13340 arg2
= static_cast< bool >(val2
);
13342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13343 (arg1
)->SetUnderlined(arg2
);
13344 wxPyEndAllowThreads(__tstate
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 resultobj
= SWIG_Py_Void();
13354 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
= 0;
13356 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13361 PyObject
* obj0
= 0 ;
13362 PyObject
* obj1
= 0 ;
13363 char * kwnames
[] = {
13364 (char *) "self",(char *) "facename", NULL
13367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13369 if (!SWIG_IsOK(res1
)) {
13370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13372 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13374 wxString
* sptr
= wxString_in_helper(obj1
);
13375 if (sptr
== NULL
) SWIG_fail
;
13380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 result
= (bool)(arg1
)->SetFaceName(arg2
);
13382 wxPyEndAllowThreads(__tstate
);
13383 if (PyErr_Occurred()) SWIG_fail
;
13386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13394 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
= 0;
13396 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13397 wxFontFamily arg2
;
13402 PyObject
* obj0
= 0 ;
13403 PyObject
* obj1
= 0 ;
13404 char * kwnames
[] = {
13405 (char *) "self",(char *) "family", NULL
13408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13410 if (!SWIG_IsOK(res1
)) {
13411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13413 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13415 if (!SWIG_IsOK(ecode2
)) {
13416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
13418 arg2
= static_cast< wxFontFamily
>(val2
);
13420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13421 (arg1
)->SetFamily(arg2
);
13422 wxPyEndAllowThreads(__tstate
);
13423 if (PyErr_Occurred()) SWIG_fail
;
13425 resultobj
= SWIG_Py_Void();
13432 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13433 PyObject
*resultobj
= 0;
13434 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13435 wxFontEncoding arg2
;
13440 PyObject
* obj0
= 0 ;
13441 PyObject
* obj1
= 0 ;
13442 char * kwnames
[] = {
13443 (char *) "self",(char *) "encoding", NULL
13446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13448 if (!SWIG_IsOK(res1
)) {
13449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13451 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13453 if (!SWIG_IsOK(ecode2
)) {
13454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13456 arg2
= static_cast< wxFontEncoding
>(val2
);
13458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13459 (arg1
)->SetEncoding(arg2
);
13460 wxPyEndAllowThreads(__tstate
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13463 resultobj
= SWIG_Py_Void();
13470 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13471 PyObject
*resultobj
= 0;
13472 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13473 wxString
*arg2
= 0 ;
13477 bool temp2
= false ;
13478 PyObject
* obj0
= 0 ;
13479 PyObject
* obj1
= 0 ;
13480 char * kwnames
[] = {
13481 (char *) "self",(char *) "s", NULL
13484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13486 if (!SWIG_IsOK(res1
)) {
13487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13489 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13491 arg2
= wxString_in_helper(obj1
);
13492 if (arg2
== NULL
) SWIG_fail
;
13496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13497 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13498 wxPyEndAllowThreads(__tstate
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13518 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13519 PyObject
*resultobj
= 0;
13520 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13524 PyObject
*swig_obj
[1] ;
13526 if (!args
) SWIG_fail
;
13527 swig_obj
[0] = args
;
13528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13529 if (!SWIG_IsOK(res1
)) {
13530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13532 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13535 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
13536 wxPyEndAllowThreads(__tstate
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13541 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13543 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13552 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13553 PyObject
*resultobj
= 0;
13554 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13558 PyObject
*swig_obj
[1] ;
13560 if (!args
) SWIG_fail
;
13561 swig_obj
[0] = args
;
13562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13563 if (!SWIG_IsOK(res1
)) {
13564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13566 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13569 result
= wxNativeFontInfo___str__(arg1
);
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13575 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13577 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13586 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13587 PyObject
*resultobj
= 0;
13588 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13589 wxString
*arg2
= 0 ;
13593 bool temp2
= false ;
13594 PyObject
* obj0
= 0 ;
13595 PyObject
* obj1
= 0 ;
13596 char * kwnames
[] = {
13597 (char *) "self",(char *) "s", NULL
13600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13602 if (!SWIG_IsOK(res1
)) {
13603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13605 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13607 arg2
= wxString_in_helper(obj1
);
13608 if (arg2
== NULL
) SWIG_fail
;
13612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13613 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
13614 wxPyEndAllowThreads(__tstate
);
13615 if (PyErr_Occurred()) SWIG_fail
;
13618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13634 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13635 PyObject
*resultobj
= 0;
13636 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13640 PyObject
*swig_obj
[1] ;
13642 if (!args
) SWIG_fail
;
13643 swig_obj
[0] = args
;
13644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13645 if (!SWIG_IsOK(res1
)) {
13646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13648 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13651 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
13652 wxPyEndAllowThreads(__tstate
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13657 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13659 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13668 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13670 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13671 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13672 return SWIG_Py_Void();
13675 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13676 return SWIG_Python_InitShadowInstance(args
);
13679 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13680 PyObject
*resultobj
= 0;
13681 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13682 wxString
*arg2
= (wxString
*) 0 ;
13685 bool temp2
= false ;
13686 PyObject
*swig_obj
[2] ;
13688 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13690 if (!SWIG_IsOK(res1
)) {
13691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13693 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13695 arg2
= wxString_in_helper(swig_obj
[1]);
13696 if (arg2
== NULL
) SWIG_fail
;
13699 if (arg1
) (arg1
)->facename
= *arg2
;
13701 resultobj
= SWIG_Py_Void();
13716 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13717 PyObject
*resultobj
= 0;
13718 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13719 wxString
*result
= 0 ;
13722 PyObject
*swig_obj
[1] ;
13724 if (!args
) SWIG_fail
;
13725 swig_obj
[0] = args
;
13726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13727 if (!SWIG_IsOK(res1
)) {
13728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13730 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13731 result
= (wxString
*)& ((arg1
)->facename
);
13734 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13736 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13745 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13746 PyObject
*resultobj
= 0;
13747 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13748 wxFontEncoding arg2
;
13753 PyObject
*swig_obj
[2] ;
13755 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13757 if (!SWIG_IsOK(res1
)) {
13758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13760 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13761 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13762 if (!SWIG_IsOK(ecode2
)) {
13763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13765 arg2
= static_cast< wxFontEncoding
>(val2
);
13766 if (arg1
) (arg1
)->encoding
= arg2
;
13768 resultobj
= SWIG_Py_Void();
13775 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13776 PyObject
*resultobj
= 0;
13777 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13778 wxFontEncoding result
;
13781 PyObject
*swig_obj
[1] ;
13783 if (!args
) SWIG_fail
;
13784 swig_obj
[0] = args
;
13785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13786 if (!SWIG_IsOK(res1
)) {
13787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13789 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13790 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13791 resultobj
= SWIG_From_int(static_cast< int >(result
));
13798 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13799 PyObject
*resultobj
= 0;
13800 wxNativeEncodingInfo
*result
= 0 ;
13802 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13805 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13806 wxPyEndAllowThreads(__tstate
);
13807 if (PyErr_Occurred()) SWIG_fail
;
13809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13816 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13817 PyObject
*resultobj
= 0;
13818 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13821 PyObject
*swig_obj
[1] ;
13823 if (!args
) SWIG_fail
;
13824 swig_obj
[0] = args
;
13825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13826 if (!SWIG_IsOK(res1
)) {
13827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13829 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13834 wxPyEndAllowThreads(__tstate
);
13835 if (PyErr_Occurred()) SWIG_fail
;
13837 resultobj
= SWIG_Py_Void();
13844 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13845 PyObject
*resultobj
= 0;
13846 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13847 wxString
*arg2
= 0 ;
13851 bool temp2
= false ;
13852 PyObject
* obj0
= 0 ;
13853 PyObject
* obj1
= 0 ;
13854 char * kwnames
[] = {
13855 (char *) "self",(char *) "s", NULL
13858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13860 if (!SWIG_IsOK(res1
)) {
13861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13863 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13865 arg2
= wxString_in_helper(obj1
);
13866 if (arg2
== NULL
) SWIG_fail
;
13870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13871 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13872 wxPyEndAllowThreads(__tstate
);
13873 if (PyErr_Occurred()) SWIG_fail
;
13876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13892 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13893 PyObject
*resultobj
= 0;
13894 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13898 PyObject
*swig_obj
[1] ;
13900 if (!args
) SWIG_fail
;
13901 swig_obj
[0] = args
;
13902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13903 if (!SWIG_IsOK(res1
)) {
13904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13906 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13909 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13910 wxPyEndAllowThreads(__tstate
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13915 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13917 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13926 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13928 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13929 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13930 return SWIG_Py_Void();
13933 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13934 return SWIG_Python_InitShadowInstance(args
);
13937 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13938 PyObject
*resultobj
= 0;
13939 wxFontEncoding arg1
;
13940 wxNativeEncodingInfo
*result
= 0 ;
13943 PyObject
* obj0
= 0 ;
13944 char * kwnames
[] = {
13945 (char *) "encoding", NULL
13948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13949 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13950 if (!SWIG_IsOK(ecode1
)) {
13951 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13953 arg1
= static_cast< wxFontEncoding
>(val1
);
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13967 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13968 PyObject
*resultobj
= 0;
13969 wxNativeEncodingInfo
*arg1
= 0 ;
13973 PyObject
* obj0
= 0 ;
13974 char * kwnames
[] = {
13975 (char *) "info", NULL
13978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13979 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13980 if (!SWIG_IsOK(res1
)) {
13981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13986 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13989 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13990 wxPyEndAllowThreads(__tstate
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14002 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14003 PyObject
*resultobj
= 0;
14004 wxFontMapper
*result
= 0 ;
14006 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
14008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14009 result
= (wxFontMapper
*)new wxFontMapper();
14010 wxPyEndAllowThreads(__tstate
);
14011 if (PyErr_Occurred()) SWIG_fail
;
14013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
14020 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14021 PyObject
*resultobj
= 0;
14022 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14025 PyObject
*swig_obj
[1] ;
14027 if (!args
) SWIG_fail
;
14028 swig_obj
[0] = args
;
14029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
14030 if (!SWIG_IsOK(res1
)) {
14031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14033 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14038 wxPyEndAllowThreads(__tstate
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14041 resultobj
= SWIG_Py_Void();
14048 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14049 PyObject
*resultobj
= 0;
14050 wxFontMapper
*result
= 0 ;
14052 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
14054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14055 result
= (wxFontMapper
*)wxFontMapper::Get();
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14066 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14067 PyObject
*resultobj
= 0;
14068 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14069 wxFontMapper
*result
= 0 ;
14072 PyObject
* obj0
= 0 ;
14073 char * kwnames
[] = {
14074 (char *) "mapper", NULL
14077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
14078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14079 if (!SWIG_IsOK(res1
)) {
14080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14082 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14096 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14097 PyObject
*resultobj
= 0;
14098 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14099 wxString
*arg2
= 0 ;
14100 bool arg3
= (bool) true ;
14101 wxFontEncoding result
;
14104 bool temp2
= false ;
14107 PyObject
* obj0
= 0 ;
14108 PyObject
* obj1
= 0 ;
14109 PyObject
* obj2
= 0 ;
14110 char * kwnames
[] = {
14111 (char *) "self",(char *) "charset",(char *) "interactive", NULL
14114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14116 if (!SWIG_IsOK(res1
)) {
14117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14119 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14121 arg2
= wxString_in_helper(obj1
);
14122 if (arg2
== NULL
) SWIG_fail
;
14126 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14127 if (!SWIG_IsOK(ecode3
)) {
14128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
14130 arg3
= static_cast< bool >(val3
);
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
14135 wxPyEndAllowThreads(__tstate
);
14136 if (PyErr_Occurred()) SWIG_fail
;
14138 resultobj
= SWIG_From_int(static_cast< int >(result
));
14153 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14154 PyObject
*resultobj
= 0;
14157 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
14161 wxPyEndAllowThreads(__tstate
);
14162 if (PyErr_Occurred()) SWIG_fail
;
14164 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14171 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14172 PyObject
*resultobj
= 0;
14174 wxFontEncoding result
;
14177 PyObject
* obj0
= 0 ;
14178 char * kwnames
[] = {
14182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
14183 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
14184 if (!SWIG_IsOK(ecode1
)) {
14185 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
14187 arg1
= static_cast< size_t >(val1
);
14189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14190 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14194 resultobj
= SWIG_From_int(static_cast< int >(result
));
14201 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
*resultobj
= 0;
14203 wxFontEncoding arg1
;
14207 PyObject
* obj0
= 0 ;
14208 char * kwnames
[] = {
14209 (char *) "encoding", NULL
14212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
14213 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14214 if (!SWIG_IsOK(ecode1
)) {
14215 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14217 arg1
= static_cast< wxFontEncoding
>(val1
);
14219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14220 result
= wxFontMapper::GetEncodingName(arg1
);
14221 wxPyEndAllowThreads(__tstate
);
14222 if (PyErr_Occurred()) SWIG_fail
;
14226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14237 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14238 PyObject
*resultobj
= 0;
14239 wxFontEncoding arg1
;
14243 PyObject
* obj0
= 0 ;
14244 char * kwnames
[] = {
14245 (char *) "encoding", NULL
14248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
14249 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14250 if (!SWIG_IsOK(ecode1
)) {
14251 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14253 arg1
= static_cast< wxFontEncoding
>(val1
);
14255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14256 result
= wxFontMapper::GetEncodingDescription(arg1
);
14257 wxPyEndAllowThreads(__tstate
);
14258 if (PyErr_Occurred()) SWIG_fail
;
14262 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14264 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14273 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14274 PyObject
*resultobj
= 0;
14275 wxString
*arg1
= 0 ;
14276 wxFontEncoding result
;
14277 bool temp1
= false ;
14278 PyObject
* obj0
= 0 ;
14279 char * kwnames
[] = {
14280 (char *) "name", NULL
14283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
14285 arg1
= wxString_in_helper(obj0
);
14286 if (arg1
== NULL
) SWIG_fail
;
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14295 resultobj
= SWIG_From_int(static_cast< int >(result
));
14310 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14311 PyObject
*resultobj
= 0;
14312 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14313 wxString
*arg2
= 0 ;
14316 bool temp2
= false ;
14317 PyObject
* obj0
= 0 ;
14318 PyObject
* obj1
= 0 ;
14319 char * kwnames
[] = {
14320 (char *) "self",(char *) "prefix", NULL
14323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14325 if (!SWIG_IsOK(res1
)) {
14326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14328 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14330 arg2
= wxString_in_helper(obj1
);
14331 if (arg2
== NULL
) SWIG_fail
;
14335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14336 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
14337 wxPyEndAllowThreads(__tstate
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14340 resultobj
= SWIG_Py_Void();
14355 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14356 PyObject
*resultobj
= 0;
14359 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 result
= wxFontMapper::GetDefaultConfigPath();
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14379 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
= 0;
14381 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14382 wxFontEncoding arg2
;
14383 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14384 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14385 bool arg4
= (bool) true ;
14386 PyObject
*result
= 0 ;
14391 bool temp3
= false ;
14394 PyObject
* obj0
= 0 ;
14395 PyObject
* obj1
= 0 ;
14396 PyObject
* obj2
= 0 ;
14397 PyObject
* obj3
= 0 ;
14398 char * kwnames
[] = {
14399 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
14402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14404 if (!SWIG_IsOK(res1
)) {
14405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14407 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14409 if (!SWIG_IsOK(ecode2
)) {
14410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14412 arg2
= static_cast< wxFontEncoding
>(val2
);
14415 arg3
= wxString_in_helper(obj2
);
14416 if (arg3
== NULL
) SWIG_fail
;
14421 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14422 if (!SWIG_IsOK(ecode4
)) {
14423 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
14425 arg4
= static_cast< bool >(val4
);
14428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14429 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14430 wxPyEndAllowThreads(__tstate
);
14431 if (PyErr_Occurred()) SWIG_fail
;
14433 resultobj
= result
;
14448 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14449 PyObject
*resultobj
= 0;
14450 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14451 wxFontEncoding arg2
;
14452 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14453 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14459 bool temp3
= false ;
14460 PyObject
* obj0
= 0 ;
14461 PyObject
* obj1
= 0 ;
14462 PyObject
* obj2
= 0 ;
14463 char * kwnames
[] = {
14464 (char *) "self",(char *) "encoding",(char *) "facename", NULL
14467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14469 if (!SWIG_IsOK(res1
)) {
14470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14472 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14474 if (!SWIG_IsOK(ecode2
)) {
14475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14477 arg2
= static_cast< wxFontEncoding
>(val2
);
14480 arg3
= wxString_in_helper(obj2
);
14481 if (arg3
== NULL
) SWIG_fail
;
14486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14487 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
14488 wxPyEndAllowThreads(__tstate
);
14489 if (PyErr_Occurred()) SWIG_fail
;
14492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14508 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14509 PyObject
*resultobj
= 0;
14510 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14511 wxWindow
*arg2
= (wxWindow
*) 0 ;
14516 PyObject
* obj0
= 0 ;
14517 PyObject
* obj1
= 0 ;
14518 char * kwnames
[] = {
14519 (char *) "self",(char *) "parent", NULL
14522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14524 if (!SWIG_IsOK(res1
)) {
14525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14527 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14528 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14529 if (!SWIG_IsOK(res2
)) {
14530 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
14532 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14535 (arg1
)->SetDialogParent(arg2
);
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14539 resultobj
= SWIG_Py_Void();
14546 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
= 0;
14548 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14549 wxString
*arg2
= 0 ;
14552 bool temp2
= false ;
14553 PyObject
* obj0
= 0 ;
14554 PyObject
* obj1
= 0 ;
14555 char * kwnames
[] = {
14556 (char *) "self",(char *) "title", NULL
14559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14561 if (!SWIG_IsOK(res1
)) {
14562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14564 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14566 arg2
= wxString_in_helper(obj1
);
14567 if (arg2
== NULL
) SWIG_fail
;
14571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14572 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
14573 wxPyEndAllowThreads(__tstate
);
14574 if (PyErr_Occurred()) SWIG_fail
;
14576 resultobj
= SWIG_Py_Void();
14591 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14593 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14594 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
14595 return SWIG_Py_Void();
14598 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14599 return SWIG_Python_InitShadowInstance(args
);
14602 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14603 PyObject
*resultobj
= 0;
14608 bool arg5
= (bool) false ;
14609 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14610 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14611 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14612 wxFont
*result
= 0 ;
14623 bool temp6
= false ;
14626 PyObject
* obj0
= 0 ;
14627 PyObject
* obj1
= 0 ;
14628 PyObject
* obj2
= 0 ;
14629 PyObject
* obj3
= 0 ;
14630 PyObject
* obj4
= 0 ;
14631 PyObject
* obj5
= 0 ;
14632 PyObject
* obj6
= 0 ;
14633 char * kwnames
[] = {
14634 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
14637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14638 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14639 if (!SWIG_IsOK(ecode1
)) {
14640 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
14642 arg1
= static_cast< int >(val1
);
14643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14644 if (!SWIG_IsOK(ecode2
)) {
14645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
14647 arg2
= static_cast< int >(val2
);
14648 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14649 if (!SWIG_IsOK(ecode3
)) {
14650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
14652 arg3
= static_cast< int >(val3
);
14653 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14654 if (!SWIG_IsOK(ecode4
)) {
14655 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14657 arg4
= static_cast< int >(val4
);
14659 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14660 if (!SWIG_IsOK(ecode5
)) {
14661 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14663 arg5
= static_cast< bool >(val5
);
14667 arg6
= wxString_in_helper(obj5
);
14668 if (arg6
== NULL
) SWIG_fail
;
14673 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14674 if (!SWIG_IsOK(ecode7
)) {
14675 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14677 arg7
= static_cast< wxFontEncoding
>(val7
);
14680 if (!wxPyCheckForApp()) SWIG_fail
;
14681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14682 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14683 wxPyEndAllowThreads(__tstate
);
14684 if (PyErr_Occurred()) SWIG_fail
;
14686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14701 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14702 PyObject
*resultobj
= 0;
14703 wxFont
*arg1
= (wxFont
*) 0 ;
14706 PyObject
*swig_obj
[1] ;
14708 if (!args
) SWIG_fail
;
14709 swig_obj
[0] = args
;
14710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14711 if (!SWIG_IsOK(res1
)) {
14712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14714 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14722 resultobj
= SWIG_Py_Void();
14729 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14730 PyObject
*resultobj
= 0;
14731 wxNativeFontInfo
*arg1
= 0 ;
14732 wxFont
*result
= 0 ;
14735 PyObject
* obj0
= 0 ;
14736 char * kwnames
[] = {
14737 (char *) "info", NULL
14740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14741 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14742 if (!SWIG_IsOK(res1
)) {
14743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14748 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14750 if (!wxPyCheckForApp()) SWIG_fail
;
14751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14752 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14753 wxPyEndAllowThreads(__tstate
);
14754 if (PyErr_Occurred()) SWIG_fail
;
14756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14763 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14764 PyObject
*resultobj
= 0;
14765 wxString
*arg1
= 0 ;
14766 wxFont
*result
= 0 ;
14767 bool temp1
= false ;
14768 PyObject
* obj0
= 0 ;
14769 char * kwnames
[] = {
14770 (char *) "info", NULL
14773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14775 arg1
= wxString_in_helper(obj0
);
14776 if (arg1
== NULL
) SWIG_fail
;
14780 if (!wxPyCheckForApp()) SWIG_fail
;
14781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14782 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14783 wxPyEndAllowThreads(__tstate
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14801 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14802 PyObject
*resultobj
= 0;
14804 wxFontFamily arg2
;
14805 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14806 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14807 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14808 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14809 wxFont
*result
= 0 ;
14816 bool temp4
= false ;
14819 PyObject
* obj0
= 0 ;
14820 PyObject
* obj1
= 0 ;
14821 PyObject
* obj2
= 0 ;
14822 PyObject
* obj3
= 0 ;
14823 PyObject
* obj4
= 0 ;
14824 char * kwnames
[] = {
14825 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14829 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14830 if (!SWIG_IsOK(ecode1
)) {
14831 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14833 arg1
= static_cast< int >(val1
);
14834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14835 if (!SWIG_IsOK(ecode2
)) {
14836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14838 arg2
= static_cast< wxFontFamily
>(val2
);
14840 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14841 if (!SWIG_IsOK(ecode3
)) {
14842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14844 arg3
= static_cast< int >(val3
);
14848 arg4
= wxString_in_helper(obj3
);
14849 if (arg4
== NULL
) SWIG_fail
;
14854 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14855 if (!SWIG_IsOK(ecode5
)) {
14856 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14858 arg5
= static_cast< wxFontEncoding
>(val5
);
14861 if (!wxPyCheckForApp()) SWIG_fail
;
14862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14863 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14864 wxPyEndAllowThreads(__tstate
);
14865 if (PyErr_Occurred()) SWIG_fail
;
14867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14882 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14883 PyObject
*resultobj
= 0;
14888 bool arg5
= (bool) false ;
14889 wxString
const &arg6_defvalue
= wxEmptyString
;
14890 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14891 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14892 wxFont
*result
= 0 ;
14902 bool temp6
= false ;
14905 PyObject
* obj0
= 0 ;
14906 PyObject
* obj1
= 0 ;
14907 PyObject
* obj2
= 0 ;
14908 PyObject
* obj3
= 0 ;
14909 PyObject
* obj4
= 0 ;
14910 PyObject
* obj5
= 0 ;
14911 PyObject
* obj6
= 0 ;
14912 char * kwnames
[] = {
14913 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14919 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14922 if (!SWIG_IsOK(ecode2
)) {
14923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14925 arg2
= static_cast< int >(val2
);
14926 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14927 if (!SWIG_IsOK(ecode3
)) {
14928 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14930 arg3
= static_cast< int >(val3
);
14931 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14932 if (!SWIG_IsOK(ecode4
)) {
14933 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14935 arg4
= static_cast< int >(val4
);
14937 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14938 if (!SWIG_IsOK(ecode5
)) {
14939 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14941 arg5
= static_cast< bool >(val5
);
14945 arg6
= wxString_in_helper(obj5
);
14946 if (arg6
== NULL
) SWIG_fail
;
14951 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14952 if (!SWIG_IsOK(ecode7
)) {
14953 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14955 arg7
= static_cast< wxFontEncoding
>(val7
);
14958 if (!wxPyCheckForApp()) SWIG_fail
;
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14961 wxPyEndAllowThreads(__tstate
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14979 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14980 PyObject
*resultobj
= 0;
14982 wxFontFamily arg2
;
14983 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14984 wxString
const &arg4_defvalue
= wxEmptyString
;
14985 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14986 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14987 wxFont
*result
= 0 ;
14993 bool temp4
= false ;
14996 PyObject
* obj0
= 0 ;
14997 PyObject
* obj1
= 0 ;
14998 PyObject
* obj2
= 0 ;
14999 PyObject
* obj3
= 0 ;
15000 PyObject
* obj4
= 0 ;
15001 char * kwnames
[] = {
15002 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
15005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15008 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
15010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15011 if (!SWIG_IsOK(ecode2
)) {
15012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
15014 arg2
= static_cast< wxFontFamily
>(val2
);
15016 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15017 if (!SWIG_IsOK(ecode3
)) {
15018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
15020 arg3
= static_cast< int >(val3
);
15024 arg4
= wxString_in_helper(obj3
);
15025 if (arg4
== NULL
) SWIG_fail
;
15030 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15031 if (!SWIG_IsOK(ecode5
)) {
15032 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
15034 arg5
= static_cast< wxFontEncoding
>(val5
);
15037 if (!wxPyCheckForApp()) SWIG_fail
;
15038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15039 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
15040 wxPyEndAllowThreads(__tstate
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
15058 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15059 PyObject
*resultobj
= 0;
15060 wxFont
*arg1
= (wxFont
*) 0 ;
15064 PyObject
*swig_obj
[1] ;
15066 if (!args
) SWIG_fail
;
15067 swig_obj
[0] = args
;
15068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15069 if (!SWIG_IsOK(res1
)) {
15070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
15072 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 result
= (bool)((wxFont
const *)arg1
)->IsOk();
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15088 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
= 0;
15090 wxFont
*arg1
= (wxFont
*) 0 ;
15091 wxFont
*arg2
= (wxFont
*) 0 ;
15097 PyObject
* obj0
= 0 ;
15098 PyObject
* obj1
= 0 ;
15099 char * kwnames
[] = {
15100 (char *) "self",(char *) "other", NULL
15103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15105 if (!SWIG_IsOK(res1
)) {
15106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
15108 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15109 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
15110 if (!SWIG_IsOK(res2
)) {
15111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
15113 arg2
= reinterpret_cast< wxFont
* >(argp2
);
15115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15116 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
15117 wxPyEndAllowThreads(__tstate
);
15118 if (PyErr_Occurred()) SWIG_fail
;
15121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15129 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15130 PyObject
*resultobj
= 0;
15131 wxFont
*arg1
= (wxFont
*) 0 ;
15132 wxFont
*arg2
= (wxFont
*) 0 ;
15138 PyObject
* obj0
= 0 ;
15139 PyObject
* obj1
= 0 ;
15140 char * kwnames
[] = {
15141 (char *) "self",(char *) "other", NULL
15144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15146 if (!SWIG_IsOK(res1
)) {
15147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
15149 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15150 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
15151 if (!SWIG_IsOK(res2
)) {
15152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
15154 arg2
= reinterpret_cast< wxFont
* >(argp2
);
15156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15157 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
15158 wxPyEndAllowThreads(__tstate
);
15159 if (PyErr_Occurred()) SWIG_fail
;
15162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15170 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15171 PyObject
*resultobj
= 0;
15172 wxFont
*arg1
= (wxFont
*) 0 ;
15176 PyObject
*swig_obj
[1] ;
15178 if (!args
) SWIG_fail
;
15179 swig_obj
[0] = args
;
15180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15181 if (!SWIG_IsOK(res1
)) {
15182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
15184 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15187 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
15188 wxPyEndAllowThreads(__tstate
);
15189 if (PyErr_Occurred()) SWIG_fail
;
15191 resultobj
= SWIG_From_int(static_cast< int >(result
));
15198 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15199 PyObject
*resultobj
= 0;
15200 wxFont
*arg1
= (wxFont
*) 0 ;
15204 PyObject
*swig_obj
[1] ;
15206 if (!args
) SWIG_fail
;
15207 swig_obj
[0] = args
;
15208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15209 if (!SWIG_IsOK(res1
)) {
15210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
15212 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15215 result
= ((wxFont
const *)arg1
)->GetPixelSize();
15216 wxPyEndAllowThreads(__tstate
);
15217 if (PyErr_Occurred()) SWIG_fail
;
15219 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15226 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15227 PyObject
*resultobj
= 0;
15228 wxFont
*arg1
= (wxFont
*) 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_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
15240 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15243 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
15244 wxPyEndAllowThreads(__tstate
);
15245 if (PyErr_Occurred()) SWIG_fail
;
15248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15256 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15257 PyObject
*resultobj
= 0;
15258 wxFont
*arg1
= (wxFont
*) 0 ;
15262 PyObject
*swig_obj
[1] ;
15264 if (!args
) SWIG_fail
;
15265 swig_obj
[0] = args
;
15266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15267 if (!SWIG_IsOK(res1
)) {
15268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
15270 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15273 result
= (int)((wxFont
const *)arg1
)->GetFamily();
15274 wxPyEndAllowThreads(__tstate
);
15275 if (PyErr_Occurred()) SWIG_fail
;
15277 resultobj
= SWIG_From_int(static_cast< int >(result
));
15284 SWIGINTERN PyObject
*_wrap_Font_GetStyle(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_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
15298 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 result
= (int)((wxFont
const *)arg1
)->GetStyle();
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15305 resultobj
= SWIG_From_int(static_cast< int >(result
));
15312 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15313 PyObject
*resultobj
= 0;
15314 wxFont
*arg1
= (wxFont
*) 0 ;
15318 PyObject
*swig_obj
[1] ;
15320 if (!args
) SWIG_fail
;
15321 swig_obj
[0] = args
;
15322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15323 if (!SWIG_IsOK(res1
)) {
15324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
15326 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15329 result
= (int)((wxFont
const *)arg1
)->GetWeight();
15330 wxPyEndAllowThreads(__tstate
);
15331 if (PyErr_Occurred()) SWIG_fail
;
15333 resultobj
= SWIG_From_int(static_cast< int >(result
));
15340 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15341 PyObject
*resultobj
= 0;
15342 wxFont
*arg1
= (wxFont
*) 0 ;
15346 PyObject
*swig_obj
[1] ;
15348 if (!args
) SWIG_fail
;
15349 swig_obj
[0] = args
;
15350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15351 if (!SWIG_IsOK(res1
)) {
15352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
15354 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15357 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
15358 wxPyEndAllowThreads(__tstate
);
15359 if (PyErr_Occurred()) SWIG_fail
;
15362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15370 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15371 PyObject
*resultobj
= 0;
15372 wxFont
*arg1
= (wxFont
*) 0 ;
15376 PyObject
*swig_obj
[1] ;
15378 if (!args
) SWIG_fail
;
15379 swig_obj
[0] = args
;
15380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15381 if (!SWIG_IsOK(res1
)) {
15382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
15384 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15387 result
= ((wxFont
const *)arg1
)->GetFaceName();
15388 wxPyEndAllowThreads(__tstate
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15404 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15405 PyObject
*resultobj
= 0;
15406 wxFont
*arg1
= (wxFont
*) 0 ;
15407 wxFontEncoding result
;
15410 PyObject
*swig_obj
[1] ;
15412 if (!args
) SWIG_fail
;
15413 swig_obj
[0] = args
;
15414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15415 if (!SWIG_IsOK(res1
)) {
15416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
15418 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15425 resultobj
= SWIG_From_int(static_cast< int >(result
));
15432 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15433 PyObject
*resultobj
= 0;
15434 wxFont
*arg1
= (wxFont
*) 0 ;
15435 wxNativeFontInfo
*result
= 0 ;
15438 PyObject
*swig_obj
[1] ;
15440 if (!args
) SWIG_fail
;
15441 swig_obj
[0] = args
;
15442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15443 if (!SWIG_IsOK(res1
)) {
15444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
15446 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15449 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
15460 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15461 PyObject
*resultobj
= 0;
15462 wxFont
*arg1
= (wxFont
*) 0 ;
15466 PyObject
*swig_obj
[1] ;
15468 if (!args
) SWIG_fail
;
15469 swig_obj
[0] = args
;
15470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15471 if (!SWIG_IsOK(res1
)) {
15472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
15474 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15477 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
15478 wxPyEndAllowThreads(__tstate
);
15479 if (PyErr_Occurred()) SWIG_fail
;
15482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15490 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15491 PyObject
*resultobj
= 0;
15492 wxFont
*arg1
= (wxFont
*) 0 ;
15496 PyObject
*swig_obj
[1] ;
15498 if (!args
) SWIG_fail
;
15499 swig_obj
[0] = args
;
15500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15501 if (!SWIG_IsOK(res1
)) {
15502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15504 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15507 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
15508 wxPyEndAllowThreads(__tstate
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15524 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15525 PyObject
*resultobj
= 0;
15526 wxFont
*arg1
= (wxFont
*) 0 ;
15530 PyObject
*swig_obj
[1] ;
15532 if (!args
) SWIG_fail
;
15533 swig_obj
[0] = args
;
15534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15535 if (!SWIG_IsOK(res1
)) {
15536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15538 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15541 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15547 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15549 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15558 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15559 PyObject
*resultobj
= 0;
15560 wxFont
*arg1
= (wxFont
*) 0 ;
15566 PyObject
* obj0
= 0 ;
15567 PyObject
* obj1
= 0 ;
15568 char * kwnames
[] = {
15569 (char *) "self",(char *) "pointSize", NULL
15572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15574 if (!SWIG_IsOK(res1
)) {
15575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
15577 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15579 if (!SWIG_IsOK(ecode2
)) {
15580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
15582 arg2
= static_cast< int >(val2
);
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15585 (arg1
)->SetPointSize(arg2
);
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15589 resultobj
= SWIG_Py_Void();
15596 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15597 PyObject
*resultobj
= 0;
15598 wxFont
*arg1
= (wxFont
*) 0 ;
15603 PyObject
* obj0
= 0 ;
15604 PyObject
* obj1
= 0 ;
15605 char * kwnames
[] = {
15606 (char *) "self",(char *) "pixelSize", NULL
15609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15611 if (!SWIG_IsOK(res1
)) {
15612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
15614 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15617 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
15622 wxPyEndAllowThreads(__tstate
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15625 resultobj
= SWIG_Py_Void();
15632 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15633 PyObject
*resultobj
= 0;
15634 wxFont
*arg1
= (wxFont
*) 0 ;
15640 PyObject
* obj0
= 0 ;
15641 PyObject
* obj1
= 0 ;
15642 char * kwnames
[] = {
15643 (char *) "self",(char *) "family", NULL
15646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15648 if (!SWIG_IsOK(res1
)) {
15649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
15651 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15653 if (!SWIG_IsOK(ecode2
)) {
15654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
15656 arg2
= static_cast< int >(val2
);
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15659 (arg1
)->SetFamily(arg2
);
15660 wxPyEndAllowThreads(__tstate
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15663 resultobj
= SWIG_Py_Void();
15670 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15671 PyObject
*resultobj
= 0;
15672 wxFont
*arg1
= (wxFont
*) 0 ;
15678 PyObject
* obj0
= 0 ;
15679 PyObject
* obj1
= 0 ;
15680 char * kwnames
[] = {
15681 (char *) "self",(char *) "style", NULL
15684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15686 if (!SWIG_IsOK(res1
)) {
15687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15689 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15691 if (!SWIG_IsOK(ecode2
)) {
15692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15694 arg2
= static_cast< int >(val2
);
15696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15697 (arg1
)->SetStyle(arg2
);
15698 wxPyEndAllowThreads(__tstate
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15701 resultobj
= SWIG_Py_Void();
15708 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15709 PyObject
*resultobj
= 0;
15710 wxFont
*arg1
= (wxFont
*) 0 ;
15716 PyObject
* obj0
= 0 ;
15717 PyObject
* obj1
= 0 ;
15718 char * kwnames
[] = {
15719 (char *) "self",(char *) "weight", NULL
15722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15724 if (!SWIG_IsOK(res1
)) {
15725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15727 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15729 if (!SWIG_IsOK(ecode2
)) {
15730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15732 arg2
= static_cast< int >(val2
);
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 (arg1
)->SetWeight(arg2
);
15736 wxPyEndAllowThreads(__tstate
);
15737 if (PyErr_Occurred()) SWIG_fail
;
15739 resultobj
= SWIG_Py_Void();
15746 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15747 PyObject
*resultobj
= 0;
15748 wxFont
*arg1
= (wxFont
*) 0 ;
15749 wxString
*arg2
= 0 ;
15753 bool temp2
= false ;
15754 PyObject
* obj0
= 0 ;
15755 PyObject
* obj1
= 0 ;
15756 char * kwnames
[] = {
15757 (char *) "self",(char *) "faceName", NULL
15760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15762 if (!SWIG_IsOK(res1
)) {
15763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15765 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15767 arg2
= wxString_in_helper(obj1
);
15768 if (arg2
== NULL
) SWIG_fail
;
15772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15773 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15774 wxPyEndAllowThreads(__tstate
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15794 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15795 PyObject
*resultobj
= 0;
15796 wxFont
*arg1
= (wxFont
*) 0 ;
15802 PyObject
* obj0
= 0 ;
15803 PyObject
* obj1
= 0 ;
15804 char * kwnames
[] = {
15805 (char *) "self",(char *) "underlined", NULL
15808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15810 if (!SWIG_IsOK(res1
)) {
15811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15813 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15814 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15815 if (!SWIG_IsOK(ecode2
)) {
15816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15818 arg2
= static_cast< bool >(val2
);
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 (arg1
)->SetUnderlined(arg2
);
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15825 resultobj
= SWIG_Py_Void();
15832 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15833 PyObject
*resultobj
= 0;
15834 wxFont
*arg1
= (wxFont
*) 0 ;
15835 wxFontEncoding arg2
;
15840 PyObject
* obj0
= 0 ;
15841 PyObject
* obj1
= 0 ;
15842 char * kwnames
[] = {
15843 (char *) "self",(char *) "encoding", NULL
15846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15848 if (!SWIG_IsOK(res1
)) {
15849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15851 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15853 if (!SWIG_IsOK(ecode2
)) {
15854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15856 arg2
= static_cast< wxFontEncoding
>(val2
);
15858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15859 (arg1
)->SetEncoding(arg2
);
15860 wxPyEndAllowThreads(__tstate
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15863 resultobj
= SWIG_Py_Void();
15870 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15871 PyObject
*resultobj
= 0;
15872 wxFont
*arg1
= (wxFont
*) 0 ;
15873 wxNativeFontInfo
*arg2
= 0 ;
15878 PyObject
* obj0
= 0 ;
15879 PyObject
* obj1
= 0 ;
15880 char * kwnames
[] = {
15881 (char *) "self",(char *) "info", NULL
15884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15886 if (!SWIG_IsOK(res1
)) {
15887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15889 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15890 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15891 if (!SWIG_IsOK(res2
)) {
15892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15897 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15900 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15901 wxPyEndAllowThreads(__tstate
);
15902 if (PyErr_Occurred()) SWIG_fail
;
15904 resultobj
= SWIG_Py_Void();
15911 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15912 PyObject
*resultobj
= 0;
15913 wxFont
*arg1
= (wxFont
*) 0 ;
15914 wxString
*arg2
= 0 ;
15918 bool temp2
= false ;
15919 PyObject
* obj0
= 0 ;
15920 PyObject
* obj1
= 0 ;
15921 char * kwnames
[] = {
15922 (char *) "self",(char *) "info", NULL
15925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15927 if (!SWIG_IsOK(res1
)) {
15928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15930 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15932 arg2
= wxString_in_helper(obj1
);
15933 if (arg2
== NULL
) SWIG_fail
;
15937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15938 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15939 wxPyEndAllowThreads(__tstate
);
15940 if (PyErr_Occurred()) SWIG_fail
;
15943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15959 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15960 PyObject
*resultobj
= 0;
15961 wxFont
*arg1
= (wxFont
*) 0 ;
15962 wxString
*arg2
= 0 ;
15966 bool temp2
= false ;
15967 PyObject
* obj0
= 0 ;
15968 PyObject
* obj1
= 0 ;
15969 char * kwnames
[] = {
15970 (char *) "self",(char *) "info", NULL
15973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15975 if (!SWIG_IsOK(res1
)) {
15976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15978 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15980 arg2
= wxString_in_helper(obj1
);
15981 if (arg2
== NULL
) SWIG_fail
;
15985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15986 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15987 wxPyEndAllowThreads(__tstate
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16007 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16008 PyObject
*resultobj
= 0;
16009 wxFont
*arg1
= (wxFont
*) 0 ;
16013 PyObject
*swig_obj
[1] ;
16015 if (!args
) SWIG_fail
;
16016 swig_obj
[0] = args
;
16017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
16018 if (!SWIG_IsOK(res1
)) {
16019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
16021 arg1
= reinterpret_cast< wxFont
* >(argp1
);
16023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16024 result
= ((wxFont
const *)arg1
)->GetFamilyString();
16025 wxPyEndAllowThreads(__tstate
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16041 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16042 PyObject
*resultobj
= 0;
16043 wxFont
*arg1
= (wxFont
*) 0 ;
16047 PyObject
*swig_obj
[1] ;
16049 if (!args
) SWIG_fail
;
16050 swig_obj
[0] = args
;
16051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
16052 if (!SWIG_IsOK(res1
)) {
16053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
16055 arg1
= reinterpret_cast< wxFont
* >(argp1
);
16057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16058 result
= ((wxFont
const *)arg1
)->GetStyleString();
16059 wxPyEndAllowThreads(__tstate
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16075 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16076 PyObject
*resultobj
= 0;
16077 wxFont
*arg1
= (wxFont
*) 0 ;
16081 PyObject
*swig_obj
[1] ;
16083 if (!args
) SWIG_fail
;
16084 swig_obj
[0] = args
;
16085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
16086 if (!SWIG_IsOK(res1
)) {
16087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
16089 arg1
= reinterpret_cast< wxFont
* >(argp1
);
16091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16092 result
= ((wxFont
const *)arg1
)->GetWeightString();
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16098 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16100 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16109 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16110 PyObject
*resultobj
= 0;
16111 wxFont
*arg1
= (wxFont
*) 0 ;
16112 bool arg2
= (bool) true ;
16117 PyObject
* obj0
= 0 ;
16118 PyObject
* obj1
= 0 ;
16119 char * kwnames
[] = {
16120 (char *) "self",(char *) "no", NULL
16123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
16125 if (!SWIG_IsOK(res1
)) {
16126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
16128 arg1
= reinterpret_cast< wxFont
* >(argp1
);
16130 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16131 if (!SWIG_IsOK(ecode2
)) {
16132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
16134 arg2
= static_cast< bool >(val2
);
16137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16138 (arg1
)->SetNoAntiAliasing(arg2
);
16139 wxPyEndAllowThreads(__tstate
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16142 resultobj
= SWIG_Py_Void();
16149 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16150 PyObject
*resultobj
= 0;
16151 wxFont
*arg1
= (wxFont
*) 0 ;
16155 PyObject
*swig_obj
[1] ;
16157 if (!args
) SWIG_fail
;
16158 swig_obj
[0] = args
;
16159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
16160 if (!SWIG_IsOK(res1
)) {
16161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
16163 arg1
= reinterpret_cast< wxFont
* >(argp1
);
16165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16166 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
16167 wxPyEndAllowThreads(__tstate
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16179 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16180 PyObject
*resultobj
= 0;
16181 wxFontEncoding result
;
16183 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
16185 if (!wxPyCheckForApp()) SWIG_fail
;
16186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16187 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
16188 wxPyEndAllowThreads(__tstate
);
16189 if (PyErr_Occurred()) SWIG_fail
;
16191 resultobj
= SWIG_From_int(static_cast< int >(result
));
16198 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16199 PyObject
*resultobj
= 0;
16200 wxFontEncoding arg1
;
16203 PyObject
* obj0
= 0 ;
16204 char * kwnames
[] = {
16205 (char *) "encoding", NULL
16208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
16209 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16210 if (!SWIG_IsOK(ecode1
)) {
16211 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16213 arg1
= static_cast< wxFontEncoding
>(val1
);
16215 if (!wxPyCheckForApp()) SWIG_fail
;
16216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16217 wxFont::SetDefaultEncoding(arg1
);
16218 wxPyEndAllowThreads(__tstate
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16221 resultobj
= SWIG_Py_Void();
16228 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16230 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16231 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
16232 return SWIG_Py_Void();
16235 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16236 return SWIG_Python_InitShadowInstance(args
);
16239 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16240 PyObject
*resultobj
= 0;
16241 wxPyFontEnumerator
*result
= 0 ;
16243 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
16245 if (!wxPyCheckForApp()) SWIG_fail
;
16246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16247 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
16248 wxPyEndAllowThreads(__tstate
);
16249 if (PyErr_Occurred()) SWIG_fail
;
16251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
16258 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16259 PyObject
*resultobj
= 0;
16260 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16263 PyObject
*swig_obj
[1] ;
16265 if (!args
) SWIG_fail
;
16266 swig_obj
[0] = args
;
16267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
16268 if (!SWIG_IsOK(res1
)) {
16269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16271 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16276 wxPyEndAllowThreads(__tstate
);
16277 if (PyErr_Occurred()) SWIG_fail
;
16279 resultobj
= SWIG_Py_Void();
16286 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16287 PyObject
*resultobj
= 0;
16288 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16289 PyObject
*arg2
= (PyObject
*) 0 ;
16290 PyObject
*arg3
= (PyObject
*) 0 ;
16291 int arg4
= (int) 0 ;
16296 PyObject
* obj0
= 0 ;
16297 PyObject
* obj1
= 0 ;
16298 PyObject
* obj2
= 0 ;
16299 PyObject
* obj3
= 0 ;
16300 char * kwnames
[] = {
16301 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16306 if (!SWIG_IsOK(res1
)) {
16307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16309 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16313 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16314 if (!SWIG_IsOK(ecode4
)) {
16315 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16317 arg4
= static_cast< int >(val4
);
16320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16321 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16322 wxPyEndAllowThreads(__tstate
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16325 resultobj
= SWIG_Py_Void();
16332 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16333 PyObject
*resultobj
= 0;
16334 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16335 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
16336 bool arg3
= (bool) false ;
16344 PyObject
* obj0
= 0 ;
16345 PyObject
* obj1
= 0 ;
16346 PyObject
* obj2
= 0 ;
16347 char * kwnames
[] = {
16348 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
16351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16353 if (!SWIG_IsOK(res1
)) {
16354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16356 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16359 if (!SWIG_IsOK(ecode2
)) {
16360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16362 arg2
= static_cast< wxFontEncoding
>(val2
);
16365 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16366 if (!SWIG_IsOK(ecode3
)) {
16367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
16369 arg3
= static_cast< bool >(val3
);
16372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16373 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
16374 wxPyEndAllowThreads(__tstate
);
16375 if (PyErr_Occurred()) SWIG_fail
;
16378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16386 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
= 0;
16388 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16389 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16390 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16394 bool temp2
= false ;
16395 PyObject
* obj0
= 0 ;
16396 PyObject
* obj1
= 0 ;
16397 char * kwnames
[] = {
16398 (char *) "self",(char *) "facename", NULL
16401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16403 if (!SWIG_IsOK(res1
)) {
16404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16406 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16409 arg2
= wxString_in_helper(obj1
);
16410 if (arg2
== NULL
) SWIG_fail
;
16415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16416 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
16417 wxPyEndAllowThreads(__tstate
);
16418 if (PyErr_Occurred()) SWIG_fail
;
16421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16437 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16438 PyObject
*resultobj
= 0;
16439 PyObject
*result
= 0 ;
16441 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
16443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16444 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
16445 wxPyEndAllowThreads(__tstate
);
16446 if (PyErr_Occurred()) SWIG_fail
;
16448 resultobj
= result
;
16455 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16456 PyObject
*resultobj
= 0;
16457 PyObject
*result
= 0 ;
16459 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
16461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16462 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
16463 wxPyEndAllowThreads(__tstate
);
16464 if (PyErr_Occurred()) SWIG_fail
;
16466 resultobj
= result
;
16473 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16474 PyObject
*resultobj
= 0;
16475 wxString
*arg1
= 0 ;
16477 bool temp1
= false ;
16478 PyObject
* obj0
= 0 ;
16479 char * kwnames
[] = {
16480 (char *) "str", NULL
16483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
16485 arg1
= wxString_in_helper(obj0
);
16486 if (arg1
== NULL
) SWIG_fail
;
16490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16491 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
16492 wxPyEndAllowThreads(__tstate
);
16493 if (PyErr_Occurred()) SWIG_fail
;
16496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16512 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16514 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16515 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
16516 return SWIG_Py_Void();
16519 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16520 return SWIG_Python_InitShadowInstance(args
);
16523 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16524 PyObject
*resultobj
= 0;
16525 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16531 PyObject
*swig_obj
[2] ;
16533 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
16534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16535 if (!SWIG_IsOK(res1
)) {
16536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16538 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16539 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16540 if (!SWIG_IsOK(ecode2
)) {
16541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
16543 arg2
= static_cast< int >(val2
);
16544 if (arg1
) (arg1
)->Language
= arg2
;
16546 resultobj
= SWIG_Py_Void();
16553 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16554 PyObject
*resultobj
= 0;
16555 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16559 PyObject
*swig_obj
[1] ;
16561 if (!args
) SWIG_fail
;
16562 swig_obj
[0] = args
;
16563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16564 if (!SWIG_IsOK(res1
)) {
16565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16567 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16568 result
= (int) ((arg1
)->Language
);
16569 resultobj
= SWIG_From_int(static_cast< int >(result
));
16576 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16577 PyObject
*resultobj
= 0;
16578 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16579 wxString
*arg2
= (wxString
*) 0 ;
16582 bool temp2
= false ;
16583 PyObject
*swig_obj
[2] ;
16585 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16587 if (!SWIG_IsOK(res1
)) {
16588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16590 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16592 arg2
= wxString_in_helper(swig_obj
[1]);
16593 if (arg2
== NULL
) SWIG_fail
;
16596 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16598 resultobj
= SWIG_Py_Void();
16613 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16614 PyObject
*resultobj
= 0;
16615 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16616 wxString
*result
= 0 ;
16619 PyObject
*swig_obj
[1] ;
16621 if (!args
) SWIG_fail
;
16622 swig_obj
[0] = args
;
16623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16624 if (!SWIG_IsOK(res1
)) {
16625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16627 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16628 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16631 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16633 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16642 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16643 PyObject
*resultobj
= 0;
16644 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16645 wxString
*arg2
= (wxString
*) 0 ;
16648 bool temp2
= false ;
16649 PyObject
*swig_obj
[2] ;
16651 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16653 if (!SWIG_IsOK(res1
)) {
16654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16656 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16658 arg2
= wxString_in_helper(swig_obj
[1]);
16659 if (arg2
== NULL
) SWIG_fail
;
16662 if (arg1
) (arg1
)->Description
= *arg2
;
16664 resultobj
= SWIG_Py_Void();
16679 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16680 PyObject
*resultobj
= 0;
16681 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16682 wxString
*result
= 0 ;
16685 PyObject
*swig_obj
[1] ;
16687 if (!args
) SWIG_fail
;
16688 swig_obj
[0] = args
;
16689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16690 if (!SWIG_IsOK(res1
)) {
16691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16693 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16694 result
= (wxString
*)& ((arg1
)->Description
);
16697 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16699 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16708 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16710 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16711 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16712 return SWIG_Py_Void();
16715 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16716 PyObject
*resultobj
= 0;
16717 int arg1
= (int) -1 ;
16718 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16719 wxLocale
*result
= 0 ;
16724 PyObject
* obj0
= 0 ;
16725 PyObject
* obj1
= 0 ;
16726 char * kwnames
[] = {
16727 (char *) "language",(char *) "flags", NULL
16730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16732 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16733 if (!SWIG_IsOK(ecode1
)) {
16734 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16736 arg1
= static_cast< int >(val1
);
16739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16740 if (!SWIG_IsOK(ecode2
)) {
16741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16743 arg2
= static_cast< int >(val2
);
16746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16747 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16748 wxPyEndAllowThreads(__tstate
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16758 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16759 PyObject
*resultobj
= 0;
16760 wxLocale
*arg1
= (wxLocale
*) 0 ;
16763 PyObject
*swig_obj
[1] ;
16765 if (!args
) SWIG_fail
;
16766 swig_obj
[0] = args
;
16767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16768 if (!SWIG_IsOK(res1
)) {
16769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16771 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16776 wxPyEndAllowThreads(__tstate
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16779 resultobj
= SWIG_Py_Void();
16786 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16787 PyObject
*resultobj
= 0;
16788 wxLocale
*arg1
= (wxLocale
*) 0 ;
16789 wxString
*arg2
= 0 ;
16790 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16791 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16792 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16793 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16794 bool arg5
= (bool) true ;
16795 bool arg6
= (bool) false ;
16799 bool temp2
= false ;
16800 bool temp3
= false ;
16801 bool temp4
= false ;
16806 PyObject
* obj0
= 0 ;
16807 PyObject
* obj1
= 0 ;
16808 PyObject
* obj2
= 0 ;
16809 PyObject
* obj3
= 0 ;
16810 PyObject
* obj4
= 0 ;
16811 PyObject
* obj5
= 0 ;
16812 char * kwnames
[] = {
16813 (char *) "self",(char *) "name",(char *) "shortName",(char *) "locale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16818 if (!SWIG_IsOK(res1
)) {
16819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16821 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16823 arg2
= wxString_in_helper(obj1
);
16824 if (arg2
== NULL
) SWIG_fail
;
16829 arg3
= wxString_in_helper(obj2
);
16830 if (arg3
== NULL
) SWIG_fail
;
16836 arg4
= wxString_in_helper(obj3
);
16837 if (arg4
== NULL
) SWIG_fail
;
16842 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16843 if (!SWIG_IsOK(ecode5
)) {
16844 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16846 arg5
= static_cast< bool >(val5
);
16849 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16850 if (!SWIG_IsOK(ecode6
)) {
16851 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16853 arg6
= static_cast< bool >(val6
);
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16858 wxPyEndAllowThreads(__tstate
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16894 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16895 PyObject
*resultobj
= 0;
16896 wxLocale
*arg1
= (wxLocale
*) 0 ;
16897 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16898 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16906 PyObject
* obj0
= 0 ;
16907 PyObject
* obj1
= 0 ;
16908 PyObject
* obj2
= 0 ;
16909 char * kwnames
[] = {
16910 (char *) "self",(char *) "language",(char *) "flags", NULL
16913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16915 if (!SWIG_IsOK(res1
)) {
16916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16918 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16921 if (!SWIG_IsOK(ecode2
)) {
16922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16924 arg2
= static_cast< int >(val2
);
16927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16928 if (!SWIG_IsOK(ecode3
)) {
16929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16931 arg3
= static_cast< int >(val3
);
16934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16935 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16948 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16949 PyObject
*resultobj
= 0;
16952 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16955 result
= (int)wxLocale::GetSystemLanguage();
16956 wxPyEndAllowThreads(__tstate
);
16957 if (PyErr_Occurred()) SWIG_fail
;
16959 resultobj
= SWIG_From_int(static_cast< int >(result
));
16966 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16967 PyObject
*resultobj
= 0;
16968 wxFontEncoding result
;
16970 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16973 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16974 wxPyEndAllowThreads(__tstate
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16977 resultobj
= SWIG_From_int(static_cast< int >(result
));
16984 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16985 PyObject
*resultobj
= 0;
16988 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16991 result
= wxLocale::GetSystemEncodingName();
16992 wxPyEndAllowThreads(__tstate
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16997 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16999 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17008 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17009 PyObject
*resultobj
= 0;
17010 wxLocale
*arg1
= (wxLocale
*) 0 ;
17014 PyObject
*swig_obj
[1] ;
17016 if (!args
) SWIG_fail
;
17017 swig_obj
[0] = args
;
17018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17019 if (!SWIG_IsOK(res1
)) {
17020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
17022 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17025 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
17026 wxPyEndAllowThreads(__tstate
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17038 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17039 PyObject
*resultobj
= 0;
17040 wxLocale
*arg1
= (wxLocale
*) 0 ;
17044 PyObject
*swig_obj
[1] ;
17046 if (!args
) SWIG_fail
;
17047 swig_obj
[0] = args
;
17048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17049 if (!SWIG_IsOK(res1
)) {
17050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
17052 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17055 result
= ((wxLocale
const *)arg1
)->GetLocale();
17056 wxPyEndAllowThreads(__tstate
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17072 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17073 PyObject
*resultobj
= 0;
17074 wxLocale
*arg1
= (wxLocale
*) 0 ;
17078 PyObject
*swig_obj
[1] ;
17080 if (!args
) SWIG_fail
;
17081 swig_obj
[0] = args
;
17082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17083 if (!SWIG_IsOK(res1
)) {
17084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
17086 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17089 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
17090 wxPyEndAllowThreads(__tstate
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17093 resultobj
= SWIG_From_int(static_cast< int >(result
));
17100 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17101 PyObject
*resultobj
= 0;
17102 wxLocale
*arg1
= (wxLocale
*) 0 ;
17106 PyObject
*swig_obj
[1] ;
17108 if (!args
) SWIG_fail
;
17109 swig_obj
[0] = args
;
17110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17111 if (!SWIG_IsOK(res1
)) {
17112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17114 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17117 result
= ((wxLocale
const *)arg1
)->GetSysName();
17118 wxPyEndAllowThreads(__tstate
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17123 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17125 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17134 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17135 PyObject
*resultobj
= 0;
17136 wxLocale
*arg1
= (wxLocale
*) 0 ;
17140 PyObject
*swig_obj
[1] ;
17142 if (!args
) SWIG_fail
;
17143 swig_obj
[0] = args
;
17144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17145 if (!SWIG_IsOK(res1
)) {
17146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17148 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17151 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
17152 wxPyEndAllowThreads(__tstate
);
17153 if (PyErr_Occurred()) SWIG_fail
;
17157 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17159 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17168 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17169 PyObject
*resultobj
= 0;
17170 wxString
*arg1
= 0 ;
17171 bool temp1
= false ;
17172 PyObject
* obj0
= 0 ;
17173 char * kwnames
[] = {
17174 (char *) "prefix", NULL
17177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
17179 arg1
= wxString_in_helper(obj0
);
17180 if (arg1
== NULL
) SWIG_fail
;
17184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17185 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
17186 wxPyEndAllowThreads(__tstate
);
17187 if (PyErr_Occurred()) SWIG_fail
;
17189 resultobj
= SWIG_Py_Void();
17204 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17205 PyObject
*resultobj
= 0;
17206 wxLocale
*arg1
= (wxLocale
*) 0 ;
17207 wxString
*arg2
= 0 ;
17211 bool temp2
= false ;
17212 PyObject
* obj0
= 0 ;
17213 PyObject
* obj1
= 0 ;
17214 char * kwnames
[] = {
17215 (char *) "self",(char *) "domain", NULL
17218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17220 if (!SWIG_IsOK(res1
)) {
17221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
17223 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17225 arg2
= wxString_in_helper(obj1
);
17226 if (arg2
== NULL
) SWIG_fail
;
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
17232 wxPyEndAllowThreads(__tstate
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17252 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17253 PyObject
*resultobj
= 0;
17258 PyObject
* obj0
= 0 ;
17259 char * kwnames
[] = {
17260 (char *) "lang", NULL
17263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
17264 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17265 if (!SWIG_IsOK(ecode1
)) {
17266 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
17268 arg1
= static_cast< int >(val1
);
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 result
= (bool)wxLocale::IsAvailable(arg1
);
17272 wxPyEndAllowThreads(__tstate
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17284 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
= 0;
17286 wxLocale
*arg1
= (wxLocale
*) 0 ;
17287 wxString
*arg2
= 0 ;
17291 bool temp2
= false ;
17292 PyObject
* obj0
= 0 ;
17293 PyObject
* obj1
= 0 ;
17294 char * kwnames
[] = {
17295 (char *) "self",(char *) "domain", NULL
17298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17300 if (!SWIG_IsOK(res1
)) {
17301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
17303 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17305 arg2
= wxString_in_helper(obj1
);
17306 if (arg2
== NULL
) SWIG_fail
;
17310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17311 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
17312 wxPyEndAllowThreads(__tstate
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17332 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17333 PyObject
*resultobj
= 0;
17335 wxLanguageInfo
*result
= 0 ;
17338 PyObject
* obj0
= 0 ;
17339 char * kwnames
[] = {
17340 (char *) "lang", NULL
17343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17344 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17345 if (!SWIG_IsOK(ecode1
)) {
17346 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
17348 arg1
= static_cast< int >(val1
);
17350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17351 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
17352 wxPyEndAllowThreads(__tstate
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17362 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17363 PyObject
*resultobj
= 0;
17368 PyObject
* obj0
= 0 ;
17369 char * kwnames
[] = {
17370 (char *) "lang", NULL
17373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
17374 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17375 if (!SWIG_IsOK(ecode1
)) {
17376 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
17378 arg1
= static_cast< int >(val1
);
17380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17381 result
= wxLocale::GetLanguageName(arg1
);
17382 wxPyEndAllowThreads(__tstate
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17398 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17399 PyObject
*resultobj
= 0;
17400 wxString
*arg1
= 0 ;
17401 wxLanguageInfo
*result
= 0 ;
17402 bool temp1
= false ;
17403 PyObject
* obj0
= 0 ;
17404 char * kwnames
[] = {
17405 (char *) "locale", NULL
17408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17410 arg1
= wxString_in_helper(obj0
);
17411 if (arg1
== NULL
) SWIG_fail
;
17415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17416 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
17417 wxPyEndAllowThreads(__tstate
);
17418 if (PyErr_Occurred()) SWIG_fail
;
17420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17435 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17436 PyObject
*resultobj
= 0;
17437 wxLanguageInfo
*arg1
= 0 ;
17440 PyObject
* obj0
= 0 ;
17441 char * kwnames
[] = {
17442 (char *) "info", NULL
17445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
17446 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
17447 if (!SWIG_IsOK(res1
)) {
17448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17453 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
17455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17456 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
17457 wxPyEndAllowThreads(__tstate
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17460 resultobj
= SWIG_Py_Void();
17467 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17468 PyObject
*resultobj
= 0;
17469 wxLocale
*arg1
= (wxLocale
*) 0 ;
17470 wxString
*arg2
= 0 ;
17471 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17472 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17476 bool temp2
= false ;
17477 bool temp3
= false ;
17478 PyObject
* obj0
= 0 ;
17479 PyObject
* obj1
= 0 ;
17480 PyObject
* obj2
= 0 ;
17481 char * kwnames
[] = {
17482 (char *) "self",(char *) "origString",(char *) "domain", NULL
17485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17487 if (!SWIG_IsOK(res1
)) {
17488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
17490 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17492 arg2
= wxString_in_helper(obj1
);
17493 if (arg2
== NULL
) SWIG_fail
;
17498 arg3
= wxString_in_helper(obj2
);
17499 if (arg3
== NULL
) SWIG_fail
;
17504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17505 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17506 wxPyEndAllowThreads(__tstate
);
17507 if (PyErr_Occurred()) SWIG_fail
;
17511 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17513 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17538 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17539 PyObject
*resultobj
= 0;
17540 wxLocale
*arg1
= (wxLocale
*) 0 ;
17541 wxString
*result
= 0 ;
17544 PyObject
*swig_obj
[1] ;
17546 if (!args
) SWIG_fail
;
17547 swig_obj
[0] = args
;
17548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17549 if (!SWIG_IsOK(res1
)) {
17550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17552 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17557 result
= (wxString
*) &_result_ref
;
17559 wxPyEndAllowThreads(__tstate
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17564 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17566 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17575 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17577 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17578 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17579 return SWIG_Py_Void();
17582 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17583 return SWIG_Python_InitShadowInstance(args
);
17586 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17587 PyObject
*resultobj
= 0;
17588 int arg1
= (int) -1 ;
17589 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17590 wxPyLocale
*result
= 0 ;
17595 PyObject
* obj0
= 0 ;
17596 PyObject
* obj1
= 0 ;
17597 char * kwnames
[] = {
17598 (char *) "language",(char *) "flags", NULL
17601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17603 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17604 if (!SWIG_IsOK(ecode1
)) {
17605 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17607 arg1
= static_cast< int >(val1
);
17610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17611 if (!SWIG_IsOK(ecode2
)) {
17612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17614 arg2
= static_cast< int >(val2
);
17617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17618 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17619 wxPyEndAllowThreads(__tstate
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17629 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17630 PyObject
*resultobj
= 0;
17631 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17634 PyObject
*swig_obj
[1] ;
17636 if (!args
) SWIG_fail
;
17637 swig_obj
[0] = args
;
17638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17639 if (!SWIG_IsOK(res1
)) {
17640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17642 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17647 wxPyEndAllowThreads(__tstate
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17650 resultobj
= SWIG_Py_Void();
17657 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17658 PyObject
*resultobj
= 0;
17659 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17660 PyObject
*arg2
= (PyObject
*) 0 ;
17661 PyObject
*arg3
= (PyObject
*) 0 ;
17664 PyObject
* obj0
= 0 ;
17665 PyObject
* obj1
= 0 ;
17666 PyObject
* obj2
= 0 ;
17667 char * kwnames
[] = {
17668 (char *) "self",(char *) "self",(char *) "_class", NULL
17671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17673 if (!SWIG_IsOK(res1
)) {
17674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17676 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17681 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17682 wxPyEndAllowThreads(__tstate
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17685 resultobj
= SWIG_Py_Void();
17692 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17693 PyObject
*resultobj
= 0;
17694 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17695 wxString
*arg2
= 0 ;
17696 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17697 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17698 wxString
*result
= 0 ;
17701 bool temp2
= false ;
17702 bool temp3
= false ;
17703 PyObject
* obj0
= 0 ;
17704 PyObject
* obj1
= 0 ;
17705 PyObject
* obj2
= 0 ;
17706 char * kwnames
[] = {
17707 (char *) "self",(char *) "origString",(char *) "domain", NULL
17710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17712 if (!SWIG_IsOK(res1
)) {
17713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17715 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17717 arg2
= wxString_in_helper(obj1
);
17718 if (arg2
== NULL
) SWIG_fail
;
17723 arg3
= wxString_in_helper(obj2
);
17724 if (arg3
== NULL
) SWIG_fail
;
17729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17731 wxString
const &_result_ref
= ((wxPyLocale
const *)arg1
)->GetSingularString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17732 result
= (wxString
*) &_result_ref
;
17734 wxPyEndAllowThreads(__tstate
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17739 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17741 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17766 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17767 PyObject
*resultobj
= 0;
17768 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17769 wxString
*arg2
= 0 ;
17770 wxString
*arg3
= 0 ;
17772 wxString
const &arg5_defvalue
= wxPyEmptyString
;
17773 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17774 wxString
*result
= 0 ;
17777 bool temp2
= false ;
17778 bool temp3
= false ;
17781 bool temp5
= false ;
17782 PyObject
* obj0
= 0 ;
17783 PyObject
* obj1
= 0 ;
17784 PyObject
* obj2
= 0 ;
17785 PyObject
* obj3
= 0 ;
17786 PyObject
* obj4
= 0 ;
17787 char * kwnames
[] = {
17788 (char *) "self",(char *) "origString",(char *) "origString2",(char *) "n",(char *) "domain", NULL
17791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17793 if (!SWIG_IsOK(res1
)) {
17794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17796 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17798 arg2
= wxString_in_helper(obj1
);
17799 if (arg2
== NULL
) SWIG_fail
;
17803 arg3
= wxString_in_helper(obj2
);
17804 if (arg3
== NULL
) SWIG_fail
;
17807 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17808 if (!SWIG_IsOK(ecode4
)) {
17809 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17811 arg4
= static_cast< size_t >(val4
);
17814 arg5
= wxString_in_helper(obj4
);
17815 if (arg5
== NULL
) SWIG_fail
;
17820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 wxString
const &_result_ref
= ((wxPyLocale
const *)arg1
)->GetPluralString((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
17823 result
= (wxString
*) &_result_ref
;
17825 wxPyEndAllowThreads(__tstate
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17830 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17832 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17865 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17867 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17868 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17869 return SWIG_Py_Void();
17872 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17873 return SWIG_Python_InitShadowInstance(args
);
17876 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17877 PyObject
*resultobj
= 0;
17878 wxLocale
*result
= 0 ;
17880 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17883 result
= (wxLocale
*)wxGetLocale();
17884 wxPyEndAllowThreads(__tstate
);
17885 if (PyErr_Occurred()) SWIG_fail
;
17887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17894 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17895 PyObject
*resultobj
= 0;
17896 wxString
*arg1
= 0 ;
17898 bool temp1
= false ;
17900 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17902 arg1
= wxString_in_helper(swig_obj
[0]);
17903 if (arg1
== NULL
) SWIG_fail
;
17907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17908 result
= wxGetTranslation((wxString
const &)*arg1
);
17909 wxPyEndAllowThreads(__tstate
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17914 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17916 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17933 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17934 PyObject
*resultobj
= 0;
17935 wxString
*arg1
= 0 ;
17936 wxString
*arg2
= 0 ;
17938 bool temp1
= false ;
17939 bool temp2
= false ;
17941 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17943 arg1
= wxString_in_helper(swig_obj
[0]);
17944 if (arg1
== NULL
) SWIG_fail
;
17948 arg2
= wxString_in_helper(swig_obj
[1]);
17949 if (arg2
== NULL
) SWIG_fail
;
17953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17954 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17960 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17962 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17987 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17988 PyObject
*resultobj
= 0;
17989 wxString
*arg1
= 0 ;
17990 wxString
*arg2
= 0 ;
17993 bool temp1
= false ;
17994 bool temp2
= false ;
17998 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
18000 arg1
= wxString_in_helper(swig_obj
[0]);
18001 if (arg1
== NULL
) SWIG_fail
;
18005 arg2
= wxString_in_helper(swig_obj
[1]);
18006 if (arg2
== NULL
) SWIG_fail
;
18009 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
18010 if (!SWIG_IsOK(ecode3
)) {
18011 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
18013 arg3
= static_cast< size_t >(val3
);
18015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18016 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
18017 wxPyEndAllowThreads(__tstate
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18022 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18024 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18049 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
18050 PyObject
*resultobj
= 0;
18051 wxString
*arg1
= 0 ;
18052 wxString
*arg2
= 0 ;
18054 wxString
*arg4
= 0 ;
18056 bool temp1
= false ;
18057 bool temp2
= false ;
18060 bool temp4
= false ;
18062 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
18064 arg1
= wxString_in_helper(swig_obj
[0]);
18065 if (arg1
== NULL
) SWIG_fail
;
18069 arg2
= wxString_in_helper(swig_obj
[1]);
18070 if (arg2
== NULL
) SWIG_fail
;
18073 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
18074 if (!SWIG_IsOK(ecode3
)) {
18075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
18077 arg3
= static_cast< size_t >(val3
);
18079 arg4
= wxString_in_helper(swig_obj
[3]);
18080 if (arg4
== NULL
) SWIG_fail
;
18084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18085 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
18086 wxPyEndAllowThreads(__tstate
);
18087 if (PyErr_Occurred()) SWIG_fail
;
18091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18126 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
18130 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
18133 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
18136 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
18139 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
18142 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
18146 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
18151 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18152 PyObject
*resultobj
= 0;
18153 wxEncodingConverter
*result
= 0 ;
18155 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
18157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18158 result
= (wxEncodingConverter
*)new wxEncodingConverter();
18159 wxPyEndAllowThreads(__tstate
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
18169 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18170 PyObject
*resultobj
= 0;
18171 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
18174 PyObject
*swig_obj
[1] ;
18176 if (!args
) SWIG_fail
;
18177 swig_obj
[0] = args
;
18178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
18179 if (!SWIG_IsOK(res1
)) {
18180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18182 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18190 resultobj
= SWIG_Py_Void();
18197 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18198 PyObject
*resultobj
= 0;
18199 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
18200 wxFontEncoding arg2
;
18201 wxFontEncoding arg3
;
18202 int arg4
= (int) wxCONVERT_STRICT
;
18212 PyObject
* obj0
= 0 ;
18213 PyObject
* obj1
= 0 ;
18214 PyObject
* obj2
= 0 ;
18215 PyObject
* obj3
= 0 ;
18216 char * kwnames
[] = {
18217 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
18220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
18222 if (!SWIG_IsOK(res1
)) {
18223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18225 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18227 if (!SWIG_IsOK(ecode2
)) {
18228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18230 arg2
= static_cast< wxFontEncoding
>(val2
);
18231 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18232 if (!SWIG_IsOK(ecode3
)) {
18233 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
18235 arg3
= static_cast< wxFontEncoding
>(val3
);
18237 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18238 if (!SWIG_IsOK(ecode4
)) {
18239 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
18241 arg4
= static_cast< int >(val4
);
18244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18245 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
18246 wxPyEndAllowThreads(__tstate
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18258 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18259 PyObject
*resultobj
= 0;
18260 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
18261 wxString
*arg2
= 0 ;
18265 bool temp2
= false ;
18266 PyObject
* obj0
= 0 ;
18267 PyObject
* obj1
= 0 ;
18268 char * kwnames
[] = {
18269 (char *) "self",(char *) "input", NULL
18272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
18274 if (!SWIG_IsOK(res1
)) {
18275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18277 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18279 arg2
= wxString_in_helper(obj1
);
18280 if (arg2
== NULL
) SWIG_fail
;
18284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18285 result
= (arg1
)->Convert((wxString
const &)*arg2
);
18286 wxPyEndAllowThreads(__tstate
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18291 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18293 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18310 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18311 PyObject
*resultobj
= 0;
18312 wxFontEncoding arg1
;
18313 int arg2
= (int) wxPLATFORM_CURRENT
;
18314 wxFontEncodingArray result
;
18319 PyObject
* obj0
= 0 ;
18320 PyObject
* obj1
= 0 ;
18321 char * kwnames
[] = {
18322 (char *) "enc",(char *) "platform", NULL
18325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18326 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18327 if (!SWIG_IsOK(ecode1
)) {
18328 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18330 arg1
= static_cast< wxFontEncoding
>(val1
);
18332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18333 if (!SWIG_IsOK(ecode2
)) {
18334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
18336 arg2
= static_cast< int >(val2
);
18339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18340 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
18341 wxPyEndAllowThreads(__tstate
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18345 resultobj
= PyList_New(0);
18346 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18347 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18348 PyList_Append(resultobj
, number
);
18358 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18359 PyObject
*resultobj
= 0;
18360 wxFontEncoding arg1
;
18361 wxFontEncodingArray result
;
18364 PyObject
* obj0
= 0 ;
18365 char * kwnames
[] = {
18366 (char *) "enc", NULL
18369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
18370 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18371 if (!SWIG_IsOK(ecode1
)) {
18372 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18374 arg1
= static_cast< wxFontEncoding
>(val1
);
18376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18377 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
18378 wxPyEndAllowThreads(__tstate
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18382 resultobj
= PyList_New(0);
18383 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18384 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18385 PyList_Append(resultobj
, number
);
18395 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
= 0;
18397 wxFontEncoding arg1
;
18398 wxFontEncoding arg2
;
18404 PyObject
* obj0
= 0 ;
18405 PyObject
* obj1
= 0 ;
18406 char * kwnames
[] = {
18407 (char *) "encIn",(char *) "encOut", NULL
18410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18411 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18412 if (!SWIG_IsOK(ecode1
)) {
18413 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18415 arg1
= static_cast< wxFontEncoding
>(val1
);
18416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18417 if (!SWIG_IsOK(ecode2
)) {
18418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18420 arg2
= static_cast< wxFontEncoding
>(val2
);
18422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18423 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18436 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18438 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18439 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
18440 return SWIG_Py_Void();
18443 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18444 return SWIG_Python_InitShadowInstance(args
);
18447 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18448 PyObject
*resultobj
= 0;
18449 wxDC
*arg1
= (wxDC
*) 0 ;
18452 PyObject
*swig_obj
[1] ;
18454 if (!args
) SWIG_fail
;
18455 swig_obj
[0] = args
;
18456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
18457 if (!SWIG_IsOK(res1
)) {
18458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
18460 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18465 wxPyEndAllowThreads(__tstate
);
18466 if (PyErr_Occurred()) SWIG_fail
;
18468 resultobj
= SWIG_Py_Void();
18475 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18476 PyObject
*resultobj
= 0;
18477 wxDC
*arg1
= (wxDC
*) 0 ;
18480 wxColour
*arg4
= 0 ;
18481 int arg5
= (int) wxFLOOD_SURFACE
;
18492 PyObject
* obj0
= 0 ;
18493 PyObject
* obj1
= 0 ;
18494 PyObject
* obj2
= 0 ;
18495 PyObject
* obj3
= 0 ;
18496 PyObject
* obj4
= 0 ;
18497 char * kwnames
[] = {
18498 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
18501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18503 if (!SWIG_IsOK(res1
)) {
18504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
18506 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18508 if (!SWIG_IsOK(ecode2
)) {
18509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
18511 arg2
= static_cast< int >(val2
);
18512 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18513 if (!SWIG_IsOK(ecode3
)) {
18514 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
18516 arg3
= static_cast< int >(val3
);
18519 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18522 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18523 if (!SWIG_IsOK(ecode5
)) {
18524 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
18526 arg5
= static_cast< int >(val5
);
18529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18530 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
18531 wxPyEndAllowThreads(__tstate
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18543 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18544 PyObject
*resultobj
= 0;
18545 wxDC
*arg1
= (wxDC
*) 0 ;
18546 wxPoint
*arg2
= 0 ;
18547 wxColour
*arg3
= 0 ;
18548 int arg4
= (int) wxFLOOD_SURFACE
;
18556 PyObject
* obj0
= 0 ;
18557 PyObject
* obj1
= 0 ;
18558 PyObject
* obj2
= 0 ;
18559 PyObject
* obj3
= 0 ;
18560 char * kwnames
[] = {
18561 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
18564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18566 if (!SWIG_IsOK(res1
)) {
18567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18569 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18572 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18576 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18579 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18580 if (!SWIG_IsOK(ecode4
)) {
18581 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
18583 arg4
= static_cast< int >(val4
);
18586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18587 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
18588 wxPyEndAllowThreads(__tstate
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18600 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18601 PyObject
*resultobj
= 0;
18602 wxDC
*arg1
= (wxDC
*) 0 ;
18604 wxColour
*arg3
= 0 ;
18605 wxColour
*arg4
= 0 ;
18606 wxPoint
*arg5
= 0 ;
18613 PyObject
* obj0
= 0 ;
18614 PyObject
* obj1
= 0 ;
18615 PyObject
* obj2
= 0 ;
18616 PyObject
* obj3
= 0 ;
18617 PyObject
* obj4
= 0 ;
18618 char * kwnames
[] = {
18619 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18624 if (!SWIG_IsOK(res1
)) {
18625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18627 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18630 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18634 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18638 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18642 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18646 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18647 wxPyEndAllowThreads(__tstate
);
18648 if (PyErr_Occurred()) SWIG_fail
;
18650 resultobj
= SWIG_Py_Void();
18657 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18658 PyObject
*resultobj
= 0;
18659 wxDC
*arg1
= (wxDC
*) 0 ;
18661 wxColour
*arg3
= 0 ;
18662 wxColour
*arg4
= 0 ;
18663 wxDirection arg5
= (wxDirection
) wxEAST
;
18671 PyObject
* obj0
= 0 ;
18672 PyObject
* obj1
= 0 ;
18673 PyObject
* obj2
= 0 ;
18674 PyObject
* obj3
= 0 ;
18675 PyObject
* obj4
= 0 ;
18676 char * kwnames
[] = {
18677 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18682 if (!SWIG_IsOK(res1
)) {
18683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18685 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18688 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18692 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18696 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18699 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18700 if (!SWIG_IsOK(ecode5
)) {
18701 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18703 arg5
= static_cast< wxDirection
>(val5
);
18706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18707 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18711 resultobj
= SWIG_Py_Void();
18718 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18719 PyObject
*resultobj
= 0;
18720 wxDC
*arg1
= (wxDC
*) 0 ;
18730 PyObject
* obj0
= 0 ;
18731 PyObject
* obj1
= 0 ;
18732 PyObject
* obj2
= 0 ;
18733 char * kwnames
[] = {
18734 (char *) "self",(char *) "x",(char *) "y", NULL
18737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18739 if (!SWIG_IsOK(res1
)) {
18740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18742 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18744 if (!SWIG_IsOK(ecode2
)) {
18745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18747 arg2
= static_cast< int >(val2
);
18748 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18749 if (!SWIG_IsOK(ecode3
)) {
18750 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18752 arg3
= static_cast< int >(val3
);
18754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18755 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18756 wxPyEndAllowThreads(__tstate
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18759 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18766 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18767 PyObject
*resultobj
= 0;
18768 wxDC
*arg1
= (wxDC
*) 0 ;
18769 wxPoint
*arg2
= 0 ;
18774 PyObject
* obj0
= 0 ;
18775 PyObject
* obj1
= 0 ;
18776 char * kwnames
[] = {
18777 (char *) "self",(char *) "pt", NULL
18780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18782 if (!SWIG_IsOK(res1
)) {
18783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18785 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18788 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18792 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18793 wxPyEndAllowThreads(__tstate
);
18794 if (PyErr_Occurred()) SWIG_fail
;
18796 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18803 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18804 PyObject
*resultobj
= 0;
18805 wxDC
*arg1
= (wxDC
*) 0 ;
18820 PyObject
* obj0
= 0 ;
18821 PyObject
* obj1
= 0 ;
18822 PyObject
* obj2
= 0 ;
18823 PyObject
* obj3
= 0 ;
18824 PyObject
* obj4
= 0 ;
18825 char * kwnames
[] = {
18826 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18831 if (!SWIG_IsOK(res1
)) {
18832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18834 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18836 if (!SWIG_IsOK(ecode2
)) {
18837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18839 arg2
= static_cast< int >(val2
);
18840 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18841 if (!SWIG_IsOK(ecode3
)) {
18842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18844 arg3
= static_cast< int >(val3
);
18845 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18846 if (!SWIG_IsOK(ecode4
)) {
18847 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18849 arg4
= static_cast< int >(val4
);
18850 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18851 if (!SWIG_IsOK(ecode5
)) {
18852 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18854 arg5
= static_cast< int >(val5
);
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 resultobj
= SWIG_Py_Void();
18868 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18869 PyObject
*resultobj
= 0;
18870 wxDC
*arg1
= (wxDC
*) 0 ;
18871 wxPoint
*arg2
= 0 ;
18872 wxPoint
*arg3
= 0 ;
18877 PyObject
* obj0
= 0 ;
18878 PyObject
* obj1
= 0 ;
18879 PyObject
* obj2
= 0 ;
18880 char * kwnames
[] = {
18881 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18886 if (!SWIG_IsOK(res1
)) {
18887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18889 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18892 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18896 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18900 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18901 wxPyEndAllowThreads(__tstate
);
18902 if (PyErr_Occurred()) SWIG_fail
;
18904 resultobj
= SWIG_Py_Void();
18911 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18912 PyObject
*resultobj
= 0;
18913 wxDC
*arg1
= (wxDC
*) 0 ;
18922 PyObject
* obj0
= 0 ;
18923 PyObject
* obj1
= 0 ;
18924 PyObject
* obj2
= 0 ;
18925 char * kwnames
[] = {
18926 (char *) "self",(char *) "x",(char *) "y", NULL
18929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18931 if (!SWIG_IsOK(res1
)) {
18932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18934 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18936 if (!SWIG_IsOK(ecode2
)) {
18937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18939 arg2
= static_cast< int >(val2
);
18940 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18941 if (!SWIG_IsOK(ecode3
)) {
18942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18944 arg3
= static_cast< int >(val3
);
18946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18947 (arg1
)->CrossHair(arg2
,arg3
);
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18951 resultobj
= SWIG_Py_Void();
18958 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18959 PyObject
*resultobj
= 0;
18960 wxDC
*arg1
= (wxDC
*) 0 ;
18961 wxPoint
*arg2
= 0 ;
18965 PyObject
* obj0
= 0 ;
18966 PyObject
* obj1
= 0 ;
18967 char * kwnames
[] = {
18968 (char *) "self",(char *) "pt", NULL
18971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18973 if (!SWIG_IsOK(res1
)) {
18974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18976 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18979 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18983 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18984 wxPyEndAllowThreads(__tstate
);
18985 if (PyErr_Occurred()) SWIG_fail
;
18987 resultobj
= SWIG_Py_Void();
18994 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18995 PyObject
*resultobj
= 0;
18996 wxDC
*arg1
= (wxDC
*) 0 ;
19017 PyObject
* obj0
= 0 ;
19018 PyObject
* obj1
= 0 ;
19019 PyObject
* obj2
= 0 ;
19020 PyObject
* obj3
= 0 ;
19021 PyObject
* obj4
= 0 ;
19022 PyObject
* obj5
= 0 ;
19023 PyObject
* obj6
= 0 ;
19024 char * kwnames
[] = {
19025 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
19028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19030 if (!SWIG_IsOK(res1
)) {
19031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
19033 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19035 if (!SWIG_IsOK(ecode2
)) {
19036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
19038 arg2
= static_cast< int >(val2
);
19039 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19040 if (!SWIG_IsOK(ecode3
)) {
19041 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
19043 arg3
= static_cast< int >(val3
);
19044 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19045 if (!SWIG_IsOK(ecode4
)) {
19046 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
19048 arg4
= static_cast< int >(val4
);
19049 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19050 if (!SWIG_IsOK(ecode5
)) {
19051 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
19053 arg5
= static_cast< int >(val5
);
19054 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19055 if (!SWIG_IsOK(ecode6
)) {
19056 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
19058 arg6
= static_cast< int >(val6
);
19059 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19060 if (!SWIG_IsOK(ecode7
)) {
19061 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
19063 arg7
= static_cast< int >(val7
);
19065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19066 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19067 wxPyEndAllowThreads(__tstate
);
19068 if (PyErr_Occurred()) SWIG_fail
;
19070 resultobj
= SWIG_Py_Void();
19077 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19078 PyObject
*resultobj
= 0;
19079 wxDC
*arg1
= (wxDC
*) 0 ;
19080 wxPoint
*arg2
= 0 ;
19081 wxPoint
*arg3
= 0 ;
19082 wxPoint
*arg4
= 0 ;
19088 PyObject
* obj0
= 0 ;
19089 PyObject
* obj1
= 0 ;
19090 PyObject
* obj2
= 0 ;
19091 PyObject
* obj3
= 0 ;
19092 char * kwnames
[] = {
19093 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
19096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19098 if (!SWIG_IsOK(res1
)) {
19099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19101 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19104 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19108 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19112 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19116 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
19117 wxPyEndAllowThreads(__tstate
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19120 resultobj
= SWIG_Py_Void();
19127 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19128 PyObject
*resultobj
= 0;
19129 wxDC
*arg1
= (wxDC
*) 0 ;
19144 PyObject
* obj0
= 0 ;
19145 PyObject
* obj1
= 0 ;
19146 PyObject
* obj2
= 0 ;
19147 PyObject
* obj3
= 0 ;
19148 PyObject
* obj4
= 0 ;
19149 char * kwnames
[] = {
19150 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19155 if (!SWIG_IsOK(res1
)) {
19156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
19158 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19160 if (!SWIG_IsOK(ecode2
)) {
19161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
19163 arg2
= static_cast< int >(val2
);
19164 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19165 if (!SWIG_IsOK(ecode3
)) {
19166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
19168 arg3
= static_cast< int >(val3
);
19169 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19170 if (!SWIG_IsOK(ecode4
)) {
19171 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
19173 arg4
= static_cast< int >(val4
);
19174 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19175 if (!SWIG_IsOK(ecode5
)) {
19176 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
19178 arg5
= static_cast< int >(val5
);
19180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19181 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
19182 wxPyEndAllowThreads(__tstate
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19185 resultobj
= SWIG_Py_Void();
19192 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19193 PyObject
*resultobj
= 0;
19194 wxDC
*arg1
= (wxDC
*) 0 ;
19199 PyObject
* obj0
= 0 ;
19200 PyObject
* obj1
= 0 ;
19201 char * kwnames
[] = {
19202 (char *) "self",(char *) "rect", NULL
19205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19207 if (!SWIG_IsOK(res1
)) {
19208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
19210 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19213 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19217 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
19218 wxPyEndAllowThreads(__tstate
);
19219 if (PyErr_Occurred()) SWIG_fail
;
19221 resultobj
= SWIG_Py_Void();
19228 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19229 PyObject
*resultobj
= 0;
19230 wxDC
*arg1
= (wxDC
*) 0 ;
19251 PyObject
* obj0
= 0 ;
19252 PyObject
* obj1
= 0 ;
19253 PyObject
* obj2
= 0 ;
19254 PyObject
* obj3
= 0 ;
19255 PyObject
* obj4
= 0 ;
19256 PyObject
* obj5
= 0 ;
19257 PyObject
* obj6
= 0 ;
19258 char * kwnames
[] = {
19259 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
19262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19264 if (!SWIG_IsOK(res1
)) {
19265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
19267 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19269 if (!SWIG_IsOK(ecode2
)) {
19270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
19272 arg2
= static_cast< int >(val2
);
19273 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19274 if (!SWIG_IsOK(ecode3
)) {
19275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
19277 arg3
= static_cast< int >(val3
);
19278 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19279 if (!SWIG_IsOK(ecode4
)) {
19280 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
19282 arg4
= static_cast< int >(val4
);
19283 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19284 if (!SWIG_IsOK(ecode5
)) {
19285 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
19287 arg5
= static_cast< int >(val5
);
19288 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19289 if (!SWIG_IsOK(ecode6
)) {
19290 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
19292 arg6
= static_cast< double >(val6
);
19293 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
19294 if (!SWIG_IsOK(ecode7
)) {
19295 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
19297 arg7
= static_cast< double >(val7
);
19299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19300 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19301 wxPyEndAllowThreads(__tstate
);
19302 if (PyErr_Occurred()) SWIG_fail
;
19304 resultobj
= SWIG_Py_Void();
19311 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19312 PyObject
*resultobj
= 0;
19313 wxDC
*arg1
= (wxDC
*) 0 ;
19314 wxPoint
*arg2
= 0 ;
19326 PyObject
* obj0
= 0 ;
19327 PyObject
* obj1
= 0 ;
19328 PyObject
* obj2
= 0 ;
19329 PyObject
* obj3
= 0 ;
19330 PyObject
* obj4
= 0 ;
19331 char * kwnames
[] = {
19332 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
19335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19337 if (!SWIG_IsOK(res1
)) {
19338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19340 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19343 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19347 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19349 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19350 if (!SWIG_IsOK(ecode4
)) {
19351 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
19353 arg4
= static_cast< double >(val4
);
19354 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19355 if (!SWIG_IsOK(ecode5
)) {
19356 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
19358 arg5
= static_cast< double >(val5
);
19360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19361 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
19362 wxPyEndAllowThreads(__tstate
);
19363 if (PyErr_Occurred()) SWIG_fail
;
19365 resultobj
= SWIG_Py_Void();
19372 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19373 PyObject
*resultobj
= 0;
19374 wxDC
*arg1
= (wxDC
*) 0 ;
19383 PyObject
* obj0
= 0 ;
19384 PyObject
* obj1
= 0 ;
19385 PyObject
* obj2
= 0 ;
19386 char * kwnames
[] = {
19387 (char *) "self",(char *) "x",(char *) "y", NULL
19390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19392 if (!SWIG_IsOK(res1
)) {
19393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19395 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19397 if (!SWIG_IsOK(ecode2
)) {
19398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
19400 arg2
= static_cast< int >(val2
);
19401 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19402 if (!SWIG_IsOK(ecode3
)) {
19403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
19405 arg3
= static_cast< int >(val3
);
19407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19408 (arg1
)->DrawPoint(arg2
,arg3
);
19409 wxPyEndAllowThreads(__tstate
);
19410 if (PyErr_Occurred()) SWIG_fail
;
19412 resultobj
= SWIG_Py_Void();
19419 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19420 PyObject
*resultobj
= 0;
19421 wxDC
*arg1
= (wxDC
*) 0 ;
19422 wxPoint
*arg2
= 0 ;
19426 PyObject
* obj0
= 0 ;
19427 PyObject
* obj1
= 0 ;
19428 char * kwnames
[] = {
19429 (char *) "self",(char *) "pt", NULL
19432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19434 if (!SWIG_IsOK(res1
)) {
19435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19437 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19440 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19444 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
19445 wxPyEndAllowThreads(__tstate
);
19446 if (PyErr_Occurred()) SWIG_fail
;
19448 resultobj
= SWIG_Py_Void();
19455 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19456 PyObject
*resultobj
= 0;
19457 wxDC
*arg1
= (wxDC
*) 0 ;
19472 PyObject
* obj0
= 0 ;
19473 PyObject
* obj1
= 0 ;
19474 PyObject
* obj2
= 0 ;
19475 PyObject
* obj3
= 0 ;
19476 PyObject
* obj4
= 0 ;
19477 char * kwnames
[] = {
19478 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19483 if (!SWIG_IsOK(res1
)) {
19484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19486 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19488 if (!SWIG_IsOK(ecode2
)) {
19489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
19491 arg2
= static_cast< int >(val2
);
19492 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19493 if (!SWIG_IsOK(ecode3
)) {
19494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
19496 arg3
= static_cast< int >(val3
);
19497 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19498 if (!SWIG_IsOK(ecode4
)) {
19499 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
19501 arg4
= static_cast< int >(val4
);
19502 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19503 if (!SWIG_IsOK(ecode5
)) {
19504 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
19506 arg5
= static_cast< int >(val5
);
19508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19509 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
19510 wxPyEndAllowThreads(__tstate
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19513 resultobj
= SWIG_Py_Void();
19520 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
= 0;
19522 wxDC
*arg1
= (wxDC
*) 0 ;
19527 PyObject
* obj0
= 0 ;
19528 PyObject
* obj1
= 0 ;
19529 char * kwnames
[] = {
19530 (char *) "self",(char *) "rect", NULL
19533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19535 if (!SWIG_IsOK(res1
)) {
19536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19538 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19541 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
19546 wxPyEndAllowThreads(__tstate
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19549 resultobj
= SWIG_Py_Void();
19556 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19557 PyObject
*resultobj
= 0;
19558 wxDC
*arg1
= (wxDC
*) 0 ;
19559 wxPoint
*arg2
= 0 ;
19565 PyObject
* obj0
= 0 ;
19566 PyObject
* obj1
= 0 ;
19567 PyObject
* obj2
= 0 ;
19568 char * kwnames
[] = {
19569 (char *) "self",(char *) "pt",(char *) "sz", NULL
19572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19574 if (!SWIG_IsOK(res1
)) {
19575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19577 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19580 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19584 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19588 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19592 resultobj
= SWIG_Py_Void();
19599 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
= 0;
19601 wxDC
*arg1
= (wxDC
*) 0 ;
19619 PyObject
* obj0
= 0 ;
19620 PyObject
* obj1
= 0 ;
19621 PyObject
* obj2
= 0 ;
19622 PyObject
* obj3
= 0 ;
19623 PyObject
* obj4
= 0 ;
19624 PyObject
* obj5
= 0 ;
19625 char * kwnames
[] = {
19626 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19631 if (!SWIG_IsOK(res1
)) {
19632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19634 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19636 if (!SWIG_IsOK(ecode2
)) {
19637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19639 arg2
= static_cast< int >(val2
);
19640 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19641 if (!SWIG_IsOK(ecode3
)) {
19642 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19644 arg3
= static_cast< int >(val3
);
19645 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19646 if (!SWIG_IsOK(ecode4
)) {
19647 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19649 arg4
= static_cast< int >(val4
);
19650 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19651 if (!SWIG_IsOK(ecode5
)) {
19652 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19654 arg5
= static_cast< int >(val5
);
19655 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19656 if (!SWIG_IsOK(ecode6
)) {
19657 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19659 arg6
= static_cast< double >(val6
);
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19663 wxPyEndAllowThreads(__tstate
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19666 resultobj
= SWIG_Py_Void();
19673 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19674 PyObject
*resultobj
= 0;
19675 wxDC
*arg1
= (wxDC
*) 0 ;
19683 PyObject
* obj0
= 0 ;
19684 PyObject
* obj1
= 0 ;
19685 PyObject
* obj2
= 0 ;
19686 char * kwnames
[] = {
19687 (char *) "self",(char *) "r",(char *) "radius", NULL
19690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19692 if (!SWIG_IsOK(res1
)) {
19693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19695 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19698 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19700 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19701 if (!SWIG_IsOK(ecode3
)) {
19702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19704 arg3
= static_cast< double >(val3
);
19706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19707 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19708 wxPyEndAllowThreads(__tstate
);
19709 if (PyErr_Occurred()) SWIG_fail
;
19711 resultobj
= SWIG_Py_Void();
19718 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19719 PyObject
*resultobj
= 0;
19720 wxDC
*arg1
= (wxDC
*) 0 ;
19721 wxPoint
*arg2
= 0 ;
19730 PyObject
* obj0
= 0 ;
19731 PyObject
* obj1
= 0 ;
19732 PyObject
* obj2
= 0 ;
19733 PyObject
* obj3
= 0 ;
19734 char * kwnames
[] = {
19735 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19740 if (!SWIG_IsOK(res1
)) {
19741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19743 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19746 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19750 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19752 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19753 if (!SWIG_IsOK(ecode4
)) {
19754 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19756 arg4
= static_cast< double >(val4
);
19758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19759 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19760 wxPyEndAllowThreads(__tstate
);
19761 if (PyErr_Occurred()) SWIG_fail
;
19763 resultobj
= SWIG_Py_Void();
19770 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19771 PyObject
*resultobj
= 0;
19772 wxDC
*arg1
= (wxDC
*) 0 ;
19784 PyObject
* obj0
= 0 ;
19785 PyObject
* obj1
= 0 ;
19786 PyObject
* obj2
= 0 ;
19787 PyObject
* obj3
= 0 ;
19788 char * kwnames
[] = {
19789 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19794 if (!SWIG_IsOK(res1
)) {
19795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19797 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19799 if (!SWIG_IsOK(ecode2
)) {
19800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19802 arg2
= static_cast< int >(val2
);
19803 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19804 if (!SWIG_IsOK(ecode3
)) {
19805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19807 arg3
= static_cast< int >(val3
);
19808 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19809 if (!SWIG_IsOK(ecode4
)) {
19810 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19812 arg4
= static_cast< int >(val4
);
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19816 wxPyEndAllowThreads(__tstate
);
19817 if (PyErr_Occurred()) SWIG_fail
;
19819 resultobj
= SWIG_Py_Void();
19826 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19827 PyObject
*resultobj
= 0;
19828 wxDC
*arg1
= (wxDC
*) 0 ;
19829 wxPoint
*arg2
= 0 ;
19836 PyObject
* obj0
= 0 ;
19837 PyObject
* obj1
= 0 ;
19838 PyObject
* obj2
= 0 ;
19839 char * kwnames
[] = {
19840 (char *) "self",(char *) "pt",(char *) "radius", NULL
19843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19845 if (!SWIG_IsOK(res1
)) {
19846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19848 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19851 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19853 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19854 if (!SWIG_IsOK(ecode3
)) {
19855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19857 arg3
= static_cast< int >(val3
);
19859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19860 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19861 wxPyEndAllowThreads(__tstate
);
19862 if (PyErr_Occurred()) SWIG_fail
;
19864 resultobj
= SWIG_Py_Void();
19871 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19872 PyObject
*resultobj
= 0;
19873 wxDC
*arg1
= (wxDC
*) 0 ;
19888 PyObject
* obj0
= 0 ;
19889 PyObject
* obj1
= 0 ;
19890 PyObject
* obj2
= 0 ;
19891 PyObject
* obj3
= 0 ;
19892 PyObject
* obj4
= 0 ;
19893 char * kwnames
[] = {
19894 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19899 if (!SWIG_IsOK(res1
)) {
19900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19902 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19904 if (!SWIG_IsOK(ecode2
)) {
19905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19907 arg2
= static_cast< int >(val2
);
19908 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19909 if (!SWIG_IsOK(ecode3
)) {
19910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19912 arg3
= static_cast< int >(val3
);
19913 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19914 if (!SWIG_IsOK(ecode4
)) {
19915 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19917 arg4
= static_cast< int >(val4
);
19918 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19919 if (!SWIG_IsOK(ecode5
)) {
19920 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19922 arg5
= static_cast< int >(val5
);
19924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19925 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19926 wxPyEndAllowThreads(__tstate
);
19927 if (PyErr_Occurred()) SWIG_fail
;
19929 resultobj
= SWIG_Py_Void();
19936 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19937 PyObject
*resultobj
= 0;
19938 wxDC
*arg1
= (wxDC
*) 0 ;
19943 PyObject
* obj0
= 0 ;
19944 PyObject
* obj1
= 0 ;
19945 char * kwnames
[] = {
19946 (char *) "self",(char *) "rect", NULL
19949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19951 if (!SWIG_IsOK(res1
)) {
19952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19954 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19957 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19961 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19962 wxPyEndAllowThreads(__tstate
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19965 resultobj
= SWIG_Py_Void();
19972 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19973 PyObject
*resultobj
= 0;
19974 wxDC
*arg1
= (wxDC
*) 0 ;
19975 wxPoint
*arg2
= 0 ;
19981 PyObject
* obj0
= 0 ;
19982 PyObject
* obj1
= 0 ;
19983 PyObject
* obj2
= 0 ;
19984 char * kwnames
[] = {
19985 (char *) "self",(char *) "pt",(char *) "sz", NULL
19988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19990 if (!SWIG_IsOK(res1
)) {
19991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19993 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19996 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20000 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20004 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20005 wxPyEndAllowThreads(__tstate
);
20006 if (PyErr_Occurred()) SWIG_fail
;
20008 resultobj
= SWIG_Py_Void();
20015 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20016 PyObject
*resultobj
= 0;
20017 wxDC
*arg1
= (wxDC
*) 0 ;
20029 PyObject
* obj0
= 0 ;
20030 PyObject
* obj1
= 0 ;
20031 PyObject
* obj2
= 0 ;
20032 PyObject
* obj3
= 0 ;
20033 char * kwnames
[] = {
20034 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
20037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20039 if (!SWIG_IsOK(res1
)) {
20040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
20042 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20043 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
20044 if (!SWIG_IsOK(res2
)) {
20045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
20048 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
20050 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
20051 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20052 if (!SWIG_IsOK(ecode3
)) {
20053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
20055 arg3
= static_cast< int >(val3
);
20056 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20057 if (!SWIG_IsOK(ecode4
)) {
20058 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
20060 arg4
= static_cast< int >(val4
);
20062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20063 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
20064 wxPyEndAllowThreads(__tstate
);
20065 if (PyErr_Occurred()) SWIG_fail
;
20067 resultobj
= SWIG_Py_Void();
20074 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20075 PyObject
*resultobj
= 0;
20076 wxDC
*arg1
= (wxDC
*) 0 ;
20078 wxPoint
*arg3
= 0 ;
20084 PyObject
* obj0
= 0 ;
20085 PyObject
* obj1
= 0 ;
20086 PyObject
* obj2
= 0 ;
20087 char * kwnames
[] = {
20088 (char *) "self",(char *) "icon",(char *) "pt", NULL
20091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20093 if (!SWIG_IsOK(res1
)) {
20094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20097 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
20098 if (!SWIG_IsOK(res2
)) {
20099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
20102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
20104 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
20107 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20111 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
20112 wxPyEndAllowThreads(__tstate
);
20113 if (PyErr_Occurred()) SWIG_fail
;
20115 resultobj
= SWIG_Py_Void();
20122 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20123 PyObject
*resultobj
= 0;
20124 wxDC
*arg1
= (wxDC
*) 0 ;
20125 wxBitmap
*arg2
= 0 ;
20128 bool arg5
= (bool) false ;
20139 PyObject
* obj0
= 0 ;
20140 PyObject
* obj1
= 0 ;
20141 PyObject
* obj2
= 0 ;
20142 PyObject
* obj3
= 0 ;
20143 PyObject
* obj4
= 0 ;
20144 char * kwnames
[] = {
20145 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
20148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20150 if (!SWIG_IsOK(res1
)) {
20151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
20153 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20154 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20155 if (!SWIG_IsOK(res2
)) {
20156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20161 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20162 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20163 if (!SWIG_IsOK(ecode3
)) {
20164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
20166 arg3
= static_cast< int >(val3
);
20167 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20168 if (!SWIG_IsOK(ecode4
)) {
20169 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
20171 arg4
= static_cast< int >(val4
);
20173 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20174 if (!SWIG_IsOK(ecode5
)) {
20175 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
20177 arg5
= static_cast< bool >(val5
);
20180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20181 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
20182 wxPyEndAllowThreads(__tstate
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20185 resultobj
= SWIG_Py_Void();
20192 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20193 PyObject
*resultobj
= 0;
20194 wxDC
*arg1
= (wxDC
*) 0 ;
20195 wxBitmap
*arg2
= 0 ;
20196 wxPoint
*arg3
= 0 ;
20197 bool arg4
= (bool) false ;
20205 PyObject
* obj0
= 0 ;
20206 PyObject
* obj1
= 0 ;
20207 PyObject
* obj2
= 0 ;
20208 PyObject
* obj3
= 0 ;
20209 char * kwnames
[] = {
20210 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
20213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20215 if (!SWIG_IsOK(res1
)) {
20216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20218 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20219 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20220 if (!SWIG_IsOK(res2
)) {
20221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20226 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20229 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20232 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20233 if (!SWIG_IsOK(ecode4
)) {
20234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
20236 arg4
= static_cast< bool >(val4
);
20239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20240 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20241 wxPyEndAllowThreads(__tstate
);
20242 if (PyErr_Occurred()) SWIG_fail
;
20244 resultobj
= SWIG_Py_Void();
20251 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20252 PyObject
*resultobj
= 0;
20253 wxDC
*arg1
= (wxDC
*) 0 ;
20254 wxString
*arg2
= 0 ;
20259 bool temp2
= false ;
20264 PyObject
* obj0
= 0 ;
20265 PyObject
* obj1
= 0 ;
20266 PyObject
* obj2
= 0 ;
20267 PyObject
* obj3
= 0 ;
20268 char * kwnames
[] = {
20269 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
20272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20274 if (!SWIG_IsOK(res1
)) {
20275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
20277 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20279 arg2
= wxString_in_helper(obj1
);
20280 if (arg2
== NULL
) SWIG_fail
;
20283 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20284 if (!SWIG_IsOK(ecode3
)) {
20285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
20287 arg3
= static_cast< int >(val3
);
20288 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20289 if (!SWIG_IsOK(ecode4
)) {
20290 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
20292 arg4
= static_cast< int >(val4
);
20294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20295 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
20296 wxPyEndAllowThreads(__tstate
);
20297 if (PyErr_Occurred()) SWIG_fail
;
20299 resultobj
= SWIG_Py_Void();
20314 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20315 PyObject
*resultobj
= 0;
20316 wxDC
*arg1
= (wxDC
*) 0 ;
20317 wxString
*arg2
= 0 ;
20318 wxPoint
*arg3
= 0 ;
20321 bool temp2
= false ;
20323 PyObject
* obj0
= 0 ;
20324 PyObject
* obj1
= 0 ;
20325 PyObject
* obj2
= 0 ;
20326 char * kwnames
[] = {
20327 (char *) "self",(char *) "text",(char *) "pt", NULL
20330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20332 if (!SWIG_IsOK(res1
)) {
20333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20335 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20337 arg2
= wxString_in_helper(obj1
);
20338 if (arg2
== NULL
) SWIG_fail
;
20343 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
20348 wxPyEndAllowThreads(__tstate
);
20349 if (PyErr_Occurred()) SWIG_fail
;
20351 resultobj
= SWIG_Py_Void();
20366 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20367 PyObject
*resultobj
= 0;
20368 wxDC
*arg1
= (wxDC
*) 0 ;
20369 wxString
*arg2
= 0 ;
20375 bool temp2
= false ;
20382 PyObject
* obj0
= 0 ;
20383 PyObject
* obj1
= 0 ;
20384 PyObject
* obj2
= 0 ;
20385 PyObject
* obj3
= 0 ;
20386 PyObject
* obj4
= 0 ;
20387 char * kwnames
[] = {
20388 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
20391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20393 if (!SWIG_IsOK(res1
)) {
20394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
20396 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20398 arg2
= wxString_in_helper(obj1
);
20399 if (arg2
== NULL
) SWIG_fail
;
20402 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20403 if (!SWIG_IsOK(ecode3
)) {
20404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
20406 arg3
= static_cast< int >(val3
);
20407 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20408 if (!SWIG_IsOK(ecode4
)) {
20409 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
20411 arg4
= static_cast< int >(val4
);
20412 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
20413 if (!SWIG_IsOK(ecode5
)) {
20414 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
20416 arg5
= static_cast< double >(val5
);
20418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20419 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20420 wxPyEndAllowThreads(__tstate
);
20421 if (PyErr_Occurred()) SWIG_fail
;
20423 resultobj
= SWIG_Py_Void();
20438 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20439 PyObject
*resultobj
= 0;
20440 wxDC
*arg1
= (wxDC
*) 0 ;
20441 wxString
*arg2
= 0 ;
20442 wxPoint
*arg3
= 0 ;
20446 bool temp2
= false ;
20450 PyObject
* obj0
= 0 ;
20451 PyObject
* obj1
= 0 ;
20452 PyObject
* obj2
= 0 ;
20453 PyObject
* obj3
= 0 ;
20454 char * kwnames
[] = {
20455 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
20458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20460 if (!SWIG_IsOK(res1
)) {
20461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20463 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20465 arg2
= wxString_in_helper(obj1
);
20466 if (arg2
== NULL
) SWIG_fail
;
20471 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20473 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
20474 if (!SWIG_IsOK(ecode4
)) {
20475 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
20477 arg4
= static_cast< double >(val4
);
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20481 wxPyEndAllowThreads(__tstate
);
20482 if (PyErr_Occurred()) SWIG_fail
;
20484 resultobj
= SWIG_Py_Void();
20499 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20500 PyObject
*resultobj
= 0;
20501 wxDC
*arg1
= (wxDC
*) 0 ;
20506 wxDC
*arg6
= (wxDC
*) 0 ;
20509 int arg9
= (int) wxCOPY
;
20510 bool arg10
= (bool) false ;
20511 int arg11
= (int) -1 ;
20512 int arg12
= (int) -1 ;
20538 PyObject
* obj0
= 0 ;
20539 PyObject
* obj1
= 0 ;
20540 PyObject
* obj2
= 0 ;
20541 PyObject
* obj3
= 0 ;
20542 PyObject
* obj4
= 0 ;
20543 PyObject
* obj5
= 0 ;
20544 PyObject
* obj6
= 0 ;
20545 PyObject
* obj7
= 0 ;
20546 PyObject
* obj8
= 0 ;
20547 PyObject
* obj9
= 0 ;
20548 PyObject
* obj10
= 0 ;
20549 PyObject
* obj11
= 0 ;
20550 char * kwnames
[] = {
20551 (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
20554 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
;
20555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20556 if (!SWIG_IsOK(res1
)) {
20557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
20559 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20561 if (!SWIG_IsOK(ecode2
)) {
20562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
20564 arg2
= static_cast< int >(val2
);
20565 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20566 if (!SWIG_IsOK(ecode3
)) {
20567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
20569 arg3
= static_cast< int >(val3
);
20570 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20571 if (!SWIG_IsOK(ecode4
)) {
20572 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
20574 arg4
= static_cast< int >(val4
);
20575 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20576 if (!SWIG_IsOK(ecode5
)) {
20577 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
20579 arg5
= static_cast< int >(val5
);
20580 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20581 if (!SWIG_IsOK(res6
)) {
20582 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
20584 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20585 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20586 if (!SWIG_IsOK(ecode7
)) {
20587 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
20589 arg7
= static_cast< int >(val7
);
20590 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20591 if (!SWIG_IsOK(ecode8
)) {
20592 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
20594 arg8
= static_cast< int >(val8
);
20596 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20597 if (!SWIG_IsOK(ecode9
)) {
20598 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
20600 arg9
= static_cast< int >(val9
);
20603 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20604 if (!SWIG_IsOK(ecode10
)) {
20605 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20607 arg10
= static_cast< bool >(val10
);
20610 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20611 if (!SWIG_IsOK(ecode11
)) {
20612 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20614 arg11
= static_cast< int >(val11
);
20617 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20618 if (!SWIG_IsOK(ecode12
)) {
20619 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20621 arg12
= static_cast< int >(val12
);
20624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20626 wxPyEndAllowThreads(__tstate
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20638 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
= 0;
20640 wxDC
*arg1
= (wxDC
*) 0 ;
20641 wxPoint
*arg2
= 0 ;
20643 wxDC
*arg4
= (wxDC
*) 0 ;
20644 wxPoint
*arg5
= 0 ;
20645 int arg6
= (int) wxCOPY
;
20646 bool arg7
= (bool) false ;
20647 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20648 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20662 PyObject
* obj0
= 0 ;
20663 PyObject
* obj1
= 0 ;
20664 PyObject
* obj2
= 0 ;
20665 PyObject
* obj3
= 0 ;
20666 PyObject
* obj4
= 0 ;
20667 PyObject
* obj5
= 0 ;
20668 PyObject
* obj6
= 0 ;
20669 PyObject
* obj7
= 0 ;
20670 char * kwnames
[] = {
20671 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20676 if (!SWIG_IsOK(res1
)) {
20677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20679 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20682 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20686 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20688 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20689 if (!SWIG_IsOK(res4
)) {
20690 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20692 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20695 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20698 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20699 if (!SWIG_IsOK(ecode6
)) {
20700 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20702 arg6
= static_cast< int >(val6
);
20705 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20706 if (!SWIG_IsOK(ecode7
)) {
20707 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20709 arg7
= static_cast< bool >(val7
);
20714 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20719 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20720 wxPyEndAllowThreads(__tstate
);
20721 if (PyErr_Occurred()) SWIG_fail
;
20724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20732 SWIGINTERN PyObject
*_wrap_DC_StretchBlit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20733 PyObject
*resultobj
= 0;
20734 wxDC
*arg1
= (wxDC
*) 0 ;
20739 wxDC
*arg6
= (wxDC
*) 0 ;
20744 int arg11
= (int) wxCOPY
;
20745 bool arg12
= (bool) false ;
20746 int arg13
= (int) wxDefaultCoord
;
20747 int arg14
= (int) wxDefaultCoord
;
20777 PyObject
* obj0
= 0 ;
20778 PyObject
* obj1
= 0 ;
20779 PyObject
* obj2
= 0 ;
20780 PyObject
* obj3
= 0 ;
20781 PyObject
* obj4
= 0 ;
20782 PyObject
* obj5
= 0 ;
20783 PyObject
* obj6
= 0 ;
20784 PyObject
* obj7
= 0 ;
20785 PyObject
* obj8
= 0 ;
20786 PyObject
* obj9
= 0 ;
20787 PyObject
* obj10
= 0 ;
20788 PyObject
* obj11
= 0 ;
20789 PyObject
* obj12
= 0 ;
20790 PyObject
* obj13
= 0 ;
20791 char * kwnames
[] = {
20792 (char *) "self",(char *) "dstX",(char *) "dstY",(char *) "dstWidth",(char *) "dstHeight",(char *) "source",(char *) "srcX",(char *) "srcY",(char *) "srcWidth",(char *) "srcHeight",(char *) "rop",(char *) "useMask",(char *) "srcMaskX",(char *) "srcMaskY", NULL
20795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOOOO|OOOO:DC_StretchBlit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
,&obj12
,&obj13
)) SWIG_fail
;
20796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20797 if (!SWIG_IsOK(res1
)) {
20798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StretchBlit" "', expected argument " "1"" of type '" "wxDC *""'");
20800 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20802 if (!SWIG_IsOK(ecode2
)) {
20803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_StretchBlit" "', expected argument " "2"" of type '" "int""'");
20805 arg2
= static_cast< int >(val2
);
20806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20807 if (!SWIG_IsOK(ecode3
)) {
20808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_StretchBlit" "', expected argument " "3"" of type '" "int""'");
20810 arg3
= static_cast< int >(val3
);
20811 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20812 if (!SWIG_IsOK(ecode4
)) {
20813 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_StretchBlit" "', expected argument " "4"" of type '" "int""'");
20815 arg4
= static_cast< int >(val4
);
20816 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20817 if (!SWIG_IsOK(ecode5
)) {
20818 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_StretchBlit" "', expected argument " "5"" of type '" "int""'");
20820 arg5
= static_cast< int >(val5
);
20821 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20822 if (!SWIG_IsOK(res6
)) {
20823 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_StretchBlit" "', expected argument " "6"" of type '" "wxDC *""'");
20825 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20826 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20827 if (!SWIG_IsOK(ecode7
)) {
20828 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_StretchBlit" "', expected argument " "7"" of type '" "int""'");
20830 arg7
= static_cast< int >(val7
);
20831 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20832 if (!SWIG_IsOK(ecode8
)) {
20833 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_StretchBlit" "', expected argument " "8"" of type '" "int""'");
20835 arg8
= static_cast< int >(val8
);
20836 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20837 if (!SWIG_IsOK(ecode9
)) {
20838 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_StretchBlit" "', expected argument " "9"" of type '" "int""'");
20840 arg9
= static_cast< int >(val9
);
20841 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
20842 if (!SWIG_IsOK(ecode10
)) {
20843 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_StretchBlit" "', expected argument " "10"" of type '" "int""'");
20845 arg10
= static_cast< int >(val10
);
20847 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20848 if (!SWIG_IsOK(ecode11
)) {
20849 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_StretchBlit" "', expected argument " "11"" of type '" "int""'");
20851 arg11
= static_cast< int >(val11
);
20854 ecode12
= SWIG_AsVal_bool(obj11
, &val12
);
20855 if (!SWIG_IsOK(ecode12
)) {
20856 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_StretchBlit" "', expected argument " "12"" of type '" "bool""'");
20858 arg12
= static_cast< bool >(val12
);
20861 ecode13
= SWIG_AsVal_int(obj12
, &val13
);
20862 if (!SWIG_IsOK(ecode13
)) {
20863 SWIG_exception_fail(SWIG_ArgError(ecode13
), "in method '" "DC_StretchBlit" "', expected argument " "13"" of type '" "int""'");
20865 arg13
= static_cast< int >(val13
);
20868 ecode14
= SWIG_AsVal_int(obj13
, &val14
);
20869 if (!SWIG_IsOK(ecode14
)) {
20870 SWIG_exception_fail(SWIG_ArgError(ecode14
), "in method '" "DC_StretchBlit" "', expected argument " "14"" of type '" "int""'");
20872 arg14
= static_cast< int >(val14
);
20875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20876 result
= (bool)(arg1
)->StretchBlit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
,arg13
,arg14
);
20877 wxPyEndAllowThreads(__tstate
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20889 SWIGINTERN PyObject
*_wrap_DC_StretchBlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20890 PyObject
*resultobj
= 0;
20891 wxDC
*arg1
= (wxDC
*) 0 ;
20892 wxPoint
*arg2
= 0 ;
20894 wxDC
*arg4
= (wxDC
*) 0 ;
20895 wxPoint
*arg5
= 0 ;
20897 int arg7
= (int) wxCOPY
;
20898 bool arg8
= (bool) false ;
20899 wxPoint
const &arg9_defvalue
= wxDefaultPosition
;
20900 wxPoint
*arg9
= (wxPoint
*) &arg9_defvalue
;
20915 PyObject
* obj0
= 0 ;
20916 PyObject
* obj1
= 0 ;
20917 PyObject
* obj2
= 0 ;
20918 PyObject
* obj3
= 0 ;
20919 PyObject
* obj4
= 0 ;
20920 PyObject
* obj5
= 0 ;
20921 PyObject
* obj6
= 0 ;
20922 PyObject
* obj7
= 0 ;
20923 PyObject
* obj8
= 0 ;
20924 char * kwnames
[] = {
20925 (char *) "self",(char *) "dstPt",(char *) "dstSize",(char *) "source",(char *) "srcPt",(char *) "srcSize",(char *) "rop",(char *) "useMask",(char *) "srcMaskPt", NULL
20928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOO:DC_StretchBlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
20929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20930 if (!SWIG_IsOK(res1
)) {
20931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20933 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20936 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20940 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20942 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20943 if (!SWIG_IsOK(res4
)) {
20944 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20946 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20949 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20953 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20956 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20957 if (!SWIG_IsOK(ecode7
)) {
20958 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "7"" of type '" "int""'");
20960 arg7
= static_cast< int >(val7
);
20963 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
20964 if (!SWIG_IsOK(ecode8
)) {
20965 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "8"" of type '" "bool""'");
20967 arg8
= static_cast< bool >(val8
);
20972 if ( ! wxPoint_helper(obj8
, &arg9
)) SWIG_fail
;
20976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20977 result
= (bool)(arg1
)->StretchBlit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,(wxPoint
const &)*arg9
);
20978 wxPyEndAllowThreads(__tstate
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20990 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20991 PyObject
*resultobj
= 0;
20992 wxDC
*arg1
= (wxDC
*) 0 ;
20993 wxRect
*arg2
= (wxRect
*) NULL
;
20994 SwigValueWrapper
<wxBitmap
> result
;
20999 PyObject
* obj0
= 0 ;
21000 PyObject
* obj1
= 0 ;
21001 char * kwnames
[] = {
21002 (char *) "self",(char *) "subrect", NULL
21005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21007 if (!SWIG_IsOK(res1
)) {
21008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21010 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21012 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
21013 if (!SWIG_IsOK(res2
)) {
21014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
21016 arg2
= reinterpret_cast< wxRect
* >(argp2
);
21019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21020 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
21021 wxPyEndAllowThreads(__tstate
);
21022 if (PyErr_Occurred()) SWIG_fail
;
21024 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
21031 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21032 PyObject
*resultobj
= 0;
21033 wxDC
*arg1
= (wxDC
*) 0 ;
21048 PyObject
* obj0
= 0 ;
21049 PyObject
* obj1
= 0 ;
21050 PyObject
* obj2
= 0 ;
21051 PyObject
* obj3
= 0 ;
21052 PyObject
* obj4
= 0 ;
21053 char * kwnames
[] = {
21054 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21059 if (!SWIG_IsOK(res1
)) {
21060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21062 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21064 if (!SWIG_IsOK(ecode2
)) {
21065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
21067 arg2
= static_cast< int >(val2
);
21068 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21069 if (!SWIG_IsOK(ecode3
)) {
21070 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
21072 arg3
= static_cast< int >(val3
);
21073 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21074 if (!SWIG_IsOK(ecode4
)) {
21075 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
21077 arg4
= static_cast< int >(val4
);
21078 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21079 if (!SWIG_IsOK(ecode5
)) {
21080 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
21082 arg5
= static_cast< int >(val5
);
21084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21085 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
21086 wxPyEndAllowThreads(__tstate
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21089 resultobj
= SWIG_Py_Void();
21096 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21097 PyObject
*resultobj
= 0;
21098 wxDC
*arg1
= (wxDC
*) 0 ;
21099 wxPoint
*arg2
= 0 ;
21105 PyObject
* obj0
= 0 ;
21106 PyObject
* obj1
= 0 ;
21107 PyObject
* obj2
= 0 ;
21108 char * kwnames
[] = {
21109 (char *) "self",(char *) "pt",(char *) "sz", NULL
21112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21114 if (!SWIG_IsOK(res1
)) {
21115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
21117 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21120 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21124 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
21127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21128 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
21129 wxPyEndAllowThreads(__tstate
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21132 resultobj
= SWIG_Py_Void();
21139 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21140 PyObject
*resultobj
= 0;
21141 wxDC
*arg1
= (wxDC
*) 0 ;
21142 wxRegion
*arg2
= 0 ;
21147 PyObject
* obj0
= 0 ;
21148 PyObject
* obj1
= 0 ;
21149 char * kwnames
[] = {
21150 (char *) "self",(char *) "region", NULL
21153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21155 if (!SWIG_IsOK(res1
)) {
21156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21158 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21159 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
21160 if (!SWIG_IsOK(res2
)) {
21161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
21164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
21166 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
21168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21169 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
21170 wxPyEndAllowThreads(__tstate
);
21171 if (PyErr_Occurred()) SWIG_fail
;
21173 resultobj
= SWIG_Py_Void();
21180 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21181 PyObject
*resultobj
= 0;
21182 wxDC
*arg1
= (wxDC
*) 0 ;
21187 PyObject
* obj0
= 0 ;
21188 PyObject
* obj1
= 0 ;
21189 char * kwnames
[] = {
21190 (char *) "self",(char *) "rect", NULL
21193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21195 if (!SWIG_IsOK(res1
)) {
21196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21198 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21201 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21205 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21209 resultobj
= SWIG_Py_Void();
21216 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21217 PyObject
*resultobj
= 0;
21218 wxDC
*arg1
= (wxDC
*) 0 ;
21220 wxPoint
*arg3
= (wxPoint
*) 0 ;
21221 int arg4
= (int) 0 ;
21222 int arg5
= (int) 0 ;
21229 PyObject
* obj0
= 0 ;
21230 PyObject
* obj1
= 0 ;
21231 PyObject
* obj2
= 0 ;
21232 PyObject
* obj3
= 0 ;
21233 char * kwnames
[] = {
21234 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
21237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21239 if (!SWIG_IsOK(res1
)) {
21240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
21242 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21244 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
21245 if (arg3
== NULL
) SWIG_fail
;
21248 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
21249 if (!SWIG_IsOK(ecode4
)) {
21250 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
21252 arg4
= static_cast< int >(val4
);
21255 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
21256 if (!SWIG_IsOK(ecode5
)) {
21257 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
21259 arg5
= static_cast< int >(val5
);
21262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21263 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
21264 wxPyEndAllowThreads(__tstate
);
21265 if (PyErr_Occurred()) SWIG_fail
;
21267 resultobj
= SWIG_Py_Void();
21269 if (arg3
) delete [] arg3
;
21274 if (arg3
) delete [] arg3
;
21280 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21281 PyObject
*resultobj
= 0;
21282 wxDC
*arg1
= (wxDC
*) 0 ;
21284 wxPoint
*arg3
= (wxPoint
*) 0 ;
21285 int arg4
= (int) 0 ;
21286 int arg5
= (int) 0 ;
21287 int arg6
= (int) wxODDEVEN_RULE
;
21296 PyObject
* obj0
= 0 ;
21297 PyObject
* obj1
= 0 ;
21298 PyObject
* obj2
= 0 ;
21299 PyObject
* obj3
= 0 ;
21300 PyObject
* obj4
= 0 ;
21301 char * kwnames
[] = {
21302 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
21305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21307 if (!SWIG_IsOK(res1
)) {
21308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
21310 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21312 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
21313 if (arg3
== NULL
) SWIG_fail
;
21316 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
21317 if (!SWIG_IsOK(ecode4
)) {
21318 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
21320 arg4
= static_cast< int >(val4
);
21323 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
21324 if (!SWIG_IsOK(ecode5
)) {
21325 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
21327 arg5
= static_cast< int >(val5
);
21330 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
21331 if (!SWIG_IsOK(ecode6
)) {
21332 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
21334 arg6
= static_cast< int >(val6
);
21337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21338 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
21339 wxPyEndAllowThreads(__tstate
);
21340 if (PyErr_Occurred()) SWIG_fail
;
21342 resultobj
= SWIG_Py_Void();
21344 if (arg3
) delete [] arg3
;
21349 if (arg3
) delete [] arg3
;
21355 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21356 PyObject
*resultobj
= 0;
21357 wxDC
*arg1
= (wxDC
*) 0 ;
21358 wxString
*arg2
= 0 ;
21360 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
21361 int arg5
= (int) -1 ;
21364 bool temp2
= false ;
21370 PyObject
* obj0
= 0 ;
21371 PyObject
* obj1
= 0 ;
21372 PyObject
* obj2
= 0 ;
21373 PyObject
* obj3
= 0 ;
21374 PyObject
* obj4
= 0 ;
21375 char * kwnames
[] = {
21376 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
21379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21381 if (!SWIG_IsOK(res1
)) {
21382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
21384 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21386 arg2
= wxString_in_helper(obj1
);
21387 if (arg2
== NULL
) SWIG_fail
;
21392 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
21395 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21396 if (!SWIG_IsOK(ecode4
)) {
21397 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
21399 arg4
= static_cast< int >(val4
);
21402 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21403 if (!SWIG_IsOK(ecode5
)) {
21404 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
21406 arg5
= static_cast< int >(val5
);
21409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21410 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
21411 wxPyEndAllowThreads(__tstate
);
21412 if (PyErr_Occurred()) SWIG_fail
;
21414 resultobj
= SWIG_Py_Void();
21429 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21430 PyObject
*resultobj
= 0;
21431 wxDC
*arg1
= (wxDC
*) 0 ;
21432 wxString
*arg2
= 0 ;
21433 wxBitmap
*arg3
= 0 ;
21435 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
21436 int arg6
= (int) -1 ;
21440 bool temp2
= false ;
21448 PyObject
* obj0
= 0 ;
21449 PyObject
* obj1
= 0 ;
21450 PyObject
* obj2
= 0 ;
21451 PyObject
* obj3
= 0 ;
21452 PyObject
* obj4
= 0 ;
21453 PyObject
* obj5
= 0 ;
21454 char * kwnames
[] = {
21455 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
21458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21460 if (!SWIG_IsOK(res1
)) {
21461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
21463 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21465 arg2
= wxString_in_helper(obj1
);
21466 if (arg2
== NULL
) SWIG_fail
;
21469 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21470 if (!SWIG_IsOK(res3
)) {
21471 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21476 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21479 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21482 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21483 if (!SWIG_IsOK(ecode5
)) {
21484 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
21486 arg5
= static_cast< int >(val5
);
21489 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21490 if (!SWIG_IsOK(ecode6
)) {
21491 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
21493 arg6
= static_cast< int >(val6
);
21496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21497 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
21498 wxPyEndAllowThreads(__tstate
);
21499 if (PyErr_Occurred()) SWIG_fail
;
21501 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21516 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21517 PyObject
*resultobj
= 0;
21518 wxDC
*arg1
= (wxDC
*) 0 ;
21520 wxPoint
*arg3
= (wxPoint
*) 0 ;
21523 PyObject
* obj0
= 0 ;
21524 PyObject
* obj1
= 0 ;
21525 char * kwnames
[] = {
21526 (char *) "self",(char *) "points", NULL
21529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21531 if (!SWIG_IsOK(res1
)) {
21532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
21534 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21536 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
21537 if (arg3
== NULL
) SWIG_fail
;
21540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21541 (arg1
)->DrawSpline(arg2
,arg3
);
21542 wxPyEndAllowThreads(__tstate
);
21543 if (PyErr_Occurred()) SWIG_fail
;
21545 resultobj
= SWIG_Py_Void();
21547 if (arg3
) delete [] arg3
;
21552 if (arg3
) delete [] arg3
;
21558 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21559 PyObject
*resultobj
= 0;
21560 wxDC
*arg1
= (wxDC
*) 0 ;
21563 PyObject
*swig_obj
[1] ;
21565 if (!args
) SWIG_fail
;
21566 swig_obj
[0] = args
;
21567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21568 if (!SWIG_IsOK(res1
)) {
21569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
21571 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21575 wxPyEndAllowThreads(__tstate
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21578 resultobj
= SWIG_Py_Void();
21585 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21586 PyObject
*resultobj
= 0;
21587 wxDC
*arg1
= (wxDC
*) 0 ;
21588 wxString
*arg2
= 0 ;
21592 bool temp2
= false ;
21593 PyObject
* obj0
= 0 ;
21594 PyObject
* obj1
= 0 ;
21595 char * kwnames
[] = {
21596 (char *) "self",(char *) "message", NULL
21599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21601 if (!SWIG_IsOK(res1
)) {
21602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21604 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21606 arg2
= wxString_in_helper(obj1
);
21607 if (arg2
== NULL
) SWIG_fail
;
21611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21612 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
21613 wxPyEndAllowThreads(__tstate
);
21614 if (PyErr_Occurred()) SWIG_fail
;
21617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21633 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21634 PyObject
*resultobj
= 0;
21635 wxDC
*arg1
= (wxDC
*) 0 ;
21638 PyObject
*swig_obj
[1] ;
21640 if (!args
) SWIG_fail
;
21641 swig_obj
[0] = args
;
21642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21643 if (!SWIG_IsOK(res1
)) {
21644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21646 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21650 wxPyEndAllowThreads(__tstate
);
21651 if (PyErr_Occurred()) SWIG_fail
;
21653 resultobj
= SWIG_Py_Void();
21660 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21661 PyObject
*resultobj
= 0;
21662 wxDC
*arg1
= (wxDC
*) 0 ;
21665 PyObject
*swig_obj
[1] ;
21667 if (!args
) SWIG_fail
;
21668 swig_obj
[0] = args
;
21669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21670 if (!SWIG_IsOK(res1
)) {
21671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
21673 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21676 (arg1
)->StartPage();
21677 wxPyEndAllowThreads(__tstate
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21680 resultobj
= SWIG_Py_Void();
21687 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21688 PyObject
*resultobj
= 0;
21689 wxDC
*arg1
= (wxDC
*) 0 ;
21692 PyObject
*swig_obj
[1] ;
21694 if (!args
) SWIG_fail
;
21695 swig_obj
[0] = args
;
21696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21697 if (!SWIG_IsOK(res1
)) {
21698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
21700 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 wxPyEndAllowThreads(__tstate
);
21705 if (PyErr_Occurred()) SWIG_fail
;
21707 resultobj
= SWIG_Py_Void();
21714 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21715 PyObject
*resultobj
= 0;
21716 wxDC
*arg1
= (wxDC
*) 0 ;
21722 PyObject
* obj0
= 0 ;
21723 PyObject
* obj1
= 0 ;
21724 char * kwnames
[] = {
21725 (char *) "self",(char *) "font", NULL
21728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21730 if (!SWIG_IsOK(res1
)) {
21731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
21733 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21734 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21735 if (!SWIG_IsOK(res2
)) {
21736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21741 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21744 (arg1
)->SetFont((wxFont
const &)*arg2
);
21745 wxPyEndAllowThreads(__tstate
);
21746 if (PyErr_Occurred()) SWIG_fail
;
21748 resultobj
= SWIG_Py_Void();
21755 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21756 PyObject
*resultobj
= 0;
21757 wxDC
*arg1
= (wxDC
*) 0 ;
21763 PyObject
* obj0
= 0 ;
21764 PyObject
* obj1
= 0 ;
21765 char * kwnames
[] = {
21766 (char *) "self",(char *) "pen", NULL
21769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21771 if (!SWIG_IsOK(res1
)) {
21772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
21774 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21775 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
21776 if (!SWIG_IsOK(res2
)) {
21777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21782 arg2
= reinterpret_cast< wxPen
* >(argp2
);
21784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21785 (arg1
)->SetPen((wxPen
const &)*arg2
);
21786 wxPyEndAllowThreads(__tstate
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21789 resultobj
= SWIG_Py_Void();
21796 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21797 PyObject
*resultobj
= 0;
21798 wxDC
*arg1
= (wxDC
*) 0 ;
21799 wxBrush
*arg2
= 0 ;
21804 PyObject
* obj0
= 0 ;
21805 PyObject
* obj1
= 0 ;
21806 char * kwnames
[] = {
21807 (char *) "self",(char *) "brush", NULL
21810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21812 if (!SWIG_IsOK(res1
)) {
21813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
21815 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21816 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21817 if (!SWIG_IsOK(res2
)) {
21818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21821 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21823 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21826 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
21827 wxPyEndAllowThreads(__tstate
);
21828 if (PyErr_Occurred()) SWIG_fail
;
21830 resultobj
= SWIG_Py_Void();
21837 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21838 PyObject
*resultobj
= 0;
21839 wxDC
*arg1
= (wxDC
*) 0 ;
21840 wxBrush
*arg2
= 0 ;
21845 PyObject
* obj0
= 0 ;
21846 PyObject
* obj1
= 0 ;
21847 char * kwnames
[] = {
21848 (char *) "self",(char *) "brush", NULL
21851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21853 if (!SWIG_IsOK(res1
)) {
21854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21856 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21857 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21858 if (!SWIG_IsOK(res2
)) {
21859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21864 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21867 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21868 wxPyEndAllowThreads(__tstate
);
21869 if (PyErr_Occurred()) SWIG_fail
;
21871 resultobj
= SWIG_Py_Void();
21878 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21879 PyObject
*resultobj
= 0;
21880 wxDC
*arg1
= (wxDC
*) 0 ;
21886 PyObject
* obj0
= 0 ;
21887 PyObject
* obj1
= 0 ;
21888 char * kwnames
[] = {
21889 (char *) "self",(char *) "mode", NULL
21892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21894 if (!SWIG_IsOK(res1
)) {
21895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21897 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21899 if (!SWIG_IsOK(ecode2
)) {
21900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21902 arg2
= static_cast< int >(val2
);
21904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21905 (arg1
)->SetBackgroundMode(arg2
);
21906 wxPyEndAllowThreads(__tstate
);
21907 if (PyErr_Occurred()) SWIG_fail
;
21909 resultobj
= SWIG_Py_Void();
21916 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21917 PyObject
*resultobj
= 0;
21918 wxDC
*arg1
= (wxDC
*) 0 ;
21919 wxPalette
*arg2
= 0 ;
21924 PyObject
* obj0
= 0 ;
21925 PyObject
* obj1
= 0 ;
21926 char * kwnames
[] = {
21927 (char *) "self",(char *) "palette", NULL
21930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21932 if (!SWIG_IsOK(res1
)) {
21933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21935 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21936 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21937 if (!SWIG_IsOK(res2
)) {
21938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21943 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21946 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21947 wxPyEndAllowThreads(__tstate
);
21948 if (PyErr_Occurred()) SWIG_fail
;
21950 resultobj
= SWIG_Py_Void();
21957 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21958 PyObject
*resultobj
= 0;
21959 wxDC
*arg1
= (wxDC
*) 0 ;
21962 PyObject
*swig_obj
[1] ;
21964 if (!args
) SWIG_fail
;
21965 swig_obj
[0] = args
;
21966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21967 if (!SWIG_IsOK(res1
)) {
21968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21970 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21973 (arg1
)->DestroyClippingRegion();
21974 wxPyEndAllowThreads(__tstate
);
21975 if (PyErr_Occurred()) SWIG_fail
;
21977 resultobj
= SWIG_Py_Void();
21984 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21985 PyObject
*resultobj
= 0;
21986 wxDC
*arg1
= (wxDC
*) 0 ;
21987 int *arg2
= (int *) 0 ;
21988 int *arg3
= (int *) 0 ;
21989 int *arg4
= (int *) 0 ;
21990 int *arg5
= (int *) 0 ;
21994 int res2
= SWIG_TMPOBJ
;
21996 int res3
= SWIG_TMPOBJ
;
21998 int res4
= SWIG_TMPOBJ
;
22000 int res5
= SWIG_TMPOBJ
;
22001 PyObject
*swig_obj
[1] ;
22007 if (!args
) SWIG_fail
;
22008 swig_obj
[0] = args
;
22009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22010 if (!SWIG_IsOK(res1
)) {
22011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
22013 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22016 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22020 resultobj
= SWIG_Py_Void();
22021 if (SWIG_IsTmpObj(res2
)) {
22022 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22024 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22025 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22027 if (SWIG_IsTmpObj(res3
)) {
22028 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22030 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22031 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22033 if (SWIG_IsTmpObj(res4
)) {
22034 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22036 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22037 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22039 if (SWIG_IsTmpObj(res5
)) {
22040 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22042 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22043 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22051 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22052 PyObject
*resultobj
= 0;
22053 wxDC
*arg1
= (wxDC
*) 0 ;
22057 PyObject
*swig_obj
[1] ;
22059 if (!args
) SWIG_fail
;
22060 swig_obj
[0] = args
;
22061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22062 if (!SWIG_IsOK(res1
)) {
22063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
22065 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22068 result
= wxDC_GetClippingRect(arg1
);
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22072 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
22079 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22080 PyObject
*resultobj
= 0;
22081 wxDC
*arg1
= (wxDC
*) 0 ;
22085 PyObject
*swig_obj
[1] ;
22087 if (!args
) SWIG_fail
;
22088 swig_obj
[0] = args
;
22089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22090 if (!SWIG_IsOK(res1
)) {
22091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
22093 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22096 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
22097 wxPyEndAllowThreads(__tstate
);
22098 if (PyErr_Occurred()) SWIG_fail
;
22100 resultobj
= SWIG_From_int(static_cast< int >(result
));
22107 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22108 PyObject
*resultobj
= 0;
22109 wxDC
*arg1
= (wxDC
*) 0 ;
22113 PyObject
*swig_obj
[1] ;
22115 if (!args
) SWIG_fail
;
22116 swig_obj
[0] = args
;
22117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22118 if (!SWIG_IsOK(res1
)) {
22119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
22121 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
22125 wxPyEndAllowThreads(__tstate
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22128 resultobj
= SWIG_From_int(static_cast< int >(result
));
22135 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22136 PyObject
*resultobj
= 0;
22137 wxDC
*arg1
= (wxDC
*) 0 ;
22138 wxString
*arg2
= 0 ;
22139 int *arg3
= (int *) 0 ;
22140 int *arg4
= (int *) 0 ;
22143 bool temp2
= false ;
22145 int res3
= SWIG_TMPOBJ
;
22147 int res4
= SWIG_TMPOBJ
;
22148 PyObject
* obj0
= 0 ;
22149 PyObject
* obj1
= 0 ;
22150 char * kwnames
[] = {
22151 (char *) "self",(char *) "string", NULL
22156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22158 if (!SWIG_IsOK(res1
)) {
22159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
22161 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22163 arg2
= wxString_in_helper(obj1
);
22164 if (arg2
== NULL
) SWIG_fail
;
22168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22169 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
22170 wxPyEndAllowThreads(__tstate
);
22171 if (PyErr_Occurred()) SWIG_fail
;
22173 resultobj
= SWIG_Py_Void();
22174 if (SWIG_IsTmpObj(res3
)) {
22175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22177 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22178 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22180 if (SWIG_IsTmpObj(res4
)) {
22181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22183 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22200 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22201 PyObject
*resultobj
= 0;
22202 wxDC
*arg1
= (wxDC
*) 0 ;
22203 wxString
*arg2
= 0 ;
22204 int *arg3
= (int *) 0 ;
22205 int *arg4
= (int *) 0 ;
22206 int *arg5
= (int *) 0 ;
22207 int *arg6
= (int *) 0 ;
22208 wxFont
*arg7
= (wxFont
*) NULL
;
22211 bool temp2
= false ;
22213 int res3
= SWIG_TMPOBJ
;
22215 int res4
= SWIG_TMPOBJ
;
22217 int res5
= SWIG_TMPOBJ
;
22219 int res6
= SWIG_TMPOBJ
;
22222 PyObject
* obj0
= 0 ;
22223 PyObject
* obj1
= 0 ;
22224 PyObject
* obj2
= 0 ;
22225 char * kwnames
[] = {
22226 (char *) "self",(char *) "string",(char *) "font", NULL
22233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22235 if (!SWIG_IsOK(res1
)) {
22236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
22238 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22240 arg2
= wxString_in_helper(obj1
);
22241 if (arg2
== NULL
) SWIG_fail
;
22245 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
22246 if (!SWIG_IsOK(res7
)) {
22247 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
22249 arg7
= reinterpret_cast< wxFont
* >(argp7
);
22252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22253 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22254 wxPyEndAllowThreads(__tstate
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22257 resultobj
= SWIG_Py_Void();
22258 if (SWIG_IsTmpObj(res3
)) {
22259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22261 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22262 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22264 if (SWIG_IsTmpObj(res4
)) {
22265 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22267 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22268 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22270 if (SWIG_IsTmpObj(res5
)) {
22271 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22273 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22274 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22276 if (SWIG_IsTmpObj(res6
)) {
22277 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
22279 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22280 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
22296 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22297 PyObject
*resultobj
= 0;
22298 wxDC
*arg1
= (wxDC
*) 0 ;
22299 wxString
*arg2
= 0 ;
22300 int *arg3
= (int *) 0 ;
22301 int *arg4
= (int *) 0 ;
22302 int *arg5
= (int *) 0 ;
22303 wxFont
*arg6
= (wxFont
*) NULL
;
22306 bool temp2
= false ;
22308 int res3
= SWIG_TMPOBJ
;
22310 int res4
= SWIG_TMPOBJ
;
22312 int res5
= SWIG_TMPOBJ
;
22315 PyObject
* obj0
= 0 ;
22316 PyObject
* obj1
= 0 ;
22317 PyObject
* obj2
= 0 ;
22318 char * kwnames
[] = {
22319 (char *) "self",(char *) "text",(char *) "font", NULL
22325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22327 if (!SWIG_IsOK(res1
)) {
22328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
22330 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22332 arg2
= wxString_in_helper(obj1
);
22333 if (arg2
== NULL
) SWIG_fail
;
22337 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
22338 if (!SWIG_IsOK(res6
)) {
22339 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
22341 arg6
= reinterpret_cast< wxFont
* >(argp6
);
22344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22345 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
22346 wxPyEndAllowThreads(__tstate
);
22347 if (PyErr_Occurred()) SWIG_fail
;
22349 resultobj
= SWIG_Py_Void();
22350 if (SWIG_IsTmpObj(res3
)) {
22351 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22353 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22354 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22356 if (SWIG_IsTmpObj(res4
)) {
22357 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22359 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22360 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22362 if (SWIG_IsTmpObj(res5
)) {
22363 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22365 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22366 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22382 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22383 PyObject
*resultobj
= 0;
22384 wxDC
*arg1
= (wxDC
*) 0 ;
22385 wxString
*arg2
= 0 ;
22389 bool temp2
= false ;
22390 PyObject
* obj0
= 0 ;
22391 PyObject
* obj1
= 0 ;
22392 char * kwnames
[] = {
22393 (char *) "self",(char *) "text", NULL
22396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22398 if (!SWIG_IsOK(res1
)) {
22399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
22401 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22403 arg2
= wxString_in_helper(obj1
);
22404 if (arg2
== NULL
) SWIG_fail
;
22408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22409 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
22410 wxPyEndAllowThreads(__tstate
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22414 resultobj
= wxArrayInt2PyList_helper(result
);
22430 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22431 PyObject
*resultobj
= 0;
22432 wxDC
*arg1
= (wxDC
*) 0 ;
22436 PyObject
*swig_obj
[1] ;
22438 if (!args
) SWIG_fail
;
22439 swig_obj
[0] = args
;
22440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22441 if (!SWIG_IsOK(res1
)) {
22442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
22444 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22447 result
= (arg1
)->GetSize();
22448 wxPyEndAllowThreads(__tstate
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22451 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22458 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22459 PyObject
*resultobj
= 0;
22460 wxDC
*arg1
= (wxDC
*) 0 ;
22461 int *arg2
= (int *) 0 ;
22462 int *arg3
= (int *) 0 ;
22466 int res2
= SWIG_TMPOBJ
;
22468 int res3
= SWIG_TMPOBJ
;
22469 PyObject
*swig_obj
[1] ;
22473 if (!args
) SWIG_fail
;
22474 swig_obj
[0] = args
;
22475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22476 if (!SWIG_IsOK(res1
)) {
22477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
22479 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22482 (arg1
)->GetSize(arg2
,arg3
);
22483 wxPyEndAllowThreads(__tstate
);
22484 if (PyErr_Occurred()) SWIG_fail
;
22486 resultobj
= SWIG_Py_Void();
22487 if (SWIG_IsTmpObj(res2
)) {
22488 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22490 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22491 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22493 if (SWIG_IsTmpObj(res3
)) {
22494 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22496 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22497 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22505 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22506 PyObject
*resultobj
= 0;
22507 wxDC
*arg1
= (wxDC
*) 0 ;
22511 PyObject
*swig_obj
[1] ;
22513 if (!args
) SWIG_fail
;
22514 swig_obj
[0] = args
;
22515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22516 if (!SWIG_IsOK(res1
)) {
22517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
22519 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22522 result
= ((wxDC
const *)arg1
)->GetSizeMM();
22523 wxPyEndAllowThreads(__tstate
);
22524 if (PyErr_Occurred()) SWIG_fail
;
22526 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22533 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22534 PyObject
*resultobj
= 0;
22535 wxDC
*arg1
= (wxDC
*) 0 ;
22536 int *arg2
= (int *) 0 ;
22537 int *arg3
= (int *) 0 ;
22541 int res2
= SWIG_TMPOBJ
;
22543 int res3
= SWIG_TMPOBJ
;
22544 PyObject
*swig_obj
[1] ;
22548 if (!args
) SWIG_fail
;
22549 swig_obj
[0] = args
;
22550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22551 if (!SWIG_IsOK(res1
)) {
22552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22554 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22557 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
22558 wxPyEndAllowThreads(__tstate
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22561 resultobj
= SWIG_Py_Void();
22562 if (SWIG_IsTmpObj(res2
)) {
22563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22565 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22566 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22568 if (SWIG_IsTmpObj(res3
)) {
22569 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22571 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22580 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22581 PyObject
*resultobj
= 0;
22582 wxDC
*arg1
= (wxDC
*) 0 ;
22589 PyObject
* obj0
= 0 ;
22590 PyObject
* obj1
= 0 ;
22591 char * kwnames
[] = {
22592 (char *) "self",(char *) "x", NULL
22595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22597 if (!SWIG_IsOK(res1
)) {
22598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
22600 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22602 if (!SWIG_IsOK(ecode2
)) {
22603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
22605 arg2
= static_cast< int >(val2
);
22607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22608 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
22609 wxPyEndAllowThreads(__tstate
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22612 resultobj
= SWIG_From_int(static_cast< int >(result
));
22619 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22620 PyObject
*resultobj
= 0;
22621 wxDC
*arg1
= (wxDC
*) 0 ;
22628 PyObject
* obj0
= 0 ;
22629 PyObject
* obj1
= 0 ;
22630 char * kwnames
[] = {
22631 (char *) "self",(char *) "y", NULL
22634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22636 if (!SWIG_IsOK(res1
)) {
22637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
22639 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22641 if (!SWIG_IsOK(ecode2
)) {
22642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
22644 arg2
= static_cast< int >(val2
);
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22647 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
22648 wxPyEndAllowThreads(__tstate
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22651 resultobj
= SWIG_From_int(static_cast< int >(result
));
22658 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22659 PyObject
*resultobj
= 0;
22660 wxDC
*arg1
= (wxDC
*) 0 ;
22667 PyObject
* obj0
= 0 ;
22668 PyObject
* obj1
= 0 ;
22669 char * kwnames
[] = {
22670 (char *) "self",(char *) "x", NULL
22673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22675 if (!SWIG_IsOK(res1
)) {
22676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22678 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22680 if (!SWIG_IsOK(ecode2
)) {
22681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
22683 arg2
= static_cast< int >(val2
);
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22690 resultobj
= SWIG_From_int(static_cast< int >(result
));
22697 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22698 PyObject
*resultobj
= 0;
22699 wxDC
*arg1
= (wxDC
*) 0 ;
22706 PyObject
* obj0
= 0 ;
22707 PyObject
* obj1
= 0 ;
22708 char * kwnames
[] = {
22709 (char *) "self",(char *) "y", NULL
22712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22714 if (!SWIG_IsOK(res1
)) {
22715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22717 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22719 if (!SWIG_IsOK(ecode2
)) {
22720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
22722 arg2
= static_cast< int >(val2
);
22724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
22726 wxPyEndAllowThreads(__tstate
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22729 resultobj
= SWIG_From_int(static_cast< int >(result
));
22736 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22737 PyObject
*resultobj
= 0;
22738 wxDC
*arg1
= (wxDC
*) 0 ;
22745 PyObject
* obj0
= 0 ;
22746 PyObject
* obj1
= 0 ;
22747 char * kwnames
[] = {
22748 (char *) "self",(char *) "x", NULL
22751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22753 if (!SWIG_IsOK(res1
)) {
22754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
22756 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22758 if (!SWIG_IsOK(ecode2
)) {
22759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
22761 arg2
= static_cast< int >(val2
);
22763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22764 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
22765 wxPyEndAllowThreads(__tstate
);
22766 if (PyErr_Occurred()) SWIG_fail
;
22768 resultobj
= SWIG_From_int(static_cast< int >(result
));
22775 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22776 PyObject
*resultobj
= 0;
22777 wxDC
*arg1
= (wxDC
*) 0 ;
22784 PyObject
* obj0
= 0 ;
22785 PyObject
* obj1
= 0 ;
22786 char * kwnames
[] = {
22787 (char *) "self",(char *) "y", NULL
22790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22792 if (!SWIG_IsOK(res1
)) {
22793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
22795 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22797 if (!SWIG_IsOK(ecode2
)) {
22798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
22800 arg2
= static_cast< int >(val2
);
22802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22803 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
22804 wxPyEndAllowThreads(__tstate
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22807 resultobj
= SWIG_From_int(static_cast< int >(result
));
22814 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22815 PyObject
*resultobj
= 0;
22816 wxDC
*arg1
= (wxDC
*) 0 ;
22823 PyObject
* obj0
= 0 ;
22824 PyObject
* obj1
= 0 ;
22825 char * kwnames
[] = {
22826 (char *) "self",(char *) "x", NULL
22829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22831 if (!SWIG_IsOK(res1
)) {
22832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22834 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22836 if (!SWIG_IsOK(ecode2
)) {
22837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
22839 arg2
= static_cast< int >(val2
);
22841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22842 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
22843 wxPyEndAllowThreads(__tstate
);
22844 if (PyErr_Occurred()) SWIG_fail
;
22846 resultobj
= SWIG_From_int(static_cast< int >(result
));
22853 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22854 PyObject
*resultobj
= 0;
22855 wxDC
*arg1
= (wxDC
*) 0 ;
22862 PyObject
* obj0
= 0 ;
22863 PyObject
* obj1
= 0 ;
22864 char * kwnames
[] = {
22865 (char *) "self",(char *) "y", NULL
22868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22870 if (!SWIG_IsOK(res1
)) {
22871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22873 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22875 if (!SWIG_IsOK(ecode2
)) {
22876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22878 arg2
= static_cast< int >(val2
);
22880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22881 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22885 resultobj
= SWIG_From_int(static_cast< int >(result
));
22892 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22893 PyObject
*resultobj
= 0;
22894 wxDC
*arg1
= (wxDC
*) 0 ;
22898 PyObject
*swig_obj
[1] ;
22900 if (!args
) SWIG_fail
;
22901 swig_obj
[0] = args
;
22902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22903 if (!SWIG_IsOK(res1
)) {
22904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22906 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22909 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22910 wxPyEndAllowThreads(__tstate
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22922 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22923 PyObject
*resultobj
= 0;
22924 wxDC
*arg1
= (wxDC
*) 0 ;
22928 PyObject
*swig_obj
[1] ;
22930 if (!args
) SWIG_fail
;
22931 swig_obj
[0] = args
;
22932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22933 if (!SWIG_IsOK(res1
)) {
22934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22936 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22939 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22952 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22953 PyObject
*resultobj
= 0;
22954 wxDC
*arg1
= (wxDC
*) 0 ;
22958 PyObject
*swig_obj
[1] ;
22960 if (!args
) SWIG_fail
;
22961 swig_obj
[0] = args
;
22962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22963 if (!SWIG_IsOK(res1
)) {
22964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22966 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22969 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22970 wxPyEndAllowThreads(__tstate
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22973 resultobj
= SWIG_From_int(static_cast< int >(result
));
22980 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22981 PyObject
*resultobj
= 0;
22982 wxDC
*arg1
= (wxDC
*) 0 ;
22986 PyObject
*swig_obj
[1] ;
22988 if (!args
) SWIG_fail
;
22989 swig_obj
[0] = args
;
22990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22991 if (!SWIG_IsOK(res1
)) {
22992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22994 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22997 result
= ((wxDC
const *)arg1
)->GetPPI();
22998 wxPyEndAllowThreads(__tstate
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23001 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23008 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23009 PyObject
*resultobj
= 0;
23010 wxDC
*arg1
= (wxDC
*) 0 ;
23014 PyObject
*swig_obj
[1] ;
23016 if (!args
) SWIG_fail
;
23017 swig_obj
[0] = args
;
23018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23019 if (!SWIG_IsOK(res1
)) {
23020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
23022 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23025 result
= (bool)((wxDC
const *)arg1
)->IsOk();
23026 wxPyEndAllowThreads(__tstate
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23038 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23039 PyObject
*resultobj
= 0;
23040 wxDC
*arg1
= (wxDC
*) 0 ;
23044 PyObject
*swig_obj
[1] ;
23046 if (!args
) SWIG_fail
;
23047 swig_obj
[0] = args
;
23048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23049 if (!SWIG_IsOK(res1
)) {
23050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
23052 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
23056 wxPyEndAllowThreads(__tstate
);
23057 if (PyErr_Occurred()) SWIG_fail
;
23059 resultobj
= SWIG_From_int(static_cast< int >(result
));
23066 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23067 PyObject
*resultobj
= 0;
23068 wxDC
*arg1
= (wxDC
*) 0 ;
23069 wxBrush
*result
= 0 ;
23072 PyObject
*swig_obj
[1] ;
23074 if (!args
) SWIG_fail
;
23075 swig_obj
[0] = args
;
23076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23077 if (!SWIG_IsOK(res1
)) {
23078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
23080 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23084 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
23085 result
= (wxBrush
*) &_result_ref
;
23087 wxPyEndAllowThreads(__tstate
);
23088 if (PyErr_Occurred()) SWIG_fail
;
23091 wxBrush
* resultptr
= new wxBrush(*result
);
23092 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
23100 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23101 PyObject
*resultobj
= 0;
23102 wxDC
*arg1
= (wxDC
*) 0 ;
23103 wxBrush
*result
= 0 ;
23106 PyObject
*swig_obj
[1] ;
23108 if (!args
) SWIG_fail
;
23109 swig_obj
[0] = args
;
23110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23111 if (!SWIG_IsOK(res1
)) {
23112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
23114 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23118 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
23119 result
= (wxBrush
*) &_result_ref
;
23121 wxPyEndAllowThreads(__tstate
);
23122 if (PyErr_Occurred()) SWIG_fail
;
23125 wxBrush
* resultptr
= new wxBrush(*result
);
23126 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
23134 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23135 PyObject
*resultobj
= 0;
23136 wxDC
*arg1
= (wxDC
*) 0 ;
23137 wxFont
*result
= 0 ;
23140 PyObject
*swig_obj
[1] ;
23142 if (!args
) SWIG_fail
;
23143 swig_obj
[0] = args
;
23144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23145 if (!SWIG_IsOK(res1
)) {
23146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
23148 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23152 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
23153 result
= (wxFont
*) &_result_ref
;
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23159 wxFont
* resultptr
= new wxFont(*result
);
23160 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
23168 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23169 PyObject
*resultobj
= 0;
23170 wxDC
*arg1
= (wxDC
*) 0 ;
23171 wxPen
*result
= 0 ;
23174 PyObject
*swig_obj
[1] ;
23176 if (!args
) SWIG_fail
;
23177 swig_obj
[0] = args
;
23178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23179 if (!SWIG_IsOK(res1
)) {
23180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
23182 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23186 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
23187 result
= (wxPen
*) &_result_ref
;
23189 wxPyEndAllowThreads(__tstate
);
23190 if (PyErr_Occurred()) SWIG_fail
;
23193 wxPen
* resultptr
= new wxPen(*result
);
23194 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
23202 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23203 PyObject
*resultobj
= 0;
23204 wxDC
*arg1
= (wxDC
*) 0 ;
23205 wxColour
*result
= 0 ;
23208 PyObject
*swig_obj
[1] ;
23210 if (!args
) SWIG_fail
;
23211 swig_obj
[0] = args
;
23212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23213 if (!SWIG_IsOK(res1
)) {
23214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
23216 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
23221 result
= (wxColour
*) &_result_ref
;
23223 wxPyEndAllowThreads(__tstate
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
23233 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23234 PyObject
*resultobj
= 0;
23235 wxDC
*arg1
= (wxDC
*) 0 ;
23236 wxColour
*result
= 0 ;
23239 PyObject
*swig_obj
[1] ;
23241 if (!args
) SWIG_fail
;
23242 swig_obj
[0] = args
;
23243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23244 if (!SWIG_IsOK(res1
)) {
23245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
23247 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23251 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
23252 result
= (wxColour
*) &_result_ref
;
23254 wxPyEndAllowThreads(__tstate
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
23264 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23265 PyObject
*resultobj
= 0;
23266 wxDC
*arg1
= (wxDC
*) 0 ;
23267 wxColour
*arg2
= 0 ;
23271 PyObject
* obj0
= 0 ;
23272 PyObject
* obj1
= 0 ;
23273 char * kwnames
[] = {
23274 (char *) "self",(char *) "colour", NULL
23277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23279 if (!SWIG_IsOK(res1
)) {
23280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
23282 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23285 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23289 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
23290 wxPyEndAllowThreads(__tstate
);
23291 if (PyErr_Occurred()) SWIG_fail
;
23293 resultobj
= SWIG_Py_Void();
23300 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23301 PyObject
*resultobj
= 0;
23302 wxDC
*arg1
= (wxDC
*) 0 ;
23303 wxColour
*arg2
= 0 ;
23307 PyObject
* obj0
= 0 ;
23308 PyObject
* obj1
= 0 ;
23309 char * kwnames
[] = {
23310 (char *) "self",(char *) "colour", NULL
23313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23315 if (!SWIG_IsOK(res1
)) {
23316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
23318 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23321 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23325 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
23326 wxPyEndAllowThreads(__tstate
);
23327 if (PyErr_Occurred()) SWIG_fail
;
23329 resultobj
= SWIG_Py_Void();
23336 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23337 PyObject
*resultobj
= 0;
23338 wxDC
*arg1
= (wxDC
*) 0 ;
23342 PyObject
*swig_obj
[1] ;
23344 if (!args
) SWIG_fail
;
23345 swig_obj
[0] = args
;
23346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23347 if (!SWIG_IsOK(res1
)) {
23348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
23350 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23353 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
23354 wxPyEndAllowThreads(__tstate
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23357 resultobj
= SWIG_From_int(static_cast< int >(result
));
23364 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23365 PyObject
*resultobj
= 0;
23366 wxDC
*arg1
= (wxDC
*) 0 ;
23372 PyObject
* obj0
= 0 ;
23373 PyObject
* obj1
= 0 ;
23374 char * kwnames
[] = {
23375 (char *) "self",(char *) "mode", NULL
23378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23380 if (!SWIG_IsOK(res1
)) {
23381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
23383 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23384 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23385 if (!SWIG_IsOK(ecode2
)) {
23386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
23388 arg2
= static_cast< int >(val2
);
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23391 (arg1
)->SetMapMode(arg2
);
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23395 resultobj
= SWIG_Py_Void();
23402 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23403 PyObject
*resultobj
= 0;
23404 wxDC
*arg1
= (wxDC
*) 0 ;
23405 double *arg2
= (double *) 0 ;
23406 double *arg3
= (double *) 0 ;
23410 int res2
= SWIG_TMPOBJ
;
23412 int res3
= SWIG_TMPOBJ
;
23413 PyObject
*swig_obj
[1] ;
23417 if (!args
) SWIG_fail
;
23418 swig_obj
[0] = args
;
23419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23420 if (!SWIG_IsOK(res1
)) {
23421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
23423 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23426 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
23427 wxPyEndAllowThreads(__tstate
);
23428 if (PyErr_Occurred()) SWIG_fail
;
23430 resultobj
= SWIG_Py_Void();
23431 if (SWIG_IsTmpObj(res2
)) {
23432 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
23434 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23435 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
23437 if (SWIG_IsTmpObj(res3
)) {
23438 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
23440 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23441 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
23449 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23450 PyObject
*resultobj
= 0;
23451 wxDC
*arg1
= (wxDC
*) 0 ;
23460 PyObject
* obj0
= 0 ;
23461 PyObject
* obj1
= 0 ;
23462 PyObject
* obj2
= 0 ;
23463 char * kwnames
[] = {
23464 (char *) "self",(char *) "x",(char *) "y", NULL
23467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23469 if (!SWIG_IsOK(res1
)) {
23470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
23472 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23473 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23474 if (!SWIG_IsOK(ecode2
)) {
23475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
23477 arg2
= static_cast< double >(val2
);
23478 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
23479 if (!SWIG_IsOK(ecode3
)) {
23480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
23482 arg3
= static_cast< double >(val3
);
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 (arg1
)->SetUserScale(arg2
,arg3
);
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23489 resultobj
= SWIG_Py_Void();
23496 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23497 PyObject
*resultobj
= 0;
23498 wxDC
*arg1
= (wxDC
*) 0 ;
23499 double *arg2
= (double *) 0 ;
23500 double *arg3
= (double *) 0 ;
23504 int res2
= SWIG_TMPOBJ
;
23506 int res3
= SWIG_TMPOBJ
;
23507 PyObject
*swig_obj
[1] ;
23511 if (!args
) SWIG_fail
;
23512 swig_obj
[0] = args
;
23513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23514 if (!SWIG_IsOK(res1
)) {
23515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23517 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23520 (arg1
)->GetLogicalScale(arg2
,arg3
);
23521 wxPyEndAllowThreads(__tstate
);
23522 if (PyErr_Occurred()) SWIG_fail
;
23524 resultobj
= SWIG_Py_Void();
23525 if (SWIG_IsTmpObj(res2
)) {
23526 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
23528 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23529 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
23531 if (SWIG_IsTmpObj(res3
)) {
23532 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
23534 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23535 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
23543 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23544 PyObject
*resultobj
= 0;
23545 wxDC
*arg1
= (wxDC
*) 0 ;
23554 PyObject
* obj0
= 0 ;
23555 PyObject
* obj1
= 0 ;
23556 PyObject
* obj2
= 0 ;
23557 char * kwnames
[] = {
23558 (char *) "self",(char *) "x",(char *) "y", NULL
23561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23563 if (!SWIG_IsOK(res1
)) {
23564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23566 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23567 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23568 if (!SWIG_IsOK(ecode2
)) {
23569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
23571 arg2
= static_cast< double >(val2
);
23572 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
23573 if (!SWIG_IsOK(ecode3
)) {
23574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
23576 arg3
= static_cast< double >(val3
);
23578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23579 (arg1
)->SetLogicalScale(arg2
,arg3
);
23580 wxPyEndAllowThreads(__tstate
);
23581 if (PyErr_Occurred()) SWIG_fail
;
23583 resultobj
= SWIG_Py_Void();
23590 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23591 PyObject
*resultobj
= 0;
23592 wxDC
*arg1
= (wxDC
*) 0 ;
23596 PyObject
*swig_obj
[1] ;
23598 if (!args
) SWIG_fail
;
23599 swig_obj
[0] = args
;
23600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23601 if (!SWIG_IsOK(res1
)) {
23602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23604 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
23608 wxPyEndAllowThreads(__tstate
);
23609 if (PyErr_Occurred()) SWIG_fail
;
23611 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23618 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23619 PyObject
*resultobj
= 0;
23620 wxDC
*arg1
= (wxDC
*) 0 ;
23621 int *arg2
= (int *) 0 ;
23622 int *arg3
= (int *) 0 ;
23626 int res2
= SWIG_TMPOBJ
;
23628 int res3
= SWIG_TMPOBJ
;
23629 PyObject
*swig_obj
[1] ;
23633 if (!args
) SWIG_fail
;
23634 swig_obj
[0] = args
;
23635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23636 if (!SWIG_IsOK(res1
)) {
23637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23639 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23642 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23646 resultobj
= SWIG_Py_Void();
23647 if (SWIG_IsTmpObj(res2
)) {
23648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23650 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23653 if (SWIG_IsTmpObj(res3
)) {
23654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23656 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23665 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23666 PyObject
*resultobj
= 0;
23667 wxDC
*arg1
= (wxDC
*) 0 ;
23676 PyObject
* obj0
= 0 ;
23677 PyObject
* obj1
= 0 ;
23678 PyObject
* obj2
= 0 ;
23679 char * kwnames
[] = {
23680 (char *) "self",(char *) "x",(char *) "y", NULL
23683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23685 if (!SWIG_IsOK(res1
)) {
23686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23688 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23690 if (!SWIG_IsOK(ecode2
)) {
23691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
23693 arg2
= static_cast< int >(val2
);
23694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23695 if (!SWIG_IsOK(ecode3
)) {
23696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
23698 arg3
= static_cast< int >(val3
);
23700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
23702 wxPyEndAllowThreads(__tstate
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23705 resultobj
= SWIG_Py_Void();
23712 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23713 PyObject
*resultobj
= 0;
23714 wxDC
*arg1
= (wxDC
*) 0 ;
23715 wxPoint
*arg2
= 0 ;
23719 PyObject
* obj0
= 0 ;
23720 PyObject
* obj1
= 0 ;
23721 char * kwnames
[] = {
23722 (char *) "self",(char *) "point", NULL
23725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23727 if (!SWIG_IsOK(res1
)) {
23728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23730 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23733 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23737 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23738 wxPyEndAllowThreads(__tstate
);
23739 if (PyErr_Occurred()) SWIG_fail
;
23741 resultobj
= SWIG_Py_Void();
23748 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23749 PyObject
*resultobj
= 0;
23750 wxDC
*arg1
= (wxDC
*) 0 ;
23754 PyObject
*swig_obj
[1] ;
23756 if (!args
) SWIG_fail
;
23757 swig_obj
[0] = args
;
23758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23759 if (!SWIG_IsOK(res1
)) {
23760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23762 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23765 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
23766 wxPyEndAllowThreads(__tstate
);
23767 if (PyErr_Occurred()) SWIG_fail
;
23769 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23776 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23777 PyObject
*resultobj
= 0;
23778 wxDC
*arg1
= (wxDC
*) 0 ;
23779 int *arg2
= (int *) 0 ;
23780 int *arg3
= (int *) 0 ;
23784 int res2
= SWIG_TMPOBJ
;
23786 int res3
= SWIG_TMPOBJ
;
23787 PyObject
*swig_obj
[1] ;
23791 if (!args
) SWIG_fail
;
23792 swig_obj
[0] = args
;
23793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23794 if (!SWIG_IsOK(res1
)) {
23795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23797 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
23801 wxPyEndAllowThreads(__tstate
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23804 resultobj
= SWIG_Py_Void();
23805 if (SWIG_IsTmpObj(res2
)) {
23806 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23808 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23809 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23811 if (SWIG_IsTmpObj(res3
)) {
23812 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23814 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23815 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23823 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23824 PyObject
*resultobj
= 0;
23825 wxDC
*arg1
= (wxDC
*) 0 ;
23834 PyObject
* obj0
= 0 ;
23835 PyObject
* obj1
= 0 ;
23836 PyObject
* obj2
= 0 ;
23837 char * kwnames
[] = {
23838 (char *) "self",(char *) "x",(char *) "y", NULL
23841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23843 if (!SWIG_IsOK(res1
)) {
23844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23846 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23848 if (!SWIG_IsOK(ecode2
)) {
23849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
23851 arg2
= static_cast< int >(val2
);
23852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23853 if (!SWIG_IsOK(ecode3
)) {
23854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23856 arg3
= static_cast< int >(val3
);
23858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23859 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23860 wxPyEndAllowThreads(__tstate
);
23861 if (PyErr_Occurred()) SWIG_fail
;
23863 resultobj
= SWIG_Py_Void();
23870 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23871 PyObject
*resultobj
= 0;
23872 wxDC
*arg1
= (wxDC
*) 0 ;
23873 wxPoint
*arg2
= 0 ;
23877 PyObject
* obj0
= 0 ;
23878 PyObject
* obj1
= 0 ;
23879 char * kwnames
[] = {
23880 (char *) "self",(char *) "point", NULL
23883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23885 if (!SWIG_IsOK(res1
)) {
23886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23888 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23891 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23899 resultobj
= SWIG_Py_Void();
23906 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
= 0;
23908 wxDC
*arg1
= (wxDC
*) 0 ;
23917 PyObject
* obj0
= 0 ;
23918 PyObject
* obj1
= 0 ;
23919 PyObject
* obj2
= 0 ;
23920 char * kwnames
[] = {
23921 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23926 if (!SWIG_IsOK(res1
)) {
23927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23929 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23930 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23931 if (!SWIG_IsOK(ecode2
)) {
23932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23934 arg2
= static_cast< bool >(val2
);
23935 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23936 if (!SWIG_IsOK(ecode3
)) {
23937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23939 arg3
= static_cast< bool >(val3
);
23941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23942 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23943 wxPyEndAllowThreads(__tstate
);
23944 if (PyErr_Occurred()) SWIG_fail
;
23946 resultobj
= SWIG_Py_Void();
23953 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23954 PyObject
*resultobj
= 0;
23955 wxDC
*arg1
= (wxDC
*) 0 ;
23959 PyObject
*swig_obj
[1] ;
23961 if (!args
) SWIG_fail
;
23962 swig_obj
[0] = args
;
23963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23964 if (!SWIG_IsOK(res1
)) {
23965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23967 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23970 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23971 wxPyEndAllowThreads(__tstate
);
23972 if (PyErr_Occurred()) SWIG_fail
;
23974 resultobj
= SWIG_From_int(static_cast< int >(result
));
23981 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23982 PyObject
*resultobj
= 0;
23983 wxDC
*arg1
= (wxDC
*) 0 ;
23989 PyObject
* obj0
= 0 ;
23990 PyObject
* obj1
= 0 ;
23991 char * kwnames
[] = {
23992 (char *) "self",(char *) "function", NULL
23995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23997 if (!SWIG_IsOK(res1
)) {
23998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
24000 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24002 if (!SWIG_IsOK(ecode2
)) {
24003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
24005 arg2
= static_cast< int >(val2
);
24007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24008 (arg1
)->SetLogicalFunction(arg2
);
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24012 resultobj
= SWIG_Py_Void();
24019 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24020 PyObject
*resultobj
= 0;
24021 wxDC
*arg1
= (wxDC
*) 0 ;
24024 PyObject
*swig_obj
[1] ;
24026 if (!args
) SWIG_fail
;
24027 swig_obj
[0] = args
;
24028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24029 if (!SWIG_IsOK(res1
)) {
24030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
24032 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24035 (arg1
)->ComputeScaleAndOrigin();
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24039 resultobj
= SWIG_Py_Void();
24046 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24047 PyObject
*resultobj
= 0;
24048 wxDC
*arg1
= (wxDC
*) 0 ;
24057 PyObject
* obj0
= 0 ;
24058 PyObject
* obj1
= 0 ;
24059 PyObject
* obj2
= 0 ;
24060 char * kwnames
[] = {
24061 (char *) "self",(char *) "x",(char *) "y", NULL
24064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24066 if (!SWIG_IsOK(res1
)) {
24067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
24069 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24071 if (!SWIG_IsOK(ecode2
)) {
24072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
24074 arg2
= static_cast< int >(val2
);
24075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24076 if (!SWIG_IsOK(ecode3
)) {
24077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
24079 arg3
= static_cast< int >(val3
);
24081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 (arg1
)->CalcBoundingBox(arg2
,arg3
);
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24086 resultobj
= SWIG_Py_Void();
24093 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24094 PyObject
*resultobj
= 0;
24095 wxDC
*arg1
= (wxDC
*) 0 ;
24096 wxPoint
*arg2
= 0 ;
24100 PyObject
* obj0
= 0 ;
24101 PyObject
* obj1
= 0 ;
24102 char * kwnames
[] = {
24103 (char *) "self",(char *) "point", NULL
24106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24108 if (!SWIG_IsOK(res1
)) {
24109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
24111 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24114 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24118 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
24119 wxPyEndAllowThreads(__tstate
);
24120 if (PyErr_Occurred()) SWIG_fail
;
24122 resultobj
= SWIG_Py_Void();
24129 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24130 PyObject
*resultobj
= 0;
24131 wxDC
*arg1
= (wxDC
*) 0 ;
24134 PyObject
*swig_obj
[1] ;
24136 if (!args
) SWIG_fail
;
24137 swig_obj
[0] = args
;
24138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24139 if (!SWIG_IsOK(res1
)) {
24140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
24142 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24145 (arg1
)->ResetBoundingBox();
24146 wxPyEndAllowThreads(__tstate
);
24147 if (PyErr_Occurred()) SWIG_fail
;
24149 resultobj
= SWIG_Py_Void();
24156 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24157 PyObject
*resultobj
= 0;
24158 wxDC
*arg1
= (wxDC
*) 0 ;
24162 PyObject
*swig_obj
[1] ;
24164 if (!args
) SWIG_fail
;
24165 swig_obj
[0] = args
;
24166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24167 if (!SWIG_IsOK(res1
)) {
24168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
24170 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24173 result
= (int)((wxDC
const *)arg1
)->MinX();
24174 wxPyEndAllowThreads(__tstate
);
24175 if (PyErr_Occurred()) SWIG_fail
;
24177 resultobj
= SWIG_From_int(static_cast< int >(result
));
24184 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24185 PyObject
*resultobj
= 0;
24186 wxDC
*arg1
= (wxDC
*) 0 ;
24190 PyObject
*swig_obj
[1] ;
24192 if (!args
) SWIG_fail
;
24193 swig_obj
[0] = args
;
24194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24195 if (!SWIG_IsOK(res1
)) {
24196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
24198 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24201 result
= (int)((wxDC
const *)arg1
)->MaxX();
24202 wxPyEndAllowThreads(__tstate
);
24203 if (PyErr_Occurred()) SWIG_fail
;
24205 resultobj
= SWIG_From_int(static_cast< int >(result
));
24212 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24213 PyObject
*resultobj
= 0;
24214 wxDC
*arg1
= (wxDC
*) 0 ;
24218 PyObject
*swig_obj
[1] ;
24220 if (!args
) SWIG_fail
;
24221 swig_obj
[0] = args
;
24222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24223 if (!SWIG_IsOK(res1
)) {
24224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
24226 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24229 result
= (int)((wxDC
const *)arg1
)->MinY();
24230 wxPyEndAllowThreads(__tstate
);
24231 if (PyErr_Occurred()) SWIG_fail
;
24233 resultobj
= SWIG_From_int(static_cast< int >(result
));
24240 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24241 PyObject
*resultobj
= 0;
24242 wxDC
*arg1
= (wxDC
*) 0 ;
24246 PyObject
*swig_obj
[1] ;
24248 if (!args
) SWIG_fail
;
24249 swig_obj
[0] = args
;
24250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24251 if (!SWIG_IsOK(res1
)) {
24252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
24254 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24257 result
= (int)((wxDC
const *)arg1
)->MaxY();
24258 wxPyEndAllowThreads(__tstate
);
24259 if (PyErr_Occurred()) SWIG_fail
;
24261 resultobj
= SWIG_From_int(static_cast< int >(result
));
24268 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24269 PyObject
*resultobj
= 0;
24270 wxDC
*arg1
= (wxDC
*) 0 ;
24271 int *arg2
= (int *) 0 ;
24272 int *arg3
= (int *) 0 ;
24273 int *arg4
= (int *) 0 ;
24274 int *arg5
= (int *) 0 ;
24278 int res2
= SWIG_TMPOBJ
;
24280 int res3
= SWIG_TMPOBJ
;
24282 int res4
= SWIG_TMPOBJ
;
24284 int res5
= SWIG_TMPOBJ
;
24285 PyObject
*swig_obj
[1] ;
24291 if (!args
) SWIG_fail
;
24292 swig_obj
[0] = args
;
24293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24294 if (!SWIG_IsOK(res1
)) {
24295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
24297 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24300 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24304 resultobj
= SWIG_Py_Void();
24305 if (SWIG_IsTmpObj(res2
)) {
24306 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
24308 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24309 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
24311 if (SWIG_IsTmpObj(res3
)) {
24312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24314 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24315 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24317 if (SWIG_IsTmpObj(res4
)) {
24318 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
24320 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24321 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
24323 if (SWIG_IsTmpObj(res5
)) {
24324 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
24326 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24327 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
24335 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24336 PyObject
*resultobj
= 0;
24337 wxDC
*arg1
= (wxDC
*) 0 ;
24338 wxLayoutDirection result
;
24341 PyObject
*swig_obj
[1] ;
24343 if (!args
) SWIG_fail
;
24344 swig_obj
[0] = args
;
24345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24346 if (!SWIG_IsOK(res1
)) {
24347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
24349 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24352 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
24353 wxPyEndAllowThreads(__tstate
);
24354 if (PyErr_Occurred()) SWIG_fail
;
24356 resultobj
= SWIG_From_int(static_cast< int >(result
));
24363 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24364 PyObject
*resultobj
= 0;
24365 wxDC
*arg1
= (wxDC
*) 0 ;
24366 wxLayoutDirection arg2
;
24371 PyObject
* obj0
= 0 ;
24372 PyObject
* obj1
= 0 ;
24373 char * kwnames
[] = {
24374 (char *) "self",(char *) "dir", NULL
24377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24379 if (!SWIG_IsOK(res1
)) {
24380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
24382 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24384 if (!SWIG_IsOK(ecode2
)) {
24385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
24387 arg2
= static_cast< wxLayoutDirection
>(val2
);
24389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24390 (arg1
)->SetLayoutDirection(arg2
);
24391 wxPyEndAllowThreads(__tstate
);
24392 if (PyErr_Occurred()) SWIG_fail
;
24394 resultobj
= SWIG_Py_Void();
24401 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24402 PyObject
*resultobj
= 0;
24403 wxDC
*arg1
= (wxDC
*) 0 ;
24407 PyObject
*swig_obj
[1] ;
24409 if (!args
) SWIG_fail
;
24410 swig_obj
[0] = args
;
24411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24412 if (!SWIG_IsOK(res1
)) {
24413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
24415 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24418 result
= (long)(arg1
)->GetHDC();
24419 wxPyEndAllowThreads(__tstate
);
24420 if (PyErr_Occurred()) SWIG_fail
;
24422 resultobj
= SWIG_From_long(static_cast< long >(result
));
24429 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24430 PyObject
*resultobj
= 0;
24431 wxDC
*arg1
= (wxDC
*) 0 ;
24432 PyObject
*arg2
= (PyObject
*) 0 ;
24433 PyObject
*arg3
= (PyObject
*) 0 ;
24434 PyObject
*arg4
= (PyObject
*) 0 ;
24435 PyObject
*result
= 0 ;
24438 PyObject
* obj0
= 0 ;
24439 PyObject
* obj1
= 0 ;
24440 PyObject
* obj2
= 0 ;
24441 PyObject
* obj3
= 0 ;
24442 char * kwnames
[] = {
24443 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24448 if (!SWIG_IsOK(res1
)) {
24449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
24451 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24457 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
24458 wxPyEndAllowThreads(__tstate
);
24459 if (PyErr_Occurred()) SWIG_fail
;
24461 resultobj
= result
;
24468 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24469 PyObject
*resultobj
= 0;
24470 wxDC
*arg1
= (wxDC
*) 0 ;
24471 PyObject
*arg2
= (PyObject
*) 0 ;
24472 PyObject
*arg3
= (PyObject
*) 0 ;
24473 PyObject
*arg4
= (PyObject
*) 0 ;
24474 PyObject
*result
= 0 ;
24477 PyObject
* obj0
= 0 ;
24478 PyObject
* obj1
= 0 ;
24479 PyObject
* obj2
= 0 ;
24480 PyObject
* obj3
= 0 ;
24481 char * kwnames
[] = {
24482 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24487 if (!SWIG_IsOK(res1
)) {
24488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
24490 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24496 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
24497 wxPyEndAllowThreads(__tstate
);
24498 if (PyErr_Occurred()) SWIG_fail
;
24500 resultobj
= result
;
24507 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24508 PyObject
*resultobj
= 0;
24509 wxDC
*arg1
= (wxDC
*) 0 ;
24510 PyObject
*arg2
= (PyObject
*) 0 ;
24511 PyObject
*arg3
= (PyObject
*) 0 ;
24512 PyObject
*arg4
= (PyObject
*) 0 ;
24513 PyObject
*result
= 0 ;
24516 PyObject
* obj0
= 0 ;
24517 PyObject
* obj1
= 0 ;
24518 PyObject
* obj2
= 0 ;
24519 PyObject
* obj3
= 0 ;
24520 char * kwnames
[] = {
24521 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24526 if (!SWIG_IsOK(res1
)) {
24527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
24529 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24535 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
24536 wxPyEndAllowThreads(__tstate
);
24537 if (PyErr_Occurred()) SWIG_fail
;
24539 resultobj
= result
;
24546 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24547 PyObject
*resultobj
= 0;
24548 wxDC
*arg1
= (wxDC
*) 0 ;
24549 PyObject
*arg2
= (PyObject
*) 0 ;
24550 PyObject
*arg3
= (PyObject
*) 0 ;
24551 PyObject
*arg4
= (PyObject
*) 0 ;
24552 PyObject
*result
= 0 ;
24555 PyObject
* obj0
= 0 ;
24556 PyObject
* obj1
= 0 ;
24557 PyObject
* obj2
= 0 ;
24558 PyObject
* obj3
= 0 ;
24559 char * kwnames
[] = {
24560 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24565 if (!SWIG_IsOK(res1
)) {
24566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
24568 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24574 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
24575 wxPyEndAllowThreads(__tstate
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24578 resultobj
= result
;
24585 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24586 PyObject
*resultobj
= 0;
24587 wxDC
*arg1
= (wxDC
*) 0 ;
24588 PyObject
*arg2
= (PyObject
*) 0 ;
24589 PyObject
*arg3
= (PyObject
*) 0 ;
24590 PyObject
*arg4
= (PyObject
*) 0 ;
24591 PyObject
*result
= 0 ;
24594 PyObject
* obj0
= 0 ;
24595 PyObject
* obj1
= 0 ;
24596 PyObject
* obj2
= 0 ;
24597 PyObject
* obj3
= 0 ;
24598 char * kwnames
[] = {
24599 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24604 if (!SWIG_IsOK(res1
)) {
24605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
24607 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24613 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
24614 wxPyEndAllowThreads(__tstate
);
24615 if (PyErr_Occurred()) SWIG_fail
;
24617 resultobj
= result
;
24624 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24625 PyObject
*resultobj
= 0;
24626 wxDC
*arg1
= (wxDC
*) 0 ;
24627 PyObject
*arg2
= (PyObject
*) 0 ;
24628 PyObject
*arg3
= (PyObject
*) 0 ;
24629 PyObject
*arg4
= (PyObject
*) 0 ;
24630 PyObject
*arg5
= (PyObject
*) 0 ;
24631 PyObject
*result
= 0 ;
24634 PyObject
* obj0
= 0 ;
24635 PyObject
* obj1
= 0 ;
24636 PyObject
* obj2
= 0 ;
24637 PyObject
* obj3
= 0 ;
24638 PyObject
* obj4
= 0 ;
24639 char * kwnames
[] = {
24640 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
24643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24645 if (!SWIG_IsOK(res1
)) {
24646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
24648 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
24656 wxPyEndAllowThreads(__tstate
);
24657 if (PyErr_Occurred()) SWIG_fail
;
24659 resultobj
= result
;
24666 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24668 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24669 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
24670 return SWIG_Py_Void();
24673 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24674 PyObject
*resultobj
= 0;
24676 wxColour
*arg2
= 0 ;
24677 wxDCTextColourChanger
*result
= 0 ;
24681 PyObject
* obj0
= 0 ;
24682 PyObject
* obj1
= 0 ;
24683 char * kwnames
[] = {
24684 (char *) "dc",(char *) "col", NULL
24687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24688 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24689 if (!SWIG_IsOK(res1
)) {
24690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24695 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24698 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24702 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
24703 wxPyEndAllowThreads(__tstate
);
24704 if (PyErr_Occurred()) SWIG_fail
;
24706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
24713 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24714 PyObject
*resultobj
= 0;
24715 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
24718 PyObject
*swig_obj
[1] ;
24720 if (!args
) SWIG_fail
;
24721 swig_obj
[0] = args
;
24722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
24723 if (!SWIG_IsOK(res1
)) {
24724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
24726 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
24728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24731 wxPyEndAllowThreads(__tstate
);
24732 if (PyErr_Occurred()) SWIG_fail
;
24734 resultobj
= SWIG_Py_Void();
24741 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24743 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24744 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
24745 return SWIG_Py_Void();
24748 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24749 return SWIG_Python_InitShadowInstance(args
);
24752 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24753 PyObject
*resultobj
= 0;
24756 wxDCPenChanger
*result
= 0 ;
24761 PyObject
* obj0
= 0 ;
24762 PyObject
* obj1
= 0 ;
24763 char * kwnames
[] = {
24764 (char *) "dc",(char *) "pen", NULL
24767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24768 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24769 if (!SWIG_IsOK(res1
)) {
24770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24775 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24776 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
24777 if (!SWIG_IsOK(res2
)) {
24778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24783 arg2
= reinterpret_cast< wxPen
* >(argp2
);
24785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24786 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
24787 wxPyEndAllowThreads(__tstate
);
24788 if (PyErr_Occurred()) SWIG_fail
;
24790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
24797 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24798 PyObject
*resultobj
= 0;
24799 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
24802 PyObject
*swig_obj
[1] ;
24804 if (!args
) SWIG_fail
;
24805 swig_obj
[0] = args
;
24806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
24807 if (!SWIG_IsOK(res1
)) {
24808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
24810 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24815 wxPyEndAllowThreads(__tstate
);
24816 if (PyErr_Occurred()) SWIG_fail
;
24818 resultobj
= SWIG_Py_Void();
24825 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24827 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24828 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
24829 return SWIG_Py_Void();
24832 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24833 return SWIG_Python_InitShadowInstance(args
);
24836 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24837 PyObject
*resultobj
= 0;
24839 wxBrush
*arg2
= 0 ;
24840 wxDCBrushChanger
*result
= 0 ;
24845 PyObject
* obj0
= 0 ;
24846 PyObject
* obj1
= 0 ;
24847 char * kwnames
[] = {
24848 (char *) "dc",(char *) "brush", NULL
24851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24852 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24853 if (!SWIG_IsOK(res1
)) {
24854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24859 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24860 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
24861 if (!SWIG_IsOK(res2
)) {
24862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24867 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
24869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24870 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
24871 wxPyEndAllowThreads(__tstate
);
24872 if (PyErr_Occurred()) SWIG_fail
;
24874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
24881 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24882 PyObject
*resultobj
= 0;
24883 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
24886 PyObject
*swig_obj
[1] ;
24888 if (!args
) SWIG_fail
;
24889 swig_obj
[0] = args
;
24890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
24891 if (!SWIG_IsOK(res1
)) {
24892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
24894 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
24896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24899 wxPyEndAllowThreads(__tstate
);
24900 if (PyErr_Occurred()) SWIG_fail
;
24902 resultobj
= SWIG_Py_Void();
24909 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24911 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24912 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24913 return SWIG_Py_Void();
24916 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24917 return SWIG_Python_InitShadowInstance(args
);
24920 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24921 PyObject
*resultobj
= 0;
24923 wxRegion
*arg2
= 0 ;
24924 wxDCClipper
*result
= 0 ;
24930 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24932 if (!SWIG_IsOK(res1
)) {
24933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24938 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24939 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24940 if (!SWIG_IsOK(res2
)) {
24941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24944 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24946 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24950 wxPyEndAllowThreads(__tstate
);
24951 if (PyErr_Occurred()) SWIG_fail
;
24953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24960 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24961 PyObject
*resultobj
= 0;
24964 wxDCClipper
*result
= 0 ;
24969 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24971 if (!SWIG_IsOK(res1
)) {
24972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24977 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24980 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24984 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24985 wxPyEndAllowThreads(__tstate
);
24986 if (PyErr_Occurred()) SWIG_fail
;
24988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24995 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24996 PyObject
*resultobj
= 0;
25002 wxDCClipper
*result
= 0 ;
25014 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
25015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
25016 if (!SWIG_IsOK(res1
)) {
25017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
25020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
25022 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25023 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
25024 if (!SWIG_IsOK(ecode2
)) {
25025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
25027 arg2
= static_cast< int >(val2
);
25028 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25029 if (!SWIG_IsOK(ecode3
)) {
25030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
25032 arg3
= static_cast< int >(val3
);
25033 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
25034 if (!SWIG_IsOK(ecode4
)) {
25035 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
25037 arg4
= static_cast< int >(val4
);
25038 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
25039 if (!SWIG_IsOK(ecode5
)) {
25040 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
25042 arg5
= static_cast< int >(val5
);
25044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25045 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
25046 wxPyEndAllowThreads(__tstate
);
25047 if (PyErr_Occurred()) SWIG_fail
;
25049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
25056 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
25060 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
25065 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
25066 _v
= SWIG_CheckState(res
);
25068 if (!_v
) goto check_1
;
25069 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
25074 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
25077 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
25081 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
25086 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25087 PyObject
*resultobj
= 0;
25088 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
25091 PyObject
*swig_obj
[1] ;
25093 if (!args
) SWIG_fail
;
25094 swig_obj
[0] = args
;
25095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
25096 if (!SWIG_IsOK(res1
)) {
25097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
25099 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
25101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25104 wxPyEndAllowThreads(__tstate
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25107 resultobj
= SWIG_Py_Void();
25114 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25117 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
25118 return SWIG_Py_Void();
25121 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25122 return SWIG_Python_InitShadowInstance(args
);
25125 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25126 PyObject
*resultobj
= 0;
25127 wxScreenDC
*result
= 0 ;
25129 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
25131 if (!wxPyCheckForApp()) SWIG_fail
;
25132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25133 result
= (wxScreenDC
*)new wxScreenDC();
25134 wxPyEndAllowThreads(__tstate
);
25135 if (PyErr_Occurred()) SWIG_fail
;
25137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
25144 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25145 PyObject
*resultobj
= 0;
25146 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
25147 wxWindow
*arg2
= (wxWindow
*) 0 ;
25153 PyObject
* obj0
= 0 ;
25154 PyObject
* obj1
= 0 ;
25155 char * kwnames
[] = {
25156 (char *) "self",(char *) "window", NULL
25159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
25161 if (!SWIG_IsOK(res1
)) {
25162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
25164 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
25165 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25166 if (!SWIG_IsOK(res2
)) {
25167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
25169 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25172 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
25173 wxPyEndAllowThreads(__tstate
);
25174 if (PyErr_Occurred()) SWIG_fail
;
25177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25185 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25186 PyObject
*resultobj
= 0;
25187 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
25188 wxRect
*arg2
= (wxRect
*) NULL
;
25194 PyObject
* obj0
= 0 ;
25195 PyObject
* obj1
= 0 ;
25196 char * kwnames
[] = {
25197 (char *) "self",(char *) "rect", NULL
25200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
25202 if (!SWIG_IsOK(res1
)) {
25203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
25205 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
25207 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
25208 if (!SWIG_IsOK(res2
)) {
25209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
25211 arg2
= reinterpret_cast< wxRect
* >(argp2
);
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25215 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
25216 wxPyEndAllowThreads(__tstate
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25228 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25229 PyObject
*resultobj
= 0;
25230 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
25234 PyObject
*swig_obj
[1] ;
25236 if (!args
) SWIG_fail
;
25237 swig_obj
[0] = args
;
25238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
25239 if (!SWIG_IsOK(res1
)) {
25240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
25242 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
25244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25245 result
= (bool)(arg1
)->EndDrawingOnTop();
25246 wxPyEndAllowThreads(__tstate
);
25247 if (PyErr_Occurred()) SWIG_fail
;
25250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25258 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25260 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25261 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
25262 return SWIG_Py_Void();
25265 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25266 return SWIG_Python_InitShadowInstance(args
);
25269 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25270 PyObject
*resultobj
= 0;
25271 wxWindow
*arg1
= (wxWindow
*) 0 ;
25272 wxWindowDC
*result
= 0 ;
25275 PyObject
* obj0
= 0 ;
25276 char * kwnames
[] = {
25277 (char *) "win", NULL
25280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
25281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25282 if (!SWIG_IsOK(res1
)) {
25283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25285 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25287 if (!wxPyCheckForApp()) SWIG_fail
;
25288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25289 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
25290 wxPyEndAllowThreads(__tstate
);
25291 if (PyErr_Occurred()) SWIG_fail
;
25293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
25300 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25302 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25303 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
25304 return SWIG_Py_Void();
25307 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25308 return SWIG_Python_InitShadowInstance(args
);
25311 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25312 PyObject
*resultobj
= 0;
25313 wxWindow
*arg1
= (wxWindow
*) 0 ;
25314 wxClientDC
*result
= 0 ;
25317 PyObject
* obj0
= 0 ;
25318 char * kwnames
[] = {
25319 (char *) "win", NULL
25322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
25323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25324 if (!SWIG_IsOK(res1
)) {
25325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25327 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25329 if (!wxPyCheckForApp()) SWIG_fail
;
25330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25331 result
= (wxClientDC
*)new wxClientDC(arg1
);
25332 wxPyEndAllowThreads(__tstate
);
25333 if (PyErr_Occurred()) SWIG_fail
;
25335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
25342 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25344 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25345 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
25346 return SWIG_Py_Void();
25349 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25350 return SWIG_Python_InitShadowInstance(args
);
25353 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25354 PyObject
*resultobj
= 0;
25355 wxWindow
*arg1
= (wxWindow
*) 0 ;
25356 wxPaintDC
*result
= 0 ;
25359 PyObject
* obj0
= 0 ;
25360 char * kwnames
[] = {
25361 (char *) "win", NULL
25364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
25365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25366 if (!SWIG_IsOK(res1
)) {
25367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25369 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25371 if (!wxPyCheckForApp()) SWIG_fail
;
25372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25373 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
25374 wxPyEndAllowThreads(__tstate
);
25375 if (PyErr_Occurred()) SWIG_fail
;
25377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
25384 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25387 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
25388 return SWIG_Py_Void();
25391 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25392 return SWIG_Python_InitShadowInstance(args
);
25395 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25396 PyObject
*resultobj
= 0;
25397 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
25398 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25399 wxMemoryDC
*result
= 0 ;
25402 PyObject
* obj0
= 0 ;
25403 char * kwnames
[] = {
25404 (char *) "bitmap", NULL
25407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
25409 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
25410 if (!SWIG_IsOK(res1
)) {
25411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
25414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
25416 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
25419 if (!wxPyCheckForApp()) SWIG_fail
;
25420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25421 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
25422 wxPyEndAllowThreads(__tstate
);
25423 if (PyErr_Occurred()) SWIG_fail
;
25425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
25432 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25433 PyObject
*resultobj
= 0;
25434 wxDC
*arg1
= (wxDC
*) 0 ;
25435 wxMemoryDC
*result
= 0 ;
25438 PyObject
* obj0
= 0 ;
25439 char * kwnames
[] = {
25440 (char *) "oldDC", NULL
25443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
25444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25445 if (!SWIG_IsOK(res1
)) {
25446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
25448 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25450 if (!wxPyCheckForApp()) SWIG_fail
;
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
25453 wxPyEndAllowThreads(__tstate
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
25463 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25464 PyObject
*resultobj
= 0;
25465 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
25466 wxBitmap
*arg2
= 0 ;
25471 PyObject
* obj0
= 0 ;
25472 PyObject
* obj1
= 0 ;
25473 char * kwnames
[] = {
25474 (char *) "self",(char *) "bitmap", NULL
25477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
25479 if (!SWIG_IsOK(res1
)) {
25480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
25482 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
25483 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25484 if (!SWIG_IsOK(res2
)) {
25485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
25488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
25490 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25493 (arg1
)->SelectObject(*arg2
);
25494 wxPyEndAllowThreads(__tstate
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25497 resultobj
= SWIG_Py_Void();
25504 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25505 PyObject
*resultobj
= 0;
25506 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
25507 wxBitmap
*arg2
= 0 ;
25512 PyObject
* obj0
= 0 ;
25513 PyObject
* obj1
= 0 ;
25514 char * kwnames
[] = {
25515 (char *) "self",(char *) "bmp", NULL
25518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
25520 if (!SWIG_IsOK(res1
)) {
25521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
25523 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
25524 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25525 if (!SWIG_IsOK(res2
)) {
25526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25531 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25534 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
25535 wxPyEndAllowThreads(__tstate
);
25536 if (PyErr_Occurred()) SWIG_fail
;
25538 resultobj
= SWIG_Py_Void();
25545 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25547 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25548 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
25549 return SWIG_Py_Void();
25552 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25553 return SWIG_Python_InitShadowInstance(args
);
25556 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25557 PyObject
*resultobj
= 0;
25558 wxDC
*arg1
= (wxDC
*) 0 ;
25559 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25560 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25561 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25562 wxBufferedDC
*result
= 0 ;
25570 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
25571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25572 if (!SWIG_IsOK(res1
)) {
25573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25575 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25577 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25578 if (!SWIG_IsOK(res2
)) {
25579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25584 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25587 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25588 if (!SWIG_IsOK(ecode3
)) {
25589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25591 arg3
= static_cast< int >(val3
);
25594 if (!wxPyCheckForApp()) SWIG_fail
;
25595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25596 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
25597 wxPyEndAllowThreads(__tstate
);
25598 if (PyErr_Occurred()) SWIG_fail
;
25600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25607 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25608 PyObject
*resultobj
= 0;
25609 wxDC
*arg1
= (wxDC
*) 0 ;
25611 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25612 wxBufferedDC
*result
= 0 ;
25619 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
25620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25621 if (!SWIG_IsOK(res1
)) {
25622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25624 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25627 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
25630 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25631 if (!SWIG_IsOK(ecode3
)) {
25632 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25634 arg3
= static_cast< int >(val3
);
25637 if (!wxPyCheckForApp()) SWIG_fail
;
25638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25639 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
25640 wxPyEndAllowThreads(__tstate
);
25641 if (PyErr_Occurred()) SWIG_fail
;
25643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25650 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
25654 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
25656 if ((argc
>= 1) && (argc
<= 3)) {
25661 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
25662 _v
= SWIG_CheckState(res
);
25664 if (!_v
) goto check_1
;
25666 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
25670 if ((argc
>= 2) && (argc
<= 3)) {
25671 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
25675 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
25680 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25681 PyObject
*resultobj
= 0;
25682 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25685 PyObject
*swig_obj
[1] ;
25687 if (!args
) SWIG_fail
;
25688 swig_obj
[0] = args
;
25689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
25690 if (!SWIG_IsOK(res1
)) {
25691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25693 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25698 wxPyEndAllowThreads(__tstate
);
25699 if (PyErr_Occurred()) SWIG_fail
;
25701 resultobj
= SWIG_Py_Void();
25708 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25709 PyObject
*resultobj
= 0;
25710 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25713 PyObject
*swig_obj
[1] ;
25715 if (!args
) SWIG_fail
;
25716 swig_obj
[0] = args
;
25717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25718 if (!SWIG_IsOK(res1
)) {
25719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25721 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25725 wxPyEndAllowThreads(__tstate
);
25726 if (PyErr_Occurred()) SWIG_fail
;
25728 resultobj
= SWIG_Py_Void();
25735 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25736 PyObject
*resultobj
= 0;
25737 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25743 PyObject
* obj0
= 0 ;
25744 PyObject
* obj1
= 0 ;
25745 char * kwnames
[] = {
25746 (char *) "self",(char *) "style", NULL
25749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25751 if (!SWIG_IsOK(res1
)) {
25752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25754 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25756 if (!SWIG_IsOK(ecode2
)) {
25757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
25759 arg2
= static_cast< int >(val2
);
25761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25762 (arg1
)->SetStyle(arg2
);
25763 wxPyEndAllowThreads(__tstate
);
25764 if (PyErr_Occurred()) SWIG_fail
;
25766 resultobj
= SWIG_Py_Void();
25773 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25774 PyObject
*resultobj
= 0;
25775 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25779 PyObject
*swig_obj
[1] ;
25781 if (!args
) SWIG_fail
;
25782 swig_obj
[0] = args
;
25783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25784 if (!SWIG_IsOK(res1
)) {
25785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
25787 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25790 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
25791 wxPyEndAllowThreads(__tstate
);
25792 if (PyErr_Occurred()) SWIG_fail
;
25794 resultobj
= SWIG_From_int(static_cast< int >(result
));
25801 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25803 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25804 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
25805 return SWIG_Py_Void();
25808 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25809 return SWIG_Python_InitShadowInstance(args
);
25812 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25813 PyObject
*resultobj
= 0;
25814 wxWindow
*arg1
= (wxWindow
*) 0 ;
25815 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25816 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25817 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25818 wxBufferedPaintDC
*result
= 0 ;
25825 PyObject
* obj0
= 0 ;
25826 PyObject
* obj1
= 0 ;
25827 PyObject
* obj2
= 0 ;
25828 char * kwnames
[] = {
25829 (char *) "window",(char *) "buffer",(char *) "style", NULL
25832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25834 if (!SWIG_IsOK(res1
)) {
25835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25837 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25839 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25840 if (!SWIG_IsOK(res2
)) {
25841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25846 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25849 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25850 if (!SWIG_IsOK(ecode3
)) {
25851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
25853 arg3
= static_cast< int >(val3
);
25856 if (!wxPyCheckForApp()) SWIG_fail
;
25857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25858 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
25859 wxPyEndAllowThreads(__tstate
);
25860 if (PyErr_Occurred()) SWIG_fail
;
25862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25869 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25871 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25872 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
25873 return SWIG_Py_Void();
25876 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25877 return SWIG_Python_InitShadowInstance(args
);
25880 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25881 PyObject
*resultobj
= 0;
25882 wxWindow
*arg1
= (wxWindow
*) 0 ;
25883 wxAutoBufferedPaintDC
*result
= 0 ;
25886 PyObject
* obj0
= 0 ;
25887 char * kwnames
[] = {
25888 (char *) "win", NULL
25891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
25892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25893 if (!SWIG_IsOK(res1
)) {
25894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25896 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25899 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
25900 wxPyEndAllowThreads(__tstate
);
25901 if (PyErr_Occurred()) SWIG_fail
;
25903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25910 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25912 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25913 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25914 return SWIG_Py_Void();
25917 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25918 return SWIG_Python_InitShadowInstance(args
);
25921 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25922 PyObject
*resultobj
= 0;
25923 wxWindow
*arg1
= (wxWindow
*) 0 ;
25927 PyObject
* obj0
= 0 ;
25928 char * kwnames
[] = {
25929 (char *) "window", NULL
25932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
25933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25934 if (!SWIG_IsOK(res1
)) {
25935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25937 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25940 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25941 wxPyEndAllowThreads(__tstate
);
25942 if (PyErr_Occurred()) SWIG_fail
;
25945 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25953 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25954 PyObject
*resultobj
= 0;
25957 wxMirrorDC
*result
= 0 ;
25962 PyObject
* obj0
= 0 ;
25963 PyObject
* obj1
= 0 ;
25964 char * kwnames
[] = {
25965 (char *) "dc",(char *) "mirror", NULL
25968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25969 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25970 if (!SWIG_IsOK(res1
)) {
25971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25976 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25977 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25978 if (!SWIG_IsOK(ecode2
)) {
25979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25981 arg2
= static_cast< bool >(val2
);
25983 if (!wxPyCheckForApp()) SWIG_fail
;
25984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25985 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25986 wxPyEndAllowThreads(__tstate
);
25987 if (PyErr_Occurred()) SWIG_fail
;
25989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
25996 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25998 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25999 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
26000 return SWIG_Py_Void();
26003 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26004 return SWIG_Python_InitShadowInstance(args
);
26007 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26008 PyObject
*resultobj
= 0;
26009 wxPrintData
*arg1
= 0 ;
26010 wxPostScriptDC
*result
= 0 ;
26013 PyObject
* obj0
= 0 ;
26014 char * kwnames
[] = {
26015 (char *) "printData", NULL
26018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
26019 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26020 if (!SWIG_IsOK(res1
)) {
26021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26026 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26028 if (!wxPyCheckForApp()) SWIG_fail
;
26029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26030 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
26031 wxPyEndAllowThreads(__tstate
);
26032 if (PyErr_Occurred()) SWIG_fail
;
26034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
26041 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26042 PyObject
*resultobj
= 0;
26043 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
26044 wxPrintData
*result
= 0 ;
26047 PyObject
*swig_obj
[1] ;
26049 if (!args
) SWIG_fail
;
26050 swig_obj
[0] = args
;
26051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
26052 if (!SWIG_IsOK(res1
)) {
26053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
26055 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
26057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26059 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26060 result
= (wxPrintData
*) &_result_ref
;
26062 wxPyEndAllowThreads(__tstate
);
26063 if (PyErr_Occurred()) SWIG_fail
;
26065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26072 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26073 PyObject
*resultobj
= 0;
26074 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
26075 wxPrintData
*arg2
= 0 ;
26080 PyObject
* obj0
= 0 ;
26081 PyObject
* obj1
= 0 ;
26082 char * kwnames
[] = {
26083 (char *) "self",(char *) "data", NULL
26086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
26088 if (!SWIG_IsOK(res1
)) {
26089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
26091 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
26092 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26093 if (!SWIG_IsOK(res2
)) {
26094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26099 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26102 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26103 wxPyEndAllowThreads(__tstate
);
26104 if (PyErr_Occurred()) SWIG_fail
;
26106 resultobj
= SWIG_Py_Void();
26113 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26114 PyObject
*resultobj
= 0;
26118 PyObject
* obj0
= 0 ;
26119 char * kwnames
[] = {
26120 (char *) "ppi", NULL
26123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
26124 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26125 if (!SWIG_IsOK(ecode1
)) {
26126 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
26128 arg1
= static_cast< int >(val1
);
26130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26131 wxPostScriptDC::SetResolution(arg1
);
26132 wxPyEndAllowThreads(__tstate
);
26133 if (PyErr_Occurred()) SWIG_fail
;
26135 resultobj
= SWIG_Py_Void();
26142 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26143 PyObject
*resultobj
= 0;
26146 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
26148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26149 result
= (int)wxPostScriptDC::GetResolution();
26150 wxPyEndAllowThreads(__tstate
);
26151 if (PyErr_Occurred()) SWIG_fail
;
26153 resultobj
= SWIG_From_int(static_cast< int >(result
));
26160 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26162 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26163 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
26164 return SWIG_Py_Void();
26167 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26168 return SWIG_Python_InitShadowInstance(args
);
26171 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26172 PyObject
*resultobj
= 0;
26173 wxString
const &arg1_defvalue
= wxPyEmptyString
;
26174 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
26175 wxMetaFile
*result
= 0 ;
26176 bool temp1
= false ;
26177 PyObject
* obj0
= 0 ;
26178 char * kwnames
[] = {
26179 (char *) "filename", NULL
26182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
26185 arg1
= wxString_in_helper(obj0
);
26186 if (arg1
== NULL
) SWIG_fail
;
26191 if (!wxPyCheckForApp()) SWIG_fail
;
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26193 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
26194 wxPyEndAllowThreads(__tstate
);
26195 if (PyErr_Occurred()) SWIG_fail
;
26197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
26212 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26213 PyObject
*resultobj
= 0;
26214 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
26217 PyObject
*swig_obj
[1] ;
26219 if (!args
) SWIG_fail
;
26220 swig_obj
[0] = args
;
26221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
26222 if (!SWIG_IsOK(res1
)) {
26223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
26225 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
26227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26230 wxPyEndAllowThreads(__tstate
);
26231 if (PyErr_Occurred()) SWIG_fail
;
26233 resultobj
= SWIG_Py_Void();
26240 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26241 PyObject
*resultobj
= 0;
26242 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
26246 PyObject
*swig_obj
[1] ;
26248 if (!args
) SWIG_fail
;
26249 swig_obj
[0] = args
;
26250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26251 if (!SWIG_IsOK(res1
)) {
26252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
26254 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
26256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26257 result
= (bool)(arg1
)->IsOk();
26258 wxPyEndAllowThreads(__tstate
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26270 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26271 PyObject
*resultobj
= 0;
26272 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
26273 int arg2
= (int) 0 ;
26274 int arg3
= (int) 0 ;
26282 PyObject
* obj0
= 0 ;
26283 PyObject
* obj1
= 0 ;
26284 PyObject
* obj2
= 0 ;
26285 char * kwnames
[] = {
26286 (char *) "self",(char *) "width",(char *) "height", NULL
26289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26291 if (!SWIG_IsOK(res1
)) {
26292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
26294 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
26296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26297 if (!SWIG_IsOK(ecode2
)) {
26298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
26300 arg2
= static_cast< int >(val2
);
26303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26304 if (!SWIG_IsOK(ecode3
)) {
26305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
26307 arg3
= static_cast< int >(val3
);
26310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26311 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
26312 wxPyEndAllowThreads(__tstate
);
26313 if (PyErr_Occurred()) SWIG_fail
;
26316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26324 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26325 PyObject
*resultobj
= 0;
26326 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
26330 PyObject
*swig_obj
[1] ;
26332 if (!args
) SWIG_fail
;
26333 swig_obj
[0] = args
;
26334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26335 if (!SWIG_IsOK(res1
)) {
26336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
26338 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
26340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26341 result
= (arg1
)->GetSize();
26342 wxPyEndAllowThreads(__tstate
);
26343 if (PyErr_Occurred()) SWIG_fail
;
26345 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
26352 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26353 PyObject
*resultobj
= 0;
26354 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
26358 PyObject
*swig_obj
[1] ;
26360 if (!args
) SWIG_fail
;
26361 swig_obj
[0] = args
;
26362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26363 if (!SWIG_IsOK(res1
)) {
26364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
26366 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
26368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26369 result
= (int)(arg1
)->GetWidth();
26370 wxPyEndAllowThreads(__tstate
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26373 resultobj
= SWIG_From_int(static_cast< int >(result
));
26380 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26381 PyObject
*resultobj
= 0;
26382 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
26386 PyObject
*swig_obj
[1] ;
26388 if (!args
) SWIG_fail
;
26389 swig_obj
[0] = args
;
26390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26391 if (!SWIG_IsOK(res1
)) {
26392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
26394 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
26396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26397 result
= (int)(arg1
)->GetHeight();
26398 wxPyEndAllowThreads(__tstate
);
26399 if (PyErr_Occurred()) SWIG_fail
;
26401 resultobj
= SWIG_From_int(static_cast< int >(result
));
26408 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26409 PyObject
*resultobj
= 0;
26410 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
26411 wxString
*result
= 0 ;
26414 PyObject
*swig_obj
[1] ;
26416 if (!args
) SWIG_fail
;
26417 swig_obj
[0] = args
;
26418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26419 if (!SWIG_IsOK(res1
)) {
26420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
26422 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
26424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26426 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
26427 result
= (wxString
*) &_result_ref
;
26429 wxPyEndAllowThreads(__tstate
);
26430 if (PyErr_Occurred()) SWIG_fail
;
26434 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26436 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26445 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26447 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26448 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
26449 return SWIG_Py_Void();
26452 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26453 return SWIG_Python_InitShadowInstance(args
);
26456 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26457 PyObject
*resultobj
= 0;
26458 wxString
const &arg1_defvalue
= wxPyEmptyString
;
26459 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
26460 int arg2
= (int) 0 ;
26461 int arg3
= (int) 0 ;
26462 wxString
const &arg4_defvalue
= wxPyEmptyString
;
26463 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26464 wxMetaFileDC
*result
= 0 ;
26465 bool temp1
= false ;
26470 bool temp4
= false ;
26471 PyObject
* obj0
= 0 ;
26472 PyObject
* obj1
= 0 ;
26473 PyObject
* obj2
= 0 ;
26474 PyObject
* obj3
= 0 ;
26475 char * kwnames
[] = {
26476 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
26479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26482 arg1
= wxString_in_helper(obj0
);
26483 if (arg1
== NULL
) SWIG_fail
;
26488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26489 if (!SWIG_IsOK(ecode2
)) {
26490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
26492 arg2
= static_cast< int >(val2
);
26495 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26496 if (!SWIG_IsOK(ecode3
)) {
26497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
26499 arg3
= static_cast< int >(val3
);
26503 arg4
= wxString_in_helper(obj3
);
26504 if (arg4
== NULL
) SWIG_fail
;
26509 if (!wxPyCheckForApp()) SWIG_fail
;
26510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26511 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
26512 wxPyEndAllowThreads(__tstate
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26515 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
26538 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26539 PyObject
*resultobj
= 0;
26540 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
26541 wxMetaFile
*result
= 0 ;
26544 PyObject
*swig_obj
[1] ;
26546 if (!args
) SWIG_fail
;
26547 swig_obj
[0] = args
;
26548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
26549 if (!SWIG_IsOK(res1
)) {
26550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
26552 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
26554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26555 result
= (wxMetaFile
*)(arg1
)->Close();
26556 wxPyEndAllowThreads(__tstate
);
26557 if (PyErr_Occurred()) SWIG_fail
;
26559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26566 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26568 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26569 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
26570 return SWIG_Py_Void();
26573 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26574 return SWIG_Python_InitShadowInstance(args
);
26577 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26578 PyObject
*resultobj
= 0;
26579 wxPrintData
*arg1
= 0 ;
26580 wxPrinterDC
*result
= 0 ;
26583 PyObject
* obj0
= 0 ;
26584 char * kwnames
[] = {
26585 (char *) "printData", NULL
26588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
26589 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26590 if (!SWIG_IsOK(res1
)) {
26591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26596 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26598 if (!wxPyCheckForApp()) SWIG_fail
;
26599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26600 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
26601 wxPyEndAllowThreads(__tstate
);
26602 if (PyErr_Occurred()) SWIG_fail
;
26604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
26611 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26613 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26614 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
26615 return SWIG_Py_Void();
26618 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26619 return SWIG_Python_InitShadowInstance(args
);
26622 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26623 PyObject
*resultobj
= 0;
26624 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
26625 wxGraphicsObject
*result
= 0 ;
26628 PyObject
* obj0
= 0 ;
26629 char * kwnames
[] = {
26630 (char *) "renderer", NULL
26633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
26635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26636 if (!SWIG_IsOK(res1
)) {
26637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
26639 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
26642 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
26643 if (PyErr_Occurred()) SWIG_fail
;
26645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
26652 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26653 PyObject
*resultobj
= 0;
26654 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26657 PyObject
*swig_obj
[1] ;
26659 if (!args
) SWIG_fail
;
26660 swig_obj
[0] = args
;
26661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
26662 if (!SWIG_IsOK(res1
)) {
26663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
26665 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26671 resultobj
= SWIG_Py_Void();
26678 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26679 PyObject
*resultobj
= 0;
26680 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26684 PyObject
*swig_obj
[1] ;
26686 if (!args
) SWIG_fail
;
26687 swig_obj
[0] = args
;
26688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26689 if (!SWIG_IsOK(res1
)) {
26690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26692 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26694 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
26695 if (PyErr_Occurred()) SWIG_fail
;
26698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26706 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26707 PyObject
*resultobj
= 0;
26708 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26709 wxGraphicsRenderer
*result
= 0 ;
26712 PyObject
*swig_obj
[1] ;
26714 if (!args
) SWIG_fail
;
26715 swig_obj
[0] = args
;
26716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26717 if (!SWIG_IsOK(res1
)) {
26718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26720 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26722 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
26723 if (PyErr_Occurred()) SWIG_fail
;
26725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26732 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26734 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26735 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
26736 return SWIG_Py_Void();
26739 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26740 return SWIG_Python_InitShadowInstance(args
);
26743 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26744 PyObject
*resultobj
= 0;
26745 wxGraphicsPen
*result
= 0 ;
26747 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
26749 result
= (wxGraphicsPen
*)new wxGraphicsPen();
26750 if (PyErr_Occurred()) SWIG_fail
;
26752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
26759 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26760 PyObject
*resultobj
= 0;
26761 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
26764 PyObject
*swig_obj
[1] ;
26766 if (!args
) SWIG_fail
;
26767 swig_obj
[0] = args
;
26768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
26769 if (!SWIG_IsOK(res1
)) {
26770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
26772 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
26776 if (PyErr_Occurred()) SWIG_fail
;
26778 resultobj
= SWIG_Py_Void();
26785 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26787 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26788 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
26789 return SWIG_Py_Void();
26792 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26793 return SWIG_Python_InitShadowInstance(args
);
26796 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26797 PyObject
*resultobj
= 0;
26798 wxGraphicsBrush
*result
= 0 ;
26800 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
26802 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
26803 if (PyErr_Occurred()) SWIG_fail
;
26805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
26812 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26813 PyObject
*resultobj
= 0;
26814 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
26817 PyObject
*swig_obj
[1] ;
26819 if (!args
) SWIG_fail
;
26820 swig_obj
[0] = args
;
26821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
26822 if (!SWIG_IsOK(res1
)) {
26823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
26825 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
26829 if (PyErr_Occurred()) SWIG_fail
;
26831 resultobj
= SWIG_Py_Void();
26838 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26840 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26841 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
26842 return SWIG_Py_Void();
26845 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26846 return SWIG_Python_InitShadowInstance(args
);
26849 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26850 PyObject
*resultobj
= 0;
26851 wxGraphicsFont
*result
= 0 ;
26853 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
26855 result
= (wxGraphicsFont
*)new wxGraphicsFont();
26856 if (PyErr_Occurred()) SWIG_fail
;
26858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
26865 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26866 PyObject
*resultobj
= 0;
26867 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
26870 PyObject
*swig_obj
[1] ;
26872 if (!args
) SWIG_fail
;
26873 swig_obj
[0] = args
;
26874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
26875 if (!SWIG_IsOK(res1
)) {
26876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
26878 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
26882 if (PyErr_Occurred()) SWIG_fail
;
26884 resultobj
= SWIG_Py_Void();
26891 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26893 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26894 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
26895 return SWIG_Py_Void();
26898 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26899 return SWIG_Python_InitShadowInstance(args
);
26902 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26903 PyObject
*resultobj
= 0;
26904 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26907 PyObject
*swig_obj
[1] ;
26909 if (!args
) SWIG_fail
;
26910 swig_obj
[0] = args
;
26911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
26912 if (!SWIG_IsOK(res1
)) {
26913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26915 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26919 if (PyErr_Occurred()) SWIG_fail
;
26921 resultobj
= SWIG_Py_Void();
26928 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26929 PyObject
*resultobj
= 0;
26930 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26931 wxGraphicsMatrix
*arg2
= 0 ;
26936 PyObject
* obj0
= 0 ;
26937 PyObject
* obj1
= 0 ;
26938 char * kwnames
[] = {
26939 (char *) "self",(char *) "t", NULL
26942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26944 if (!SWIG_IsOK(res1
)) {
26945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26947 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26948 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26949 if (!SWIG_IsOK(res2
)) {
26950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26955 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26957 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
26958 if (PyErr_Occurred()) SWIG_fail
;
26960 resultobj
= SWIG_Py_Void();
26967 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26968 PyObject
*resultobj
= 0;
26969 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26970 wxDouble arg2
= (wxDouble
) 1.0 ;
26971 wxDouble arg3
= (wxDouble
) 0.0 ;
26972 wxDouble arg4
= (wxDouble
) 0.0 ;
26973 wxDouble arg5
= (wxDouble
) 1.0 ;
26974 wxDouble arg6
= (wxDouble
) 0.0 ;
26975 wxDouble arg7
= (wxDouble
) 0.0 ;
26990 PyObject
* obj0
= 0 ;
26991 PyObject
* obj1
= 0 ;
26992 PyObject
* obj2
= 0 ;
26993 PyObject
* obj3
= 0 ;
26994 PyObject
* obj4
= 0 ;
26995 PyObject
* obj5
= 0 ;
26996 PyObject
* obj6
= 0 ;
26997 char * kwnames
[] = {
26998 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
27001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27003 if (!SWIG_IsOK(res1
)) {
27004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27006 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27008 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27009 if (!SWIG_IsOK(ecode2
)) {
27010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
27012 arg2
= static_cast< wxDouble
>(val2
);
27015 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27016 if (!SWIG_IsOK(ecode3
)) {
27017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
27019 arg3
= static_cast< wxDouble
>(val3
);
27022 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27023 if (!SWIG_IsOK(ecode4
)) {
27024 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
27026 arg4
= static_cast< wxDouble
>(val4
);
27029 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27030 if (!SWIG_IsOK(ecode5
)) {
27031 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
27033 arg5
= static_cast< wxDouble
>(val5
);
27036 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27037 if (!SWIG_IsOK(ecode6
)) {
27038 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
27040 arg6
= static_cast< wxDouble
>(val6
);
27043 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
27044 if (!SWIG_IsOK(ecode7
)) {
27045 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
27047 arg7
= static_cast< wxDouble
>(val7
);
27050 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27051 if (PyErr_Occurred()) SWIG_fail
;
27053 resultobj
= SWIG_Py_Void();
27060 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27061 PyObject
*resultobj
= 0;
27062 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27063 wxDouble
*arg2
= (wxDouble
*) 0 ;
27064 wxDouble
*arg3
= (wxDouble
*) 0 ;
27065 wxDouble
*arg4
= (wxDouble
*) 0 ;
27066 wxDouble
*arg5
= (wxDouble
*) 0 ;
27067 wxDouble
*arg6
= (wxDouble
*) 0 ;
27068 wxDouble
*arg7
= (wxDouble
*) 0 ;
27072 int res2
= SWIG_TMPOBJ
;
27074 int res3
= SWIG_TMPOBJ
;
27076 int res4
= SWIG_TMPOBJ
;
27078 int res5
= SWIG_TMPOBJ
;
27080 int res6
= SWIG_TMPOBJ
;
27082 int res7
= SWIG_TMPOBJ
;
27083 PyObject
*swig_obj
[1] ;
27091 if (!args
) SWIG_fail
;
27092 swig_obj
[0] = args
;
27093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27094 if (!SWIG_IsOK(res1
)) {
27095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Get" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27097 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27099 (arg1
)->Get(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27100 if (PyErr_Occurred()) SWIG_fail
;
27102 resultobj
= SWIG_Py_Void();
27103 if (SWIG_IsTmpObj(res2
)) {
27104 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
27106 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27107 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
27109 if (SWIG_IsTmpObj(res3
)) {
27110 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
27112 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27113 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
27115 if (SWIG_IsTmpObj(res4
)) {
27116 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
27118 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27119 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
27121 if (SWIG_IsTmpObj(res5
)) {
27122 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
27124 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27125 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
27127 if (SWIG_IsTmpObj(res6
)) {
27128 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
27130 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27131 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
27133 if (SWIG_IsTmpObj(res7
)) {
27134 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg7
)));
27136 int new_flags
= SWIG_IsNewObj(res7
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27137 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, new_flags
));
27145 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27146 PyObject
*resultobj
= 0;
27147 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27150 PyObject
*swig_obj
[1] ;
27152 if (!args
) SWIG_fail
;
27153 swig_obj
[0] = args
;
27154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27155 if (!SWIG_IsOK(res1
)) {
27156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27158 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27161 if (PyErr_Occurred()) SWIG_fail
;
27163 resultobj
= SWIG_Py_Void();
27170 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27171 PyObject
*resultobj
= 0;
27172 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27173 wxGraphicsMatrix
*arg2
= 0 ;
27179 PyObject
* obj0
= 0 ;
27180 PyObject
* obj1
= 0 ;
27181 char * kwnames
[] = {
27182 (char *) "self",(char *) "t", NULL
27185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27187 if (!SWIG_IsOK(res1
)) {
27188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
27190 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27191 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27192 if (!SWIG_IsOK(res2
)) {
27193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27196 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27198 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27200 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
27201 if (PyErr_Occurred()) SWIG_fail
;
27204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27212 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27213 PyObject
*resultobj
= 0;
27214 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27218 PyObject
*swig_obj
[1] ;
27220 if (!args
) SWIG_fail
;
27221 swig_obj
[0] = args
;
27222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27223 if (!SWIG_IsOK(res1
)) {
27224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
27226 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27228 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
27229 if (PyErr_Occurred()) SWIG_fail
;
27232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27240 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27241 PyObject
*resultobj
= 0;
27242 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27251 PyObject
* obj0
= 0 ;
27252 PyObject
* obj1
= 0 ;
27253 PyObject
* obj2
= 0 ;
27254 char * kwnames
[] = {
27255 (char *) "self",(char *) "dx",(char *) "dy", NULL
27258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27260 if (!SWIG_IsOK(res1
)) {
27261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27263 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27264 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27265 if (!SWIG_IsOK(ecode2
)) {
27266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
27268 arg2
= static_cast< wxDouble
>(val2
);
27269 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27270 if (!SWIG_IsOK(ecode3
)) {
27271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
27273 arg3
= static_cast< wxDouble
>(val3
);
27275 (arg1
)->Translate(arg2
,arg3
);
27276 if (PyErr_Occurred()) SWIG_fail
;
27278 resultobj
= SWIG_Py_Void();
27285 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27286 PyObject
*resultobj
= 0;
27287 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27296 PyObject
* obj0
= 0 ;
27297 PyObject
* obj1
= 0 ;
27298 PyObject
* obj2
= 0 ;
27299 char * kwnames
[] = {
27300 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
27303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27305 if (!SWIG_IsOK(res1
)) {
27306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27308 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27309 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27310 if (!SWIG_IsOK(ecode2
)) {
27311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
27313 arg2
= static_cast< wxDouble
>(val2
);
27314 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27315 if (!SWIG_IsOK(ecode3
)) {
27316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
27318 arg3
= static_cast< wxDouble
>(val3
);
27320 (arg1
)->Scale(arg2
,arg3
);
27321 if (PyErr_Occurred()) SWIG_fail
;
27323 resultobj
= SWIG_Py_Void();
27330 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27331 PyObject
*resultobj
= 0;
27332 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27338 PyObject
* obj0
= 0 ;
27339 PyObject
* obj1
= 0 ;
27340 char * kwnames
[] = {
27341 (char *) "self",(char *) "angle", NULL
27344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27346 if (!SWIG_IsOK(res1
)) {
27347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27349 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27350 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27351 if (!SWIG_IsOK(ecode2
)) {
27352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
27354 arg2
= static_cast< wxDouble
>(val2
);
27356 (arg1
)->Rotate(arg2
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27359 resultobj
= SWIG_Py_Void();
27366 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27367 PyObject
*resultobj
= 0;
27368 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27369 wxDouble
*arg2
= (wxDouble
*) 0 ;
27370 wxDouble
*arg3
= (wxDouble
*) 0 ;
27377 PyObject
* obj0
= 0 ;
27378 PyObject
* obj1
= 0 ;
27379 PyObject
* obj2
= 0 ;
27380 char * kwnames
[] = {
27381 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
27384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27386 if (!SWIG_IsOK(res1
)) {
27387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
27389 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27390 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
27392 int ecode
= SWIG_AsVal_double(obj1
, &val
);
27393 if (!SWIG_IsOK(ecode
)) {
27394 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27396 temp2
= static_cast< wxDouble
>(val
);
27398 res2
= SWIG_AddTmpMask(ecode
);
27400 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
27402 int ecode
= SWIG_AsVal_double(obj2
, &val
);
27403 if (!SWIG_IsOK(ecode
)) {
27404 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27406 temp3
= static_cast< wxDouble
>(val
);
27408 res3
= SWIG_AddTmpMask(ecode
);
27411 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27414 resultobj
= SWIG_Py_Void();
27415 if (SWIG_IsTmpObj(res2
)) {
27416 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
27418 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27419 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
27421 if (SWIG_IsTmpObj(res3
)) {
27422 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
27424 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27425 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
27433 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27434 PyObject
*resultobj
= 0;
27435 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27436 wxDouble
*arg2
= (wxDouble
*) 0 ;
27437 wxDouble
*arg3
= (wxDouble
*) 0 ;
27444 PyObject
* obj0
= 0 ;
27445 PyObject
* obj1
= 0 ;
27446 PyObject
* obj2
= 0 ;
27447 char * kwnames
[] = {
27448 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
27451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27453 if (!SWIG_IsOK(res1
)) {
27454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
27456 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27457 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
27459 int ecode
= SWIG_AsVal_double(obj1
, &val
);
27460 if (!SWIG_IsOK(ecode
)) {
27461 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
27463 temp2
= static_cast< wxDouble
>(val
);
27465 res2
= SWIG_AddTmpMask(ecode
);
27467 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
27469 int ecode
= SWIG_AsVal_double(obj2
, &val
);
27470 if (!SWIG_IsOK(ecode
)) {
27471 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
27473 temp3
= static_cast< wxDouble
>(val
);
27475 res3
= SWIG_AddTmpMask(ecode
);
27478 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
27479 if (PyErr_Occurred()) SWIG_fail
;
27481 resultobj
= SWIG_Py_Void();
27482 if (SWIG_IsTmpObj(res2
)) {
27483 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
27485 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27486 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
27488 if (SWIG_IsTmpObj(res3
)) {
27489 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
27491 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27492 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
27500 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27501 PyObject
*resultobj
= 0;
27502 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27506 PyObject
*swig_obj
[1] ;
27508 if (!args
) SWIG_fail
;
27509 swig_obj
[0] = args
;
27510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27511 if (!SWIG_IsOK(res1
)) {
27512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
27514 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27516 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
27517 if (PyErr_Occurred()) SWIG_fail
;
27519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27526 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27528 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27529 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
27530 return SWIG_Py_Void();
27533 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27534 PyObject
*resultobj
= 0;
27535 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27538 PyObject
*swig_obj
[1] ;
27540 if (!args
) SWIG_fail
;
27541 swig_obj
[0] = args
;
27542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
27543 if (!SWIG_IsOK(res1
)) {
27544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27546 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27550 if (PyErr_Occurred()) SWIG_fail
;
27552 resultobj
= SWIG_Py_Void();
27559 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27560 PyObject
*resultobj
= 0;
27561 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27571 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27573 if (!SWIG_IsOK(res1
)) {
27574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27576 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27577 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27578 if (!SWIG_IsOK(ecode2
)) {
27579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27581 arg2
= static_cast< wxDouble
>(val2
);
27582 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27583 if (!SWIG_IsOK(ecode3
)) {
27584 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27586 arg3
= static_cast< wxDouble
>(val3
);
27588 (arg1
)->MoveToPoint(arg2
,arg3
);
27589 if (PyErr_Occurred()) SWIG_fail
;
27591 resultobj
= SWIG_Py_Void();
27598 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27599 PyObject
*resultobj
= 0;
27600 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27601 wxPoint2D
*arg2
= 0 ;
27606 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27608 if (!SWIG_IsOK(res1
)) {
27609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27611 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27614 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27617 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
27618 if (PyErr_Occurred()) SWIG_fail
;
27620 resultobj
= SWIG_Py_Void();
27627 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
27631 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
27634 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
27637 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
27641 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
27646 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27647 PyObject
*resultobj
= 0;
27648 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27658 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27660 if (!SWIG_IsOK(res1
)) {
27661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27663 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27664 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27665 if (!SWIG_IsOK(ecode2
)) {
27666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27668 arg2
= static_cast< wxDouble
>(val2
);
27669 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27670 if (!SWIG_IsOK(ecode3
)) {
27671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27673 arg3
= static_cast< wxDouble
>(val3
);
27675 (arg1
)->AddLineToPoint(arg2
,arg3
);
27676 if (PyErr_Occurred()) SWIG_fail
;
27678 resultobj
= SWIG_Py_Void();
27685 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27686 PyObject
*resultobj
= 0;
27687 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27688 wxPoint2D
*arg2
= 0 ;
27693 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27695 if (!SWIG_IsOK(res1
)) {
27696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27698 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27701 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27704 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
27705 if (PyErr_Occurred()) SWIG_fail
;
27707 resultobj
= SWIG_Py_Void();
27714 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
27718 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
27721 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
27724 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
27728 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
27733 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27734 PyObject
*resultobj
= 0;
27735 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27757 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27759 if (!SWIG_IsOK(res1
)) {
27760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27762 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27763 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27764 if (!SWIG_IsOK(ecode2
)) {
27765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27767 arg2
= static_cast< wxDouble
>(val2
);
27768 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27769 if (!SWIG_IsOK(ecode3
)) {
27770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27772 arg3
= static_cast< wxDouble
>(val3
);
27773 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27774 if (!SWIG_IsOK(ecode4
)) {
27775 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27777 arg4
= static_cast< wxDouble
>(val4
);
27778 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27779 if (!SWIG_IsOK(ecode5
)) {
27780 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27782 arg5
= static_cast< wxDouble
>(val5
);
27783 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27784 if (!SWIG_IsOK(ecode6
)) {
27785 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27787 arg6
= static_cast< wxDouble
>(val6
);
27788 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
27789 if (!SWIG_IsOK(ecode7
)) {
27790 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
27792 arg7
= static_cast< wxDouble
>(val7
);
27794 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27795 if (PyErr_Occurred()) SWIG_fail
;
27797 resultobj
= SWIG_Py_Void();
27804 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27805 PyObject
*resultobj
= 0;
27806 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27807 wxPoint2D
*arg2
= 0 ;
27808 wxPoint2D
*arg3
= 0 ;
27809 wxPoint2D
*arg4
= 0 ;
27816 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
27817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27818 if (!SWIG_IsOK(res1
)) {
27819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27821 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27824 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27828 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
27832 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
27835 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
27836 if (PyErr_Occurred()) SWIG_fail
;
27838 resultobj
= SWIG_Py_Void();
27845 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
27849 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
27852 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
27855 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
27859 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
27864 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27865 PyObject
*resultobj
= 0;
27866 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27867 wxGraphicsPath
*arg2
= 0 ;
27872 PyObject
* obj0
= 0 ;
27873 PyObject
* obj1
= 0 ;
27874 char * kwnames
[] = {
27875 (char *) "self",(char *) "path", NULL
27878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27880 if (!SWIG_IsOK(res1
)) {
27881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27883 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27884 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
27885 if (!SWIG_IsOK(res2
)) {
27886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27891 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
27893 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
27894 if (PyErr_Occurred()) SWIG_fail
;
27896 resultobj
= SWIG_Py_Void();
27903 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27904 PyObject
*resultobj
= 0;
27905 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27908 PyObject
*swig_obj
[1] ;
27910 if (!args
) SWIG_fail
;
27911 swig_obj
[0] = args
;
27912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27913 if (!SWIG_IsOK(res1
)) {
27914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27916 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27918 (arg1
)->CloseSubpath();
27919 if (PyErr_Occurred()) SWIG_fail
;
27921 resultobj
= SWIG_Py_Void();
27928 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27929 PyObject
*resultobj
= 0;
27930 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27934 PyObject
*swig_obj
[1] ;
27936 if (!args
) SWIG_fail
;
27937 swig_obj
[0] = args
;
27938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27939 if (!SWIG_IsOK(res1
)) {
27940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27942 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27944 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
27945 if (PyErr_Occurred()) SWIG_fail
;
27947 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
27954 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27955 PyObject
*resultobj
= 0;
27956 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27962 bool arg7
= (bool) true ;
27978 if ((nobjs
< 6) || (nobjs
> 7)) SWIG_fail
;
27979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27980 if (!SWIG_IsOK(res1
)) {
27981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27983 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27984 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27985 if (!SWIG_IsOK(ecode2
)) {
27986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
27988 arg2
= static_cast< wxDouble
>(val2
);
27989 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27990 if (!SWIG_IsOK(ecode3
)) {
27991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27993 arg3
= static_cast< wxDouble
>(val3
);
27994 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27995 if (!SWIG_IsOK(ecode4
)) {
27996 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27998 arg4
= static_cast< wxDouble
>(val4
);
27999 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
28000 if (!SWIG_IsOK(ecode5
)) {
28001 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
28003 arg5
= static_cast< wxDouble
>(val5
);
28004 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
28005 if (!SWIG_IsOK(ecode6
)) {
28006 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
28008 arg6
= static_cast< wxDouble
>(val6
);
28010 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
28011 if (!SWIG_IsOK(ecode7
)) {
28012 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
28014 arg7
= static_cast< bool >(val7
);
28017 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28018 if (PyErr_Occurred()) SWIG_fail
;
28020 resultobj
= SWIG_Py_Void();
28027 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28028 PyObject
*resultobj
= 0;
28029 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28030 wxPoint2D
*arg2
= 0 ;
28034 bool arg6
= (bool) true ;
28047 if ((nobjs
< 5) || (nobjs
> 6)) SWIG_fail
;
28048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28049 if (!SWIG_IsOK(res1
)) {
28050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28052 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28055 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
28057 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
28058 if (!SWIG_IsOK(ecode3
)) {
28059 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
28061 arg3
= static_cast< wxDouble
>(val3
);
28062 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
28063 if (!SWIG_IsOK(ecode4
)) {
28064 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
28066 arg4
= static_cast< wxDouble
>(val4
);
28067 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
28068 if (!SWIG_IsOK(ecode5
)) {
28069 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
28071 arg5
= static_cast< wxDouble
>(val5
);
28073 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
28074 if (!SWIG_IsOK(ecode6
)) {
28075 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
28077 arg6
= static_cast< bool >(val6
);
28080 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
28081 if (PyErr_Occurred()) SWIG_fail
;
28083 resultobj
= SWIG_Py_Void();
28090 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
28094 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
28096 if ((argc
>= 5) && (argc
<= 6)) {
28100 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
28103 if (!_v
) goto check_1
;
28107 int res
= SWIG_AsVal_bool(argv
[5], NULL
);
28108 _v
= SWIG_CheckState(res
);
28111 if (!_v
) goto check_1
;
28113 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
28117 if ((argc
>= 6) && (argc
<= 7)) {
28118 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
28122 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
28127 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28128 PyObject
*resultobj
= 0;
28129 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28144 PyObject
* obj0
= 0 ;
28145 PyObject
* obj1
= 0 ;
28146 PyObject
* obj2
= 0 ;
28147 PyObject
* obj3
= 0 ;
28148 PyObject
* obj4
= 0 ;
28149 char * kwnames
[] = {
28150 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
28153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28155 if (!SWIG_IsOK(res1
)) {
28156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28158 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28159 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28160 if (!SWIG_IsOK(ecode2
)) {
28161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
28163 arg2
= static_cast< wxDouble
>(val2
);
28164 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28165 if (!SWIG_IsOK(ecode3
)) {
28166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
28168 arg3
= static_cast< wxDouble
>(val3
);
28169 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28170 if (!SWIG_IsOK(ecode4
)) {
28171 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
28173 arg4
= static_cast< wxDouble
>(val4
);
28174 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28175 if (!SWIG_IsOK(ecode5
)) {
28176 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
28178 arg5
= static_cast< wxDouble
>(val5
);
28180 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
28181 if (PyErr_Occurred()) SWIG_fail
;
28183 resultobj
= SWIG_Py_Void();
28190 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28191 PyObject
*resultobj
= 0;
28192 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28207 PyObject
* obj0
= 0 ;
28208 PyObject
* obj1
= 0 ;
28209 PyObject
* obj2
= 0 ;
28210 PyObject
* obj3
= 0 ;
28211 PyObject
* obj4
= 0 ;
28212 char * kwnames
[] = {
28213 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28218 if (!SWIG_IsOK(res1
)) {
28219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28221 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28222 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28223 if (!SWIG_IsOK(ecode2
)) {
28224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
28226 arg2
= static_cast< wxDouble
>(val2
);
28227 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28228 if (!SWIG_IsOK(ecode3
)) {
28229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
28231 arg3
= static_cast< wxDouble
>(val3
);
28232 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28233 if (!SWIG_IsOK(ecode4
)) {
28234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
28236 arg4
= static_cast< wxDouble
>(val4
);
28237 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28238 if (!SWIG_IsOK(ecode5
)) {
28239 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
28241 arg5
= static_cast< wxDouble
>(val5
);
28243 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
28244 if (PyErr_Occurred()) SWIG_fail
;
28246 resultobj
= SWIG_Py_Void();
28253 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28254 PyObject
*resultobj
= 0;
28255 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28267 PyObject
* obj0
= 0 ;
28268 PyObject
* obj1
= 0 ;
28269 PyObject
* obj2
= 0 ;
28270 PyObject
* obj3
= 0 ;
28271 char * kwnames
[] = {
28272 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
28275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28277 if (!SWIG_IsOK(res1
)) {
28278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28280 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28281 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28282 if (!SWIG_IsOK(ecode2
)) {
28283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
28285 arg2
= static_cast< wxDouble
>(val2
);
28286 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28287 if (!SWIG_IsOK(ecode3
)) {
28288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
28290 arg3
= static_cast< wxDouble
>(val3
);
28291 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28292 if (!SWIG_IsOK(ecode4
)) {
28293 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
28295 arg4
= static_cast< wxDouble
>(val4
);
28297 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
28298 if (PyErr_Occurred()) SWIG_fail
;
28300 resultobj
= SWIG_Py_Void();
28307 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28308 PyObject
*resultobj
= 0;
28309 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28327 PyObject
* obj0
= 0 ;
28328 PyObject
* obj1
= 0 ;
28329 PyObject
* obj2
= 0 ;
28330 PyObject
* obj3
= 0 ;
28331 PyObject
* obj4
= 0 ;
28332 PyObject
* obj5
= 0 ;
28333 char * kwnames
[] = {
28334 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
28337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28339 if (!SWIG_IsOK(res1
)) {
28340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28342 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28343 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28344 if (!SWIG_IsOK(ecode2
)) {
28345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
28347 arg2
= static_cast< wxDouble
>(val2
);
28348 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28349 if (!SWIG_IsOK(ecode3
)) {
28350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
28352 arg3
= static_cast< wxDouble
>(val3
);
28353 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28354 if (!SWIG_IsOK(ecode4
)) {
28355 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
28357 arg4
= static_cast< wxDouble
>(val4
);
28358 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28359 if (!SWIG_IsOK(ecode5
)) {
28360 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
28362 arg5
= static_cast< wxDouble
>(val5
);
28363 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28364 if (!SWIG_IsOK(ecode6
)) {
28365 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
28367 arg6
= static_cast< wxDouble
>(val6
);
28369 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
28370 if (PyErr_Occurred()) SWIG_fail
;
28372 resultobj
= SWIG_Py_Void();
28379 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28380 PyObject
*resultobj
= 0;
28381 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28396 PyObject
* obj0
= 0 ;
28397 PyObject
* obj1
= 0 ;
28398 PyObject
* obj2
= 0 ;
28399 PyObject
* obj3
= 0 ;
28400 PyObject
* obj4
= 0 ;
28401 char * kwnames
[] = {
28402 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28407 if (!SWIG_IsOK(res1
)) {
28408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28410 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28411 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28412 if (!SWIG_IsOK(ecode2
)) {
28413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
28415 arg2
= static_cast< wxDouble
>(val2
);
28416 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28417 if (!SWIG_IsOK(ecode3
)) {
28418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
28420 arg3
= static_cast< wxDouble
>(val3
);
28421 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28422 if (!SWIG_IsOK(ecode4
)) {
28423 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
28425 arg4
= static_cast< wxDouble
>(val4
);
28426 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28427 if (!SWIG_IsOK(ecode5
)) {
28428 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
28430 arg5
= static_cast< wxDouble
>(val5
);
28432 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
28433 if (PyErr_Occurred()) SWIG_fail
;
28435 resultobj
= SWIG_Py_Void();
28442 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28443 PyObject
*resultobj
= 0;
28444 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28462 PyObject
* obj0
= 0 ;
28463 PyObject
* obj1
= 0 ;
28464 PyObject
* obj2
= 0 ;
28465 PyObject
* obj3
= 0 ;
28466 PyObject
* obj4
= 0 ;
28467 PyObject
* obj5
= 0 ;
28468 char * kwnames
[] = {
28469 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
28472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28474 if (!SWIG_IsOK(res1
)) {
28475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28477 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28478 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28479 if (!SWIG_IsOK(ecode2
)) {
28480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
28482 arg2
= static_cast< wxDouble
>(val2
);
28483 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28484 if (!SWIG_IsOK(ecode3
)) {
28485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
28487 arg3
= static_cast< wxDouble
>(val3
);
28488 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28489 if (!SWIG_IsOK(ecode4
)) {
28490 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
28492 arg4
= static_cast< wxDouble
>(val4
);
28493 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28494 if (!SWIG_IsOK(ecode5
)) {
28495 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
28497 arg5
= static_cast< wxDouble
>(val5
);
28498 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28499 if (!SWIG_IsOK(ecode6
)) {
28500 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
28502 arg6
= static_cast< wxDouble
>(val6
);
28504 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
28505 if (PyErr_Occurred()) SWIG_fail
;
28507 resultobj
= SWIG_Py_Void();
28514 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28515 PyObject
*resultobj
= 0;
28516 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28520 PyObject
*swig_obj
[1] ;
28522 if (!args
) SWIG_fail
;
28523 swig_obj
[0] = args
;
28524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28525 if (!SWIG_IsOK(res1
)) {
28526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28528 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28530 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
28531 if (PyErr_Occurred()) SWIG_fail
;
28533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28540 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28541 PyObject
*resultobj
= 0;
28542 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28543 void *arg2
= (void *) 0 ;
28547 PyObject
* obj0
= 0 ;
28548 PyObject
* obj1
= 0 ;
28549 char * kwnames
[] = {
28550 (char *) "self",(char *) "p", NULL
28553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28555 if (!SWIG_IsOK(res1
)) {
28556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28558 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28559 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
28560 if (!SWIG_IsOK(res2
)) {
28561 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
28564 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
28565 if (PyErr_Occurred()) SWIG_fail
;
28567 resultobj
= SWIG_Py_Void();
28574 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28575 PyObject
*resultobj
= 0;
28576 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28577 wxGraphicsMatrix
*arg2
= 0 ;
28582 PyObject
* obj0
= 0 ;
28583 PyObject
* obj1
= 0 ;
28584 char * kwnames
[] = {
28585 (char *) "self",(char *) "matrix", NULL
28588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28590 if (!SWIG_IsOK(res1
)) {
28591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28593 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28594 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28595 if (!SWIG_IsOK(res2
)) {
28596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28601 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28603 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
28604 if (PyErr_Occurred()) SWIG_fail
;
28606 resultobj
= SWIG_Py_Void();
28613 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28614 PyObject
*resultobj
= 0;
28615 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28619 PyObject
*swig_obj
[1] ;
28621 if (!args
) SWIG_fail
;
28622 swig_obj
[0] = args
;
28623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28624 if (!SWIG_IsOK(res1
)) {
28625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28627 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28629 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
28630 if (PyErr_Occurred()) SWIG_fail
;
28632 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
28639 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28640 PyObject
*resultobj
= 0;
28641 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28644 int arg4
= (int) wxODDEVEN_RULE
;
28655 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
28656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28657 if (!SWIG_IsOK(res1
)) {
28658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28660 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28661 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
28662 if (!SWIG_IsOK(ecode2
)) {
28663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
28665 arg2
= static_cast< wxDouble
>(val2
);
28666 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
28667 if (!SWIG_IsOK(ecode3
)) {
28668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
28670 arg3
= static_cast< wxDouble
>(val3
);
28672 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
28673 if (!SWIG_IsOK(ecode4
)) {
28674 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
28676 arg4
= static_cast< int >(val4
);
28679 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
28680 if (PyErr_Occurred()) SWIG_fail
;
28683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28691 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28692 PyObject
*resultobj
= 0;
28693 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28694 wxPoint2D
*arg2
= 0 ;
28695 int arg3
= (int) wxODDEVEN_RULE
;
28703 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28705 if (!SWIG_IsOK(res1
)) {
28706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28708 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28711 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
28714 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
28715 if (!SWIG_IsOK(ecode3
)) {
28716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
28718 arg3
= static_cast< int >(val3
);
28721 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2D
const &)*arg2
,arg3
);
28722 if (PyErr_Occurred()) SWIG_fail
;
28725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28733 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
28737 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
28739 if ((argc
>= 2) && (argc
<= 3)) {
28743 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
28746 if (!_v
) goto check_1
;
28750 int res
= SWIG_AsVal_int(argv
[2], NULL
);
28751 _v
= SWIG_CheckState(res
);
28754 if (!_v
) goto check_1
;
28756 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
28760 if ((argc
>= 3) && (argc
<= 4)) {
28761 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
28765 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
28770 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28772 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28773 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
28774 return SWIG_Py_Void();
28777 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
28778 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
28783 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
28784 PyObject
*pyobj
= 0;
28786 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
28791 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
28792 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
28797 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
28798 PyObject
*pyobj
= 0;
28800 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
28805 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
28806 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
28811 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
28812 PyObject
*pyobj
= 0;
28814 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
28819 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
28820 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
28825 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
28826 PyObject
*pyobj
= 0;
28828 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
28833 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
28834 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
28839 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
28840 PyObject
*pyobj
= 0;
28842 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
28847 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28848 PyObject
*resultobj
= 0;
28849 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28852 PyObject
*swig_obj
[1] ;
28854 if (!args
) SWIG_fail
;
28855 swig_obj
[0] = args
;
28856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
28857 if (!SWIG_IsOK(res1
)) {
28858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28860 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28864 if (PyErr_Occurred()) SWIG_fail
;
28866 resultobj
= SWIG_Py_Void();
28873 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28874 PyObject
*resultobj
= 0;
28875 wxWindowDC
*arg1
= 0 ;
28876 wxGraphicsContext
*result
= 0 ;
28880 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
28882 if (!SWIG_IsOK(res1
)) {
28883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28886 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28888 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
28890 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
28891 if (PyErr_Occurred()) SWIG_fail
;
28893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28900 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28901 PyObject
*resultobj
= 0;
28902 wxWindow
*arg1
= (wxWindow
*) 0 ;
28903 wxGraphicsContext
*result
= 0 ;
28907 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28909 if (!SWIG_IsOK(res1
)) {
28910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
28912 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28914 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
28915 if (PyErr_Occurred()) SWIG_fail
;
28917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28924 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
28928 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
28933 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
28934 _v
= SWIG_CheckState(res
);
28936 if (!_v
) goto check_1
;
28937 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
28942 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
28946 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
28951 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28952 PyObject
*resultobj
= 0;
28953 wxGraphicsContext
*result
= 0 ;
28955 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
28957 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
28958 if (PyErr_Occurred()) SWIG_fail
;
28960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28967 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28968 PyObject
*resultobj
= 0;
28969 void *arg1
= (void *) 0 ;
28970 wxGraphicsContext
*result
= 0 ;
28972 PyObject
* obj0
= 0 ;
28973 char * kwnames
[] = {
28974 (char *) "context", NULL
28977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
28978 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28979 if (!SWIG_IsOK(res1
)) {
28980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
28983 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
28984 if (PyErr_Occurred()) SWIG_fail
;
28986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28993 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28994 PyObject
*resultobj
= 0;
28995 void *arg1
= (void *) 0 ;
28996 wxGraphicsContext
*result
= 0 ;
28998 PyObject
* obj0
= 0 ;
28999 char * kwnames
[] = {
29000 (char *) "window", NULL
29003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
29004 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
29005 if (!SWIG_IsOK(res1
)) {
29006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
29009 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
29010 if (PyErr_Occurred()) SWIG_fail
;
29012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29019 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29020 PyObject
*resultobj
= 0;
29021 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29022 wxGraphicsPath result
;
29025 PyObject
*swig_obj
[1] ;
29027 if (!args
) SWIG_fail
;
29028 swig_obj
[0] = args
;
29029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29030 if (!SWIG_IsOK(res1
)) {
29031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29033 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29035 result
= (arg1
)->CreatePath();
29036 if (PyErr_Occurred()) SWIG_fail
;
29038 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
29045 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29046 PyObject
*resultobj
= 0;
29047 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29049 wxGraphicsPen result
;
29054 PyObject
* obj0
= 0 ;
29055 PyObject
* obj1
= 0 ;
29056 char * kwnames
[] = {
29057 (char *) "self",(char *) "pen", NULL
29060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29062 if (!SWIG_IsOK(res1
)) {
29063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29065 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29066 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29067 if (!SWIG_IsOK(res2
)) {
29068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
29071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
29073 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29075 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
29076 if (PyErr_Occurred()) SWIG_fail
;
29078 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
29085 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29086 PyObject
*resultobj
= 0;
29087 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29088 wxBrush
*arg2
= 0 ;
29089 wxGraphicsBrush result
;
29094 PyObject
* obj0
= 0 ;
29095 PyObject
* obj1
= 0 ;
29096 char * kwnames
[] = {
29097 (char *) "self",(char *) "brush", NULL
29100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29102 if (!SWIG_IsOK(res1
)) {
29103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29105 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29106 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29107 if (!SWIG_IsOK(res2
)) {
29108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29113 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29115 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
29116 if (PyErr_Occurred()) SWIG_fail
;
29118 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
29125 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29126 PyObject
*resultobj
= 0;
29127 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29132 wxColour
*arg6
= 0 ;
29133 wxColour
*arg7
= 0 ;
29134 wxGraphicsBrush result
;
29147 PyObject
* obj0
= 0 ;
29148 PyObject
* obj1
= 0 ;
29149 PyObject
* obj2
= 0 ;
29150 PyObject
* obj3
= 0 ;
29151 PyObject
* obj4
= 0 ;
29152 PyObject
* obj5
= 0 ;
29153 PyObject
* obj6
= 0 ;
29154 char * kwnames
[] = {
29155 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
29158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29160 if (!SWIG_IsOK(res1
)) {
29161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29163 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29164 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29165 if (!SWIG_IsOK(ecode2
)) {
29166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
29168 arg2
= static_cast< wxDouble
>(val2
);
29169 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29170 if (!SWIG_IsOK(ecode3
)) {
29171 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
29173 arg3
= static_cast< wxDouble
>(val3
);
29174 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29175 if (!SWIG_IsOK(ecode4
)) {
29176 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
29178 arg4
= static_cast< wxDouble
>(val4
);
29179 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29180 if (!SWIG_IsOK(ecode5
)) {
29181 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
29183 arg5
= static_cast< wxDouble
>(val5
);
29186 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
29190 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
29193 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
29194 if (PyErr_Occurred()) SWIG_fail
;
29196 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
29203 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29204 PyObject
*resultobj
= 0;
29205 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29211 wxColour
*arg7
= 0 ;
29212 wxColour
*arg8
= 0 ;
29213 wxGraphicsBrush result
;
29228 PyObject
* obj0
= 0 ;
29229 PyObject
* obj1
= 0 ;
29230 PyObject
* obj2
= 0 ;
29231 PyObject
* obj3
= 0 ;
29232 PyObject
* obj4
= 0 ;
29233 PyObject
* obj5
= 0 ;
29234 PyObject
* obj6
= 0 ;
29235 PyObject
* obj7
= 0 ;
29236 char * kwnames
[] = {
29237 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
29240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29242 if (!SWIG_IsOK(res1
)) {
29243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29245 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29246 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29247 if (!SWIG_IsOK(ecode2
)) {
29248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
29250 arg2
= static_cast< wxDouble
>(val2
);
29251 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29252 if (!SWIG_IsOK(ecode3
)) {
29253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
29255 arg3
= static_cast< wxDouble
>(val3
);
29256 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29257 if (!SWIG_IsOK(ecode4
)) {
29258 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
29260 arg4
= static_cast< wxDouble
>(val4
);
29261 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29262 if (!SWIG_IsOK(ecode5
)) {
29263 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
29265 arg5
= static_cast< wxDouble
>(val5
);
29266 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29267 if (!SWIG_IsOK(ecode6
)) {
29268 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
29270 arg6
= static_cast< wxDouble
>(val6
);
29273 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
29277 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
29280 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
29281 if (PyErr_Occurred()) SWIG_fail
;
29283 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
29290 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29291 PyObject
*resultobj
= 0;
29292 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29294 wxColour
const &arg3_defvalue
= *wxBLACK
;
29295 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29296 wxGraphicsFont result
;
29302 PyObject
* obj0
= 0 ;
29303 PyObject
* obj1
= 0 ;
29304 PyObject
* obj2
= 0 ;
29305 char * kwnames
[] = {
29306 (char *) "self",(char *) "font",(char *) "col", NULL
29309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29311 if (!SWIG_IsOK(res1
)) {
29312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29314 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29315 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29316 if (!SWIG_IsOK(res2
)) {
29317 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29320 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29322 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29326 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29330 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29331 if (PyErr_Occurred()) SWIG_fail
;
29333 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
29340 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29341 PyObject
*resultobj
= 0;
29342 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29343 wxDouble arg2
= (wxDouble
) 1.0 ;
29344 wxDouble arg3
= (wxDouble
) 0.0 ;
29345 wxDouble arg4
= (wxDouble
) 0.0 ;
29346 wxDouble arg5
= (wxDouble
) 1.0 ;
29347 wxDouble arg6
= (wxDouble
) 0.0 ;
29348 wxDouble arg7
= (wxDouble
) 0.0 ;
29349 wxGraphicsMatrix result
;
29364 PyObject
* obj0
= 0 ;
29365 PyObject
* obj1
= 0 ;
29366 PyObject
* obj2
= 0 ;
29367 PyObject
* obj3
= 0 ;
29368 PyObject
* obj4
= 0 ;
29369 PyObject
* obj5
= 0 ;
29370 PyObject
* obj6
= 0 ;
29371 char * kwnames
[] = {
29372 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
29375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29377 if (!SWIG_IsOK(res1
)) {
29378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29380 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29382 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29383 if (!SWIG_IsOK(ecode2
)) {
29384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
29386 arg2
= static_cast< wxDouble
>(val2
);
29389 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29390 if (!SWIG_IsOK(ecode3
)) {
29391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
29393 arg3
= static_cast< wxDouble
>(val3
);
29396 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29397 if (!SWIG_IsOK(ecode4
)) {
29398 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
29400 arg4
= static_cast< wxDouble
>(val4
);
29403 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29404 if (!SWIG_IsOK(ecode5
)) {
29405 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
29407 arg5
= static_cast< wxDouble
>(val5
);
29410 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29411 if (!SWIG_IsOK(ecode6
)) {
29412 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
29414 arg6
= static_cast< wxDouble
>(val6
);
29417 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
29418 if (!SWIG_IsOK(ecode7
)) {
29419 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
29421 arg7
= static_cast< wxDouble
>(val7
);
29424 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29425 if (PyErr_Occurred()) SWIG_fail
;
29427 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29434 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29435 PyObject
*resultobj
= 0;
29436 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29439 PyObject
*swig_obj
[1] ;
29441 if (!args
) SWIG_fail
;
29442 swig_obj
[0] = args
;
29443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29444 if (!SWIG_IsOK(res1
)) {
29445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29447 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29449 (arg1
)->PushState();
29450 if (PyErr_Occurred()) SWIG_fail
;
29452 resultobj
= SWIG_Py_Void();
29459 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29460 PyObject
*resultobj
= 0;
29461 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29464 PyObject
*swig_obj
[1] ;
29466 if (!args
) SWIG_fail
;
29467 swig_obj
[0] = args
;
29468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29469 if (!SWIG_IsOK(res1
)) {
29470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29472 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29474 (arg1
)->PopState();
29475 if (PyErr_Occurred()) SWIG_fail
;
29477 resultobj
= SWIG_Py_Void();
29484 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29485 PyObject
*resultobj
= 0;
29486 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29487 wxRegion
*arg2
= 0 ;
29492 PyObject
* obj0
= 0 ;
29493 PyObject
* obj1
= 0 ;
29494 char * kwnames
[] = {
29495 (char *) "self",(char *) "region", NULL
29498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29500 if (!SWIG_IsOK(res1
)) {
29501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29503 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29504 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
29505 if (!SWIG_IsOK(res2
)) {
29506 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
29509 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
29511 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
29513 (arg1
)->Clip((wxRegion
const &)*arg2
);
29514 if (PyErr_Occurred()) SWIG_fail
;
29516 resultobj
= SWIG_Py_Void();
29523 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29524 PyObject
*resultobj
= 0;
29525 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29540 PyObject
* obj0
= 0 ;
29541 PyObject
* obj1
= 0 ;
29542 PyObject
* obj2
= 0 ;
29543 PyObject
* obj3
= 0 ;
29544 PyObject
* obj4
= 0 ;
29545 char * kwnames
[] = {
29546 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29551 if (!SWIG_IsOK(res1
)) {
29552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29554 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29555 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29556 if (!SWIG_IsOK(ecode2
)) {
29557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
29559 arg2
= static_cast< wxDouble
>(val2
);
29560 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29561 if (!SWIG_IsOK(ecode3
)) {
29562 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
29564 arg3
= static_cast< wxDouble
>(val3
);
29565 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29566 if (!SWIG_IsOK(ecode4
)) {
29567 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
29569 arg4
= static_cast< wxDouble
>(val4
);
29570 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29571 if (!SWIG_IsOK(ecode5
)) {
29572 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
29574 arg5
= static_cast< wxDouble
>(val5
);
29576 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
29577 if (PyErr_Occurred()) SWIG_fail
;
29579 resultobj
= SWIG_Py_Void();
29586 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29587 PyObject
*resultobj
= 0;
29588 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29591 PyObject
*swig_obj
[1] ;
29593 if (!args
) SWIG_fail
;
29594 swig_obj
[0] = args
;
29595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29596 if (!SWIG_IsOK(res1
)) {
29597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29599 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29601 (arg1
)->ResetClip();
29602 if (PyErr_Occurred()) SWIG_fail
;
29604 resultobj
= SWIG_Py_Void();
29611 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29612 PyObject
*resultobj
= 0;
29613 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29617 PyObject
*swig_obj
[1] ;
29619 if (!args
) SWIG_fail
;
29620 swig_obj
[0] = args
;
29621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29622 if (!SWIG_IsOK(res1
)) {
29623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29625 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29627 result
= (void *)(arg1
)->GetNativeContext();
29628 if (PyErr_Occurred()) SWIG_fail
;
29630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
29637 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29638 PyObject
*resultobj
= 0;
29639 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29643 PyObject
*swig_obj
[1] ;
29645 if (!args
) SWIG_fail
;
29646 swig_obj
[0] = args
;
29647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29648 if (!SWIG_IsOK(res1
)) {
29649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29651 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29653 result
= (int)((wxGraphicsContext
const *)arg1
)->GetLogicalFunction();
29654 if (PyErr_Occurred()) SWIG_fail
;
29656 resultobj
= SWIG_From_int(static_cast< int >(result
));
29663 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29664 PyObject
*resultobj
= 0;
29665 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29672 PyObject
* obj0
= 0 ;
29673 PyObject
* obj1
= 0 ;
29674 char * kwnames
[] = {
29675 (char *) "self",(char *) "function", NULL
29678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29680 if (!SWIG_IsOK(res1
)) {
29681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29683 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29684 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29685 if (!SWIG_IsOK(ecode2
)) {
29686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
29688 arg2
= static_cast< int >(val2
);
29690 result
= (bool)(arg1
)->SetLogicalFunction(arg2
);
29691 if (PyErr_Occurred()) SWIG_fail
;
29694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29702 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29703 PyObject
*resultobj
= 0;
29704 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29713 PyObject
* obj0
= 0 ;
29714 PyObject
* obj1
= 0 ;
29715 PyObject
* obj2
= 0 ;
29716 char * kwnames
[] = {
29717 (char *) "self",(char *) "dx",(char *) "dy", NULL
29720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29722 if (!SWIG_IsOK(res1
)) {
29723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29725 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29726 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29727 if (!SWIG_IsOK(ecode2
)) {
29728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
29730 arg2
= static_cast< wxDouble
>(val2
);
29731 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29732 if (!SWIG_IsOK(ecode3
)) {
29733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
29735 arg3
= static_cast< wxDouble
>(val3
);
29737 (arg1
)->Translate(arg2
,arg3
);
29738 if (PyErr_Occurred()) SWIG_fail
;
29740 resultobj
= SWIG_Py_Void();
29747 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29748 PyObject
*resultobj
= 0;
29749 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29758 PyObject
* obj0
= 0 ;
29759 PyObject
* obj1
= 0 ;
29760 PyObject
* obj2
= 0 ;
29761 char * kwnames
[] = {
29762 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
29765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29767 if (!SWIG_IsOK(res1
)) {
29768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29770 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29771 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29772 if (!SWIG_IsOK(ecode2
)) {
29773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
29775 arg2
= static_cast< wxDouble
>(val2
);
29776 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29777 if (!SWIG_IsOK(ecode3
)) {
29778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
29780 arg3
= static_cast< wxDouble
>(val3
);
29782 (arg1
)->Scale(arg2
,arg3
);
29783 if (PyErr_Occurred()) SWIG_fail
;
29785 resultobj
= SWIG_Py_Void();
29792 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29793 PyObject
*resultobj
= 0;
29794 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29800 PyObject
* obj0
= 0 ;
29801 PyObject
* obj1
= 0 ;
29802 char * kwnames
[] = {
29803 (char *) "self",(char *) "angle", NULL
29806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29808 if (!SWIG_IsOK(res1
)) {
29809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29811 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29812 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29813 if (!SWIG_IsOK(ecode2
)) {
29814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
29816 arg2
= static_cast< wxDouble
>(val2
);
29818 (arg1
)->Rotate(arg2
);
29819 if (PyErr_Occurred()) SWIG_fail
;
29821 resultobj
= SWIG_Py_Void();
29828 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29829 PyObject
*resultobj
= 0;
29830 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29831 wxGraphicsMatrix
*arg2
= 0 ;
29836 PyObject
* obj0
= 0 ;
29837 PyObject
* obj1
= 0 ;
29838 char * kwnames
[] = {
29839 (char *) "self",(char *) "matrix", NULL
29842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29844 if (!SWIG_IsOK(res1
)) {
29845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29847 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29848 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29849 if (!SWIG_IsOK(res2
)) {
29850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29855 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29857 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
29858 if (PyErr_Occurred()) SWIG_fail
;
29860 resultobj
= SWIG_Py_Void();
29867 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29868 PyObject
*resultobj
= 0;
29869 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29870 wxGraphicsMatrix
*arg2
= 0 ;
29875 PyObject
* obj0
= 0 ;
29876 PyObject
* obj1
= 0 ;
29877 char * kwnames
[] = {
29878 (char *) "self",(char *) "matrix", NULL
29881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29883 if (!SWIG_IsOK(res1
)) {
29884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29886 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29887 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29888 if (!SWIG_IsOK(res2
)) {
29889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29894 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29896 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
29897 if (PyErr_Occurred()) SWIG_fail
;
29899 resultobj
= SWIG_Py_Void();
29906 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29907 PyObject
*resultobj
= 0;
29908 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29909 wxGraphicsMatrix result
;
29912 PyObject
*swig_obj
[1] ;
29914 if (!args
) SWIG_fail
;
29915 swig_obj
[0] = args
;
29916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29917 if (!SWIG_IsOK(res1
)) {
29918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29920 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29922 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
29923 if (PyErr_Occurred()) SWIG_fail
;
29925 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29932 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29933 PyObject
*resultobj
= 0;
29934 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29935 wxGraphicsPen
*arg2
= 0 ;
29941 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29943 if (!SWIG_IsOK(res1
)) {
29944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29946 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29947 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
29948 if (!SWIG_IsOK(res2
)) {
29949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29954 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
29956 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
29957 if (PyErr_Occurred()) SWIG_fail
;
29959 resultobj
= SWIG_Py_Void();
29966 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29967 PyObject
*resultobj
= 0;
29968 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29975 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29977 if (!SWIG_IsOK(res1
)) {
29978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29980 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29981 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29982 if (!SWIG_IsOK(res2
)) {
29983 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29988 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29990 (arg1
)->SetPen((wxPen
const &)*arg2
);
29991 if (PyErr_Occurred()) SWIG_fail
;
29993 resultobj
= SWIG_Py_Void();
30000 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
30004 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
30009 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
30010 _v
= SWIG_CheckState(res
);
30012 if (!_v
) goto check_1
;
30013 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
30018 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
30022 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
30027 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30028 PyObject
*resultobj
= 0;
30029 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30030 wxGraphicsBrush
*arg2
= 0 ;
30036 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30038 if (!SWIG_IsOK(res1
)) {
30039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30041 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30042 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
30043 if (!SWIG_IsOK(res2
)) {
30044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
30047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
30049 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
30051 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
30052 if (PyErr_Occurred()) SWIG_fail
;
30054 resultobj
= SWIG_Py_Void();
30061 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30062 PyObject
*resultobj
= 0;
30063 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30064 wxBrush
*arg2
= 0 ;
30070 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30072 if (!SWIG_IsOK(res1
)) {
30073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30075 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30076 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30077 if (!SWIG_IsOK(res2
)) {
30078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30083 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30085 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
30086 if (PyErr_Occurred()) SWIG_fail
;
30088 resultobj
= SWIG_Py_Void();
30095 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
30099 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
30104 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
30105 _v
= SWIG_CheckState(res
);
30107 if (!_v
) goto check_1
;
30108 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
30113 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
30117 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
30122 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30123 PyObject
*resultobj
= 0;
30124 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30125 wxGraphicsFont
*arg2
= 0 ;
30131 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30133 if (!SWIG_IsOK(res1
)) {
30134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30136 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30137 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
30138 if (!SWIG_IsOK(res2
)) {
30139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
30142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
30144 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
30146 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
30147 if (PyErr_Occurred()) SWIG_fail
;
30149 resultobj
= SWIG_Py_Void();
30156 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30157 PyObject
*resultobj
= 0;
30158 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30160 wxColour
const &arg3_defvalue
= *wxBLACK
;
30161 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30168 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30170 if (!SWIG_IsOK(res1
)) {
30171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30173 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30174 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30175 if (!SWIG_IsOK(res2
)) {
30176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30181 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30185 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
30189 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30190 if (PyErr_Occurred()) SWIG_fail
;
30192 resultobj
= SWIG_Py_Void();
30199 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
30203 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
30208 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
30209 _v
= SWIG_CheckState(res
);
30211 if (!_v
) goto check_1
;
30212 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
30216 if ((argc
>= 2) && (argc
<= 3)) {
30217 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
30221 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
30226 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30227 PyObject
*resultobj
= 0;
30228 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30229 wxGraphicsPath
*arg2
= 0 ;
30234 PyObject
* obj0
= 0 ;
30235 PyObject
* obj1
= 0 ;
30236 char * kwnames
[] = {
30237 (char *) "self",(char *) "path", NULL
30240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30242 if (!SWIG_IsOK(res1
)) {
30243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30245 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30246 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
30247 if (!SWIG_IsOK(res2
)) {
30248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
30251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
30253 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
30255 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
30256 if (PyErr_Occurred()) SWIG_fail
;
30258 resultobj
= SWIG_Py_Void();
30265 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30266 PyObject
*resultobj
= 0;
30267 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30268 wxGraphicsPath
*arg2
= 0 ;
30269 int arg3
= (int) wxODDEVEN_RULE
;
30276 PyObject
* obj0
= 0 ;
30277 PyObject
* obj1
= 0 ;
30278 PyObject
* obj2
= 0 ;
30279 char * kwnames
[] = {
30280 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
30283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30285 if (!SWIG_IsOK(res1
)) {
30286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30288 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30289 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
30290 if (!SWIG_IsOK(res2
)) {
30291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
30294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
30296 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
30298 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30299 if (!SWIG_IsOK(ecode3
)) {
30300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
30302 arg3
= static_cast< int >(val3
);
30305 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
30306 if (PyErr_Occurred()) SWIG_fail
;
30308 resultobj
= SWIG_Py_Void();
30315 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30316 PyObject
*resultobj
= 0;
30317 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30318 wxGraphicsPath
*arg2
= 0 ;
30319 int arg3
= (int) wxODDEVEN_RULE
;
30326 PyObject
* obj0
= 0 ;
30327 PyObject
* obj1
= 0 ;
30328 PyObject
* obj2
= 0 ;
30329 char * kwnames
[] = {
30330 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
30333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30335 if (!SWIG_IsOK(res1
)) {
30336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30338 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
30340 if (!SWIG_IsOK(res2
)) {
30341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
30344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
30346 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
30348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30349 if (!SWIG_IsOK(ecode3
)) {
30350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
30352 arg3
= static_cast< int >(val3
);
30355 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
30356 if (PyErr_Occurred()) SWIG_fail
;
30358 resultobj
= SWIG_Py_Void();
30365 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30366 PyObject
*resultobj
= 0;
30367 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30368 wxString
*arg2
= 0 ;
30371 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
30372 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
30375 bool temp2
= false ;
30382 PyObject
* obj0
= 0 ;
30383 PyObject
* obj1
= 0 ;
30384 PyObject
* obj2
= 0 ;
30385 PyObject
* obj3
= 0 ;
30386 PyObject
* obj4
= 0 ;
30387 char * kwnames
[] = {
30388 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
30391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30393 if (!SWIG_IsOK(res1
)) {
30394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30396 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30398 arg2
= wxString_in_helper(obj1
);
30399 if (arg2
== NULL
) SWIG_fail
;
30402 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30403 if (!SWIG_IsOK(ecode3
)) {
30404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
30406 arg3
= static_cast< wxDouble
>(val3
);
30407 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30408 if (!SWIG_IsOK(ecode4
)) {
30409 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
30411 arg4
= static_cast< wxDouble
>(val4
);
30413 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
30414 if (!SWIG_IsOK(res5
)) {
30415 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
30418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
30420 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
30423 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
30424 if (PyErr_Occurred()) SWIG_fail
;
30426 resultobj
= SWIG_Py_Void();
30441 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30442 PyObject
*resultobj
= 0;
30443 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30444 wxString
*arg2
= 0 ;
30448 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
30449 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
30452 bool temp2
= false ;
30461 PyObject
* obj0
= 0 ;
30462 PyObject
* obj1
= 0 ;
30463 PyObject
* obj2
= 0 ;
30464 PyObject
* obj3
= 0 ;
30465 PyObject
* obj4
= 0 ;
30466 PyObject
* obj5
= 0 ;
30467 char * kwnames
[] = {
30468 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
30471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30473 if (!SWIG_IsOK(res1
)) {
30474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30476 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30478 arg2
= wxString_in_helper(obj1
);
30479 if (arg2
== NULL
) SWIG_fail
;
30482 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30483 if (!SWIG_IsOK(ecode3
)) {
30484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
30486 arg3
= static_cast< wxDouble
>(val3
);
30487 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30488 if (!SWIG_IsOK(ecode4
)) {
30489 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
30491 arg4
= static_cast< wxDouble
>(val4
);
30492 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30493 if (!SWIG_IsOK(ecode5
)) {
30494 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
30496 arg5
= static_cast< wxDouble
>(val5
);
30498 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
30499 if (!SWIG_IsOK(res6
)) {
30500 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
30503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
30505 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
30508 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
30509 if (PyErr_Occurred()) SWIG_fail
;
30511 resultobj
= SWIG_Py_Void();
30526 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30527 PyObject
*resultobj
= 0;
30528 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30529 wxString
*arg2
= 0 ;
30530 wxDouble
*arg3
= (wxDouble
*) 0 ;
30531 wxDouble
*arg4
= (wxDouble
*) 0 ;
30532 wxDouble
*arg5
= (wxDouble
*) 0 ;
30533 wxDouble
*arg6
= (wxDouble
*) 0 ;
30536 bool temp2
= false ;
30538 int res3
= SWIG_TMPOBJ
;
30540 int res4
= SWIG_TMPOBJ
;
30542 int res5
= SWIG_TMPOBJ
;
30544 int res6
= SWIG_TMPOBJ
;
30545 PyObject
* obj0
= 0 ;
30546 PyObject
* obj1
= 0 ;
30547 char * kwnames
[] = {
30548 (char *) "self",(char *) "text", NULL
30555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30557 if (!SWIG_IsOK(res1
)) {
30558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30560 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30562 arg2
= wxString_in_helper(obj1
);
30563 if (arg2
== NULL
) SWIG_fail
;
30567 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30568 if (PyErr_Occurred()) SWIG_fail
;
30570 resultobj
= SWIG_Py_Void();
30571 if (SWIG_IsTmpObj(res3
)) {
30572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
30574 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30575 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
30577 if (SWIG_IsTmpObj(res4
)) {
30578 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
30580 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30581 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
30583 if (SWIG_IsTmpObj(res5
)) {
30584 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
30586 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30587 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
30589 if (SWIG_IsTmpObj(res6
)) {
30590 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
30592 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30593 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
30609 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30610 PyObject
*resultobj
= 0;
30611 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30612 wxString
*arg2
= 0 ;
30613 PyObject
*result
= 0 ;
30616 bool temp2
= false ;
30617 PyObject
* obj0
= 0 ;
30618 PyObject
* obj1
= 0 ;
30619 char * kwnames
[] = {
30620 (char *) "self",(char *) "text", NULL
30623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30625 if (!SWIG_IsOK(res1
)) {
30626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30628 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30630 arg2
= wxString_in_helper(obj1
);
30631 if (arg2
== NULL
) SWIG_fail
;
30635 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
30636 if (PyErr_Occurred()) SWIG_fail
;
30638 resultobj
= result
;
30653 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30654 PyObject
*resultobj
= 0;
30655 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30656 wxString
*arg2
= 0 ;
30657 wxArrayDouble result
;
30660 bool temp2
= false ;
30661 PyObject
* obj0
= 0 ;
30662 PyObject
* obj1
= 0 ;
30663 char * kwnames
[] = {
30664 (char *) "self",(char *) "text", NULL
30667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30669 if (!SWIG_IsOK(res1
)) {
30670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30672 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30674 arg2
= wxString_in_helper(obj1
);
30675 if (arg2
== NULL
) SWIG_fail
;
30679 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
30680 if (PyErr_Occurred()) SWIG_fail
;
30683 resultobj
= wxArrayDouble2PyList_helper(result
);
30699 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30700 PyObject
*resultobj
= 0;
30701 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30702 wxBitmap
*arg2
= 0 ;
30719 PyObject
* obj0
= 0 ;
30720 PyObject
* obj1
= 0 ;
30721 PyObject
* obj2
= 0 ;
30722 PyObject
* obj3
= 0 ;
30723 PyObject
* obj4
= 0 ;
30724 PyObject
* obj5
= 0 ;
30725 char * kwnames
[] = {
30726 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30731 if (!SWIG_IsOK(res1
)) {
30732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30734 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30735 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30736 if (!SWIG_IsOK(res2
)) {
30737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30742 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30743 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30744 if (!SWIG_IsOK(ecode3
)) {
30745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
30747 arg3
= static_cast< wxDouble
>(val3
);
30748 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30749 if (!SWIG_IsOK(ecode4
)) {
30750 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
30752 arg4
= static_cast< wxDouble
>(val4
);
30753 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30754 if (!SWIG_IsOK(ecode5
)) {
30755 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
30757 arg5
= static_cast< wxDouble
>(val5
);
30758 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30759 if (!SWIG_IsOK(ecode6
)) {
30760 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
30762 arg6
= static_cast< wxDouble
>(val6
);
30764 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30765 if (PyErr_Occurred()) SWIG_fail
;
30767 resultobj
= SWIG_Py_Void();
30774 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30775 PyObject
*resultobj
= 0;
30776 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30794 PyObject
* obj0
= 0 ;
30795 PyObject
* obj1
= 0 ;
30796 PyObject
* obj2
= 0 ;
30797 PyObject
* obj3
= 0 ;
30798 PyObject
* obj4
= 0 ;
30799 PyObject
* obj5
= 0 ;
30800 char * kwnames
[] = {
30801 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30806 if (!SWIG_IsOK(res1
)) {
30807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30809 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30810 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30811 if (!SWIG_IsOK(res2
)) {
30812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30817 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30818 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30819 if (!SWIG_IsOK(ecode3
)) {
30820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
30822 arg3
= static_cast< wxDouble
>(val3
);
30823 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30824 if (!SWIG_IsOK(ecode4
)) {
30825 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
30827 arg4
= static_cast< wxDouble
>(val4
);
30828 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30829 if (!SWIG_IsOK(ecode5
)) {
30830 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
30832 arg5
= static_cast< wxDouble
>(val5
);
30833 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30834 if (!SWIG_IsOK(ecode6
)) {
30835 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
30837 arg6
= static_cast< wxDouble
>(val6
);
30839 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30840 if (PyErr_Occurred()) SWIG_fail
;
30842 resultobj
= SWIG_Py_Void();
30849 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30850 PyObject
*resultobj
= 0;
30851 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30866 PyObject
* obj0
= 0 ;
30867 PyObject
* obj1
= 0 ;
30868 PyObject
* obj2
= 0 ;
30869 PyObject
* obj3
= 0 ;
30870 PyObject
* obj4
= 0 ;
30871 char * kwnames
[] = {
30872 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
30875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30877 if (!SWIG_IsOK(res1
)) {
30878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30880 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30881 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30882 if (!SWIG_IsOK(ecode2
)) {
30883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
30885 arg2
= static_cast< wxDouble
>(val2
);
30886 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30887 if (!SWIG_IsOK(ecode3
)) {
30888 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
30890 arg3
= static_cast< wxDouble
>(val3
);
30891 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30892 if (!SWIG_IsOK(ecode4
)) {
30893 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
30895 arg4
= static_cast< wxDouble
>(val4
);
30896 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30897 if (!SWIG_IsOK(ecode5
)) {
30898 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
30900 arg5
= static_cast< wxDouble
>(val5
);
30902 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
30903 if (PyErr_Occurred()) SWIG_fail
;
30905 resultobj
= SWIG_Py_Void();
30912 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30913 PyObject
*resultobj
= 0;
30914 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30916 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30919 PyObject
* obj0
= 0 ;
30920 PyObject
* obj1
= 0 ;
30921 char * kwnames
[] = {
30922 (char *) "self",(char *) "points", NULL
30925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30927 if (!SWIG_IsOK(res1
)) {
30928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30930 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30932 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30933 if (arg3
== NULL
) SWIG_fail
;
30936 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
30937 if (PyErr_Occurred()) SWIG_fail
;
30939 resultobj
= SWIG_Py_Void();
30941 if (arg3
) delete [] arg3
;
30946 if (arg3
) delete [] arg3
;
30952 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30953 PyObject
*resultobj
= 0;
30954 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30955 PyObject
*arg2
= (PyObject
*) 0 ;
30956 PyObject
*arg3
= (PyObject
*) 0 ;
30959 PyObject
* obj0
= 0 ;
30960 PyObject
* obj1
= 0 ;
30961 PyObject
* obj2
= 0 ;
30962 char * kwnames
[] = {
30963 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
30966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30968 if (!SWIG_IsOK(res1
)) {
30969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30971 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30975 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
30976 if (PyErr_Occurred()) SWIG_fail
;
30978 resultobj
= SWIG_Py_Void();
30985 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30986 PyObject
*resultobj
= 0;
30987 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30989 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30990 int arg4
= (int) wxODDEVEN_RULE
;
30995 PyObject
* obj0
= 0 ;
30996 PyObject
* obj1
= 0 ;
30997 PyObject
* obj2
= 0 ;
30998 char * kwnames
[] = {
30999 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
31002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31004 if (!SWIG_IsOK(res1
)) {
31005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
31007 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
31009 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
31010 if (arg3
== NULL
) SWIG_fail
;
31013 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
31014 if (!SWIG_IsOK(ecode4
)) {
31015 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
31017 arg4
= static_cast< int >(val4
);
31020 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
31021 if (PyErr_Occurred()) SWIG_fail
;
31023 resultobj
= SWIG_Py_Void();
31025 if (arg3
) delete [] arg3
;
31030 if (arg3
) delete [] arg3
;
31036 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31037 PyObject
*resultobj
= 0;
31038 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
31053 PyObject
* obj0
= 0 ;
31054 PyObject
* obj1
= 0 ;
31055 PyObject
* obj2
= 0 ;
31056 PyObject
* obj3
= 0 ;
31057 PyObject
* obj4
= 0 ;
31058 char * kwnames
[] = {
31059 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
31062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31064 if (!SWIG_IsOK(res1
)) {
31065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
31067 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
31068 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31069 if (!SWIG_IsOK(ecode2
)) {
31070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
31072 arg2
= static_cast< wxDouble
>(val2
);
31073 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31074 if (!SWIG_IsOK(ecode3
)) {
31075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
31077 arg3
= static_cast< wxDouble
>(val3
);
31078 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31079 if (!SWIG_IsOK(ecode4
)) {
31080 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
31082 arg4
= static_cast< wxDouble
>(val4
);
31083 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31084 if (!SWIG_IsOK(ecode5
)) {
31085 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
31087 arg5
= static_cast< wxDouble
>(val5
);
31089 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
31090 if (PyErr_Occurred()) SWIG_fail
;
31092 resultobj
= SWIG_Py_Void();
31099 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31100 PyObject
*resultobj
= 0;
31101 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
31116 PyObject
* obj0
= 0 ;
31117 PyObject
* obj1
= 0 ;
31118 PyObject
* obj2
= 0 ;
31119 PyObject
* obj3
= 0 ;
31120 PyObject
* obj4
= 0 ;
31121 char * kwnames
[] = {
31122 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
31125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31127 if (!SWIG_IsOK(res1
)) {
31128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
31130 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
31131 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31132 if (!SWIG_IsOK(ecode2
)) {
31133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
31135 arg2
= static_cast< wxDouble
>(val2
);
31136 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31137 if (!SWIG_IsOK(ecode3
)) {
31138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
31140 arg3
= static_cast< wxDouble
>(val3
);
31141 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31142 if (!SWIG_IsOK(ecode4
)) {
31143 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
31145 arg4
= static_cast< wxDouble
>(val4
);
31146 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31147 if (!SWIG_IsOK(ecode5
)) {
31148 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
31150 arg5
= static_cast< wxDouble
>(val5
);
31152 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
31153 if (PyErr_Occurred()) SWIG_fail
;
31155 resultobj
= SWIG_Py_Void();
31162 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31163 PyObject
*resultobj
= 0;
31164 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
31182 PyObject
* obj0
= 0 ;
31183 PyObject
* obj1
= 0 ;
31184 PyObject
* obj2
= 0 ;
31185 PyObject
* obj3
= 0 ;
31186 PyObject
* obj4
= 0 ;
31187 PyObject
* obj5
= 0 ;
31188 char * kwnames
[] = {
31189 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
31192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
31193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31194 if (!SWIG_IsOK(res1
)) {
31195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
31197 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
31198 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31199 if (!SWIG_IsOK(ecode2
)) {
31200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
31202 arg2
= static_cast< wxDouble
>(val2
);
31203 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31204 if (!SWIG_IsOK(ecode3
)) {
31205 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
31207 arg3
= static_cast< wxDouble
>(val3
);
31208 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31209 if (!SWIG_IsOK(ecode4
)) {
31210 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
31212 arg4
= static_cast< wxDouble
>(val4
);
31213 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31214 if (!SWIG_IsOK(ecode5
)) {
31215 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
31217 arg5
= static_cast< wxDouble
>(val5
);
31218 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31219 if (!SWIG_IsOK(ecode6
)) {
31220 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
31222 arg6
= static_cast< wxDouble
>(val6
);
31224 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
31225 if (PyErr_Occurred()) SWIG_fail
;
31227 resultobj
= SWIG_Py_Void();
31234 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31235 PyObject
*resultobj
= 0;
31236 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
31240 PyObject
*swig_obj
[1] ;
31242 if (!args
) SWIG_fail
;
31243 swig_obj
[0] = args
;
31244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31245 if (!SWIG_IsOK(res1
)) {
31246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
31248 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
31250 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
31251 if (PyErr_Occurred()) SWIG_fail
;
31254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31262 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31264 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31265 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
31266 return SWIG_Py_Void();
31269 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31270 PyObject
*resultobj
= 0;
31271 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31274 PyObject
*swig_obj
[1] ;
31276 if (!args
) SWIG_fail
;
31277 swig_obj
[0] = args
;
31278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
31279 if (!SWIG_IsOK(res1
)) {
31280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31282 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31286 if (PyErr_Occurred()) SWIG_fail
;
31288 resultobj
= SWIG_Py_Void();
31295 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31296 PyObject
*resultobj
= 0;
31297 wxGraphicsRenderer
*result
= 0 ;
31299 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
31301 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
31302 if (PyErr_Occurred()) SWIG_fail
;
31304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31311 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31312 PyObject
*resultobj
= 0;
31313 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31314 wxWindowDC
*arg2
= 0 ;
31315 wxGraphicsContext
*result
= 0 ;
31321 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31323 if (!SWIG_IsOK(res1
)) {
31324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31326 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31327 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
31328 if (!SWIG_IsOK(res2
)) {
31329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
31332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
31334 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31336 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
31337 if (PyErr_Occurred()) SWIG_fail
;
31339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
31346 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31347 PyObject
*resultobj
= 0;
31348 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31349 wxWindow
*arg2
= (wxWindow
*) 0 ;
31350 wxGraphicsContext
*result
= 0 ;
31356 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31358 if (!SWIG_IsOK(res1
)) {
31359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31361 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31362 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31363 if (!SWIG_IsOK(res2
)) {
31364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
31366 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31368 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
31369 if (PyErr_Occurred()) SWIG_fail
;
31371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
31378 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
31382 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
31387 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
31388 _v
= SWIG_CheckState(res
);
31390 if (!_v
) goto check_1
;
31391 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
31396 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
31400 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
31405 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31406 PyObject
*resultobj
= 0;
31407 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31408 wxGraphicsContext
*result
= 0 ;
31411 PyObject
*swig_obj
[1] ;
31413 if (!args
) SWIG_fail
;
31414 swig_obj
[0] = args
;
31415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31416 if (!SWIG_IsOK(res1
)) {
31417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31419 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31421 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
31422 if (PyErr_Occurred()) SWIG_fail
;
31424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31431 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31432 PyObject
*resultobj
= 0;
31433 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31434 void *arg2
= (void *) 0 ;
31435 wxGraphicsContext
*result
= 0 ;
31439 PyObject
* obj0
= 0 ;
31440 PyObject
* obj1
= 0 ;
31441 char * kwnames
[] = {
31442 (char *) "self",(char *) "context", NULL
31445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31447 if (!SWIG_IsOK(res1
)) {
31448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31450 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31451 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
31452 if (!SWIG_IsOK(res2
)) {
31453 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
31456 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
31457 if (PyErr_Occurred()) SWIG_fail
;
31459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
31466 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31467 PyObject
*resultobj
= 0;
31468 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31469 void *arg2
= (void *) 0 ;
31470 wxGraphicsContext
*result
= 0 ;
31474 PyObject
* obj0
= 0 ;
31475 PyObject
* obj1
= 0 ;
31476 char * kwnames
[] = {
31477 (char *) "self",(char *) "window", NULL
31480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31482 if (!SWIG_IsOK(res1
)) {
31483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31485 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31486 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
31487 if (!SWIG_IsOK(res2
)) {
31488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
31491 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
31492 if (PyErr_Occurred()) SWIG_fail
;
31494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
31501 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31502 PyObject
*resultobj
= 0;
31503 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31504 wxGraphicsPath result
;
31507 PyObject
*swig_obj
[1] ;
31509 if (!args
) SWIG_fail
;
31510 swig_obj
[0] = args
;
31511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31512 if (!SWIG_IsOK(res1
)) {
31513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31515 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31517 result
= (arg1
)->CreatePath();
31518 if (PyErr_Occurred()) SWIG_fail
;
31520 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
31527 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31528 PyObject
*resultobj
= 0;
31529 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31530 wxDouble arg2
= (wxDouble
) 1.0 ;
31531 wxDouble arg3
= (wxDouble
) 0.0 ;
31532 wxDouble arg4
= (wxDouble
) 0.0 ;
31533 wxDouble arg5
= (wxDouble
) 1.0 ;
31534 wxDouble arg6
= (wxDouble
) 0.0 ;
31535 wxDouble arg7
= (wxDouble
) 0.0 ;
31536 wxGraphicsMatrix result
;
31551 PyObject
* obj0
= 0 ;
31552 PyObject
* obj1
= 0 ;
31553 PyObject
* obj2
= 0 ;
31554 PyObject
* obj3
= 0 ;
31555 PyObject
* obj4
= 0 ;
31556 PyObject
* obj5
= 0 ;
31557 PyObject
* obj6
= 0 ;
31558 char * kwnames
[] = {
31559 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
31562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31564 if (!SWIG_IsOK(res1
)) {
31565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31567 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31569 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31570 if (!SWIG_IsOK(ecode2
)) {
31571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
31573 arg2
= static_cast< wxDouble
>(val2
);
31576 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31577 if (!SWIG_IsOK(ecode3
)) {
31578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
31580 arg3
= static_cast< wxDouble
>(val3
);
31583 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31584 if (!SWIG_IsOK(ecode4
)) {
31585 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
31587 arg4
= static_cast< wxDouble
>(val4
);
31590 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31591 if (!SWIG_IsOK(ecode5
)) {
31592 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
31594 arg5
= static_cast< wxDouble
>(val5
);
31597 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31598 if (!SWIG_IsOK(ecode6
)) {
31599 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
31601 arg6
= static_cast< wxDouble
>(val6
);
31604 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
31605 if (!SWIG_IsOK(ecode7
)) {
31606 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
31608 arg7
= static_cast< wxDouble
>(val7
);
31611 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
31612 if (PyErr_Occurred()) SWIG_fail
;
31614 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
31621 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31622 PyObject
*resultobj
= 0;
31623 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31625 wxGraphicsPen result
;
31630 PyObject
* obj0
= 0 ;
31631 PyObject
* obj1
= 0 ;
31632 char * kwnames
[] = {
31633 (char *) "self",(char *) "pen", NULL
31636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31638 if (!SWIG_IsOK(res1
)) {
31639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31641 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31642 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
31643 if (!SWIG_IsOK(res2
)) {
31644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
31647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
31649 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31651 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
31652 if (PyErr_Occurred()) SWIG_fail
;
31654 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
31661 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31662 PyObject
*resultobj
= 0;
31663 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31664 wxBrush
*arg2
= 0 ;
31665 wxGraphicsBrush result
;
31670 PyObject
* obj0
= 0 ;
31671 PyObject
* obj1
= 0 ;
31672 char * kwnames
[] = {
31673 (char *) "self",(char *) "brush", NULL
31676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31678 if (!SWIG_IsOK(res1
)) {
31679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31681 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31682 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31683 if (!SWIG_IsOK(res2
)) {
31684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31689 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31691 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
31692 if (PyErr_Occurred()) SWIG_fail
;
31694 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31701 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31702 PyObject
*resultobj
= 0;
31703 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31708 wxColour
*arg6
= 0 ;
31709 wxColour
*arg7
= 0 ;
31710 wxGraphicsBrush result
;
31723 PyObject
* obj0
= 0 ;
31724 PyObject
* obj1
= 0 ;
31725 PyObject
* obj2
= 0 ;
31726 PyObject
* obj3
= 0 ;
31727 PyObject
* obj4
= 0 ;
31728 PyObject
* obj5
= 0 ;
31729 PyObject
* obj6
= 0 ;
31730 char * kwnames
[] = {
31731 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
31734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31736 if (!SWIG_IsOK(res1
)) {
31737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31739 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31740 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31741 if (!SWIG_IsOK(ecode2
)) {
31742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31744 arg2
= static_cast< wxDouble
>(val2
);
31745 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31746 if (!SWIG_IsOK(ecode3
)) {
31747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31749 arg3
= static_cast< wxDouble
>(val3
);
31750 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31751 if (!SWIG_IsOK(ecode4
)) {
31752 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31754 arg4
= static_cast< wxDouble
>(val4
);
31755 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31756 if (!SWIG_IsOK(ecode5
)) {
31757 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31759 arg5
= static_cast< wxDouble
>(val5
);
31762 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
31766 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31769 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
31770 if (PyErr_Occurred()) SWIG_fail
;
31772 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31779 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31780 PyObject
*resultobj
= 0;
31781 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31787 wxColour
*arg7
= 0 ;
31788 wxColour
*arg8
= 0 ;
31789 wxGraphicsBrush result
;
31804 PyObject
* obj0
= 0 ;
31805 PyObject
* obj1
= 0 ;
31806 PyObject
* obj2
= 0 ;
31807 PyObject
* obj3
= 0 ;
31808 PyObject
* obj4
= 0 ;
31809 PyObject
* obj5
= 0 ;
31810 PyObject
* obj6
= 0 ;
31811 PyObject
* obj7
= 0 ;
31812 char * kwnames
[] = {
31813 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
31816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31818 if (!SWIG_IsOK(res1
)) {
31819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31821 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31822 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31823 if (!SWIG_IsOK(ecode2
)) {
31824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31826 arg2
= static_cast< wxDouble
>(val2
);
31827 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31828 if (!SWIG_IsOK(ecode3
)) {
31829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31831 arg3
= static_cast< wxDouble
>(val3
);
31832 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31833 if (!SWIG_IsOK(ecode4
)) {
31834 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31836 arg4
= static_cast< wxDouble
>(val4
);
31837 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31838 if (!SWIG_IsOK(ecode5
)) {
31839 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31841 arg5
= static_cast< wxDouble
>(val5
);
31842 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31843 if (!SWIG_IsOK(ecode6
)) {
31844 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
31846 arg6
= static_cast< wxDouble
>(val6
);
31849 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31853 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
31856 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
31857 if (PyErr_Occurred()) SWIG_fail
;
31859 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31866 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31867 PyObject
*resultobj
= 0;
31868 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31870 wxColour
const &arg3_defvalue
= *wxBLACK
;
31871 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
31872 wxGraphicsFont result
;
31878 PyObject
* obj0
= 0 ;
31879 PyObject
* obj1
= 0 ;
31880 PyObject
* obj2
= 0 ;
31881 char * kwnames
[] = {
31882 (char *) "self",(char *) "font",(char *) "col", NULL
31885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31887 if (!SWIG_IsOK(res1
)) {
31888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31890 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31891 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31892 if (!SWIG_IsOK(res2
)) {
31893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31898 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31902 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31906 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
31907 if (PyErr_Occurred()) SWIG_fail
;
31909 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
31916 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31918 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31919 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
31920 return SWIG_Py_Void();
31923 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31924 PyObject
*resultobj
= 0;
31925 wxWindowDC
*arg1
= 0 ;
31926 wxGCDC
*result
= 0 ;
31930 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
31932 if (!SWIG_IsOK(res1
)) {
31933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31938 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
31940 if (!wxPyCheckForApp()) SWIG_fail
;
31941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31942 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
31943 wxPyEndAllowThreads(__tstate
);
31944 if (PyErr_Occurred()) SWIG_fail
;
31946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31953 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31954 PyObject
*resultobj
= 0;
31955 wxWindow
*arg1
= (wxWindow
*) 0 ;
31956 wxGCDC
*result
= 0 ;
31960 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31962 if (!SWIG_IsOK(res1
)) {
31963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
31965 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31967 if (!wxPyCheckForApp()) SWIG_fail
;
31968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31969 result
= (wxGCDC
*)new wxGCDC(arg1
);
31970 wxPyEndAllowThreads(__tstate
);
31971 if (PyErr_Occurred()) SWIG_fail
;
31973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31980 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
31984 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
31989 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
31990 _v
= SWIG_CheckState(res
);
31992 if (!_v
) goto check_1
;
31993 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
31998 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
32002 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
32007 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32008 PyObject
*resultobj
= 0;
32009 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
32012 PyObject
*swig_obj
[1] ;
32014 if (!args
) SWIG_fail
;
32015 swig_obj
[0] = args
;
32016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
32017 if (!SWIG_IsOK(res1
)) {
32018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
32020 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
32024 if (PyErr_Occurred()) SWIG_fail
;
32026 resultobj
= SWIG_Py_Void();
32033 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32034 PyObject
*resultobj
= 0;
32035 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
32036 wxGraphicsContext
*result
= 0 ;
32039 PyObject
*swig_obj
[1] ;
32041 if (!args
) SWIG_fail
;
32042 swig_obj
[0] = args
;
32043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
32044 if (!SWIG_IsOK(res1
)) {
32045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
32047 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
32049 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
32050 if (PyErr_Occurred()) SWIG_fail
;
32052 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
32059 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32060 PyObject
*resultobj
= 0;
32061 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
32062 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
32067 PyObject
* obj0
= 0 ;
32068 PyObject
* obj1
= 0 ;
32069 char * kwnames
[] = {
32070 (char *) "self",(char *) "ctx", NULL
32073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
32075 if (!SWIG_IsOK(res1
)) {
32076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
32078 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
32079 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
32080 if (!SWIG_IsOK(res2
)) {
32081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
32083 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
32085 (arg1
)->SetGraphicsContext(arg2
);
32086 if (PyErr_Occurred()) SWIG_fail
;
32088 resultobj
= SWIG_Py_Void();
32095 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32097 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32098 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
32099 return SWIG_Py_Void();
32102 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32103 return SWIG_Python_InitShadowInstance(args
);
32106 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32107 PyObject
*resultobj
= 0;
32108 wxOverlay
*result
= 0 ;
32110 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
32112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32113 result
= (wxOverlay
*)new wxOverlay();
32114 wxPyEndAllowThreads(__tstate
);
32115 if (PyErr_Occurred()) SWIG_fail
;
32117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
32124 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32125 PyObject
*resultobj
= 0;
32126 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
32129 PyObject
*swig_obj
[1] ;
32131 if (!args
) SWIG_fail
;
32132 swig_obj
[0] = args
;
32133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
32134 if (!SWIG_IsOK(res1
)) {
32135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
32137 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
32139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32142 wxPyEndAllowThreads(__tstate
);
32143 if (PyErr_Occurred()) SWIG_fail
;
32145 resultobj
= SWIG_Py_Void();
32152 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32153 PyObject
*resultobj
= 0;
32154 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
32157 PyObject
*swig_obj
[1] ;
32159 if (!args
) SWIG_fail
;
32160 swig_obj
[0] = args
;
32161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
32162 if (!SWIG_IsOK(res1
)) {
32163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
32165 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
32167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32169 wxPyEndAllowThreads(__tstate
);
32170 if (PyErr_Occurred()) SWIG_fail
;
32172 resultobj
= SWIG_Py_Void();
32179 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32182 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
32183 return SWIG_Py_Void();
32186 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32187 return SWIG_Python_InitShadowInstance(args
);
32190 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32191 PyObject
*resultobj
= 0;
32192 wxOverlay
*arg1
= 0 ;
32193 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
32198 wxDCOverlay
*result
= 0 ;
32212 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
32213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
32214 if (!SWIG_IsOK(res1
)) {
32215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
32218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
32220 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
32221 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
32222 if (!SWIG_IsOK(res2
)) {
32223 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
32225 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
32226 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
32227 if (!SWIG_IsOK(ecode3
)) {
32228 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
32230 arg3
= static_cast< int >(val3
);
32231 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
32232 if (!SWIG_IsOK(ecode4
)) {
32233 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
32235 arg4
= static_cast< int >(val4
);
32236 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
32237 if (!SWIG_IsOK(ecode5
)) {
32238 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
32240 arg5
= static_cast< int >(val5
);
32241 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
32242 if (!SWIG_IsOK(ecode6
)) {
32243 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
32245 arg6
= static_cast< int >(val6
);
32247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32248 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
32249 wxPyEndAllowThreads(__tstate
);
32250 if (PyErr_Occurred()) SWIG_fail
;
32252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
32259 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32260 PyObject
*resultobj
= 0;
32261 wxOverlay
*arg1
= 0 ;
32262 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
32263 wxDCOverlay
*result
= 0 ;
32269 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
32270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
32271 if (!SWIG_IsOK(res1
)) {
32272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
32275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
32277 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
32278 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
32279 if (!SWIG_IsOK(res2
)) {
32280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
32282 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
32284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32285 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
32286 wxPyEndAllowThreads(__tstate
);
32287 if (PyErr_Occurred()) SWIG_fail
;
32289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
32296 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
32300 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
32303 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
32306 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
32310 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
32315 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32316 PyObject
*resultobj
= 0;
32317 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
32320 PyObject
*swig_obj
[1] ;
32322 if (!args
) SWIG_fail
;
32323 swig_obj
[0] = args
;
32324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
32325 if (!SWIG_IsOK(res1
)) {
32326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
32328 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
32330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32333 wxPyEndAllowThreads(__tstate
);
32334 if (PyErr_Occurred()) SWIG_fail
;
32336 resultobj
= SWIG_Py_Void();
32343 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32344 PyObject
*resultobj
= 0;
32345 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
32348 PyObject
*swig_obj
[1] ;
32350 if (!args
) SWIG_fail
;
32351 swig_obj
[0] = args
;
32352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
32353 if (!SWIG_IsOK(res1
)) {
32354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
32356 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
32358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32360 wxPyEndAllowThreads(__tstate
);
32361 if (PyErr_Occurred()) SWIG_fail
;
32363 resultobj
= SWIG_Py_Void();
32370 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32372 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32373 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
32374 return SWIG_Py_Void();
32377 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32378 return SWIG_Python_InitShadowInstance(args
);
32381 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32382 PyObject
*resultobj
= 0;
32385 int arg3
= (int) true ;
32386 int arg4
= (int) 1 ;
32387 wxImageList
*result
= 0 ;
32396 PyObject
* obj0
= 0 ;
32397 PyObject
* obj1
= 0 ;
32398 PyObject
* obj2
= 0 ;
32399 PyObject
* obj3
= 0 ;
32400 char * kwnames
[] = {
32401 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
32404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32405 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32406 if (!SWIG_IsOK(ecode1
)) {
32407 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
32409 arg1
= static_cast< int >(val1
);
32410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32411 if (!SWIG_IsOK(ecode2
)) {
32412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
32414 arg2
= static_cast< int >(val2
);
32416 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32417 if (!SWIG_IsOK(ecode3
)) {
32418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
32420 arg3
= static_cast< int >(val3
);
32423 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32424 if (!SWIG_IsOK(ecode4
)) {
32425 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
32427 arg4
= static_cast< int >(val4
);
32430 if (!wxPyCheckForApp()) SWIG_fail
;
32431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32432 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
32433 wxPyEndAllowThreads(__tstate
);
32434 if (PyErr_Occurred()) SWIG_fail
;
32436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
32443 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32444 PyObject
*resultobj
= 0;
32445 wxImageList
*arg1
= (wxImageList
*) 0 ;
32448 PyObject
*swig_obj
[1] ;
32450 if (!args
) SWIG_fail
;
32451 swig_obj
[0] = args
;
32452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
32453 if (!SWIG_IsOK(res1
)) {
32454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
32456 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32461 wxPyEndAllowThreads(__tstate
);
32462 if (PyErr_Occurred()) SWIG_fail
;
32464 resultobj
= SWIG_Py_Void();
32471 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32472 PyObject
*resultobj
= 0;
32473 wxImageList
*arg1
= (wxImageList
*) 0 ;
32474 wxBitmap
*arg2
= 0 ;
32475 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
32476 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
32484 PyObject
* obj0
= 0 ;
32485 PyObject
* obj1
= 0 ;
32486 PyObject
* obj2
= 0 ;
32487 char * kwnames
[] = {
32488 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
32491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32493 if (!SWIG_IsOK(res1
)) {
32494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
32496 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32497 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32498 if (!SWIG_IsOK(res2
)) {
32499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32504 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
32506 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32507 if (!SWIG_IsOK(res3
)) {
32508 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32513 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
32516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32517 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
32518 wxPyEndAllowThreads(__tstate
);
32519 if (PyErr_Occurred()) SWIG_fail
;
32521 resultobj
= SWIG_From_int(static_cast< int >(result
));
32528 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32529 PyObject
*resultobj
= 0;
32530 wxImageList
*arg1
= (wxImageList
*) 0 ;
32531 wxBitmap
*arg2
= 0 ;
32532 wxColour
*arg3
= 0 ;
32539 PyObject
* obj0
= 0 ;
32540 PyObject
* obj1
= 0 ;
32541 PyObject
* obj2
= 0 ;
32542 char * kwnames
[] = {
32543 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
32546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32548 if (!SWIG_IsOK(res1
)) {
32549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
32551 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32552 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32553 if (!SWIG_IsOK(res2
)) {
32554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32559 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
32562 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32566 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
32567 wxPyEndAllowThreads(__tstate
);
32568 if (PyErr_Occurred()) SWIG_fail
;
32570 resultobj
= SWIG_From_int(static_cast< int >(result
));
32577 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32578 PyObject
*resultobj
= 0;
32579 wxImageList
*arg1
= (wxImageList
*) 0 ;
32586 PyObject
* obj0
= 0 ;
32587 PyObject
* obj1
= 0 ;
32588 char * kwnames
[] = {
32589 (char *) "self",(char *) "icon", NULL
32592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32594 if (!SWIG_IsOK(res1
)) {
32595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
32597 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32598 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
32599 if (!SWIG_IsOK(res2
)) {
32600 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
32603 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
32605 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
32607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32608 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
32609 wxPyEndAllowThreads(__tstate
);
32610 if (PyErr_Occurred()) SWIG_fail
;
32612 resultobj
= SWIG_From_int(static_cast< int >(result
));
32619 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32620 PyObject
*resultobj
= 0;
32621 wxImageList
*arg1
= (wxImageList
*) 0 ;
32623 SwigValueWrapper
<wxBitmap
> result
;
32628 PyObject
* obj0
= 0 ;
32629 PyObject
* obj1
= 0 ;
32630 char * kwnames
[] = {
32631 (char *) "self",(char *) "index", NULL
32634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32636 if (!SWIG_IsOK(res1
)) {
32637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
32639 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32641 if (!SWIG_IsOK(ecode2
)) {
32642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
32644 arg2
= static_cast< int >(val2
);
32646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32647 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
32648 wxPyEndAllowThreads(__tstate
);
32649 if (PyErr_Occurred()) SWIG_fail
;
32651 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
32658 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32659 PyObject
*resultobj
= 0;
32660 wxImageList
*arg1
= (wxImageList
*) 0 ;
32667 PyObject
* obj0
= 0 ;
32668 PyObject
* obj1
= 0 ;
32669 char * kwnames
[] = {
32670 (char *) "self",(char *) "index", NULL
32673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32675 if (!SWIG_IsOK(res1
)) {
32676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
32678 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32680 if (!SWIG_IsOK(ecode2
)) {
32681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
32683 arg2
= static_cast< int >(val2
);
32685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32686 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
32687 wxPyEndAllowThreads(__tstate
);
32688 if (PyErr_Occurred()) SWIG_fail
;
32690 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
32697 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32698 PyObject
*resultobj
= 0;
32699 wxImageList
*arg1
= (wxImageList
*) 0 ;
32701 wxBitmap
*arg3
= 0 ;
32702 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
32703 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
32713 PyObject
* obj0
= 0 ;
32714 PyObject
* obj1
= 0 ;
32715 PyObject
* obj2
= 0 ;
32716 PyObject
* obj3
= 0 ;
32717 char * kwnames
[] = {
32718 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
32721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32723 if (!SWIG_IsOK(res1
)) {
32724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
32726 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32728 if (!SWIG_IsOK(ecode2
)) {
32729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
32731 arg2
= static_cast< int >(val2
);
32732 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32733 if (!SWIG_IsOK(res3
)) {
32734 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32739 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
32741 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32742 if (!SWIG_IsOK(res4
)) {
32743 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32748 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
32751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32752 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
32753 wxPyEndAllowThreads(__tstate
);
32754 if (PyErr_Occurred()) SWIG_fail
;
32757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32765 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32766 PyObject
*resultobj
= 0;
32767 wxImageList
*arg1
= (wxImageList
*) 0 ;
32772 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
32773 bool arg7
= (bool) (bool)false ;
32789 PyObject
* obj0
= 0 ;
32790 PyObject
* obj1
= 0 ;
32791 PyObject
* obj2
= 0 ;
32792 PyObject
* obj3
= 0 ;
32793 PyObject
* obj4
= 0 ;
32794 PyObject
* obj5
= 0 ;
32795 PyObject
* obj6
= 0 ;
32796 char * kwnames
[] = {
32797 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
32800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32802 if (!SWIG_IsOK(res1
)) {
32803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
32805 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32807 if (!SWIG_IsOK(ecode2
)) {
32808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
32810 arg2
= static_cast< int >(val2
);
32811 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32812 if (!SWIG_IsOK(res3
)) {
32813 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32818 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32819 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32820 if (!SWIG_IsOK(ecode4
)) {
32821 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
32823 arg4
= static_cast< int >(val4
);
32824 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32825 if (!SWIG_IsOK(ecode5
)) {
32826 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
32828 arg5
= static_cast< int >(val5
);
32830 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32831 if (!SWIG_IsOK(ecode6
)) {
32832 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
32834 arg6
= static_cast< int >(val6
);
32837 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
32838 if (!SWIG_IsOK(ecode7
)) {
32839 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
32841 arg7
= static_cast< bool >(val7
);
32844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32845 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
32846 wxPyEndAllowThreads(__tstate
);
32847 if (PyErr_Occurred()) SWIG_fail
;
32850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32858 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32859 PyObject
*resultobj
= 0;
32860 wxImageList
*arg1
= (wxImageList
*) 0 ;
32864 PyObject
*swig_obj
[1] ;
32866 if (!args
) SWIG_fail
;
32867 swig_obj
[0] = args
;
32868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32869 if (!SWIG_IsOK(res1
)) {
32870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
32872 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32875 result
= (int)(arg1
)->GetImageCount();
32876 wxPyEndAllowThreads(__tstate
);
32877 if (PyErr_Occurred()) SWIG_fail
;
32879 resultobj
= SWIG_From_int(static_cast< int >(result
));
32886 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32887 PyObject
*resultobj
= 0;
32888 wxImageList
*arg1
= (wxImageList
*) 0 ;
32895 PyObject
* obj0
= 0 ;
32896 PyObject
* obj1
= 0 ;
32897 char * kwnames
[] = {
32898 (char *) "self",(char *) "index", NULL
32901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32903 if (!SWIG_IsOK(res1
)) {
32904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
32906 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32908 if (!SWIG_IsOK(ecode2
)) {
32909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
32911 arg2
= static_cast< int >(val2
);
32913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32914 result
= (bool)(arg1
)->Remove(arg2
);
32915 wxPyEndAllowThreads(__tstate
);
32916 if (PyErr_Occurred()) SWIG_fail
;
32919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32927 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32928 PyObject
*resultobj
= 0;
32929 wxImageList
*arg1
= (wxImageList
*) 0 ;
32933 PyObject
*swig_obj
[1] ;
32935 if (!args
) SWIG_fail
;
32936 swig_obj
[0] = args
;
32937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32938 if (!SWIG_IsOK(res1
)) {
32939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
32941 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32944 result
= (bool)(arg1
)->RemoveAll();
32945 wxPyEndAllowThreads(__tstate
);
32946 if (PyErr_Occurred()) SWIG_fail
;
32949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32957 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32958 PyObject
*resultobj
= 0;
32959 wxImageList
*arg1
= (wxImageList
*) 0 ;
32968 int res3
= SWIG_TMPOBJ
;
32970 int res4
= SWIG_TMPOBJ
;
32971 PyObject
* obj0
= 0 ;
32972 PyObject
* obj1
= 0 ;
32973 char * kwnames
[] = {
32974 (char *) "self",(char *) "index", NULL
32979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32981 if (!SWIG_IsOK(res1
)) {
32982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
32984 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32986 if (!SWIG_IsOK(ecode2
)) {
32987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
32989 arg2
= static_cast< int >(val2
);
32991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32992 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
32993 wxPyEndAllowThreads(__tstate
);
32994 if (PyErr_Occurred()) SWIG_fail
;
32996 resultobj
= SWIG_Py_Void();
32997 if (SWIG_IsTmpObj(res3
)) {
32998 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
33000 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
33001 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
33003 if (SWIG_IsTmpObj(res4
)) {
33004 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
33006 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
33007 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
33015 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33017 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33018 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
33019 return SWIG_Py_Void();
33022 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33023 return SWIG_Python_InitShadowInstance(args
);
33026 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33027 PyObject
*resultobj
= 0;
33028 wxStockGDI
*result
= 0 ;
33030 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
33032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33033 result
= (wxStockGDI
*)new wxStockGDI();
33034 wxPyEndAllowThreads(__tstate
);
33035 if (PyErr_Occurred()) SWIG_fail
;
33037 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
33044 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33045 PyObject
*resultobj
= 0;
33046 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
33049 PyObject
*swig_obj
[1] ;
33051 if (!args
) SWIG_fail
;
33052 swig_obj
[0] = args
;
33053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
33054 if (!SWIG_IsOK(res1
)) {
33055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
33057 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
33059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33062 wxPyEndAllowThreads(__tstate
);
33063 if (PyErr_Occurred()) SWIG_fail
;
33065 resultobj
= SWIG_Py_Void();
33072 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33073 PyObject
*resultobj
= 0;
33075 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
33077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33078 wxStockGDI::DeleteAll();
33079 wxPyEndAllowThreads(__tstate
);
33080 if (PyErr_Occurred()) SWIG_fail
;
33082 resultobj
= SWIG_Py_Void();
33089 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33090 PyObject
*resultobj
= 0;
33091 wxStockGDI
*result
= 0 ;
33093 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
33095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33097 wxStockGDI
&_result_ref
= wxStockGDI::instance();
33098 result
= (wxStockGDI
*) &_result_ref
;
33100 wxPyEndAllowThreads(__tstate
);
33101 if (PyErr_Occurred()) SWIG_fail
;
33103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
33110 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33111 PyObject
*resultobj
= 0;
33112 wxStockGDI::Item arg1
;
33113 wxBrush
*result
= 0 ;
33116 PyObject
* obj0
= 0 ;
33117 char * kwnames
[] = {
33118 (char *) "item", NULL
33121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
33122 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33123 if (!SWIG_IsOK(ecode1
)) {
33124 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
33126 arg1
= static_cast< wxStockGDI::Item
>(val1
);
33128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33129 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
33130 wxPyEndAllowThreads(__tstate
);
33131 if (PyErr_Occurred()) SWIG_fail
;
33133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
33140 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33141 PyObject
*resultobj
= 0;
33142 wxStockGDI::Item arg1
;
33143 wxColour
*result
= 0 ;
33146 PyObject
* obj0
= 0 ;
33147 char * kwnames
[] = {
33148 (char *) "item", NULL
33151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
33152 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33153 if (!SWIG_IsOK(ecode1
)) {
33154 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
33156 arg1
= static_cast< wxStockGDI::Item
>(val1
);
33158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33159 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
33160 wxPyEndAllowThreads(__tstate
);
33161 if (PyErr_Occurred()) SWIG_fail
;
33163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33170 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33171 PyObject
*resultobj
= 0;
33172 wxStockGDI::Item arg1
;
33173 wxCursor
*result
= 0 ;
33176 PyObject
* obj0
= 0 ;
33177 char * kwnames
[] = {
33178 (char *) "item", NULL
33181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
33182 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33183 if (!SWIG_IsOK(ecode1
)) {
33184 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
33186 arg1
= static_cast< wxStockGDI::Item
>(val1
);
33188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33189 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
33190 wxPyEndAllowThreads(__tstate
);
33191 if (PyErr_Occurred()) SWIG_fail
;
33193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
33200 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33201 PyObject
*resultobj
= 0;
33202 wxStockGDI::Item arg1
;
33203 wxPen
*result
= 0 ;
33206 PyObject
* obj0
= 0 ;
33207 char * kwnames
[] = {
33208 (char *) "item", NULL
33211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
33212 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33213 if (!SWIG_IsOK(ecode1
)) {
33214 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
33216 arg1
= static_cast< wxStockGDI::Item
>(val1
);
33218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33219 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
33220 wxPyEndAllowThreads(__tstate
);
33221 if (PyErr_Occurred()) SWIG_fail
;
33223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
33230 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33231 PyObject
*resultobj
= 0;
33232 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
33233 wxStockGDI::Item arg2
;
33234 wxFont
*result
= 0 ;
33239 PyObject
* obj0
= 0 ;
33240 PyObject
* obj1
= 0 ;
33241 char * kwnames
[] = {
33242 (char *) "self",(char *) "item", NULL
33245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
33247 if (!SWIG_IsOK(res1
)) {
33248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
33250 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
33251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33252 if (!SWIG_IsOK(ecode2
)) {
33253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
33255 arg2
= static_cast< wxStockGDI::Item
>(val2
);
33257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33258 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
33259 wxPyEndAllowThreads(__tstate
);
33260 if (PyErr_Occurred()) SWIG_fail
;
33262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33269 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33271 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33272 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
33273 return SWIG_Py_Void();
33276 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33277 return SWIG_Python_InitShadowInstance(args
);
33280 SWIGINTERN
int NullBitmap_set(PyObject
*) {
33281 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
33286 SWIGINTERN PyObject
*NullBitmap_get(void) {
33287 PyObject
*pyobj
= 0;
33289 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
33294 SWIGINTERN
int NullIcon_set(PyObject
*) {
33295 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
33300 SWIGINTERN PyObject
*NullIcon_get(void) {
33301 PyObject
*pyobj
= 0;
33303 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
33308 SWIGINTERN
int NullCursor_set(PyObject
*) {
33309 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
33314 SWIGINTERN PyObject
*NullCursor_get(void) {
33315 PyObject
*pyobj
= 0;
33317 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
33322 SWIGINTERN
int NullPen_set(PyObject
*) {
33323 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
33328 SWIGINTERN PyObject
*NullPen_get(void) {
33329 PyObject
*pyobj
= 0;
33331 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
33336 SWIGINTERN
int NullBrush_set(PyObject
*) {
33337 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
33342 SWIGINTERN PyObject
*NullBrush_get(void) {
33343 PyObject
*pyobj
= 0;
33345 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
33350 SWIGINTERN
int NullPalette_set(PyObject
*) {
33351 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
33356 SWIGINTERN PyObject
*NullPalette_get(void) {
33357 PyObject
*pyobj
= 0;
33359 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
33364 SWIGINTERN
int NullFont_set(PyObject
*) {
33365 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
33370 SWIGINTERN PyObject
*NullFont_get(void) {
33371 PyObject
*pyobj
= 0;
33373 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
33378 SWIGINTERN
int NullColour_set(PyObject
*) {
33379 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
33384 SWIGINTERN PyObject
*NullColour_get(void) {
33385 PyObject
*pyobj
= 0;
33387 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
33392 SWIGINTERN
int NullIconBundle_set(PyObject
*) {
33393 SWIG_Error(SWIG_AttributeError
,"Variable NullIconBundle is read-only.");
33398 SWIGINTERN PyObject
*NullIconBundle_get(void) {
33399 PyObject
*pyobj
= 0;
33401 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIconBundle
), SWIGTYPE_p_wxIconBundle
, 0 );
33406 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33407 PyObject
*resultobj
= 0;
33408 wxGDIObjListBase
*result
= 0 ;
33410 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
33412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33413 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
33414 wxPyEndAllowThreads(__tstate
);
33415 if (PyErr_Occurred()) SWIG_fail
;
33417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
33424 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33425 PyObject
*resultobj
= 0;
33426 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
33429 PyObject
*swig_obj
[1] ;
33431 if (!args
) SWIG_fail
;
33432 swig_obj
[0] = args
;
33433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
33434 if (!SWIG_IsOK(res1
)) {
33435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
33437 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
33439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33442 wxPyEndAllowThreads(__tstate
);
33443 if (PyErr_Occurred()) SWIG_fail
;
33445 resultobj
= SWIG_Py_Void();
33452 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33454 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33455 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
33456 return SWIG_Py_Void();
33459 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33460 return SWIG_Python_InitShadowInstance(args
);
33463 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33464 PyObject
*resultobj
= 0;
33465 wxPenList
*arg1
= (wxPenList
*) 0 ;
33466 wxColour
*arg2
= 0 ;
33469 wxPen
*result
= 0 ;
33477 PyObject
* obj0
= 0 ;
33478 PyObject
* obj1
= 0 ;
33479 PyObject
* obj2
= 0 ;
33480 PyObject
* obj3
= 0 ;
33481 char * kwnames
[] = {
33482 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
33485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
33487 if (!SWIG_IsOK(res1
)) {
33488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
33490 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
33493 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33495 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33496 if (!SWIG_IsOK(ecode3
)) {
33497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
33499 arg3
= static_cast< int >(val3
);
33500 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33501 if (!SWIG_IsOK(ecode4
)) {
33502 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
33504 arg4
= static_cast< int >(val4
);
33506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33507 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
33508 wxPyEndAllowThreads(__tstate
);
33509 if (PyErr_Occurred()) SWIG_fail
;
33511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
33518 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33520 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33521 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
33522 return SWIG_Py_Void();
33525 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33526 PyObject
*resultobj
= 0;
33527 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
33528 wxColour
*arg2
= 0 ;
33529 int arg3
= (int) wxSOLID
;
33530 wxBrush
*result
= 0 ;
33536 PyObject
* obj0
= 0 ;
33537 PyObject
* obj1
= 0 ;
33538 PyObject
* obj2
= 0 ;
33539 char * kwnames
[] = {
33540 (char *) "self",(char *) "colour",(char *) "style", NULL
33543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33545 if (!SWIG_IsOK(res1
)) {
33546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33548 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33551 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33554 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33555 if (!SWIG_IsOK(ecode3
)) {
33556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
33558 arg3
= static_cast< int >(val3
);
33561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33562 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
33563 wxPyEndAllowThreads(__tstate
);
33564 if (PyErr_Occurred()) SWIG_fail
;
33566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
33573 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33575 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33576 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
33577 return SWIG_Py_Void();
33580 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33581 PyObject
*resultobj
= 0;
33582 wxFontList
*arg1
= (wxFontList
*) 0 ;
33587 bool arg6
= (bool) false ;
33588 wxString
const &arg7_defvalue
= wxPyEmptyString
;
33589 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33590 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
33591 wxFont
*result
= 0 ;
33604 bool temp7
= false ;
33607 PyObject
* obj0
= 0 ;
33608 PyObject
* obj1
= 0 ;
33609 PyObject
* obj2
= 0 ;
33610 PyObject
* obj3
= 0 ;
33611 PyObject
* obj4
= 0 ;
33612 PyObject
* obj5
= 0 ;
33613 PyObject
* obj6
= 0 ;
33614 PyObject
* obj7
= 0 ;
33615 char * kwnames
[] = {
33616 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
33619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33621 if (!SWIG_IsOK(res1
)) {
33622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33624 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33626 if (!SWIG_IsOK(ecode2
)) {
33627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
33629 arg2
= static_cast< int >(val2
);
33630 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33631 if (!SWIG_IsOK(ecode3
)) {
33632 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
33634 arg3
= static_cast< int >(val3
);
33635 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33636 if (!SWIG_IsOK(ecode4
)) {
33637 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
33639 arg4
= static_cast< int >(val4
);
33640 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33641 if (!SWIG_IsOK(ecode5
)) {
33642 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
33644 arg5
= static_cast< int >(val5
);
33646 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
33647 if (!SWIG_IsOK(ecode6
)) {
33648 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
33650 arg6
= static_cast< bool >(val6
);
33654 arg7
= wxString_in_helper(obj6
);
33655 if (arg7
== NULL
) SWIG_fail
;
33660 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
33661 if (!SWIG_IsOK(ecode8
)) {
33662 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
33664 arg8
= static_cast< wxFontEncoding
>(val8
);
33667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33668 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
33669 wxPyEndAllowThreads(__tstate
);
33670 if (PyErr_Occurred()) SWIG_fail
;
33672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33687 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33689 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33690 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
33691 return SWIG_Py_Void();
33694 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33695 PyObject
*resultobj
= 0;
33696 wxColourDatabase
*result
= 0 ;
33698 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
33700 if (!wxPyCheckForApp()) SWIG_fail
;
33701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33702 result
= (wxColourDatabase
*)new wxColourDatabase();
33703 wxPyEndAllowThreads(__tstate
);
33704 if (PyErr_Occurred()) SWIG_fail
;
33706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
33713 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33714 PyObject
*resultobj
= 0;
33715 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33718 PyObject
*swig_obj
[1] ;
33720 if (!args
) SWIG_fail
;
33721 swig_obj
[0] = args
;
33722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
33723 if (!SWIG_IsOK(res1
)) {
33724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33726 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33731 wxPyEndAllowThreads(__tstate
);
33732 if (PyErr_Occurred()) SWIG_fail
;
33734 resultobj
= SWIG_Py_Void();
33741 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33742 PyObject
*resultobj
= 0;
33743 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33744 wxString
*arg2
= 0 ;
33748 bool temp2
= false ;
33749 PyObject
* obj0
= 0 ;
33750 PyObject
* obj1
= 0 ;
33751 char * kwnames
[] = {
33752 (char *) "self",(char *) "name", NULL
33755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33757 if (!SWIG_IsOK(res1
)) {
33758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33760 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33762 arg2
= wxString_in_helper(obj1
);
33763 if (arg2
== NULL
) SWIG_fail
;
33767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33768 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
33769 wxPyEndAllowThreads(__tstate
);
33770 if (PyErr_Occurred()) SWIG_fail
;
33772 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33787 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33788 PyObject
*resultobj
= 0;
33789 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33790 wxColour
*arg2
= 0 ;
33795 PyObject
* obj0
= 0 ;
33796 PyObject
* obj1
= 0 ;
33797 char * kwnames
[] = {
33798 (char *) "self",(char *) "colour", NULL
33801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33803 if (!SWIG_IsOK(res1
)) {
33804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33806 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33809 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33813 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
33814 wxPyEndAllowThreads(__tstate
);
33815 if (PyErr_Occurred()) SWIG_fail
;
33819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33830 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33831 PyObject
*resultobj
= 0;
33832 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33833 wxString
*arg2
= 0 ;
33834 wxColour
*arg3
= 0 ;
33837 bool temp2
= false ;
33839 PyObject
* obj0
= 0 ;
33840 PyObject
* obj1
= 0 ;
33841 PyObject
* obj2
= 0 ;
33842 char * kwnames
[] = {
33843 (char *) "self",(char *) "name",(char *) "colour", NULL
33846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33848 if (!SWIG_IsOK(res1
)) {
33849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33851 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33853 arg2
= wxString_in_helper(obj1
);
33854 if (arg2
== NULL
) SWIG_fail
;
33859 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33863 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
33864 wxPyEndAllowThreads(__tstate
);
33865 if (PyErr_Occurred()) SWIG_fail
;
33867 resultobj
= SWIG_Py_Void();
33882 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33883 PyObject
*resultobj
= 0;
33884 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33885 wxString
*arg2
= 0 ;
33891 bool temp2
= false ;
33898 PyObject
* obj0
= 0 ;
33899 PyObject
* obj1
= 0 ;
33900 PyObject
* obj2
= 0 ;
33901 PyObject
* obj3
= 0 ;
33902 PyObject
* obj4
= 0 ;
33903 char * kwnames
[] = {
33904 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
33907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33909 if (!SWIG_IsOK(res1
)) {
33910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33912 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33914 arg2
= wxString_in_helper(obj1
);
33915 if (arg2
== NULL
) SWIG_fail
;
33918 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33919 if (!SWIG_IsOK(ecode3
)) {
33920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
33922 arg3
= static_cast< int >(val3
);
33923 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33924 if (!SWIG_IsOK(ecode4
)) {
33925 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
33927 arg4
= static_cast< int >(val4
);
33928 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33929 if (!SWIG_IsOK(ecode5
)) {
33930 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
33932 arg5
= static_cast< int >(val5
);
33934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33935 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33936 wxPyEndAllowThreads(__tstate
);
33937 if (PyErr_Occurred()) SWIG_fail
;
33939 resultobj
= SWIG_Py_Void();
33954 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33956 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33957 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
33958 return SWIG_Py_Void();
33961 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33962 return SWIG_Python_InitShadowInstance(args
);
33965 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33966 PyObject
*resultobj
= 0;
33967 wxFontList
*result
= 0 ;
33969 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33972 result
= (wxFontList
*)_wxPyInitTheFontList();
33973 wxPyEndAllowThreads(__tstate
);
33974 if (PyErr_Occurred()) SWIG_fail
;
33976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33983 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33984 PyObject
*resultobj
= 0;
33985 wxPenList
*result
= 0 ;
33987 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33990 result
= (wxPenList
*)_wxPyInitThePenList();
33991 wxPyEndAllowThreads(__tstate
);
33992 if (PyErr_Occurred()) SWIG_fail
;
33994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
34001 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34002 PyObject
*resultobj
= 0;
34003 wxBrushList
*result
= 0 ;
34005 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
34007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34008 result
= (wxBrushList
*)_wxPyInitTheBrushList();
34009 wxPyEndAllowThreads(__tstate
);
34010 if (PyErr_Occurred()) SWIG_fail
;
34012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
34019 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34020 PyObject
*resultobj
= 0;
34021 wxColourDatabase
*result
= 0 ;
34023 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
34025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34026 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
34027 wxPyEndAllowThreads(__tstate
);
34028 if (PyErr_Occurred()) SWIG_fail
;
34030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
34037 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34038 PyObject
*resultobj
= 0;
34039 wxEffects
*result
= 0 ;
34041 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
34043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34044 result
= (wxEffects
*)new wxEffects();
34045 wxPyEndAllowThreads(__tstate
);
34046 if (PyErr_Occurred()) SWIG_fail
;
34048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
34055 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34056 PyObject
*resultobj
= 0;
34057 wxEffects
*arg1
= (wxEffects
*) 0 ;
34061 PyObject
*swig_obj
[1] ;
34063 if (!args
) SWIG_fail
;
34064 swig_obj
[0] = args
;
34065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34066 if (!SWIG_IsOK(res1
)) {
34067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
34069 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34072 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
34073 wxPyEndAllowThreads(__tstate
);
34074 if (PyErr_Occurred()) SWIG_fail
;
34076 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34083 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34084 PyObject
*resultobj
= 0;
34085 wxEffects
*arg1
= (wxEffects
*) 0 ;
34089 PyObject
*swig_obj
[1] ;
34091 if (!args
) SWIG_fail
;
34092 swig_obj
[0] = args
;
34093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34094 if (!SWIG_IsOK(res1
)) {
34095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
34097 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34100 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
34101 wxPyEndAllowThreads(__tstate
);
34102 if (PyErr_Occurred()) SWIG_fail
;
34104 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34111 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34112 PyObject
*resultobj
= 0;
34113 wxEffects
*arg1
= (wxEffects
*) 0 ;
34117 PyObject
*swig_obj
[1] ;
34119 if (!args
) SWIG_fail
;
34120 swig_obj
[0] = args
;
34121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34122 if (!SWIG_IsOK(res1
)) {
34123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
34125 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34128 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
34129 wxPyEndAllowThreads(__tstate
);
34130 if (PyErr_Occurred()) SWIG_fail
;
34132 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34139 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34140 PyObject
*resultobj
= 0;
34141 wxEffects
*arg1
= (wxEffects
*) 0 ;
34145 PyObject
*swig_obj
[1] ;
34147 if (!args
) SWIG_fail
;
34148 swig_obj
[0] = args
;
34149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34150 if (!SWIG_IsOK(res1
)) {
34151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
34153 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34156 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
34157 wxPyEndAllowThreads(__tstate
);
34158 if (PyErr_Occurred()) SWIG_fail
;
34160 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34167 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34168 PyObject
*resultobj
= 0;
34169 wxEffects
*arg1
= (wxEffects
*) 0 ;
34173 PyObject
*swig_obj
[1] ;
34175 if (!args
) SWIG_fail
;
34176 swig_obj
[0] = args
;
34177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34178 if (!SWIG_IsOK(res1
)) {
34179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
34181 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34184 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
34185 wxPyEndAllowThreads(__tstate
);
34186 if (PyErr_Occurred()) SWIG_fail
;
34188 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34195 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34196 PyObject
*resultobj
= 0;
34197 wxEffects
*arg1
= (wxEffects
*) 0 ;
34198 wxColour
*arg2
= 0 ;
34202 PyObject
* obj0
= 0 ;
34203 PyObject
* obj1
= 0 ;
34204 char * kwnames
[] = {
34205 (char *) "self",(char *) "c", NULL
34208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34210 if (!SWIG_IsOK(res1
)) {
34211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
34213 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34216 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34220 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
34221 wxPyEndAllowThreads(__tstate
);
34222 if (PyErr_Occurred()) SWIG_fail
;
34224 resultobj
= SWIG_Py_Void();
34231 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34232 PyObject
*resultobj
= 0;
34233 wxEffects
*arg1
= (wxEffects
*) 0 ;
34234 wxColour
*arg2
= 0 ;
34238 PyObject
* obj0
= 0 ;
34239 PyObject
* obj1
= 0 ;
34240 char * kwnames
[] = {
34241 (char *) "self",(char *) "c", NULL
34244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34246 if (!SWIG_IsOK(res1
)) {
34247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
34249 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34252 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34256 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
34257 wxPyEndAllowThreads(__tstate
);
34258 if (PyErr_Occurred()) SWIG_fail
;
34260 resultobj
= SWIG_Py_Void();
34267 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34268 PyObject
*resultobj
= 0;
34269 wxEffects
*arg1
= (wxEffects
*) 0 ;
34270 wxColour
*arg2
= 0 ;
34274 PyObject
* obj0
= 0 ;
34275 PyObject
* obj1
= 0 ;
34276 char * kwnames
[] = {
34277 (char *) "self",(char *) "c", NULL
34280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34282 if (!SWIG_IsOK(res1
)) {
34283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
34285 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34288 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34292 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
34293 wxPyEndAllowThreads(__tstate
);
34294 if (PyErr_Occurred()) SWIG_fail
;
34296 resultobj
= SWIG_Py_Void();
34303 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34304 PyObject
*resultobj
= 0;
34305 wxEffects
*arg1
= (wxEffects
*) 0 ;
34306 wxColour
*arg2
= 0 ;
34310 PyObject
* obj0
= 0 ;
34311 PyObject
* obj1
= 0 ;
34312 char * kwnames
[] = {
34313 (char *) "self",(char *) "c", NULL
34316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34318 if (!SWIG_IsOK(res1
)) {
34319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
34321 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34324 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34328 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
34329 wxPyEndAllowThreads(__tstate
);
34330 if (PyErr_Occurred()) SWIG_fail
;
34332 resultobj
= SWIG_Py_Void();
34339 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34340 PyObject
*resultobj
= 0;
34341 wxEffects
*arg1
= (wxEffects
*) 0 ;
34342 wxColour
*arg2
= 0 ;
34346 PyObject
* obj0
= 0 ;
34347 PyObject
* obj1
= 0 ;
34348 char * kwnames
[] = {
34349 (char *) "self",(char *) "c", NULL
34352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34354 if (!SWIG_IsOK(res1
)) {
34355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
34357 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34360 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34364 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
34365 wxPyEndAllowThreads(__tstate
);
34366 if (PyErr_Occurred()) SWIG_fail
;
34368 resultobj
= SWIG_Py_Void();
34375 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34376 PyObject
*resultobj
= 0;
34377 wxEffects
*arg1
= (wxEffects
*) 0 ;
34378 wxColour
*arg2
= 0 ;
34379 wxColour
*arg3
= 0 ;
34380 wxColour
*arg4
= 0 ;
34381 wxColour
*arg5
= 0 ;
34382 wxColour
*arg6
= 0 ;
34390 PyObject
* obj0
= 0 ;
34391 PyObject
* obj1
= 0 ;
34392 PyObject
* obj2
= 0 ;
34393 PyObject
* obj3
= 0 ;
34394 PyObject
* obj4
= 0 ;
34395 PyObject
* obj5
= 0 ;
34396 char * kwnames
[] = {
34397 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
34400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
34401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34402 if (!SWIG_IsOK(res1
)) {
34403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
34405 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34408 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34412 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34416 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
34420 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
34424 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
34427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34428 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
34429 wxPyEndAllowThreads(__tstate
);
34430 if (PyErr_Occurred()) SWIG_fail
;
34432 resultobj
= SWIG_Py_Void();
34439 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34440 PyObject
*resultobj
= 0;
34441 wxEffects
*arg1
= (wxEffects
*) 0 ;
34444 int arg4
= (int) 1 ;
34452 PyObject
* obj0
= 0 ;
34453 PyObject
* obj1
= 0 ;
34454 PyObject
* obj2
= 0 ;
34455 PyObject
* obj3
= 0 ;
34456 char * kwnames
[] = {
34457 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
34460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34462 if (!SWIG_IsOK(res1
)) {
34463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
34465 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34466 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
34467 if (!SWIG_IsOK(res2
)) {
34468 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
34471 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
34473 arg2
= reinterpret_cast< wxDC
* >(argp2
);
34476 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
34479 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34480 if (!SWIG_IsOK(ecode4
)) {
34481 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
34483 arg4
= static_cast< int >(val4
);
34486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34487 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
34488 wxPyEndAllowThreads(__tstate
);
34489 if (PyErr_Occurred()) SWIG_fail
;
34491 resultobj
= SWIG_Py_Void();
34498 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34499 PyObject
*resultobj
= 0;
34500 wxEffects
*arg1
= (wxEffects
*) 0 ;
34503 wxBitmap
*arg4
= 0 ;
34512 PyObject
* obj0
= 0 ;
34513 PyObject
* obj1
= 0 ;
34514 PyObject
* obj2
= 0 ;
34515 PyObject
* obj3
= 0 ;
34516 char * kwnames
[] = {
34517 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
34520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34522 if (!SWIG_IsOK(res1
)) {
34523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
34525 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34528 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34530 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34531 if (!SWIG_IsOK(res3
)) {
34532 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34537 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34538 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
34539 if (!SWIG_IsOK(res4
)) {
34540 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34545 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
34547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34548 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
34549 wxPyEndAllowThreads(__tstate
);
34550 if (PyErr_Occurred()) SWIG_fail
;
34553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34561 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34563 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34564 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
34565 return SWIG_Py_Void();
34568 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34569 return SWIG_Python_InitShadowInstance(args
);
34572 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34573 PyObject
*resultobj
= 0;
34577 wxSplitterRenderParams
*result
= 0 ;
34584 PyObject
* obj0
= 0 ;
34585 PyObject
* obj1
= 0 ;
34586 PyObject
* obj2
= 0 ;
34587 char * kwnames
[] = {
34588 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
34591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34592 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34593 if (!SWIG_IsOK(ecode1
)) {
34594 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
34596 arg1
= static_cast< int >(val1
);
34597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34598 if (!SWIG_IsOK(ecode2
)) {
34599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
34601 arg2
= static_cast< int >(val2
);
34602 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34603 if (!SWIG_IsOK(ecode3
)) {
34604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
34606 arg3
= static_cast< bool >(val3
);
34608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34609 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
34610 wxPyEndAllowThreads(__tstate
);
34611 if (PyErr_Occurred()) SWIG_fail
;
34613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
34620 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34621 PyObject
*resultobj
= 0;
34622 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 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_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
34630 if (!SWIG_IsOK(res1
)) {
34631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34633 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34638 wxPyEndAllowThreads(__tstate
);
34639 if (PyErr_Occurred()) SWIG_fail
;
34641 resultobj
= SWIG_Py_Void();
34648 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34649 PyObject
*resultobj
= 0;
34650 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34654 PyObject
*swig_obj
[1] ;
34656 if (!args
) SWIG_fail
;
34657 swig_obj
[0] = args
;
34658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34659 if (!SWIG_IsOK(res1
)) {
34660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34662 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34663 result
= (int)(int) ((arg1
)->widthSash
);
34664 resultobj
= SWIG_From_int(static_cast< int >(result
));
34671 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34672 PyObject
*resultobj
= 0;
34673 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34677 PyObject
*swig_obj
[1] ;
34679 if (!args
) SWIG_fail
;
34680 swig_obj
[0] = args
;
34681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34682 if (!SWIG_IsOK(res1
)) {
34683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34685 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34686 result
= (int)(int) ((arg1
)->border
);
34687 resultobj
= SWIG_From_int(static_cast< int >(result
));
34694 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34695 PyObject
*resultobj
= 0;
34696 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34700 PyObject
*swig_obj
[1] ;
34702 if (!args
) SWIG_fail
;
34703 swig_obj
[0] = args
;
34704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34705 if (!SWIG_IsOK(res1
)) {
34706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34708 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34709 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
34710 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
34717 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34719 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34720 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
34721 return SWIG_Py_Void();
34724 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34725 return SWIG_Python_InitShadowInstance(args
);
34728 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34729 PyObject
*resultobj
= 0;
34730 wxHeaderButtonParams
*result
= 0 ;
34732 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
34734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34735 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
34736 wxPyEndAllowThreads(__tstate
);
34737 if (PyErr_Occurred()) SWIG_fail
;
34739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
34746 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34747 PyObject
*resultobj
= 0;
34748 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34751 PyObject
*swig_obj
[1] ;
34753 if (!args
) SWIG_fail
;
34754 swig_obj
[0] = args
;
34755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
34756 if (!SWIG_IsOK(res1
)) {
34757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34759 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34764 wxPyEndAllowThreads(__tstate
);
34765 if (PyErr_Occurred()) SWIG_fail
;
34767 resultobj
= SWIG_Py_Void();
34774 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34775 PyObject
*resultobj
= 0;
34776 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34777 wxColour
*arg2
= (wxColour
*) 0 ;
34781 PyObject
*swig_obj
[2] ;
34783 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
34784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34785 if (!SWIG_IsOK(res1
)) {
34786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34788 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34791 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34793 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
34795 resultobj
= SWIG_Py_Void();
34802 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34803 PyObject
*resultobj
= 0;
34804 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34805 wxColour
*result
= 0 ;
34808 PyObject
*swig_obj
[1] ;
34810 if (!args
) SWIG_fail
;
34811 swig_obj
[0] = args
;
34812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34813 if (!SWIG_IsOK(res1
)) {
34814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34816 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34817 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
34818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34825 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34826 PyObject
*resultobj
= 0;
34827 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34828 wxColour
*arg2
= (wxColour
*) 0 ;
34832 PyObject
*swig_obj
[2] ;
34834 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
34835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34836 if (!SWIG_IsOK(res1
)) {
34837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34839 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34842 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34844 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
34846 resultobj
= SWIG_Py_Void();
34853 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34854 PyObject
*resultobj
= 0;
34855 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34856 wxColour
*result
= 0 ;
34859 PyObject
*swig_obj
[1] ;
34861 if (!args
) SWIG_fail
;
34862 swig_obj
[0] = args
;
34863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34864 if (!SWIG_IsOK(res1
)) {
34865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34867 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34868 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
34869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34876 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34877 PyObject
*resultobj
= 0;
34878 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34879 wxString
*arg2
= (wxString
*) 0 ;
34882 bool temp2
= false ;
34883 PyObject
*swig_obj
[2] ;
34885 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
34886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34887 if (!SWIG_IsOK(res1
)) {
34888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34890 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34892 arg2
= wxString_in_helper(swig_obj
[1]);
34893 if (arg2
== NULL
) SWIG_fail
;
34896 if (arg1
) (arg1
)->m_labelText
= *arg2
;
34898 resultobj
= SWIG_Py_Void();
34913 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34914 PyObject
*resultobj
= 0;
34915 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34916 wxString
*result
= 0 ;
34919 PyObject
*swig_obj
[1] ;
34921 if (!args
) SWIG_fail
;
34922 swig_obj
[0] = args
;
34923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34924 if (!SWIG_IsOK(res1
)) {
34925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34927 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34928 result
= (wxString
*)& ((arg1
)->m_labelText
);
34931 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34933 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34942 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34943 PyObject
*resultobj
= 0;
34944 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34945 wxFont
*arg2
= (wxFont
*) 0 ;
34950 PyObject
*swig_obj
[2] ;
34952 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
34953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34954 if (!SWIG_IsOK(res1
)) {
34955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34957 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34958 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
34959 if (!SWIG_IsOK(res2
)) {
34960 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
34962 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34963 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34965 resultobj
= SWIG_Py_Void();
34972 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34973 PyObject
*resultobj
= 0;
34974 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34975 wxFont
*result
= 0 ;
34978 PyObject
*swig_obj
[1] ;
34980 if (!args
) SWIG_fail
;
34981 swig_obj
[0] = args
;
34982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34983 if (!SWIG_IsOK(res1
)) {
34984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34986 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34987 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34995 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34996 PyObject
*resultobj
= 0;
34997 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34998 wxColour
*arg2
= (wxColour
*) 0 ;
35002 PyObject
*swig_obj
[2] ;
35004 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
35005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35006 if (!SWIG_IsOK(res1
)) {
35007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
35009 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
35012 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
35014 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
35016 resultobj
= SWIG_Py_Void();
35023 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35024 PyObject
*resultobj
= 0;
35025 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
35026 wxColour
*result
= 0 ;
35029 PyObject
*swig_obj
[1] ;
35031 if (!args
) SWIG_fail
;
35032 swig_obj
[0] = args
;
35033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35034 if (!SWIG_IsOK(res1
)) {
35035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
35037 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
35038 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
35039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
35046 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35047 PyObject
*resultobj
= 0;
35048 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
35049 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
35054 PyObject
*swig_obj
[2] ;
35056 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
35057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35058 if (!SWIG_IsOK(res1
)) {
35059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
35061 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
35062 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
35063 if (!SWIG_IsOK(res2
)) {
35064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
35066 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
35067 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
35069 resultobj
= SWIG_Py_Void();
35076 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35077 PyObject
*resultobj
= 0;
35078 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
35079 wxBitmap
*result
= 0 ;
35082 PyObject
*swig_obj
[1] ;
35084 if (!args
) SWIG_fail
;
35085 swig_obj
[0] = args
;
35086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35087 if (!SWIG_IsOK(res1
)) {
35088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
35090 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
35091 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
35092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
35099 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35100 PyObject
*resultobj
= 0;
35101 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
35107 PyObject
*swig_obj
[2] ;
35109 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
35110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35111 if (!SWIG_IsOK(res1
)) {
35112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
35114 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
35115 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35116 if (!SWIG_IsOK(ecode2
)) {
35117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
35119 arg2
= static_cast< int >(val2
);
35120 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
35122 resultobj
= SWIG_Py_Void();
35129 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35130 PyObject
*resultobj
= 0;
35131 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
35135 PyObject
*swig_obj
[1] ;
35137 if (!args
) SWIG_fail
;
35138 swig_obj
[0] = args
;
35139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35140 if (!SWIG_IsOK(res1
)) {
35141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
35143 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
35144 result
= (int) ((arg1
)->m_labelAlignment
);
35145 resultobj
= SWIG_From_int(static_cast< int >(result
));
35152 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35154 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35155 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
35156 return SWIG_Py_Void();
35159 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35160 return SWIG_Python_InitShadowInstance(args
);
35163 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35164 PyObject
*resultobj
= 0;
35167 wxRendererVersion
*result
= 0 ;
35172 PyObject
* obj0
= 0 ;
35173 PyObject
* obj1
= 0 ;
35174 char * kwnames
[] = {
35175 (char *) "version_",(char *) "age_", NULL
35178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35179 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
35180 if (!SWIG_IsOK(ecode1
)) {
35181 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
35183 arg1
= static_cast< int >(val1
);
35184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35185 if (!SWIG_IsOK(ecode2
)) {
35186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
35188 arg2
= static_cast< int >(val2
);
35190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35191 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
35192 wxPyEndAllowThreads(__tstate
);
35193 if (PyErr_Occurred()) SWIG_fail
;
35195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
35202 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35203 PyObject
*resultobj
= 0;
35204 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
35207 PyObject
*swig_obj
[1] ;
35209 if (!args
) SWIG_fail
;
35210 swig_obj
[0] = args
;
35211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
35212 if (!SWIG_IsOK(res1
)) {
35213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
35215 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35220 wxPyEndAllowThreads(__tstate
);
35221 if (PyErr_Occurred()) SWIG_fail
;
35223 resultobj
= SWIG_Py_Void();
35230 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35231 PyObject
*resultobj
= 0;
35232 wxRendererVersion
*arg1
= 0 ;
35236 PyObject
* obj0
= 0 ;
35237 char * kwnames
[] = {
35238 (char *) "ver", NULL
35241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
35242 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
35243 if (!SWIG_IsOK(res1
)) {
35244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
35247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
35249 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35252 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
35253 wxPyEndAllowThreads(__tstate
);
35254 if (PyErr_Occurred()) SWIG_fail
;
35257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35265 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35266 PyObject
*resultobj
= 0;
35267 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
35271 PyObject
*swig_obj
[1] ;
35273 if (!args
) SWIG_fail
;
35274 swig_obj
[0] = args
;
35275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
35276 if (!SWIG_IsOK(res1
)) {
35277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
35279 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35280 result
= (int)(int) ((arg1
)->version
);
35281 resultobj
= SWIG_From_int(static_cast< int >(result
));
35288 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35289 PyObject
*resultobj
= 0;
35290 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
35294 PyObject
*swig_obj
[1] ;
35296 if (!args
) SWIG_fail
;
35297 swig_obj
[0] = args
;
35298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
35299 if (!SWIG_IsOK(res1
)) {
35300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
35302 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35303 result
= (int)(int) ((arg1
)->age
);
35304 resultobj
= SWIG_From_int(static_cast< int >(result
));
35311 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35313 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35314 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
35315 return SWIG_Py_Void();
35318 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35319 return SWIG_Python_InitShadowInstance(args
);
35322 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35323 PyObject
*resultobj
= 0;
35324 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35325 wxWindow
*arg2
= (wxWindow
*) 0 ;
35328 int arg5
= (int) 0 ;
35329 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
35330 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
35345 PyObject
* obj0
= 0 ;
35346 PyObject
* obj1
= 0 ;
35347 PyObject
* obj2
= 0 ;
35348 PyObject
* obj3
= 0 ;
35349 PyObject
* obj4
= 0 ;
35350 PyObject
* obj5
= 0 ;
35351 PyObject
* obj6
= 0 ;
35352 char * kwnames
[] = {
35353 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
35356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35358 if (!SWIG_IsOK(res1
)) {
35359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35361 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35362 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35363 if (!SWIG_IsOK(res2
)) {
35364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35366 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35367 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35368 if (!SWIG_IsOK(res3
)) {
35369 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
35372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
35374 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35377 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35380 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35381 if (!SWIG_IsOK(ecode5
)) {
35382 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
35384 arg5
= static_cast< int >(val5
);
35387 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35388 if (!SWIG_IsOK(ecode6
)) {
35389 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
35391 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
35394 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35395 if (!SWIG_IsOK(res7
)) {
35396 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
35398 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
35401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35402 result
= (int)(arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
35403 wxPyEndAllowThreads(__tstate
);
35404 if (PyErr_Occurred()) SWIG_fail
;
35406 resultobj
= SWIG_From_int(static_cast< int >(result
));
35413 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35414 PyObject
*resultobj
= 0;
35415 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35416 wxWindow
*arg2
= (wxWindow
*) 0 ;
35419 int arg5
= (int) 0 ;
35420 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
35421 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
35436 PyObject
* obj0
= 0 ;
35437 PyObject
* obj1
= 0 ;
35438 PyObject
* obj2
= 0 ;
35439 PyObject
* obj3
= 0 ;
35440 PyObject
* obj4
= 0 ;
35441 PyObject
* obj5
= 0 ;
35442 PyObject
* obj6
= 0 ;
35443 char * kwnames
[] = {
35444 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
35447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35449 if (!SWIG_IsOK(res1
)) {
35450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35452 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35453 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35454 if (!SWIG_IsOK(res2
)) {
35455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
35457 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35458 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35459 if (!SWIG_IsOK(res3
)) {
35460 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
35463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
35465 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35468 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35471 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35472 if (!SWIG_IsOK(ecode5
)) {
35473 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
35475 arg5
= static_cast< int >(val5
);
35478 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35479 if (!SWIG_IsOK(ecode6
)) {
35480 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
35482 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
35485 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35486 if (!SWIG_IsOK(res7
)) {
35487 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
35489 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
35492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35493 result
= (int)(arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
35494 wxPyEndAllowThreads(__tstate
);
35495 if (PyErr_Occurred()) SWIG_fail
;
35497 resultobj
= SWIG_From_int(static_cast< int >(result
));
35504 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35505 PyObject
*resultobj
= 0;
35506 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35507 wxWindow
*arg2
= (wxWindow
*) 0 ;
35513 PyObject
* obj0
= 0 ;
35514 PyObject
* obj1
= 0 ;
35515 char * kwnames
[] = {
35516 (char *) "self",(char *) "win", NULL
35519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35521 if (!SWIG_IsOK(res1
)) {
35522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35524 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35525 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35526 if (!SWIG_IsOK(res2
)) {
35527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
35529 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35532 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
35533 wxPyEndAllowThreads(__tstate
);
35534 if (PyErr_Occurred()) SWIG_fail
;
35536 resultobj
= SWIG_From_int(static_cast< int >(result
));
35543 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35544 PyObject
*resultobj
= 0;
35545 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35546 wxWindow
*arg2
= (wxWindow
*) 0 ;
35549 int arg5
= (int) 0 ;
35559 PyObject
* obj0
= 0 ;
35560 PyObject
* obj1
= 0 ;
35561 PyObject
* obj2
= 0 ;
35562 PyObject
* obj3
= 0 ;
35563 PyObject
* obj4
= 0 ;
35564 char * kwnames
[] = {
35565 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35570 if (!SWIG_IsOK(res1
)) {
35571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35573 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35574 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35575 if (!SWIG_IsOK(res2
)) {
35576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35578 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35579 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35580 if (!SWIG_IsOK(res3
)) {
35581 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35586 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35589 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35592 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35593 if (!SWIG_IsOK(ecode5
)) {
35594 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
35596 arg5
= static_cast< int >(val5
);
35599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35600 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35601 wxPyEndAllowThreads(__tstate
);
35602 if (PyErr_Occurred()) SWIG_fail
;
35604 resultobj
= SWIG_Py_Void();
35611 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35612 PyObject
*resultobj
= 0;
35613 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35614 wxWindow
*arg2
= (wxWindow
*) 0 ;
35617 int arg5
= (int) 0 ;
35627 PyObject
* obj0
= 0 ;
35628 PyObject
* obj1
= 0 ;
35629 PyObject
* obj2
= 0 ;
35630 PyObject
* obj3
= 0 ;
35631 PyObject
* obj4
= 0 ;
35632 char * kwnames
[] = {
35633 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35638 if (!SWIG_IsOK(res1
)) {
35639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35641 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35642 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35643 if (!SWIG_IsOK(res2
)) {
35644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
35646 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35647 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35648 if (!SWIG_IsOK(res3
)) {
35649 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35654 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35657 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35660 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35661 if (!SWIG_IsOK(ecode5
)) {
35662 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
35664 arg5
= static_cast< int >(val5
);
35667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35668 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35669 wxPyEndAllowThreads(__tstate
);
35670 if (PyErr_Occurred()) SWIG_fail
;
35672 resultobj
= SWIG_Py_Void();
35679 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35680 PyObject
*resultobj
= 0;
35681 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35682 wxWindow
*arg2
= (wxWindow
*) 0 ;
35686 wxOrientation arg6
;
35687 int arg7
= (int) 0 ;
35701 PyObject
* obj0
= 0 ;
35702 PyObject
* obj1
= 0 ;
35703 PyObject
* obj2
= 0 ;
35704 PyObject
* obj3
= 0 ;
35705 PyObject
* obj4
= 0 ;
35706 PyObject
* obj5
= 0 ;
35707 PyObject
* obj6
= 0 ;
35708 char * kwnames
[] = {
35709 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
35712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35714 if (!SWIG_IsOK(res1
)) {
35715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35717 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35718 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35719 if (!SWIG_IsOK(res2
)) {
35720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
35722 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35723 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35724 if (!SWIG_IsOK(res3
)) {
35725 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35730 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35733 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
35735 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35736 if (!SWIG_IsOK(ecode5
)) {
35737 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
35739 arg5
= static_cast< int >(val5
);
35740 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35741 if (!SWIG_IsOK(ecode6
)) {
35742 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
35744 arg6
= static_cast< wxOrientation
>(val6
);
35746 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35747 if (!SWIG_IsOK(ecode7
)) {
35748 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
35750 arg7
= static_cast< int >(val7
);
35753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35754 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
35755 wxPyEndAllowThreads(__tstate
);
35756 if (PyErr_Occurred()) SWIG_fail
;
35758 resultobj
= SWIG_Py_Void();
35765 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35766 PyObject
*resultobj
= 0;
35767 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35768 wxWindow
*arg2
= (wxWindow
*) 0 ;
35771 int arg5
= (int) 0 ;
35781 PyObject
* obj0
= 0 ;
35782 PyObject
* obj1
= 0 ;
35783 PyObject
* obj2
= 0 ;
35784 PyObject
* obj3
= 0 ;
35785 PyObject
* obj4
= 0 ;
35786 char * kwnames
[] = {
35787 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35792 if (!SWIG_IsOK(res1
)) {
35793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35795 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35796 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35797 if (!SWIG_IsOK(res2
)) {
35798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35800 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35801 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35802 if (!SWIG_IsOK(res3
)) {
35803 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35806 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35808 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35811 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35814 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35815 if (!SWIG_IsOK(ecode5
)) {
35816 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
35818 arg5
= static_cast< int >(val5
);
35821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35822 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35823 wxPyEndAllowThreads(__tstate
);
35824 if (PyErr_Occurred()) SWIG_fail
;
35826 resultobj
= SWIG_Py_Void();
35833 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35834 PyObject
*resultobj
= 0;
35835 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35836 wxWindow
*arg2
= (wxWindow
*) 0 ;
35839 int arg5
= (int) 0 ;
35849 PyObject
* obj0
= 0 ;
35850 PyObject
* obj1
= 0 ;
35851 PyObject
* obj2
= 0 ;
35852 PyObject
* obj3
= 0 ;
35853 PyObject
* obj4
= 0 ;
35854 char * kwnames
[] = {
35855 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35860 if (!SWIG_IsOK(res1
)) {
35861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35863 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35864 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35865 if (!SWIG_IsOK(res2
)) {
35866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
35868 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35869 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35870 if (!SWIG_IsOK(res3
)) {
35871 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35876 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35879 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35882 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35883 if (!SWIG_IsOK(ecode5
)) {
35884 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
35886 arg5
= static_cast< int >(val5
);
35889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35890 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35891 wxPyEndAllowThreads(__tstate
);
35892 if (PyErr_Occurred()) SWIG_fail
;
35894 resultobj
= SWIG_Py_Void();
35901 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35902 PyObject
*resultobj
= 0;
35903 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35904 wxWindow
*arg2
= (wxWindow
*) 0 ;
35907 int arg5
= (int) 0 ;
35917 PyObject
* obj0
= 0 ;
35918 PyObject
* obj1
= 0 ;
35919 PyObject
* obj2
= 0 ;
35920 PyObject
* obj3
= 0 ;
35921 PyObject
* obj4
= 0 ;
35922 char * kwnames
[] = {
35923 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35928 if (!SWIG_IsOK(res1
)) {
35929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35931 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35932 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35933 if (!SWIG_IsOK(res2
)) {
35934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
35936 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35937 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35938 if (!SWIG_IsOK(res3
)) {
35939 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35944 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35947 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35950 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35951 if (!SWIG_IsOK(ecode5
)) {
35952 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
35954 arg5
= static_cast< int >(val5
);
35957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35958 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35959 wxPyEndAllowThreads(__tstate
);
35960 if (PyErr_Occurred()) SWIG_fail
;
35962 resultobj
= SWIG_Py_Void();
35969 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35970 PyObject
*resultobj
= 0;
35971 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35972 wxWindow
*arg2
= (wxWindow
*) 0 ;
35975 int arg5
= (int) 0 ;
35985 PyObject
* obj0
= 0 ;
35986 PyObject
* obj1
= 0 ;
35987 PyObject
* obj2
= 0 ;
35988 PyObject
* obj3
= 0 ;
35989 PyObject
* obj4
= 0 ;
35990 char * kwnames
[] = {
35991 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35996 if (!SWIG_IsOK(res1
)) {
35997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35999 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
36000 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36001 if (!SWIG_IsOK(res2
)) {
36002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
36004 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36005 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
36006 if (!SWIG_IsOK(res3
)) {
36007 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
36010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
36012 arg3
= reinterpret_cast< wxDC
* >(argp3
);
36015 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
36018 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36019 if (!SWIG_IsOK(ecode5
)) {
36020 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
36022 arg5
= static_cast< int >(val5
);
36025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36026 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
36027 wxPyEndAllowThreads(__tstate
);
36028 if (PyErr_Occurred()) SWIG_fail
;
36030 resultobj
= SWIG_Py_Void();
36037 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36038 PyObject
*resultobj
= 0;
36039 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
36040 wxWindow
*arg2
= (wxWindow
*) 0 ;
36043 int arg5
= (int) 0 ;
36053 PyObject
* obj0
= 0 ;
36054 PyObject
* obj1
= 0 ;
36055 PyObject
* obj2
= 0 ;
36056 PyObject
* obj3
= 0 ;
36057 PyObject
* obj4
= 0 ;
36058 char * kwnames
[] = {
36059 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
36062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36064 if (!SWIG_IsOK(res1
)) {
36065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
36067 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
36068 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36069 if (!SWIG_IsOK(res2
)) {
36070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
36072 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36073 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
36074 if (!SWIG_IsOK(res3
)) {
36075 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
36078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
36080 arg3
= reinterpret_cast< wxDC
* >(argp3
);
36083 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
36086 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36087 if (!SWIG_IsOK(ecode5
)) {
36088 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
36090 arg5
= static_cast< int >(val5
);
36093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36094 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
36095 wxPyEndAllowThreads(__tstate
);
36096 if (PyErr_Occurred()) SWIG_fail
;
36098 resultobj
= SWIG_Py_Void();
36105 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36106 PyObject
*resultobj
= 0;
36107 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
36108 wxWindow
*arg2
= (wxWindow
*) 0 ;
36109 SwigValueWrapper
<wxSplitterRenderParams
> result
;
36114 PyObject
* obj0
= 0 ;
36115 PyObject
* obj1
= 0 ;
36116 char * kwnames
[] = {
36117 (char *) "self",(char *) "win", NULL
36120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36122 if (!SWIG_IsOK(res1
)) {
36123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
36125 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
36126 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36127 if (!SWIG_IsOK(res2
)) {
36128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
36130 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36133 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
36134 wxPyEndAllowThreads(__tstate
);
36135 if (PyErr_Occurred()) SWIG_fail
;
36137 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
36144 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36145 PyObject
*resultobj
= 0;
36146 wxRendererNative
*result
= 0 ;
36148 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
36150 if (!wxPyCheckForApp()) SWIG_fail
;
36151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36153 wxRendererNative
&_result_ref
= wxRendererNative::Get();
36154 result
= (wxRendererNative
*) &_result_ref
;
36156 wxPyEndAllowThreads(__tstate
);
36157 if (PyErr_Occurred()) SWIG_fail
;
36159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36166 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36167 PyObject
*resultobj
= 0;
36168 wxRendererNative
*result
= 0 ;
36170 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
36172 if (!wxPyCheckForApp()) SWIG_fail
;
36173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36175 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
36176 result
= (wxRendererNative
*) &_result_ref
;
36178 wxPyEndAllowThreads(__tstate
);
36179 if (PyErr_Occurred()) SWIG_fail
;
36181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36188 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36189 PyObject
*resultobj
= 0;
36190 wxRendererNative
*result
= 0 ;
36192 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
36194 if (!wxPyCheckForApp()) SWIG_fail
;
36195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36197 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
36198 result
= (wxRendererNative
*) &_result_ref
;
36200 wxPyEndAllowThreads(__tstate
);
36201 if (PyErr_Occurred()) SWIG_fail
;
36203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36210 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36211 PyObject
*resultobj
= 0;
36212 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
36213 wxRendererNative
*result
= 0 ;
36216 PyObject
* obj0
= 0 ;
36217 char * kwnames
[] = {
36218 (char *) "renderer", NULL
36221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
36222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36223 if (!SWIG_IsOK(res1
)) {
36224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
36226 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
36228 if (!wxPyCheckForApp()) SWIG_fail
;
36229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36230 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
36231 wxPyEndAllowThreads(__tstate
);
36232 if (PyErr_Occurred()) SWIG_fail
;
36234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36241 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36242 PyObject
*resultobj
= 0;
36243 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
36244 SwigValueWrapper
<wxRendererVersion
> result
;
36247 PyObject
*swig_obj
[1] ;
36249 if (!args
) SWIG_fail
;
36250 swig_obj
[0] = args
;
36251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36252 if (!SWIG_IsOK(res1
)) {
36253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
36255 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
36257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36258 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
36259 wxPyEndAllowThreads(__tstate
);
36260 if (PyErr_Occurred()) SWIG_fail
;
36262 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
36269 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36271 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36272 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
36273 return SWIG_Py_Void();
36276 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36277 PyObject
*resultobj
= 0;
36278 wxPseudoDC
*result
= 0 ;
36280 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
36282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36283 result
= (wxPseudoDC
*)new wxPseudoDC();
36284 wxPyEndAllowThreads(__tstate
);
36285 if (PyErr_Occurred()) SWIG_fail
;
36287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
36294 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36295 PyObject
*resultobj
= 0;
36296 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36299 PyObject
*swig_obj
[1] ;
36301 if (!args
) SWIG_fail
;
36302 swig_obj
[0] = args
;
36303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36304 if (!SWIG_IsOK(res1
)) {
36305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36307 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36310 (arg1
)->BeginDrawing();
36311 wxPyEndAllowThreads(__tstate
);
36312 if (PyErr_Occurred()) SWIG_fail
;
36314 resultobj
= SWIG_Py_Void();
36321 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36322 PyObject
*resultobj
= 0;
36323 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36326 PyObject
*swig_obj
[1] ;
36328 if (!args
) SWIG_fail
;
36329 swig_obj
[0] = args
;
36330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36331 if (!SWIG_IsOK(res1
)) {
36332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36334 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36337 (arg1
)->EndDrawing();
36338 wxPyEndAllowThreads(__tstate
);
36339 if (PyErr_Occurred()) SWIG_fail
;
36341 resultobj
= SWIG_Py_Void();
36348 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36349 PyObject
*resultobj
= 0;
36350 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36353 PyObject
*swig_obj
[1] ;
36355 if (!args
) SWIG_fail
;
36356 swig_obj
[0] = args
;
36357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
36358 if (!SWIG_IsOK(res1
)) {
36359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36361 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36366 wxPyEndAllowThreads(__tstate
);
36367 if (PyErr_Occurred()) SWIG_fail
;
36369 resultobj
= SWIG_Py_Void();
36376 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36377 PyObject
*resultobj
= 0;
36378 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36381 PyObject
*swig_obj
[1] ;
36383 if (!args
) SWIG_fail
;
36384 swig_obj
[0] = args
;
36385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36386 if (!SWIG_IsOK(res1
)) {
36387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36389 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36392 (arg1
)->RemoveAll();
36393 wxPyEndAllowThreads(__tstate
);
36394 if (PyErr_Occurred()) SWIG_fail
;
36396 resultobj
= SWIG_Py_Void();
36403 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36404 PyObject
*resultobj
= 0;
36405 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36409 PyObject
*swig_obj
[1] ;
36411 if (!args
) SWIG_fail
;
36412 swig_obj
[0] = args
;
36413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36414 if (!SWIG_IsOK(res1
)) {
36415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36417 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36420 result
= (int)(arg1
)->GetLen();
36421 wxPyEndAllowThreads(__tstate
);
36422 if (PyErr_Occurred()) SWIG_fail
;
36424 resultobj
= SWIG_From_int(static_cast< int >(result
));
36431 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36432 PyObject
*resultobj
= 0;
36433 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36439 PyObject
* obj0
= 0 ;
36440 PyObject
* obj1
= 0 ;
36441 char * kwnames
[] = {
36442 (char *) "self",(char *) "id", NULL
36445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36447 if (!SWIG_IsOK(res1
)) {
36448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36450 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36452 if (!SWIG_IsOK(ecode2
)) {
36453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
36455 arg2
= static_cast< int >(val2
);
36457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36458 (arg1
)->SetId(arg2
);
36459 wxPyEndAllowThreads(__tstate
);
36460 if (PyErr_Occurred()) SWIG_fail
;
36462 resultobj
= SWIG_Py_Void();
36469 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36470 PyObject
*resultobj
= 0;
36471 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36477 PyObject
* obj0
= 0 ;
36478 PyObject
* obj1
= 0 ;
36479 char * kwnames
[] = {
36480 (char *) "self",(char *) "id", NULL
36483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36485 if (!SWIG_IsOK(res1
)) {
36486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36488 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36490 if (!SWIG_IsOK(ecode2
)) {
36491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
36493 arg2
= static_cast< int >(val2
);
36495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36496 (arg1
)->ClearId(arg2
);
36497 wxPyEndAllowThreads(__tstate
);
36498 if (PyErr_Occurred()) SWIG_fail
;
36500 resultobj
= SWIG_Py_Void();
36507 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36508 PyObject
*resultobj
= 0;
36509 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36515 PyObject
* obj0
= 0 ;
36516 PyObject
* obj1
= 0 ;
36517 char * kwnames
[] = {
36518 (char *) "self",(char *) "id", NULL
36521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36523 if (!SWIG_IsOK(res1
)) {
36524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36526 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36528 if (!SWIG_IsOK(ecode2
)) {
36529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
36531 arg2
= static_cast< int >(val2
);
36533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36534 (arg1
)->RemoveId(arg2
);
36535 wxPyEndAllowThreads(__tstate
);
36536 if (PyErr_Occurred()) SWIG_fail
;
36538 resultobj
= SWIG_Py_Void();
36545 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36546 PyObject
*resultobj
= 0;
36547 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36559 PyObject
* obj0
= 0 ;
36560 PyObject
* obj1
= 0 ;
36561 PyObject
* obj2
= 0 ;
36562 PyObject
* obj3
= 0 ;
36563 char * kwnames
[] = {
36564 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
36567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36569 if (!SWIG_IsOK(res1
)) {
36570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36572 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36574 if (!SWIG_IsOK(ecode2
)) {
36575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
36577 arg2
= static_cast< int >(val2
);
36578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36579 if (!SWIG_IsOK(ecode3
)) {
36580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
36582 arg3
= static_cast< int >(val3
);
36583 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36584 if (!SWIG_IsOK(ecode4
)) {
36585 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
36587 arg4
= static_cast< int >(val4
);
36589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36590 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
36591 wxPyEndAllowThreads(__tstate
);
36592 if (PyErr_Occurred()) SWIG_fail
;
36594 resultobj
= SWIG_Py_Void();
36601 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36602 PyObject
*resultobj
= 0;
36603 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36605 bool arg3
= (bool) true ;
36612 PyObject
* obj0
= 0 ;
36613 PyObject
* obj1
= 0 ;
36614 PyObject
* obj2
= 0 ;
36615 char * kwnames
[] = {
36616 (char *) "self",(char *) "id",(char *) "greyout", NULL
36619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36621 if (!SWIG_IsOK(res1
)) {
36622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36624 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36626 if (!SWIG_IsOK(ecode2
)) {
36627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36629 arg2
= static_cast< int >(val2
);
36631 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36632 if (!SWIG_IsOK(ecode3
)) {
36633 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
36635 arg3
= static_cast< bool >(val3
);
36638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36639 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
36640 wxPyEndAllowThreads(__tstate
);
36641 if (PyErr_Occurred()) SWIG_fail
;
36643 resultobj
= SWIG_Py_Void();
36650 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36651 PyObject
*resultobj
= 0;
36652 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36659 PyObject
* obj0
= 0 ;
36660 PyObject
* obj1
= 0 ;
36661 char * kwnames
[] = {
36662 (char *) "self",(char *) "id", NULL
36665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36667 if (!SWIG_IsOK(res1
)) {
36668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36670 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36672 if (!SWIG_IsOK(ecode2
)) {
36673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36675 arg2
= static_cast< int >(val2
);
36677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36678 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
36679 wxPyEndAllowThreads(__tstate
);
36680 if (PyErr_Occurred()) SWIG_fail
;
36683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36691 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36692 PyObject
*resultobj
= 0;
36693 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36696 int arg4
= (int) 1 ;
36697 wxColour
const &arg5_defvalue
= *wxWHITE
;
36698 wxColour
*arg5
= (wxColour
*) &arg5_defvalue
;
36699 PyObject
*result
= 0 ;
36709 PyObject
* obj0
= 0 ;
36710 PyObject
* obj1
= 0 ;
36711 PyObject
* obj2
= 0 ;
36712 PyObject
* obj3
= 0 ;
36713 PyObject
* obj4
= 0 ;
36714 char * kwnames
[] = {
36715 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
36718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36720 if (!SWIG_IsOK(res1
)) {
36721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36723 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36725 if (!SWIG_IsOK(ecode2
)) {
36726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
36728 arg2
= static_cast< int >(val2
);
36729 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36730 if (!SWIG_IsOK(ecode3
)) {
36731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
36733 arg3
= static_cast< int >(val3
);
36735 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36736 if (!SWIG_IsOK(ecode4
)) {
36737 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
36739 arg4
= static_cast< int >(val4
);
36744 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
36748 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColour
const &)*arg5
);
36749 if (PyErr_Occurred()) SWIG_fail
;
36751 resultobj
= result
;
36758 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36759 PyObject
*resultobj
= 0;
36760 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36763 PyObject
*result
= 0 ;
36770 PyObject
* obj0
= 0 ;
36771 PyObject
* obj1
= 0 ;
36772 PyObject
* obj2
= 0 ;
36773 char * kwnames
[] = {
36774 (char *) "self",(char *) "x",(char *) "y", NULL
36777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36779 if (!SWIG_IsOK(res1
)) {
36780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36782 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36784 if (!SWIG_IsOK(ecode2
)) {
36785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
36787 arg2
= static_cast< int >(val2
);
36788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36789 if (!SWIG_IsOK(ecode3
)) {
36790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
36792 arg3
= static_cast< int >(val3
);
36794 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
36795 if (PyErr_Occurred()) SWIG_fail
;
36797 resultobj
= result
;
36804 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36805 PyObject
*resultobj
= 0;
36806 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36808 wxDC
*arg3
= (wxDC
*) 0 ;
36815 PyObject
* obj0
= 0 ;
36816 PyObject
* obj1
= 0 ;
36817 PyObject
* obj2
= 0 ;
36818 char * kwnames
[] = {
36819 (char *) "self",(char *) "id",(char *) "dc", NULL
36822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36824 if (!SWIG_IsOK(res1
)) {
36825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36827 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36829 if (!SWIG_IsOK(ecode2
)) {
36830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
36832 arg2
= static_cast< int >(val2
);
36833 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
36834 if (!SWIG_IsOK(res3
)) {
36835 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
36837 arg3
= reinterpret_cast< wxDC
* >(argp3
);
36839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36840 (arg1
)->DrawIdToDC(arg2
,arg3
);
36841 wxPyEndAllowThreads(__tstate
);
36842 if (PyErr_Occurred()) SWIG_fail
;
36844 resultobj
= SWIG_Py_Void();
36851 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36852 PyObject
*resultobj
= 0;
36853 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36861 PyObject
* obj0
= 0 ;
36862 PyObject
* obj1
= 0 ;
36863 PyObject
* obj2
= 0 ;
36864 char * kwnames
[] = {
36865 (char *) "self",(char *) "id",(char *) "rect", NULL
36868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36870 if (!SWIG_IsOK(res1
)) {
36871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36873 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36875 if (!SWIG_IsOK(ecode2
)) {
36876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
36878 arg2
= static_cast< int >(val2
);
36881 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36885 (arg1
)->SetIdBounds(arg2
,*arg3
);
36886 wxPyEndAllowThreads(__tstate
);
36887 if (PyErr_Occurred()) SWIG_fail
;
36889 resultobj
= SWIG_Py_Void();
36896 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36897 PyObject
*resultobj
= 0;
36898 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36905 PyObject
* obj0
= 0 ;
36906 PyObject
* obj1
= 0 ;
36907 char * kwnames
[] = {
36908 (char *) "self",(char *) "id", NULL
36911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36913 if (!SWIG_IsOK(res1
)) {
36914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36916 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36918 if (!SWIG_IsOK(ecode2
)) {
36919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
36921 arg2
= static_cast< int >(val2
);
36923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36924 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
36925 wxPyEndAllowThreads(__tstate
);
36926 if (PyErr_Occurred()) SWIG_fail
;
36928 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36935 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36936 PyObject
*resultobj
= 0;
36937 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36938 wxDC
*arg2
= (wxDC
*) 0 ;
36945 PyObject
* obj0
= 0 ;
36946 PyObject
* obj1
= 0 ;
36947 PyObject
* obj2
= 0 ;
36948 char * kwnames
[] = {
36949 (char *) "self",(char *) "dc",(char *) "rect", NULL
36952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36954 if (!SWIG_IsOK(res1
)) {
36955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36957 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36958 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36959 if (!SWIG_IsOK(res2
)) {
36960 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
36962 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36965 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36969 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36970 wxPyEndAllowThreads(__tstate
);
36971 if (PyErr_Occurred()) SWIG_fail
;
36973 resultobj
= SWIG_Py_Void();
36980 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36981 PyObject
*resultobj
= 0;
36982 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36983 wxDC
*arg2
= (wxDC
*) 0 ;
36984 wxRegion
*arg3
= 0 ;
36991 PyObject
* obj0
= 0 ;
36992 PyObject
* obj1
= 0 ;
36993 PyObject
* obj2
= 0 ;
36994 char * kwnames
[] = {
36995 (char *) "self",(char *) "dc",(char *) "region", NULL
36998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37000 if (!SWIG_IsOK(res1
)) {
37001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37003 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37004 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
37005 if (!SWIG_IsOK(res2
)) {
37006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
37008 arg2
= reinterpret_cast< wxDC
* >(argp2
);
37009 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
37010 if (!SWIG_IsOK(res3
)) {
37011 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
37014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
37016 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
37018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37019 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
37020 wxPyEndAllowThreads(__tstate
);
37021 if (PyErr_Occurred()) SWIG_fail
;
37023 resultobj
= SWIG_Py_Void();
37030 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37031 PyObject
*resultobj
= 0;
37032 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37033 wxDC
*arg2
= (wxDC
*) 0 ;
37038 PyObject
* obj0
= 0 ;
37039 PyObject
* obj1
= 0 ;
37040 char * kwnames
[] = {
37041 (char *) "self",(char *) "dc", NULL
37044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37046 if (!SWIG_IsOK(res1
)) {
37047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37049 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37050 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
37051 if (!SWIG_IsOK(res2
)) {
37052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
37054 arg2
= reinterpret_cast< wxDC
* >(argp2
);
37056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37057 (arg1
)->DrawToDC(arg2
);
37058 wxPyEndAllowThreads(__tstate
);
37059 if (PyErr_Occurred()) SWIG_fail
;
37061 resultobj
= SWIG_Py_Void();
37068 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37069 PyObject
*resultobj
= 0;
37070 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37073 wxColour
*arg4
= 0 ;
37074 int arg5
= (int) wxFLOOD_SURFACE
;
37084 PyObject
* obj0
= 0 ;
37085 PyObject
* obj1
= 0 ;
37086 PyObject
* obj2
= 0 ;
37087 PyObject
* obj3
= 0 ;
37088 PyObject
* obj4
= 0 ;
37089 char * kwnames
[] = {
37090 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
37093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37095 if (!SWIG_IsOK(res1
)) {
37096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37098 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37100 if (!SWIG_IsOK(ecode2
)) {
37101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
37103 arg2
= static_cast< int >(val2
);
37104 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37105 if (!SWIG_IsOK(ecode3
)) {
37106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
37108 arg3
= static_cast< int >(val3
);
37111 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
37114 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37115 if (!SWIG_IsOK(ecode5
)) {
37116 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
37118 arg5
= static_cast< int >(val5
);
37121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37122 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
37123 wxPyEndAllowThreads(__tstate
);
37124 if (PyErr_Occurred()) SWIG_fail
;
37126 resultobj
= SWIG_Py_Void();
37133 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37134 PyObject
*resultobj
= 0;
37135 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37136 wxPoint
*arg2
= 0 ;
37137 wxColour
*arg3
= 0 ;
37138 int arg4
= (int) wxFLOOD_SURFACE
;
37145 PyObject
* obj0
= 0 ;
37146 PyObject
* obj1
= 0 ;
37147 PyObject
* obj2
= 0 ;
37148 PyObject
* obj3
= 0 ;
37149 char * kwnames
[] = {
37150 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
37153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37155 if (!SWIG_IsOK(res1
)) {
37156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37158 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37161 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37165 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
37168 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37169 if (!SWIG_IsOK(ecode4
)) {
37170 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
37172 arg4
= static_cast< int >(val4
);
37175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37176 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
37177 wxPyEndAllowThreads(__tstate
);
37178 if (PyErr_Occurred()) SWIG_fail
;
37180 resultobj
= SWIG_Py_Void();
37187 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37188 PyObject
*resultobj
= 0;
37189 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37204 PyObject
* obj0
= 0 ;
37205 PyObject
* obj1
= 0 ;
37206 PyObject
* obj2
= 0 ;
37207 PyObject
* obj3
= 0 ;
37208 PyObject
* obj4
= 0 ;
37209 char * kwnames
[] = {
37210 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
37213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37215 if (!SWIG_IsOK(res1
)) {
37216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37218 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37220 if (!SWIG_IsOK(ecode2
)) {
37221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
37223 arg2
= static_cast< int >(val2
);
37224 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37225 if (!SWIG_IsOK(ecode3
)) {
37226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
37228 arg3
= static_cast< int >(val3
);
37229 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37230 if (!SWIG_IsOK(ecode4
)) {
37231 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
37233 arg4
= static_cast< int >(val4
);
37234 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37235 if (!SWIG_IsOK(ecode5
)) {
37236 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
37238 arg5
= static_cast< int >(val5
);
37240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37241 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
37242 wxPyEndAllowThreads(__tstate
);
37243 if (PyErr_Occurred()) SWIG_fail
;
37245 resultobj
= SWIG_Py_Void();
37252 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37253 PyObject
*resultobj
= 0;
37254 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37255 wxPoint
*arg2
= 0 ;
37256 wxPoint
*arg3
= 0 ;
37261 PyObject
* obj0
= 0 ;
37262 PyObject
* obj1
= 0 ;
37263 PyObject
* obj2
= 0 ;
37264 char * kwnames
[] = {
37265 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
37268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37270 if (!SWIG_IsOK(res1
)) {
37271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37273 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37276 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37280 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37284 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
37285 wxPyEndAllowThreads(__tstate
);
37286 if (PyErr_Occurred()) SWIG_fail
;
37288 resultobj
= SWIG_Py_Void();
37295 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37296 PyObject
*resultobj
= 0;
37297 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37306 PyObject
* obj0
= 0 ;
37307 PyObject
* obj1
= 0 ;
37308 PyObject
* obj2
= 0 ;
37309 char * kwnames
[] = {
37310 (char *) "self",(char *) "x",(char *) "y", NULL
37313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37315 if (!SWIG_IsOK(res1
)) {
37316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37318 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37320 if (!SWIG_IsOK(ecode2
)) {
37321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
37323 arg2
= static_cast< int >(val2
);
37324 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37325 if (!SWIG_IsOK(ecode3
)) {
37326 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
37328 arg3
= static_cast< int >(val3
);
37330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37331 (arg1
)->CrossHair(arg2
,arg3
);
37332 wxPyEndAllowThreads(__tstate
);
37333 if (PyErr_Occurred()) SWIG_fail
;
37335 resultobj
= SWIG_Py_Void();
37342 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37343 PyObject
*resultobj
= 0;
37344 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37345 wxPoint
*arg2
= 0 ;
37349 PyObject
* obj0
= 0 ;
37350 PyObject
* obj1
= 0 ;
37351 char * kwnames
[] = {
37352 (char *) "self",(char *) "pt", NULL
37355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37357 if (!SWIG_IsOK(res1
)) {
37358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37360 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37363 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37367 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
37368 wxPyEndAllowThreads(__tstate
);
37369 if (PyErr_Occurred()) SWIG_fail
;
37371 resultobj
= SWIG_Py_Void();
37378 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37379 PyObject
*resultobj
= 0;
37380 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37401 PyObject
* obj0
= 0 ;
37402 PyObject
* obj1
= 0 ;
37403 PyObject
* obj2
= 0 ;
37404 PyObject
* obj3
= 0 ;
37405 PyObject
* obj4
= 0 ;
37406 PyObject
* obj5
= 0 ;
37407 PyObject
* obj6
= 0 ;
37408 char * kwnames
[] = {
37409 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
37412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37414 if (!SWIG_IsOK(res1
)) {
37415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37417 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37419 if (!SWIG_IsOK(ecode2
)) {
37420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
37422 arg2
= static_cast< int >(val2
);
37423 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37424 if (!SWIG_IsOK(ecode3
)) {
37425 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
37427 arg3
= static_cast< int >(val3
);
37428 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37429 if (!SWIG_IsOK(ecode4
)) {
37430 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
37432 arg4
= static_cast< int >(val4
);
37433 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37434 if (!SWIG_IsOK(ecode5
)) {
37435 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
37437 arg5
= static_cast< int >(val5
);
37438 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37439 if (!SWIG_IsOK(ecode6
)) {
37440 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
37442 arg6
= static_cast< int >(val6
);
37443 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
37444 if (!SWIG_IsOK(ecode7
)) {
37445 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
37447 arg7
= static_cast< int >(val7
);
37449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37450 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37451 wxPyEndAllowThreads(__tstate
);
37452 if (PyErr_Occurred()) SWIG_fail
;
37454 resultobj
= SWIG_Py_Void();
37461 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37462 PyObject
*resultobj
= 0;
37463 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37464 wxPoint
*arg2
= 0 ;
37465 wxPoint
*arg3
= 0 ;
37466 wxPoint
*arg4
= 0 ;
37472 PyObject
* obj0
= 0 ;
37473 PyObject
* obj1
= 0 ;
37474 PyObject
* obj2
= 0 ;
37475 PyObject
* obj3
= 0 ;
37476 char * kwnames
[] = {
37477 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
37480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37482 if (!SWIG_IsOK(res1
)) {
37483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37485 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37488 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37492 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37496 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37500 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
37501 wxPyEndAllowThreads(__tstate
);
37502 if (PyErr_Occurred()) SWIG_fail
;
37504 resultobj
= SWIG_Py_Void();
37511 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37512 PyObject
*resultobj
= 0;
37513 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37528 PyObject
* obj0
= 0 ;
37529 PyObject
* obj1
= 0 ;
37530 PyObject
* obj2
= 0 ;
37531 PyObject
* obj3
= 0 ;
37532 PyObject
* obj4
= 0 ;
37533 char * kwnames
[] = {
37534 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37539 if (!SWIG_IsOK(res1
)) {
37540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37542 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37544 if (!SWIG_IsOK(ecode2
)) {
37545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
37547 arg2
= static_cast< int >(val2
);
37548 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37549 if (!SWIG_IsOK(ecode3
)) {
37550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
37552 arg3
= static_cast< int >(val3
);
37553 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37554 if (!SWIG_IsOK(ecode4
)) {
37555 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
37557 arg4
= static_cast< int >(val4
);
37558 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37559 if (!SWIG_IsOK(ecode5
)) {
37560 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
37562 arg5
= static_cast< int >(val5
);
37564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37565 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
37566 wxPyEndAllowThreads(__tstate
);
37567 if (PyErr_Occurred()) SWIG_fail
;
37569 resultobj
= SWIG_Py_Void();
37576 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37577 PyObject
*resultobj
= 0;
37578 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37583 PyObject
* obj0
= 0 ;
37584 PyObject
* obj1
= 0 ;
37585 char * kwnames
[] = {
37586 (char *) "self",(char *) "rect", NULL
37589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37591 if (!SWIG_IsOK(res1
)) {
37592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37594 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37597 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37601 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
37602 wxPyEndAllowThreads(__tstate
);
37603 if (PyErr_Occurred()) SWIG_fail
;
37605 resultobj
= SWIG_Py_Void();
37612 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37613 PyObject
*resultobj
= 0;
37614 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37635 PyObject
* obj0
= 0 ;
37636 PyObject
* obj1
= 0 ;
37637 PyObject
* obj2
= 0 ;
37638 PyObject
* obj3
= 0 ;
37639 PyObject
* obj4
= 0 ;
37640 PyObject
* obj5
= 0 ;
37641 PyObject
* obj6
= 0 ;
37642 char * kwnames
[] = {
37643 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
37646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37648 if (!SWIG_IsOK(res1
)) {
37649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37651 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37653 if (!SWIG_IsOK(ecode2
)) {
37654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
37656 arg2
= static_cast< int >(val2
);
37657 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37658 if (!SWIG_IsOK(ecode3
)) {
37659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
37661 arg3
= static_cast< int >(val3
);
37662 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37663 if (!SWIG_IsOK(ecode4
)) {
37664 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
37666 arg4
= static_cast< int >(val4
);
37667 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37668 if (!SWIG_IsOK(ecode5
)) {
37669 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
37671 arg5
= static_cast< int >(val5
);
37672 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37673 if (!SWIG_IsOK(ecode6
)) {
37674 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
37676 arg6
= static_cast< double >(val6
);
37677 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
37678 if (!SWIG_IsOK(ecode7
)) {
37679 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
37681 arg7
= static_cast< double >(val7
);
37683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37684 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37685 wxPyEndAllowThreads(__tstate
);
37686 if (PyErr_Occurred()) SWIG_fail
;
37688 resultobj
= SWIG_Py_Void();
37695 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37696 PyObject
*resultobj
= 0;
37697 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37698 wxPoint
*arg2
= 0 ;
37710 PyObject
* obj0
= 0 ;
37711 PyObject
* obj1
= 0 ;
37712 PyObject
* obj2
= 0 ;
37713 PyObject
* obj3
= 0 ;
37714 PyObject
* obj4
= 0 ;
37715 char * kwnames
[] = {
37716 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
37719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37721 if (!SWIG_IsOK(res1
)) {
37722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37724 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37727 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37731 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37733 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37734 if (!SWIG_IsOK(ecode4
)) {
37735 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
37737 arg4
= static_cast< double >(val4
);
37738 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37739 if (!SWIG_IsOK(ecode5
)) {
37740 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
37742 arg5
= static_cast< double >(val5
);
37744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37745 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
37746 wxPyEndAllowThreads(__tstate
);
37747 if (PyErr_Occurred()) SWIG_fail
;
37749 resultobj
= SWIG_Py_Void();
37756 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37757 PyObject
*resultobj
= 0;
37758 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37767 PyObject
* obj0
= 0 ;
37768 PyObject
* obj1
= 0 ;
37769 PyObject
* obj2
= 0 ;
37770 char * kwnames
[] = {
37771 (char *) "self",(char *) "x",(char *) "y", NULL
37774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37776 if (!SWIG_IsOK(res1
)) {
37777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37779 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37781 if (!SWIG_IsOK(ecode2
)) {
37782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
37784 arg2
= static_cast< int >(val2
);
37785 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37786 if (!SWIG_IsOK(ecode3
)) {
37787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
37789 arg3
= static_cast< int >(val3
);
37791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37792 (arg1
)->DrawPoint(arg2
,arg3
);
37793 wxPyEndAllowThreads(__tstate
);
37794 if (PyErr_Occurred()) SWIG_fail
;
37796 resultobj
= SWIG_Py_Void();
37803 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37804 PyObject
*resultobj
= 0;
37805 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37806 wxPoint
*arg2
= 0 ;
37810 PyObject
* obj0
= 0 ;
37811 PyObject
* obj1
= 0 ;
37812 char * kwnames
[] = {
37813 (char *) "self",(char *) "pt", NULL
37816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37818 if (!SWIG_IsOK(res1
)) {
37819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37821 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37824 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37828 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
37829 wxPyEndAllowThreads(__tstate
);
37830 if (PyErr_Occurred()) SWIG_fail
;
37832 resultobj
= SWIG_Py_Void();
37839 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37840 PyObject
*resultobj
= 0;
37841 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37856 PyObject
* obj0
= 0 ;
37857 PyObject
* obj1
= 0 ;
37858 PyObject
* obj2
= 0 ;
37859 PyObject
* obj3
= 0 ;
37860 PyObject
* obj4
= 0 ;
37861 char * kwnames
[] = {
37862 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37867 if (!SWIG_IsOK(res1
)) {
37868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37870 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37872 if (!SWIG_IsOK(ecode2
)) {
37873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
37875 arg2
= static_cast< int >(val2
);
37876 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37877 if (!SWIG_IsOK(ecode3
)) {
37878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
37880 arg3
= static_cast< int >(val3
);
37881 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37882 if (!SWIG_IsOK(ecode4
)) {
37883 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
37885 arg4
= static_cast< int >(val4
);
37886 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37887 if (!SWIG_IsOK(ecode5
)) {
37888 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
37890 arg5
= static_cast< int >(val5
);
37892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37893 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
37894 wxPyEndAllowThreads(__tstate
);
37895 if (PyErr_Occurred()) SWIG_fail
;
37897 resultobj
= SWIG_Py_Void();
37904 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37905 PyObject
*resultobj
= 0;
37906 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37911 PyObject
* obj0
= 0 ;
37912 PyObject
* obj1
= 0 ;
37913 char * kwnames
[] = {
37914 (char *) "self",(char *) "rect", NULL
37917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37919 if (!SWIG_IsOK(res1
)) {
37920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37922 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37925 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37929 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
37930 wxPyEndAllowThreads(__tstate
);
37931 if (PyErr_Occurred()) SWIG_fail
;
37933 resultobj
= SWIG_Py_Void();
37940 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37941 PyObject
*resultobj
= 0;
37942 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37943 wxPoint
*arg2
= 0 ;
37949 PyObject
* obj0
= 0 ;
37950 PyObject
* obj1
= 0 ;
37951 PyObject
* obj2
= 0 ;
37952 char * kwnames
[] = {
37953 (char *) "self",(char *) "pt",(char *) "sz", NULL
37956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37958 if (!SWIG_IsOK(res1
)) {
37959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37961 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37964 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37968 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37972 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37973 wxPyEndAllowThreads(__tstate
);
37974 if (PyErr_Occurred()) SWIG_fail
;
37976 resultobj
= SWIG_Py_Void();
37983 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37984 PyObject
*resultobj
= 0;
37985 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38003 PyObject
* obj0
= 0 ;
38004 PyObject
* obj1
= 0 ;
38005 PyObject
* obj2
= 0 ;
38006 PyObject
* obj3
= 0 ;
38007 PyObject
* obj4
= 0 ;
38008 PyObject
* obj5
= 0 ;
38009 char * kwnames
[] = {
38010 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
38013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38015 if (!SWIG_IsOK(res1
)) {
38016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38018 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38020 if (!SWIG_IsOK(ecode2
)) {
38021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
38023 arg2
= static_cast< int >(val2
);
38024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38025 if (!SWIG_IsOK(ecode3
)) {
38026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
38028 arg3
= static_cast< int >(val3
);
38029 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38030 if (!SWIG_IsOK(ecode4
)) {
38031 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
38033 arg4
= static_cast< int >(val4
);
38034 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38035 if (!SWIG_IsOK(ecode5
)) {
38036 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
38038 arg5
= static_cast< int >(val5
);
38039 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
38040 if (!SWIG_IsOK(ecode6
)) {
38041 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
38043 arg6
= static_cast< double >(val6
);
38045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38046 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
38047 wxPyEndAllowThreads(__tstate
);
38048 if (PyErr_Occurred()) SWIG_fail
;
38050 resultobj
= SWIG_Py_Void();
38057 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38058 PyObject
*resultobj
= 0;
38059 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38067 PyObject
* obj0
= 0 ;
38068 PyObject
* obj1
= 0 ;
38069 PyObject
* obj2
= 0 ;
38070 char * kwnames
[] = {
38071 (char *) "self",(char *) "r",(char *) "radius", NULL
38074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38076 if (!SWIG_IsOK(res1
)) {
38077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38079 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38082 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
38084 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
38085 if (!SWIG_IsOK(ecode3
)) {
38086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
38088 arg3
= static_cast< double >(val3
);
38090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38091 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
38092 wxPyEndAllowThreads(__tstate
);
38093 if (PyErr_Occurred()) SWIG_fail
;
38095 resultobj
= SWIG_Py_Void();
38102 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38103 PyObject
*resultobj
= 0;
38104 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38105 wxPoint
*arg2
= 0 ;
38114 PyObject
* obj0
= 0 ;
38115 PyObject
* obj1
= 0 ;
38116 PyObject
* obj2
= 0 ;
38117 PyObject
* obj3
= 0 ;
38118 char * kwnames
[] = {
38119 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
38122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38124 if (!SWIG_IsOK(res1
)) {
38125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38127 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38130 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38134 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
38136 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
38137 if (!SWIG_IsOK(ecode4
)) {
38138 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
38140 arg4
= static_cast< double >(val4
);
38142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38143 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
38144 wxPyEndAllowThreads(__tstate
);
38145 if (PyErr_Occurred()) SWIG_fail
;
38147 resultobj
= SWIG_Py_Void();
38154 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38155 PyObject
*resultobj
= 0;
38156 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38168 PyObject
* obj0
= 0 ;
38169 PyObject
* obj1
= 0 ;
38170 PyObject
* obj2
= 0 ;
38171 PyObject
* obj3
= 0 ;
38172 char * kwnames
[] = {
38173 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
38176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38178 if (!SWIG_IsOK(res1
)) {
38179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38181 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38183 if (!SWIG_IsOK(ecode2
)) {
38184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
38186 arg2
= static_cast< int >(val2
);
38187 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38188 if (!SWIG_IsOK(ecode3
)) {
38189 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
38191 arg3
= static_cast< int >(val3
);
38192 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38193 if (!SWIG_IsOK(ecode4
)) {
38194 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
38196 arg4
= static_cast< int >(val4
);
38198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38199 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
38200 wxPyEndAllowThreads(__tstate
);
38201 if (PyErr_Occurred()) SWIG_fail
;
38203 resultobj
= SWIG_Py_Void();
38210 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38211 PyObject
*resultobj
= 0;
38212 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38213 wxPoint
*arg2
= 0 ;
38220 PyObject
* obj0
= 0 ;
38221 PyObject
* obj1
= 0 ;
38222 PyObject
* obj2
= 0 ;
38223 char * kwnames
[] = {
38224 (char *) "self",(char *) "pt",(char *) "radius", NULL
38227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38229 if (!SWIG_IsOK(res1
)) {
38230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38232 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38235 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38237 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38238 if (!SWIG_IsOK(ecode3
)) {
38239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
38241 arg3
= static_cast< int >(val3
);
38243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38244 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
38245 wxPyEndAllowThreads(__tstate
);
38246 if (PyErr_Occurred()) SWIG_fail
;
38248 resultobj
= SWIG_Py_Void();
38255 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38256 PyObject
*resultobj
= 0;
38257 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38272 PyObject
* obj0
= 0 ;
38273 PyObject
* obj1
= 0 ;
38274 PyObject
* obj2
= 0 ;
38275 PyObject
* obj3
= 0 ;
38276 PyObject
* obj4
= 0 ;
38277 char * kwnames
[] = {
38278 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38283 if (!SWIG_IsOK(res1
)) {
38284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38286 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38288 if (!SWIG_IsOK(ecode2
)) {
38289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
38291 arg2
= static_cast< int >(val2
);
38292 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38293 if (!SWIG_IsOK(ecode3
)) {
38294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
38296 arg3
= static_cast< int >(val3
);
38297 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38298 if (!SWIG_IsOK(ecode4
)) {
38299 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
38301 arg4
= static_cast< int >(val4
);
38302 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38303 if (!SWIG_IsOK(ecode5
)) {
38304 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
38306 arg5
= static_cast< int >(val5
);
38308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38309 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
38310 wxPyEndAllowThreads(__tstate
);
38311 if (PyErr_Occurred()) SWIG_fail
;
38313 resultobj
= SWIG_Py_Void();
38320 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38321 PyObject
*resultobj
= 0;
38322 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38327 PyObject
* obj0
= 0 ;
38328 PyObject
* obj1
= 0 ;
38329 char * kwnames
[] = {
38330 (char *) "self",(char *) "rect", NULL
38333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38335 if (!SWIG_IsOK(res1
)) {
38336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38338 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38341 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
38344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38345 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
38346 wxPyEndAllowThreads(__tstate
);
38347 if (PyErr_Occurred()) SWIG_fail
;
38349 resultobj
= SWIG_Py_Void();
38356 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38357 PyObject
*resultobj
= 0;
38358 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38359 wxPoint
*arg2
= 0 ;
38365 PyObject
* obj0
= 0 ;
38366 PyObject
* obj1
= 0 ;
38367 PyObject
* obj2
= 0 ;
38368 char * kwnames
[] = {
38369 (char *) "self",(char *) "pt",(char *) "sz", NULL
38372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38374 if (!SWIG_IsOK(res1
)) {
38375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38377 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38380 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38384 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
38387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38388 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
38389 wxPyEndAllowThreads(__tstate
);
38390 if (PyErr_Occurred()) SWIG_fail
;
38392 resultobj
= SWIG_Py_Void();
38399 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38400 PyObject
*resultobj
= 0;
38401 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38413 PyObject
* obj0
= 0 ;
38414 PyObject
* obj1
= 0 ;
38415 PyObject
* obj2
= 0 ;
38416 PyObject
* obj3
= 0 ;
38417 char * kwnames
[] = {
38418 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
38421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38423 if (!SWIG_IsOK(res1
)) {
38424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38426 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38427 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38428 if (!SWIG_IsOK(res2
)) {
38429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38432 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38434 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38435 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38436 if (!SWIG_IsOK(ecode3
)) {
38437 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
38439 arg3
= static_cast< int >(val3
);
38440 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38441 if (!SWIG_IsOK(ecode4
)) {
38442 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
38444 arg4
= static_cast< int >(val4
);
38446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38447 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
38448 wxPyEndAllowThreads(__tstate
);
38449 if (PyErr_Occurred()) SWIG_fail
;
38451 resultobj
= SWIG_Py_Void();
38458 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38459 PyObject
*resultobj
= 0;
38460 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38462 wxPoint
*arg3
= 0 ;
38468 PyObject
* obj0
= 0 ;
38469 PyObject
* obj1
= 0 ;
38470 PyObject
* obj2
= 0 ;
38471 char * kwnames
[] = {
38472 (char *) "self",(char *) "icon",(char *) "pt", NULL
38475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38477 if (!SWIG_IsOK(res1
)) {
38478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38480 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38481 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38482 if (!SWIG_IsOK(res2
)) {
38483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
38486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
38488 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38491 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38495 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
38496 wxPyEndAllowThreads(__tstate
);
38497 if (PyErr_Occurred()) SWIG_fail
;
38499 resultobj
= SWIG_Py_Void();
38506 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38507 PyObject
*resultobj
= 0;
38508 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38509 wxBitmap
*arg2
= 0 ;
38512 bool arg5
= (bool) false ;
38523 PyObject
* obj0
= 0 ;
38524 PyObject
* obj1
= 0 ;
38525 PyObject
* obj2
= 0 ;
38526 PyObject
* obj3
= 0 ;
38527 PyObject
* obj4
= 0 ;
38528 char * kwnames
[] = {
38529 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
38532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38534 if (!SWIG_IsOK(res1
)) {
38535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38537 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38538 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38539 if (!SWIG_IsOK(res2
)) {
38540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38545 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38546 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38547 if (!SWIG_IsOK(ecode3
)) {
38548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
38550 arg3
= static_cast< int >(val3
);
38551 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38552 if (!SWIG_IsOK(ecode4
)) {
38553 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
38555 arg4
= static_cast< int >(val4
);
38557 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
38558 if (!SWIG_IsOK(ecode5
)) {
38559 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
38561 arg5
= static_cast< bool >(val5
);
38564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38565 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
38566 wxPyEndAllowThreads(__tstate
);
38567 if (PyErr_Occurred()) SWIG_fail
;
38569 resultobj
= SWIG_Py_Void();
38576 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38577 PyObject
*resultobj
= 0;
38578 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38579 wxBitmap
*arg2
= 0 ;
38580 wxPoint
*arg3
= 0 ;
38581 bool arg4
= (bool) false ;
38589 PyObject
* obj0
= 0 ;
38590 PyObject
* obj1
= 0 ;
38591 PyObject
* obj2
= 0 ;
38592 PyObject
* obj3
= 0 ;
38593 char * kwnames
[] = {
38594 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
38597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38599 if (!SWIG_IsOK(res1
)) {
38600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38602 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38603 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38604 if (!SWIG_IsOK(res2
)) {
38605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38610 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38613 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38616 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
38617 if (!SWIG_IsOK(ecode4
)) {
38618 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
38620 arg4
= static_cast< bool >(val4
);
38623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38624 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38625 wxPyEndAllowThreads(__tstate
);
38626 if (PyErr_Occurred()) SWIG_fail
;
38628 resultobj
= SWIG_Py_Void();
38635 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38636 PyObject
*resultobj
= 0;
38637 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38638 wxString
*arg2
= 0 ;
38643 bool temp2
= false ;
38648 PyObject
* obj0
= 0 ;
38649 PyObject
* obj1
= 0 ;
38650 PyObject
* obj2
= 0 ;
38651 PyObject
* obj3
= 0 ;
38652 char * kwnames
[] = {
38653 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
38656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38658 if (!SWIG_IsOK(res1
)) {
38659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38661 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38663 arg2
= wxString_in_helper(obj1
);
38664 if (arg2
== NULL
) SWIG_fail
;
38667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38668 if (!SWIG_IsOK(ecode3
)) {
38669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
38671 arg3
= static_cast< int >(val3
);
38672 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38673 if (!SWIG_IsOK(ecode4
)) {
38674 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
38676 arg4
= static_cast< int >(val4
);
38678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38679 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
38680 wxPyEndAllowThreads(__tstate
);
38681 if (PyErr_Occurred()) SWIG_fail
;
38683 resultobj
= SWIG_Py_Void();
38698 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38699 PyObject
*resultobj
= 0;
38700 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38701 wxString
*arg2
= 0 ;
38702 wxPoint
*arg3
= 0 ;
38705 bool temp2
= false ;
38707 PyObject
* obj0
= 0 ;
38708 PyObject
* obj1
= 0 ;
38709 PyObject
* obj2
= 0 ;
38710 char * kwnames
[] = {
38711 (char *) "self",(char *) "text",(char *) "pt", NULL
38714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38716 if (!SWIG_IsOK(res1
)) {
38717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38719 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38721 arg2
= wxString_in_helper(obj1
);
38722 if (arg2
== NULL
) SWIG_fail
;
38727 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38731 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
38732 wxPyEndAllowThreads(__tstate
);
38733 if (PyErr_Occurred()) SWIG_fail
;
38735 resultobj
= SWIG_Py_Void();
38750 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38751 PyObject
*resultobj
= 0;
38752 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38753 wxString
*arg2
= 0 ;
38759 bool temp2
= false ;
38766 PyObject
* obj0
= 0 ;
38767 PyObject
* obj1
= 0 ;
38768 PyObject
* obj2
= 0 ;
38769 PyObject
* obj3
= 0 ;
38770 PyObject
* obj4
= 0 ;
38771 char * kwnames
[] = {
38772 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
38775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38777 if (!SWIG_IsOK(res1
)) {
38778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38780 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38782 arg2
= wxString_in_helper(obj1
);
38783 if (arg2
== NULL
) SWIG_fail
;
38786 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38787 if (!SWIG_IsOK(ecode3
)) {
38788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
38790 arg3
= static_cast< int >(val3
);
38791 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38792 if (!SWIG_IsOK(ecode4
)) {
38793 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
38795 arg4
= static_cast< int >(val4
);
38796 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
38797 if (!SWIG_IsOK(ecode5
)) {
38798 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
38800 arg5
= static_cast< double >(val5
);
38802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38803 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
38804 wxPyEndAllowThreads(__tstate
);
38805 if (PyErr_Occurred()) SWIG_fail
;
38807 resultobj
= SWIG_Py_Void();
38822 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38823 PyObject
*resultobj
= 0;
38824 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38825 wxString
*arg2
= 0 ;
38826 wxPoint
*arg3
= 0 ;
38830 bool temp2
= false ;
38834 PyObject
* obj0
= 0 ;
38835 PyObject
* obj1
= 0 ;
38836 PyObject
* obj2
= 0 ;
38837 PyObject
* obj3
= 0 ;
38838 char * kwnames
[] = {
38839 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
38842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38844 if (!SWIG_IsOK(res1
)) {
38845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38847 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38849 arg2
= wxString_in_helper(obj1
);
38850 if (arg2
== NULL
) SWIG_fail
;
38855 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38857 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
38858 if (!SWIG_IsOK(ecode4
)) {
38859 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
38861 arg4
= static_cast< double >(val4
);
38863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38864 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38865 wxPyEndAllowThreads(__tstate
);
38866 if (PyErr_Occurred()) SWIG_fail
;
38868 resultobj
= SWIG_Py_Void();
38883 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38884 PyObject
*resultobj
= 0;
38885 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38887 wxPoint
*arg3
= (wxPoint
*) 0 ;
38888 int arg4
= (int) 0 ;
38889 int arg5
= (int) 0 ;
38896 PyObject
* obj0
= 0 ;
38897 PyObject
* obj1
= 0 ;
38898 PyObject
* obj2
= 0 ;
38899 PyObject
* obj3
= 0 ;
38900 char * kwnames
[] = {
38901 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
38904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38906 if (!SWIG_IsOK(res1
)) {
38907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38909 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38911 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38912 if (arg3
== NULL
) SWIG_fail
;
38915 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38916 if (!SWIG_IsOK(ecode4
)) {
38917 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
38919 arg4
= static_cast< int >(val4
);
38922 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38923 if (!SWIG_IsOK(ecode5
)) {
38924 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
38926 arg5
= static_cast< int >(val5
);
38929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38930 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
38931 wxPyEndAllowThreads(__tstate
);
38932 if (PyErr_Occurred()) SWIG_fail
;
38934 resultobj
= SWIG_Py_Void();
38936 if (arg3
) delete [] arg3
;
38941 if (arg3
) delete [] arg3
;
38947 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38948 PyObject
*resultobj
= 0;
38949 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38951 wxPoint
*arg3
= (wxPoint
*) 0 ;
38952 int arg4
= (int) 0 ;
38953 int arg5
= (int) 0 ;
38954 int arg6
= (int) wxODDEVEN_RULE
;
38963 PyObject
* obj0
= 0 ;
38964 PyObject
* obj1
= 0 ;
38965 PyObject
* obj2
= 0 ;
38966 PyObject
* obj3
= 0 ;
38967 PyObject
* obj4
= 0 ;
38968 char * kwnames
[] = {
38969 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38974 if (!SWIG_IsOK(res1
)) {
38975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38977 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38979 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38980 if (arg3
== NULL
) SWIG_fail
;
38983 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38984 if (!SWIG_IsOK(ecode4
)) {
38985 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38987 arg4
= static_cast< int >(val4
);
38990 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38991 if (!SWIG_IsOK(ecode5
)) {
38992 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38994 arg5
= static_cast< int >(val5
);
38997 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38998 if (!SWIG_IsOK(ecode6
)) {
38999 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
39001 arg6
= static_cast< int >(val6
);
39004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39005 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
39006 wxPyEndAllowThreads(__tstate
);
39007 if (PyErr_Occurred()) SWIG_fail
;
39009 resultobj
= SWIG_Py_Void();
39011 if (arg3
) delete [] arg3
;
39016 if (arg3
) delete [] arg3
;
39022 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39023 PyObject
*resultobj
= 0;
39024 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39025 wxString
*arg2
= 0 ;
39027 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
39028 int arg5
= (int) -1 ;
39031 bool temp2
= false ;
39037 PyObject
* obj0
= 0 ;
39038 PyObject
* obj1
= 0 ;
39039 PyObject
* obj2
= 0 ;
39040 PyObject
* obj3
= 0 ;
39041 PyObject
* obj4
= 0 ;
39042 char * kwnames
[] = {
39043 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
39046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39048 if (!SWIG_IsOK(res1
)) {
39049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39051 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39053 arg2
= wxString_in_helper(obj1
);
39054 if (arg2
== NULL
) SWIG_fail
;
39059 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
39062 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39063 if (!SWIG_IsOK(ecode4
)) {
39064 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
39066 arg4
= static_cast< int >(val4
);
39069 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39070 if (!SWIG_IsOK(ecode5
)) {
39071 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
39073 arg5
= static_cast< int >(val5
);
39076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39077 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
39078 wxPyEndAllowThreads(__tstate
);
39079 if (PyErr_Occurred()) SWIG_fail
;
39081 resultobj
= SWIG_Py_Void();
39096 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39097 PyObject
*resultobj
= 0;
39098 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39099 wxString
*arg2
= 0 ;
39100 wxBitmap
*arg3
= 0 ;
39102 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
39103 int arg6
= (int) -1 ;
39106 bool temp2
= false ;
39114 PyObject
* obj0
= 0 ;
39115 PyObject
* obj1
= 0 ;
39116 PyObject
* obj2
= 0 ;
39117 PyObject
* obj3
= 0 ;
39118 PyObject
* obj4
= 0 ;
39119 PyObject
* obj5
= 0 ;
39120 char * kwnames
[] = {
39121 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
39124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39126 if (!SWIG_IsOK(res1
)) {
39127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39129 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39131 arg2
= wxString_in_helper(obj1
);
39132 if (arg2
== NULL
) SWIG_fail
;
39135 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
39136 if (!SWIG_IsOK(res3
)) {
39137 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
39140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
39142 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
39145 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
39148 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39149 if (!SWIG_IsOK(ecode5
)) {
39150 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
39152 arg5
= static_cast< int >(val5
);
39155 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39156 if (!SWIG_IsOK(ecode6
)) {
39157 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
39159 arg6
= static_cast< int >(val6
);
39162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39163 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
39164 wxPyEndAllowThreads(__tstate
);
39165 if (PyErr_Occurred()) SWIG_fail
;
39167 resultobj
= SWIG_Py_Void();
39182 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39183 PyObject
*resultobj
= 0;
39184 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39186 wxPoint
*arg3
= (wxPoint
*) 0 ;
39189 PyObject
* obj0
= 0 ;
39190 PyObject
* obj1
= 0 ;
39191 char * kwnames
[] = {
39192 (char *) "self",(char *) "points", NULL
39195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39197 if (!SWIG_IsOK(res1
)) {
39198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39200 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39202 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
39203 if (arg3
== NULL
) SWIG_fail
;
39206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39207 (arg1
)->DrawSpline(arg2
,arg3
);
39208 wxPyEndAllowThreads(__tstate
);
39209 if (PyErr_Occurred()) SWIG_fail
;
39211 resultobj
= SWIG_Py_Void();
39213 if (arg3
) delete [] arg3
;
39218 if (arg3
) delete [] arg3
;
39224 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39225 PyObject
*resultobj
= 0;
39226 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39229 PyObject
*swig_obj
[1] ;
39231 if (!args
) SWIG_fail
;
39232 swig_obj
[0] = args
;
39233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39234 if (!SWIG_IsOK(res1
)) {
39235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39237 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39241 wxPyEndAllowThreads(__tstate
);
39242 if (PyErr_Occurred()) SWIG_fail
;
39244 resultobj
= SWIG_Py_Void();
39251 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39252 PyObject
*resultobj
= 0;
39253 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39259 PyObject
* obj0
= 0 ;
39260 PyObject
* obj1
= 0 ;
39261 char * kwnames
[] = {
39262 (char *) "self",(char *) "font", NULL
39265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39267 if (!SWIG_IsOK(res1
)) {
39268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39270 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39271 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
39272 if (!SWIG_IsOK(res2
)) {
39273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
39276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
39278 arg2
= reinterpret_cast< wxFont
* >(argp2
);
39280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39281 (arg1
)->SetFont((wxFont
const &)*arg2
);
39282 wxPyEndAllowThreads(__tstate
);
39283 if (PyErr_Occurred()) SWIG_fail
;
39285 resultobj
= SWIG_Py_Void();
39292 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39293 PyObject
*resultobj
= 0;
39294 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39300 PyObject
* obj0
= 0 ;
39301 PyObject
* obj1
= 0 ;
39302 char * kwnames
[] = {
39303 (char *) "self",(char *) "pen", NULL
39306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39308 if (!SWIG_IsOK(res1
)) {
39309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39311 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39312 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
39313 if (!SWIG_IsOK(res2
)) {
39314 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
39317 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
39319 arg2
= reinterpret_cast< wxPen
* >(argp2
);
39321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39322 (arg1
)->SetPen((wxPen
const &)*arg2
);
39323 wxPyEndAllowThreads(__tstate
);
39324 if (PyErr_Occurred()) SWIG_fail
;
39326 resultobj
= SWIG_Py_Void();
39333 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39334 PyObject
*resultobj
= 0;
39335 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39336 wxBrush
*arg2
= 0 ;
39341 PyObject
* obj0
= 0 ;
39342 PyObject
* obj1
= 0 ;
39343 char * kwnames
[] = {
39344 (char *) "self",(char *) "brush", NULL
39347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39349 if (!SWIG_IsOK(res1
)) {
39350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39352 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39353 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
39354 if (!SWIG_IsOK(res2
)) {
39355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
39358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
39360 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
39362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39363 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
39364 wxPyEndAllowThreads(__tstate
);
39365 if (PyErr_Occurred()) SWIG_fail
;
39367 resultobj
= SWIG_Py_Void();
39374 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39375 PyObject
*resultobj
= 0;
39376 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39377 wxBrush
*arg2
= 0 ;
39382 PyObject
* obj0
= 0 ;
39383 PyObject
* obj1
= 0 ;
39384 char * kwnames
[] = {
39385 (char *) "self",(char *) "brush", NULL
39388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39390 if (!SWIG_IsOK(res1
)) {
39391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39393 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39394 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
39395 if (!SWIG_IsOK(res2
)) {
39396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
39399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
39401 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
39403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39404 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
39405 wxPyEndAllowThreads(__tstate
);
39406 if (PyErr_Occurred()) SWIG_fail
;
39408 resultobj
= SWIG_Py_Void();
39415 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39416 PyObject
*resultobj
= 0;
39417 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39423 PyObject
* obj0
= 0 ;
39424 PyObject
* obj1
= 0 ;
39425 char * kwnames
[] = {
39426 (char *) "self",(char *) "mode", NULL
39429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39431 if (!SWIG_IsOK(res1
)) {
39432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39434 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39436 if (!SWIG_IsOK(ecode2
)) {
39437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
39439 arg2
= static_cast< int >(val2
);
39441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39442 (arg1
)->SetBackgroundMode(arg2
);
39443 wxPyEndAllowThreads(__tstate
);
39444 if (PyErr_Occurred()) SWIG_fail
;
39446 resultobj
= SWIG_Py_Void();
39453 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39454 PyObject
*resultobj
= 0;
39455 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39456 wxPalette
*arg2
= 0 ;
39461 PyObject
* obj0
= 0 ;
39462 PyObject
* obj1
= 0 ;
39463 char * kwnames
[] = {
39464 (char *) "self",(char *) "palette", NULL
39467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39469 if (!SWIG_IsOK(res1
)) {
39470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39472 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39473 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
39474 if (!SWIG_IsOK(res2
)) {
39475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
39478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
39480 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
39482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39483 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
39484 wxPyEndAllowThreads(__tstate
);
39485 if (PyErr_Occurred()) SWIG_fail
;
39487 resultobj
= SWIG_Py_Void();
39494 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39495 PyObject
*resultobj
= 0;
39496 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39497 wxColour
*arg2
= 0 ;
39501 PyObject
* obj0
= 0 ;
39502 PyObject
* obj1
= 0 ;
39503 char * kwnames
[] = {
39504 (char *) "self",(char *) "colour", NULL
39507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39509 if (!SWIG_IsOK(res1
)) {
39510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39512 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39515 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39519 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
39520 wxPyEndAllowThreads(__tstate
);
39521 if (PyErr_Occurred()) SWIG_fail
;
39523 resultobj
= SWIG_Py_Void();
39530 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39531 PyObject
*resultobj
= 0;
39532 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39533 wxColour
*arg2
= 0 ;
39537 PyObject
* obj0
= 0 ;
39538 PyObject
* obj1
= 0 ;
39539 char * kwnames
[] = {
39540 (char *) "self",(char *) "colour", NULL
39543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39545 if (!SWIG_IsOK(res1
)) {
39546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39548 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39551 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39555 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
39556 wxPyEndAllowThreads(__tstate
);
39557 if (PyErr_Occurred()) SWIG_fail
;
39559 resultobj
= SWIG_Py_Void();
39566 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39567 PyObject
*resultobj
= 0;
39568 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39574 PyObject
* obj0
= 0 ;
39575 PyObject
* obj1
= 0 ;
39576 char * kwnames
[] = {
39577 (char *) "self",(char *) "function", NULL
39580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39582 if (!SWIG_IsOK(res1
)) {
39583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39585 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39587 if (!SWIG_IsOK(ecode2
)) {
39588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
39590 arg2
= static_cast< int >(val2
);
39592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39593 (arg1
)->SetLogicalFunction(arg2
);
39594 wxPyEndAllowThreads(__tstate
);
39595 if (PyErr_Occurred()) SWIG_fail
;
39597 resultobj
= SWIG_Py_Void();
39604 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39606 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39607 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
39608 return SWIG_Py_Void();
39611 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39612 return SWIG_Python_InitShadowInstance(args
);
39615 static PyMethodDef SwigMethods
[] = {
39616 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
39617 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
39618 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
39619 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
39620 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
39621 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39622 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39623 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39624 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
39625 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
39626 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
39627 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
39628 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
39629 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
39630 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39631 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39632 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39633 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39634 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
39635 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39636 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39637 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39638 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
39639 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
39640 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
39641 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39642 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
39643 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39644 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39645 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
39646 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
39647 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
39648 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
39649 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39650 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
39651 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
39652 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
39653 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
39654 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
39655 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
39656 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
39657 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39658 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39659 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39660 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39661 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39662 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39663 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
39664 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39665 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
39666 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
39667 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39668 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39669 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39670 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
39671 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
39672 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39673 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39674 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
39675 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39676 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39677 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39678 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
39679 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
39680 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
39681 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
39682 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
39683 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
39684 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
39685 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39686 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
39687 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39688 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39689 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39690 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39691 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39692 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
39693 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39694 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
39695 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
39696 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
39697 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
39698 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
39699 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
39700 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
39701 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39702 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39703 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39704 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39705 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39706 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
39707 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39708 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39709 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39710 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39711 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39712 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39713 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39714 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39715 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39716 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39717 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39718 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
39719 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
39720 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39721 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39722 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39723 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
39724 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
39725 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
39726 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
39727 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
39728 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
39729 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
39730 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
39731 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
39732 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
39733 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
39734 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
39735 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
39736 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
39737 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
39738 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39739 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
39740 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
39741 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39742 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39743 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39744 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39745 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39746 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
39747 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39748 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39749 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
39750 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
39751 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
39752 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
39753 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
39754 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
39755 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
39756 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
39757 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
39758 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39759 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
39760 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
39761 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39762 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39763 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39764 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39765 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39766 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
39767 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39768 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39769 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39770 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
39771 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
39772 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
39773 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39774 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
39775 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
39776 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39777 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39778 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39779 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39780 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
39781 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39782 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
39783 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
39784 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
39785 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
39786 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39787 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39788 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39789 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39790 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39791 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
39792 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
39793 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39794 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
39795 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
39796 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39797 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
39798 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39799 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
39800 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
39801 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
39802 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
39803 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39804 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39805 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
39806 { (char *)"IconBundle_IsOk", (PyCFunction
)_wrap_IconBundle_IsOk
, METH_O
, NULL
},
39807 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39808 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39809 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39810 { (char *)"IconBundle_GetIconOfExactSize", (PyCFunction
) _wrap_IconBundle_GetIconOfExactSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39811 { (char *)"IconBundle_GetIconCount", (PyCFunction
)_wrap_IconBundle_GetIconCount
, METH_O
, NULL
},
39812 { (char *)"IconBundle_GetIconByIndex", (PyCFunction
) _wrap_IconBundle_GetIconByIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39813 { (char *)"IconBundle_IsEmpty", (PyCFunction
)_wrap_IconBundle_IsEmpty
, METH_O
, NULL
},
39814 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
39815 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
39816 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39817 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
39818 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39819 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39820 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
39821 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39822 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
39823 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
39824 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
39825 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
39826 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39827 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39828 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39829 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39830 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
39831 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
39832 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39833 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39834 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39835 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39836 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
39837 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
39838 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39839 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39840 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39841 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39842 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39843 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
39844 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39845 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39846 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39847 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
39848 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39849 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39850 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39851 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39852 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39853 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39854 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39855 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39856 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39857 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39858 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
39859 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39860 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39861 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
39862 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
39863 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39864 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
39865 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
39866 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
39867 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
39868 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
39869 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
39870 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
39871 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
39872 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
39873 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
39874 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
39875 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
39876 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
39877 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
39878 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
39879 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
39880 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
39881 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39882 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
39883 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
39884 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
39885 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
39886 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
39887 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
39888 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
39889 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
39890 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39891 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39892 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39893 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39894 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39895 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39896 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39897 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39898 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39899 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
39900 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
39901 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39902 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
39903 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
39904 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
39905 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
39906 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
39907 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
39908 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
39909 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
39910 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
39911 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39912 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
39913 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
39914 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
39915 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39916 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39917 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
39918 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
39919 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
39920 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39921 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39922 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
39923 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39924 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39925 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39926 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39927 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39928 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
39929 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39930 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39931 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39932 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39933 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
39934 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
39935 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39936 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
39937 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39938 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39939 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39940 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39941 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39942 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
39943 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39944 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39945 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
39946 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
39947 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
39948 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
39949 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
39950 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
39951 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
39952 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
39953 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
39954 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
39955 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
39956 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
39957 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
39958 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39959 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39960 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39961 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39962 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39963 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39964 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39965 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39966 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39967 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39968 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39969 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
39970 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
39971 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
39972 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39973 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
39974 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
39975 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39976 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
39977 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
39978 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
39979 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
39980 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39981 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39982 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39983 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
39984 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
39985 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39986 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
39987 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39988 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
39989 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
39990 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
39991 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
39992 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
39993 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
39994 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
39995 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39996 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
39997 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39998 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39999 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
40000 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
40001 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
40002 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
40003 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
40004 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
40005 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
40006 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
40007 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40008 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40009 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40010 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40011 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40012 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40013 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40014 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40015 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40016 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
40017 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
40018 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
40019 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40020 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
40021 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40022 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40023 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40024 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
40025 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
40026 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
40027 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
40028 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
40029 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
40030 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40031 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40032 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40033 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40034 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40035 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
40036 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
40037 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
40038 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40039 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40040 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40041 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40042 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40043 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40044 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40045 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40046 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40047 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40048 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40049 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40050 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40051 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40052 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40053 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40054 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40055 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40056 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40057 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40058 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40059 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40060 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40061 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40062 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40063 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40064 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40065 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40066 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40067 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40068 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40069 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40070 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40071 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40072 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40073 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40074 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40075 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40076 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40077 { (char *)"DC_StretchBlit", (PyCFunction
) _wrap_DC_StretchBlit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40078 { (char *)"DC_StretchBlitPointSize", (PyCFunction
) _wrap_DC_StretchBlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40079 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40080 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40081 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40082 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40083 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40084 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40085 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40086 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40087 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40088 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40089 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
40090 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40091 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
40092 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
40093 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
40094 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40095 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40096 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40097 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40098 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40099 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40100 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
40101 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
40102 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
40103 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
40104 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
40105 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40106 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40107 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40108 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40109 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
40110 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
40111 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
40112 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
40113 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40114 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40115 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40116 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40117 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40118 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40119 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40120 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40121 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
40122 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
40123 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
40124 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
40125 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
40126 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
40127 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
40128 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
40129 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
40130 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
40131 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
40132 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
40133 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40134 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40135 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
40136 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40137 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
40138 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40139 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
40140 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40141 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
40142 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
40143 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40144 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40145 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
40146 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
40147 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40148 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40149 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40150 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
40151 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40152 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
40153 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40154 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40155 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
40156 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
40157 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
40158 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
40159 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
40160 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
40161 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
40162 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40163 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
40164 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40165 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40166 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40167 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40168 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40169 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40170 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
40171 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40172 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
40173 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
40174 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
40175 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40176 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
40177 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
40178 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
40179 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40180 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
40181 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
40182 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
40183 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
40184 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
40185 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
40186 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
40187 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
40188 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40189 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40190 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
40191 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
40192 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
40193 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40194 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
40195 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
40196 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40197 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
40198 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
40199 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40200 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
40201 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
40202 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40203 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40204 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40205 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40206 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
40207 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
40208 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
40209 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
40210 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
40211 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40212 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
40213 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
40214 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
40215 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40216 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
40217 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
40218 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40219 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
40220 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
40221 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40222 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40223 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
40224 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
40225 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40226 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
40227 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40228 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40229 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
40230 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
40231 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
40232 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40233 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
40234 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
40235 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40236 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
40237 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
40238 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
40239 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
40240 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
40241 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
40242 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40243 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
40244 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
40245 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
40246 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40247 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
40248 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
40249 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40250 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
40251 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
40252 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
40253 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
40254 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
40255 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
40256 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
40257 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
40258 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
40259 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
40260 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
40261 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
40262 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
40263 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
40264 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
40265 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
40266 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
40267 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
40268 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40269 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40270 { (char *)"GraphicsMatrix_Get", (PyCFunction
)_wrap_GraphicsMatrix_Get
, METH_O
, NULL
},
40271 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
40272 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40273 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
40274 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40275 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40276 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40277 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40278 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40279 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
40280 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
40281 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
40282 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
40283 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
40284 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
40285 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40286 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
40287 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
40288 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
40289 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40290 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40291 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40292 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40293 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40294 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40295 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
40296 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40297 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40298 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
40299 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
40300 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
40301 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
40302 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
40303 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
40304 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40305 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40306 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
40307 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40308 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40309 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40310 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40311 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40312 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40313 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
40314 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
40315 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40316 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40317 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
40318 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
40319 { (char *)"GraphicsContext_GetLogicalFunction", (PyCFunction
)_wrap_GraphicsContext_GetLogicalFunction
, METH_O
, NULL
},
40320 { (char *)"GraphicsContext_SetLogicalFunction", (PyCFunction
) _wrap_GraphicsContext_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40321 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40322 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40323 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40324 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40325 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40326 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
40327 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
40328 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
40329 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
40330 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40331 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40332 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40333 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40334 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40335 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40336 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40337 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40338 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40339 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40340 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40341 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40342 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40343 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40344 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40345 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40346 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40347 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
40348 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
40349 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
40350 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
40351 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
40352 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
40353 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40354 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40355 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
40356 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40357 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40358 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40359 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40360 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40361 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40362 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
40363 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
40364 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
40365 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
40366 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40367 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
40368 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
40369 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
40370 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
40371 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
40372 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
40373 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
40374 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
40375 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
40376 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
40377 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
40378 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
40379 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40380 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
40381 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40382 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40383 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40384 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40385 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40386 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40387 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40388 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
40389 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40390 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
40391 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40392 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
40393 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
40394 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
40395 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
40396 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
40397 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
40398 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40399 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40400 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40401 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40402 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40403 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
40404 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
40405 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
40406 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
40407 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
40408 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
40409 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40410 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
40411 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40412 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
40413 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40414 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
40415 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
40416 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
40417 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40418 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40419 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40420 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40421 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
40422 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
40423 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
40424 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
40425 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
40426 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
40427 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
40428 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
40429 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
40430 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
40431 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
40432 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
40433 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40434 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40435 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40436 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40437 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40438 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40439 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40440 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40441 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
40442 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
40443 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40444 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
40445 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
40446 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
40447 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
40448 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
40449 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
40450 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
40451 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
40452 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
40453 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
40454 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
40455 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
40456 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
40457 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
40458 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
40459 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
40460 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
40461 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
40462 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
40463 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
40464 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
40465 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
40466 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
40467 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
40468 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40469 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
40470 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40471 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
40472 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
40473 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
40474 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
40475 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40476 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40477 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40478 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40479 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40480 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40481 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40482 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40483 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40484 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40485 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40486 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40487 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
40488 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
40489 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
40490 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40491 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
40492 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
40493 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
40494 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
40495 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
40496 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
40497 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
40498 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
40499 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40500 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40501 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40502 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40503 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40504 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40505 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40506 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40507 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40508 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40509 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40510 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40511 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40512 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40513 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40514 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40515 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40516 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40517 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40518 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40519 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40520 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40521 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40522 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40523 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40524 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40525 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40526 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40527 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40528 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40529 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40530 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40531 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40532 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40533 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40534 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40535 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40536 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40537 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40538 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40539 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40540 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40541 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40542 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40543 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40544 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40545 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40546 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40547 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40548 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40549 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40550 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40551 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
40552 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40553 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40554 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40555 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40556 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40557 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40558 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40559 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40560 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40561 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
40562 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
40563 { NULL
, NULL
, 0, NULL
}
40567 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40569 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
40570 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
40572 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
40573 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
40575 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
40576 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40578 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
40579 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
40581 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
40582 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
40584 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
40585 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
40587 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
40588 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
40590 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
40591 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40593 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
40594 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
40596 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
40597 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40599 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
40600 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40602 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
40603 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40605 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
40606 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40608 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
40609 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40611 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
40612 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40614 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
40615 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
40617 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
40618 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
40620 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
40621 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
40623 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
40624 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
40626 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
40627 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
40629 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
40630 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
40632 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
40633 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
40635 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
40636 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
40638 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
40639 return (void *)((wxDC
*) ((wxGCDC
*) x
));
40641 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
40642 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
40644 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
40645 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40647 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
40648 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
40650 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
40651 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
40653 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
40654 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
40656 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
40657 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
40659 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
40660 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
40662 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
40663 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40665 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
40666 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40668 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
40669 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40671 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
40672 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
40674 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
40675 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
40677 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
40678 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
40680 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
40681 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
40683 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
40684 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
40686 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
40687 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40689 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40690 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40692 static void *_p_wxPenTo_p_wxObject(void *x
) {
40693 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
40695 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
40696 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
40698 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
40699 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
40701 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40702 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40704 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40705 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40707 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40708 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40710 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40711 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40713 static void *_p_wxIconTo_p_wxObject(void *x
) {
40714 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
40716 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40717 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40719 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40720 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40722 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40723 return (void *)((wxObject
*) ((wxSizer
*) x
));
40725 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40726 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40728 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40729 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40731 static void *_p_wxEventTo_p_wxObject(void *x
) {
40732 return (void *)((wxObject
*) ((wxEvent
*) x
));
40734 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40735 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40737 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40738 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40740 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40741 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40743 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
40744 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
40746 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40747 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40749 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40750 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40752 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40753 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40755 static void *_p_wxDCTo_p_wxObject(void *x
) {
40756 return (void *)((wxObject
*) ((wxDC
*) x
));
40758 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40759 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40761 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40762 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40764 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40765 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40767 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40768 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40770 static void *_p_wxControlTo_p_wxObject(void *x
) {
40771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40773 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
40774 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40776 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40777 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40779 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
40780 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
40782 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40783 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40785 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
40786 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
40788 static void *_p_wxRegionTo_p_wxObject(void *x
) {
40789 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
40791 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40792 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40794 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
40795 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
40797 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
40798 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
40800 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
40801 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
40803 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
40804 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40806 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
40807 return (void *)((wxObject
*) ((wxEffects
*) x
));
40809 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40810 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40812 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40813 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40815 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
40816 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
40818 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
40819 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40821 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40822 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40824 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40825 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40827 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40828 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40830 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40831 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40833 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40834 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40836 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40837 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40839 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40840 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40842 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40843 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40845 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40846 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40848 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40849 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40851 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40852 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40854 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40855 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40857 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40858 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40860 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40861 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40863 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40864 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40866 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40867 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40869 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40870 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40872 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40873 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40875 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40876 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40878 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40879 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40881 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40882 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40884 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40885 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40887 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40888 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40890 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40891 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40893 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40894 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40896 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40897 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40899 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40900 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40902 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
40903 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40905 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
40906 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40908 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
40909 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40911 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
40912 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
40914 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
40915 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
40917 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40918 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40920 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40921 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40923 static void *_p_wxImageTo_p_wxObject(void *x
) {
40924 return (void *)((wxObject
*) ((wxImage
*) x
));
40926 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40927 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40929 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
40930 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40932 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
40933 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
40935 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
40936 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
40938 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
40939 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40941 static void *_p_wxImageListTo_p_wxObject(void *x
) {
40942 return (void *)((wxObject
*) ((wxImageList
*) x
));
40944 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
40945 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
40947 static void *_p_wxCursorTo_p_wxObject(void *x
) {
40948 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
40950 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
40951 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
40953 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
40954 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
40956 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
40957 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40959 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40960 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40962 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40963 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40965 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40966 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40968 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40969 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40971 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40972 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40974 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40975 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40977 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
40978 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
40980 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40981 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40983 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
40984 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
40986 static void *_p_wxMaskTo_p_wxObject(void *x
) {
40987 return (void *)((wxObject
*) ((wxMask
*) x
));
40989 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
40990 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40992 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40993 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40995 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40996 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40998 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40999 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
41001 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
41002 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
41004 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
41005 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
41007 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
41008 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
41010 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
41011 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41013 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
41014 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
41016 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
41017 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
41019 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
41020 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
41022 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
41023 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41025 static void *_p_wxFontTo_p_wxObject(void *x
) {
41026 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
41028 static void *_p_wxBrushTo_p_wxObject(void *x
) {
41029 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
41031 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
41032 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
41034 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
41035 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41037 static void *_p_wxColourTo_p_wxObject(void *x
) {
41038 return (void *)((wxObject
*) ((wxColour
*) x
));
41040 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
41041 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
41043 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
41044 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
41046 static void *_p_wxControlTo_p_wxWindow(void *x
) {
41047 return (void *)((wxWindow
*) ((wxControl
*) x
));
41049 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
41050 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
41052 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
41053 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
41055 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
41056 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
41058 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
41059 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
41061 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
41062 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
41063 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
41064 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};
41065 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
41066 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
41067 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
41068 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
41069 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
41070 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
41071 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
41072 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
41073 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
41074 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
41075 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
41076 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
41077 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
41078 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
41079 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
41080 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
41081 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
41082 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
41083 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
41084 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
41085 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
41086 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
41087 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
41088 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
41089 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
41090 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
41091 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
41092 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
41093 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
41094 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
41095 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
41096 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
41097 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
41098 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
41099 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
41100 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
41101 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
41102 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
41103 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
41104 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
41105 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
41106 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
41107 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
41108 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
41109 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
41110 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
41111 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
41112 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
41113 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
41114 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
41115 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
41116 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
41117 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
41118 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
41119 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
41120 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
41121 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
41122 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
41123 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
41124 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
41125 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
41126 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
41127 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
41128 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
41129 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
41130 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
41131 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
41132 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
41133 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
41134 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
41135 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
41136 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
41137 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
41138 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
41139 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
41140 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
41141 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
41142 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
41143 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
41144 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
41145 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
41146 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
41147 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
41148 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
41149 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
41150 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
41151 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
41152 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
41153 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
41154 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
41155 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
41156 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
41157 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
41158 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
41159 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
41160 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
41161 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
41162 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
41163 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
41164 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
41165 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
41166 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
41167 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
41168 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
41169 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
41170 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
41171 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
41172 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
41173 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
41174 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
41175 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
41176 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
41177 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
41178 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
41179 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
41180 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
41181 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
41182 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
41183 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
41184 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
41185 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
41186 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
41187 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
41188 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
41189 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
41190 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
41191 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
41192 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
41193 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
41194 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
41195 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
41196 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
41197 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
41198 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
41199 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
41200 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
41201 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
41202 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
41203 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
41204 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
41205 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
41206 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
41207 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
41208 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
41209 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
41210 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
41211 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
41212 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
41213 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
41214 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
41215 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
41216 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
41217 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
41218 static swig_type_info _swigt__p_wxRect2D
= {"_p_wxRect2D", "wxRect2D *", 0, 0, (void*)0, 0};
41219 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
41220 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
41221 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
41222 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
41223 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
41224 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
41225 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
41226 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
41227 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
41228 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
41229 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
41231 static swig_type_info
*swig_type_initial
[] = {
41235 &_swigt__p_form_ops_t
,
41237 &_swigt__p_unsigned_char
,
41238 &_swigt__p_unsigned_int
,
41239 &_swigt__p_unsigned_long
,
41241 &_swigt__p_wxANIHandler
,
41242 &_swigt__p_wxAcceleratorTable
,
41243 &_swigt__p_wxActivateEvent
,
41244 &_swigt__p_wxAlphaPixelData
,
41245 &_swigt__p_wxAlphaPixelData_Accessor
,
41246 &_swigt__p_wxAutoBufferedPaintDC
,
41247 &_swigt__p_wxBMPHandler
,
41248 &_swigt__p_wxBitmap
,
41249 &_swigt__p_wxBoxSizer
,
41250 &_swigt__p_wxBrush
,
41251 &_swigt__p_wxBrushList
,
41252 &_swigt__p_wxBufferedDC
,
41253 &_swigt__p_wxBufferedPaintDC
,
41254 &_swigt__p_wxCURHandler
,
41255 &_swigt__p_wxChildFocusEvent
,
41256 &_swigt__p_wxClientDC
,
41257 &_swigt__p_wxClipboardTextEvent
,
41258 &_swigt__p_wxCloseEvent
,
41259 &_swigt__p_wxColour
,
41260 &_swigt__p_wxColourDatabase
,
41261 &_swigt__p_wxCommandEvent
,
41262 &_swigt__p_wxContextMenuEvent
,
41263 &_swigt__p_wxControl
,
41264 &_swigt__p_wxControlWithItems
,
41265 &_swigt__p_wxCursor
,
41267 &_swigt__p_wxDCBrushChanger
,
41268 &_swigt__p_wxDCClipper
,
41269 &_swigt__p_wxDCOverlay
,
41270 &_swigt__p_wxDCPenChanger
,
41271 &_swigt__p_wxDCTextColourChanger
,
41273 &_swigt__p_wxDateEvent
,
41274 &_swigt__p_wxDisplayChangedEvent
,
41275 &_swigt__p_wxDropFilesEvent
,
41276 &_swigt__p_wxDuplexMode
,
41277 &_swigt__p_wxEffects
,
41278 &_swigt__p_wxEncodingConverter
,
41279 &_swigt__p_wxEraseEvent
,
41280 &_swigt__p_wxEvent
,
41281 &_swigt__p_wxEventBlocker
,
41282 &_swigt__p_wxEvtHandler
,
41283 &_swigt__p_wxFSFile
,
41284 &_swigt__p_wxFileSystem
,
41285 &_swigt__p_wxFlexGridSizer
,
41286 &_swigt__p_wxFocusEvent
,
41288 &_swigt__p_wxFontList
,
41289 &_swigt__p_wxFontMapper
,
41290 &_swigt__p_wxGBSizerItem
,
41292 &_swigt__p_wxGDIObjListBase
,
41293 &_swigt__p_wxGDIObject
,
41294 &_swigt__p_wxGIFHandler
,
41295 &_swigt__p_wxGraphicsBrush
,
41296 &_swigt__p_wxGraphicsContext
,
41297 &_swigt__p_wxGraphicsFont
,
41298 &_swigt__p_wxGraphicsMatrix
,
41299 &_swigt__p_wxGraphicsObject
,
41300 &_swigt__p_wxGraphicsPath
,
41301 &_swigt__p_wxGraphicsPen
,
41302 &_swigt__p_wxGraphicsRenderer
,
41303 &_swigt__p_wxGridBagSizer
,
41304 &_swigt__p_wxGridSizer
,
41305 &_swigt__p_wxHeaderButtonParams
,
41306 &_swigt__p_wxICOHandler
,
41308 &_swigt__p_wxIconBundle
,
41309 &_swigt__p_wxIconLocation
,
41310 &_swigt__p_wxIconizeEvent
,
41311 &_swigt__p_wxIdleEvent
,
41312 &_swigt__p_wxImage
,
41313 &_swigt__p_wxImageHandler
,
41314 &_swigt__p_wxImageList
,
41315 &_swigt__p_wxIndividualLayoutConstraint
,
41316 &_swigt__p_wxInitDialogEvent
,
41317 &_swigt__p_wxJPEGHandler
,
41318 &_swigt__p_wxKeyEvent
,
41319 &_swigt__p_wxLanguageInfo
,
41320 &_swigt__p_wxLayoutConstraints
,
41321 &_swigt__p_wxLocale
,
41323 &_swigt__p_wxMaximizeEvent
,
41324 &_swigt__p_wxMemoryDC
,
41326 &_swigt__p_wxMenuBar
,
41327 &_swigt__p_wxMenuEvent
,
41328 &_swigt__p_wxMenuItem
,
41329 &_swigt__p_wxMetaFile
,
41330 &_swigt__p_wxMetaFileDC
,
41331 &_swigt__p_wxMirrorDC
,
41332 &_swigt__p_wxMouseCaptureChangedEvent
,
41333 &_swigt__p_wxMouseCaptureLostEvent
,
41334 &_swigt__p_wxMouseEvent
,
41335 &_swigt__p_wxMoveEvent
,
41336 &_swigt__p_wxNativeEncodingInfo
,
41337 &_swigt__p_wxNativeFontInfo
,
41338 &_swigt__p_wxNativePixelData
,
41339 &_swigt__p_wxNativePixelData_Accessor
,
41340 &_swigt__p_wxNavigationKeyEvent
,
41341 &_swigt__p_wxNcPaintEvent
,
41342 &_swigt__p_wxNotifyEvent
,
41343 &_swigt__p_wxObject
,
41344 &_swigt__p_wxOverlay
,
41345 &_swigt__p_wxPCXHandler
,
41346 &_swigt__p_wxPNGHandler
,
41347 &_swigt__p_wxPNMHandler
,
41348 &_swigt__p_wxPaintDC
,
41349 &_swigt__p_wxPaintEvent
,
41350 &_swigt__p_wxPalette
,
41351 &_swigt__p_wxPaletteChangedEvent
,
41352 &_swigt__p_wxPaperSize
,
41354 &_swigt__p_wxPenList
,
41355 &_swigt__p_wxPixelDataBase
,
41356 &_swigt__p_wxPoint
,
41357 &_swigt__p_wxPoint2D
,
41358 &_swigt__p_wxPostScriptDC
,
41359 &_swigt__p_wxPrintData
,
41360 &_swigt__p_wxPrinterDC
,
41361 &_swigt__p_wxPseudoDC
,
41362 &_swigt__p_wxPyApp
,
41363 &_swigt__p_wxPyCommandEvent
,
41364 &_swigt__p_wxPyEvent
,
41365 &_swigt__p_wxPyFontEnumerator
,
41366 &_swigt__p_wxPyImageHandler
,
41367 &_swigt__p_wxPyLocale
,
41368 &_swigt__p_wxPySizer
,
41369 &_swigt__p_wxPyValidator
,
41370 &_swigt__p_wxQueryNewPaletteEvent
,
41372 &_swigt__p_wxRect2D
,
41373 &_swigt__p_wxRegion
,
41374 &_swigt__p_wxRegionIterator
,
41375 &_swigt__p_wxRendererNative
,
41376 &_swigt__p_wxRendererVersion
,
41377 &_swigt__p_wxScreenDC
,
41378 &_swigt__p_wxScrollEvent
,
41379 &_swigt__p_wxScrollWinEvent
,
41380 &_swigt__p_wxSetCursorEvent
,
41381 &_swigt__p_wxShowEvent
,
41383 &_swigt__p_wxSizeEvent
,
41384 &_swigt__p_wxSizer
,
41385 &_swigt__p_wxSizerItem
,
41386 &_swigt__p_wxSplitterRenderParams
,
41387 &_swigt__p_wxStaticBoxSizer
,
41388 &_swigt__p_wxStdDialogButtonSizer
,
41389 &_swigt__p_wxStockGDI
,
41390 &_swigt__p_wxString
,
41391 &_swigt__p_wxSysColourChangedEvent
,
41392 &_swigt__p_wxTGAHandler
,
41393 &_swigt__p_wxTIFFHandler
,
41394 &_swigt__p_wxUpdateUIEvent
,
41395 &_swigt__p_wxValidator
,
41396 &_swigt__p_wxWindow
,
41397 &_swigt__p_wxWindowCreateEvent
,
41398 &_swigt__p_wxWindowDC
,
41399 &_swigt__p_wxWindowDestroyEvent
,
41400 &_swigt__p_wxXPMHandler
,
41403 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
41404 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
41405 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
41406 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
41407 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
41408 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
41409 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
41410 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
41411 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
41412 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
41413 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
41414 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41415 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
41416 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
41417 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
41418 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}};
41419 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41420 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}};
41421 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
41422 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
41423 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
41424 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}};
41425 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
41426 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
41427 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
41428 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
41429 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
41430 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
41431 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
41432 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
41433 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
41434 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
41435 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
41436 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
41437 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
41438 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}};
41439 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}};
41440 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
41441 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
41442 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
41443 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
41444 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}};
41445 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
41446 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
41447 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
41448 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
41449 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
41450 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
41451 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
41452 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
41453 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
41454 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
41455 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}};
41456 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
41457 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}};
41458 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
41459 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
41460 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
41461 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
41462 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
41463 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
41464 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
41465 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
41466 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
41467 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41468 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41469 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
41470 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
41471 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41472 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41473 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41474 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
41475 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
41476 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
41477 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
41478 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41479 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41480 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
41481 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
41482 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41483 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41484 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41485 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41486 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41487 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41488 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
41489 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
41490 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
41491 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
41492 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41493 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41494 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
41495 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
41496 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
41497 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41498 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
41499 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41500 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41501 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41502 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
41503 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41504 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41505 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
41506 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
41507 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41508 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41509 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41510 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41511 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
41512 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
41513 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
41514 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
41515 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41516 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41517 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
41518 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41519 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41520 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
41521 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
41522 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
41523 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
41524 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41525 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41526 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41527 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
41528 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
41529 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41530 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41531 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
41532 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41533 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41534 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41535 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41536 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41537 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
41538 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41539 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41540 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
41541 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
41542 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
41543 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_wxEventBlocker
, _p_wxEventBlockerTo_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_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_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_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_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsBrush
, _p_wxGraphicsBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsRenderer
, _p_wxGraphicsRendererTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxGraphicsFont
, _p_wxGraphicsFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsMatrix
, _p_wxGraphicsMatrixTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
41544 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
41545 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41546 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
41547 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
41548 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
41549 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
41550 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}};
41551 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
41552 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
41553 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
41554 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
41555 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
41556 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
41557 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
41558 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
41559 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
41560 static swig_cast_info _swigc__p_wxRect2D
[] = { {&_swigt__p_wxRect2D
, 0, 0, 0},{0, 0, 0, 0}};
41561 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
41562 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
41563 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
41564 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
41565 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
41566 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
41567 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
41568 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
41569 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
41570 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}};
41571 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxWindowDC
, 0, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}};
41573 static swig_cast_info
*swig_cast_initial
[] = {
41577 _swigc__p_form_ops_t
,
41579 _swigc__p_unsigned_char
,
41580 _swigc__p_unsigned_int
,
41581 _swigc__p_unsigned_long
,
41583 _swigc__p_wxANIHandler
,
41584 _swigc__p_wxAcceleratorTable
,
41585 _swigc__p_wxActivateEvent
,
41586 _swigc__p_wxAlphaPixelData
,
41587 _swigc__p_wxAlphaPixelData_Accessor
,
41588 _swigc__p_wxAutoBufferedPaintDC
,
41589 _swigc__p_wxBMPHandler
,
41590 _swigc__p_wxBitmap
,
41591 _swigc__p_wxBoxSizer
,
41593 _swigc__p_wxBrushList
,
41594 _swigc__p_wxBufferedDC
,
41595 _swigc__p_wxBufferedPaintDC
,
41596 _swigc__p_wxCURHandler
,
41597 _swigc__p_wxChildFocusEvent
,
41598 _swigc__p_wxClientDC
,
41599 _swigc__p_wxClipboardTextEvent
,
41600 _swigc__p_wxCloseEvent
,
41601 _swigc__p_wxColour
,
41602 _swigc__p_wxColourDatabase
,
41603 _swigc__p_wxCommandEvent
,
41604 _swigc__p_wxContextMenuEvent
,
41605 _swigc__p_wxControl
,
41606 _swigc__p_wxControlWithItems
,
41607 _swigc__p_wxCursor
,
41609 _swigc__p_wxDCBrushChanger
,
41610 _swigc__p_wxDCClipper
,
41611 _swigc__p_wxDCOverlay
,
41612 _swigc__p_wxDCPenChanger
,
41613 _swigc__p_wxDCTextColourChanger
,
41615 _swigc__p_wxDateEvent
,
41616 _swigc__p_wxDisplayChangedEvent
,
41617 _swigc__p_wxDropFilesEvent
,
41618 _swigc__p_wxDuplexMode
,
41619 _swigc__p_wxEffects
,
41620 _swigc__p_wxEncodingConverter
,
41621 _swigc__p_wxEraseEvent
,
41623 _swigc__p_wxEventBlocker
,
41624 _swigc__p_wxEvtHandler
,
41625 _swigc__p_wxFSFile
,
41626 _swigc__p_wxFileSystem
,
41627 _swigc__p_wxFlexGridSizer
,
41628 _swigc__p_wxFocusEvent
,
41630 _swigc__p_wxFontList
,
41631 _swigc__p_wxFontMapper
,
41632 _swigc__p_wxGBSizerItem
,
41634 _swigc__p_wxGDIObjListBase
,
41635 _swigc__p_wxGDIObject
,
41636 _swigc__p_wxGIFHandler
,
41637 _swigc__p_wxGraphicsBrush
,
41638 _swigc__p_wxGraphicsContext
,
41639 _swigc__p_wxGraphicsFont
,
41640 _swigc__p_wxGraphicsMatrix
,
41641 _swigc__p_wxGraphicsObject
,
41642 _swigc__p_wxGraphicsPath
,
41643 _swigc__p_wxGraphicsPen
,
41644 _swigc__p_wxGraphicsRenderer
,
41645 _swigc__p_wxGridBagSizer
,
41646 _swigc__p_wxGridSizer
,
41647 _swigc__p_wxHeaderButtonParams
,
41648 _swigc__p_wxICOHandler
,
41650 _swigc__p_wxIconBundle
,
41651 _swigc__p_wxIconLocation
,
41652 _swigc__p_wxIconizeEvent
,
41653 _swigc__p_wxIdleEvent
,
41655 _swigc__p_wxImageHandler
,
41656 _swigc__p_wxImageList
,
41657 _swigc__p_wxIndividualLayoutConstraint
,
41658 _swigc__p_wxInitDialogEvent
,
41659 _swigc__p_wxJPEGHandler
,
41660 _swigc__p_wxKeyEvent
,
41661 _swigc__p_wxLanguageInfo
,
41662 _swigc__p_wxLayoutConstraints
,
41663 _swigc__p_wxLocale
,
41665 _swigc__p_wxMaximizeEvent
,
41666 _swigc__p_wxMemoryDC
,
41668 _swigc__p_wxMenuBar
,
41669 _swigc__p_wxMenuEvent
,
41670 _swigc__p_wxMenuItem
,
41671 _swigc__p_wxMetaFile
,
41672 _swigc__p_wxMetaFileDC
,
41673 _swigc__p_wxMirrorDC
,
41674 _swigc__p_wxMouseCaptureChangedEvent
,
41675 _swigc__p_wxMouseCaptureLostEvent
,
41676 _swigc__p_wxMouseEvent
,
41677 _swigc__p_wxMoveEvent
,
41678 _swigc__p_wxNativeEncodingInfo
,
41679 _swigc__p_wxNativeFontInfo
,
41680 _swigc__p_wxNativePixelData
,
41681 _swigc__p_wxNativePixelData_Accessor
,
41682 _swigc__p_wxNavigationKeyEvent
,
41683 _swigc__p_wxNcPaintEvent
,
41684 _swigc__p_wxNotifyEvent
,
41685 _swigc__p_wxObject
,
41686 _swigc__p_wxOverlay
,
41687 _swigc__p_wxPCXHandler
,
41688 _swigc__p_wxPNGHandler
,
41689 _swigc__p_wxPNMHandler
,
41690 _swigc__p_wxPaintDC
,
41691 _swigc__p_wxPaintEvent
,
41692 _swigc__p_wxPalette
,
41693 _swigc__p_wxPaletteChangedEvent
,
41694 _swigc__p_wxPaperSize
,
41696 _swigc__p_wxPenList
,
41697 _swigc__p_wxPixelDataBase
,
41699 _swigc__p_wxPoint2D
,
41700 _swigc__p_wxPostScriptDC
,
41701 _swigc__p_wxPrintData
,
41702 _swigc__p_wxPrinterDC
,
41703 _swigc__p_wxPseudoDC
,
41705 _swigc__p_wxPyCommandEvent
,
41706 _swigc__p_wxPyEvent
,
41707 _swigc__p_wxPyFontEnumerator
,
41708 _swigc__p_wxPyImageHandler
,
41709 _swigc__p_wxPyLocale
,
41710 _swigc__p_wxPySizer
,
41711 _swigc__p_wxPyValidator
,
41712 _swigc__p_wxQueryNewPaletteEvent
,
41714 _swigc__p_wxRect2D
,
41715 _swigc__p_wxRegion
,
41716 _swigc__p_wxRegionIterator
,
41717 _swigc__p_wxRendererNative
,
41718 _swigc__p_wxRendererVersion
,
41719 _swigc__p_wxScreenDC
,
41720 _swigc__p_wxScrollEvent
,
41721 _swigc__p_wxScrollWinEvent
,
41722 _swigc__p_wxSetCursorEvent
,
41723 _swigc__p_wxShowEvent
,
41725 _swigc__p_wxSizeEvent
,
41727 _swigc__p_wxSizerItem
,
41728 _swigc__p_wxSplitterRenderParams
,
41729 _swigc__p_wxStaticBoxSizer
,
41730 _swigc__p_wxStdDialogButtonSizer
,
41731 _swigc__p_wxStockGDI
,
41732 _swigc__p_wxString
,
41733 _swigc__p_wxSysColourChangedEvent
,
41734 _swigc__p_wxTGAHandler
,
41735 _swigc__p_wxTIFFHandler
,
41736 _swigc__p_wxUpdateUIEvent
,
41737 _swigc__p_wxValidator
,
41738 _swigc__p_wxWindow
,
41739 _swigc__p_wxWindowCreateEvent
,
41740 _swigc__p_wxWindowDC
,
41741 _swigc__p_wxWindowDestroyEvent
,
41742 _swigc__p_wxXPMHandler
,
41746 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41748 static swig_const_info swig_const_table
[] = {
41749 {0, 0, 0, 0.0, 0, 0}};
41754 /* -----------------------------------------------------------------------------
41755 * Type initialization:
41756 * This problem is tough by the requirement that no dynamic
41757 * memory is used. Also, since swig_type_info structures store pointers to
41758 * swig_cast_info structures and swig_cast_info structures store pointers back
41759 * to swig_type_info structures, we need some lookup code at initialization.
41760 * The idea is that swig generates all the structures that are needed.
41761 * The runtime then collects these partially filled structures.
41762 * The SWIG_InitializeModule function takes these initial arrays out of
41763 * swig_module, and does all the lookup, filling in the swig_module.types
41764 * array with the correct data and linking the correct swig_cast_info
41765 * structures together.
41767 * The generated swig_type_info structures are assigned staticly to an initial
41768 * array. We just loop though that array, and handle each type individually.
41769 * First we lookup if this type has been already loaded, and if so, use the
41770 * loaded structure instead of the generated one. Then we have to fill in the
41771 * cast linked list. The cast data is initially stored in something like a
41772 * two-dimensional array. Each row corresponds to a type (there are the same
41773 * number of rows as there are in the swig_type_initial array). Each entry in
41774 * a column is one of the swig_cast_info structures for that type.
41775 * The cast_initial array is actually an array of arrays, because each row has
41776 * a variable number of columns. So to actually build the cast linked list,
41777 * we find the array of casts associated with the type, and loop through it
41778 * adding the casts to the list. The one last trick we need to do is making
41779 * sure the type pointer in the swig_cast_info struct is correct.
41781 * First off, we lookup the cast->type name to see if it is already loaded.
41782 * There are three cases to handle:
41783 * 1) If the cast->type has already been loaded AND the type we are adding
41784 * casting info to has not been loaded (it is in this module), THEN we
41785 * replace the cast->type pointer with the type pointer that has already
41787 * 2) If BOTH types (the one we are adding casting info to, and the
41788 * cast->type) are loaded, THEN the cast info has already been loaded by
41789 * the previous module so we just ignore it.
41790 * 3) Finally, if cast->type has not already been loaded, then we add that
41791 * swig_cast_info to the linked list (because the cast->type) pointer will
41793 * ----------------------------------------------------------------------------- */
41803 #define SWIGRUNTIME_DEBUG
41807 SWIG_InitializeModule(void *clientdata
) {
41809 swig_module_info
*module_head
;
41810 static int init_run
= 0;
41812 clientdata
= clientdata
;
41814 if (init_run
) return;
41817 /* Initialize the swig_module */
41818 swig_module
.type_initial
= swig_type_initial
;
41819 swig_module
.cast_initial
= swig_cast_initial
;
41821 /* Try and load any already created modules */
41822 module_head
= SWIG_GetModule(clientdata
);
41824 swig_module
.next
= module_head
->next
;
41825 module_head
->next
= &swig_module
;
41827 /* This is the first module loaded */
41828 swig_module
.next
= &swig_module
;
41829 SWIG_SetModule(clientdata
, &swig_module
);
41832 /* Now work on filling in swig_module.types */
41833 #ifdef SWIGRUNTIME_DEBUG
41834 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41836 for (i
= 0; i
< swig_module
.size
; ++i
) {
41837 swig_type_info
*type
= 0;
41838 swig_type_info
*ret
;
41839 swig_cast_info
*cast
;
41841 #ifdef SWIGRUNTIME_DEBUG
41842 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41845 /* if there is another module already loaded */
41846 if (swig_module
.next
!= &swig_module
) {
41847 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41850 /* Overwrite clientdata field */
41851 #ifdef SWIGRUNTIME_DEBUG
41852 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41854 if (swig_module
.type_initial
[i
]->clientdata
) {
41855 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41856 #ifdef SWIGRUNTIME_DEBUG
41857 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41861 type
= swig_module
.type_initial
[i
];
41864 /* Insert casting types */
41865 cast
= swig_module
.cast_initial
[i
];
41866 while (cast
->type
) {
41867 /* Don't need to add information already in the list */
41869 #ifdef SWIGRUNTIME_DEBUG
41870 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41872 if (swig_module
.next
!= &swig_module
) {
41873 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41874 #ifdef SWIGRUNTIME_DEBUG
41875 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41879 if (type
== swig_module
.type_initial
[i
]) {
41880 #ifdef SWIGRUNTIME_DEBUG
41881 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41886 /* Check for casting already in the list */
41887 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41888 #ifdef SWIGRUNTIME_DEBUG
41889 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41891 if (!ocast
) ret
= 0;
41896 #ifdef SWIGRUNTIME_DEBUG
41897 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41900 type
->cast
->prev
= cast
;
41901 cast
->next
= type
->cast
;
41907 /* Set entry in modules->types array equal to the type */
41908 swig_module
.types
[i
] = type
;
41910 swig_module
.types
[i
] = 0;
41912 #ifdef SWIGRUNTIME_DEBUG
41913 printf("**** SWIG_InitializeModule: Cast List ******\n");
41914 for (i
= 0; i
< swig_module
.size
; ++i
) {
41916 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41917 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41918 while (cast
->type
) {
41919 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41923 printf("---- Total casts: %d\n",j
);
41925 printf("**** SWIG_InitializeModule: Cast List ******\n");
41929 /* This function will propagate the clientdata field of type to
41930 * any new swig_type_info structures that have been added into the list
41931 * of equivalent types. It is like calling
41932 * SWIG_TypeClientData(type, clientdata) a second time.
41935 SWIG_PropagateClientData(void) {
41937 swig_cast_info
*equiv
;
41938 static int init_run
= 0;
41940 if (init_run
) return;
41943 for (i
= 0; i
< swig_module
.size
; i
++) {
41944 if (swig_module
.types
[i
]->clientdata
) {
41945 equiv
= swig_module
.types
[i
]->cast
;
41947 if (!equiv
->converter
) {
41948 if (equiv
->type
&& !equiv
->type
->clientdata
)
41949 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41951 equiv
= equiv
->next
;
41971 /* Python-specific SWIG API */
41972 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41973 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41974 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41976 /* -----------------------------------------------------------------------------
41977 * global variable support code.
41978 * ----------------------------------------------------------------------------- */
41980 typedef struct swig_globalvar
{
41981 char *name
; /* Name of global variable */
41982 PyObject
*(*get_attr
)(void); /* Return the current value */
41983 int (*set_attr
)(PyObject
*); /* Set the value */
41984 struct swig_globalvar
*next
;
41987 typedef struct swig_varlinkobject
{
41989 swig_globalvar
*vars
;
41990 } swig_varlinkobject
;
41992 SWIGINTERN PyObject
*
41993 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41994 return PyString_FromString("<Swig global variables>");
41997 SWIGINTERN PyObject
*
41998 swig_varlink_str(swig_varlinkobject
*v
) {
41999 PyObject
*str
= PyString_FromString("(");
42000 swig_globalvar
*var
;
42001 for (var
= v
->vars
; var
; var
=var
->next
) {
42002 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
42003 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
42005 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
42010 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
42011 PyObject
*str
= swig_varlink_str(v
);
42012 fprintf(fp
,"Swig global variables ");
42013 fprintf(fp
,"%s\n", PyString_AsString(str
));
42019 swig_varlink_dealloc(swig_varlinkobject
*v
) {
42020 swig_globalvar
*var
= v
->vars
;
42022 swig_globalvar
*n
= var
->next
;
42029 SWIGINTERN PyObject
*
42030 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
42031 PyObject
*res
= NULL
;
42032 swig_globalvar
*var
= v
->vars
;
42034 if (strcmp(var
->name
,n
) == 0) {
42035 res
= (*var
->get_attr
)();
42040 if (res
== NULL
&& !PyErr_Occurred()) {
42041 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
42047 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
42049 swig_globalvar
*var
= v
->vars
;
42051 if (strcmp(var
->name
,n
) == 0) {
42052 res
= (*var
->set_attr
)(p
);
42057 if (res
== 1 && !PyErr_Occurred()) {
42058 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
42063 SWIGINTERN PyTypeObject
*
42064 swig_varlink_type(void) {
42065 static char varlink__doc__
[] = "Swig var link object";
42066 static PyTypeObject varlink_type
;
42067 static int type_init
= 0;
42069 const PyTypeObject tmp
42071 PyObject_HEAD_INIT(NULL
)
42072 0, /* Number of items in variable part (ob_size) */
42073 (char *)"swigvarlink", /* Type name (tp_name) */
42074 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
42075 0, /* Itemsize (tp_itemsize) */
42076 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
42077 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
42078 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
42079 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
42080 0, /* tp_compare */
42081 (reprfunc
) swig_varlink_repr
, /* tp_repr */
42082 0, /* tp_as_number */
42083 0, /* tp_as_sequence */
42084 0, /* tp_as_mapping */
42087 (reprfunc
)swig_varlink_str
, /* tp_str */
42088 0, /* tp_getattro */
42089 0, /* tp_setattro */
42090 0, /* tp_as_buffer */
42092 varlink__doc__
, /* tp_doc */
42093 0, /* tp_traverse */
42095 0, /* tp_richcompare */
42096 0, /* tp_weaklistoffset */
42097 #if PY_VERSION_HEX >= 0x02020000
42098 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
42100 #if PY_VERSION_HEX >= 0x02030000
42103 #ifdef COUNT_ALLOCS
42104 0,0,0,0 /* tp_alloc -> tp_next */
42107 varlink_type
= tmp
;
42108 varlink_type
.ob_type
= &PyType_Type
;
42111 return &varlink_type
;
42114 /* Create a variable linking object for use later */
42115 SWIGINTERN PyObject
*
42116 SWIG_Python_newvarlink(void) {
42117 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
42121 return ((PyObject
*) result
);
42125 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
42126 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
42127 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
42129 size_t size
= strlen(name
)+1;
42130 gv
->name
= (char *)malloc(size
);
42132 strncpy(gv
->name
,name
,size
);
42133 gv
->get_attr
= get_attr
;
42134 gv
->set_attr
= set_attr
;
42135 gv
->next
= v
->vars
;
42141 SWIGINTERN PyObject
*
42143 static PyObject
*_SWIG_globals
= 0;
42144 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
42145 return _SWIG_globals
;
42148 /* -----------------------------------------------------------------------------
42149 * constants/methods manipulation
42150 * ----------------------------------------------------------------------------- */
42152 /* Install Constants */
42154 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
42157 for (i
= 0; constants
[i
].type
; ++i
) {
42158 switch(constants
[i
].type
) {
42159 case SWIG_PY_POINTER
:
42160 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
42162 case SWIG_PY_BINARY
:
42163 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
42170 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
42176 /* -----------------------------------------------------------------------------*/
42177 /* Fix SwigMethods to carry the callback ptrs when needed */
42178 /* -----------------------------------------------------------------------------*/
42181 SWIG_Python_FixMethods(PyMethodDef
*methods
,
42182 swig_const_info
*const_table
,
42183 swig_type_info
**types
,
42184 swig_type_info
**types_initial
) {
42186 for (i
= 0; methods
[i
].ml_name
; ++i
) {
42187 const char *c
= methods
[i
].ml_doc
;
42188 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
42190 swig_const_info
*ci
= 0;
42191 const char *name
= c
+ 10;
42192 for (j
= 0; const_table
[j
].type
; ++j
) {
42193 if (strncmp(const_table
[j
].name
, name
,
42194 strlen(const_table
[j
].name
)) == 0) {
42195 ci
= &(const_table
[j
]);
42200 size_t shift
= (ci
->ptype
) - types
;
42201 swig_type_info
*ty
= types_initial
[shift
];
42202 size_t ldoc
= (c
- methods
[i
].ml_doc
);
42203 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
42204 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
42207 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
42209 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
42211 strncpy(buff
, "swig_ptr: ", 10);
42213 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
42214 methods
[i
].ml_doc
= ndoc
;
42226 /* -----------------------------------------------------------------------------*
42227 * Partial Init method
42228 * -----------------------------------------------------------------------------*/
42233 SWIGEXPORT
void SWIG_init(void) {
42236 /* Fix SwigMethods to carry the callback ptrs when needed */
42237 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
42239 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42240 d
= PyModule_GetDict(m
);
42242 SWIG_InitializeModule(0);
42243 SWIG_InstallConstants(d
,swig_const_table
);
42246 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
42247 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
42248 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
42249 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
42250 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
42251 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
42252 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
42253 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
42254 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
42255 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
42256 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
42257 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
42258 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
42259 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
42260 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
42261 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
42262 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
42263 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
42264 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
42265 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
42266 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
42267 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
42268 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
42269 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
42270 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
42271 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
42272 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
42273 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
42274 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
42275 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
42276 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
42277 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
42278 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
42279 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
42280 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
42281 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
42282 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
42283 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
42284 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
42285 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
42286 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
42287 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
42288 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
42289 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
42290 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
42291 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
42292 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
42293 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
42294 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
42295 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
42296 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
42297 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
42298 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
42299 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
42300 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
42301 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
42302 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
42303 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
42304 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
42305 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
42306 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
42307 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
42308 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
42309 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
42310 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
42311 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
42312 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
42313 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
42314 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
42315 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
42316 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
42317 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
42318 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
42319 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
42320 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
42321 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
42322 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
42323 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
42324 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
42325 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
42326 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
42327 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
42328 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
42329 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
42330 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
42331 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
42332 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
42333 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
42334 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
42335 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
42336 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
42337 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
42338 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
42339 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
42340 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
42341 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
42342 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
42343 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
42344 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
42345 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
42346 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
42347 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
42348 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
42349 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
42350 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
42351 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
42352 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
42353 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
42354 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
42355 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
42356 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
42357 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
42358 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
42359 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
42360 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
42361 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
42362 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
42363 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
42364 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
42365 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
42366 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
42367 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
42368 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
42369 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
42370 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
42371 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
42372 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
42373 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
42374 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
42375 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
42376 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
42377 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
42379 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
42381 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
42382 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
42383 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
42384 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
42385 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
42386 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
42387 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
42388 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
42389 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
42390 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
42391 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
42392 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
42393 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
42394 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
42395 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
42396 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
42397 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
42398 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
42399 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
42400 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
42401 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
42402 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
42403 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
42404 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
42405 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
42406 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
42407 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
42408 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
42409 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
42410 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
42411 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
42412 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
42413 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
42414 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
42415 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
42416 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
42417 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
42418 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
42419 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
42420 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
42421 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
42422 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
42423 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
42424 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
42425 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
42426 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
42427 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
42428 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
42429 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
42430 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
42431 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
42432 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
42433 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
42434 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
42435 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
42436 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
42437 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
42438 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
42439 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
42440 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
42441 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
42442 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
42443 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
42444 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
42445 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
42446 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
42447 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
42448 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
42449 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
42450 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
42451 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
42452 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
42453 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
42454 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
42455 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
42456 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
42457 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
42458 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
42459 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
42460 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
42461 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
42462 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
42463 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
42464 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
42465 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
42466 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
42467 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
42468 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
42469 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
42470 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
42471 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
42472 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
42473 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
42474 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
42475 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
42476 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
42477 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
42478 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
42479 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
42480 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
42481 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
42482 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
42483 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
42484 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
42485 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
42486 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
42487 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
42488 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
42489 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
42490 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
42491 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
42492 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
42493 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
42494 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
42495 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
42496 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
42497 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
42498 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
42499 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
42500 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
42501 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
42502 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
42503 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
42504 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
42505 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
42506 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
42507 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
42508 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
42509 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
42510 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
42511 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
42512 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
42513 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
42514 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
42515 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
42516 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
42517 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
42518 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
42519 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
42520 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
42521 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
42522 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
42523 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
42524 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
42525 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
42526 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
42527 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
42528 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
42529 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
42530 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
42531 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
42532 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
42533 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
42534 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
42535 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
42536 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
42537 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
42538 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
42539 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
42540 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
42541 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
42542 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
42543 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
42544 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
42545 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
42546 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
42547 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
42548 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
42549 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
42550 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
42551 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
42552 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
42553 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
42554 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
42555 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
42556 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
42557 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
42558 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
42559 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
42560 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
42561 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
42562 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
42563 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
42564 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
42565 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
42566 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
42567 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
42568 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
42569 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
42570 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
42571 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
42572 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
42573 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
42574 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
42575 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
42576 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
42577 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
42578 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
42579 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
42580 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
42581 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
42582 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
42583 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
42584 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
42585 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
42586 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
42587 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
42588 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
42589 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
42590 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
42591 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
42592 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
42593 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
42594 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
42595 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
42596 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
42597 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
42598 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
42599 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
42600 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
42601 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
42602 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
42603 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
42604 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
42605 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
42606 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
42607 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
42608 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
42609 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
42610 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
42611 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
42612 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
42613 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
42614 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
42615 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
42616 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
42617 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
42618 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
42619 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
42620 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
42621 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
42622 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
42623 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
42624 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
42625 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
42626 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
42627 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
42628 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
42629 SWIG_Python_SetConstant(d
, "BUFFER_USES_SHARED_BUFFER",SWIG_From_int(static_cast< int >(wxBUFFER_USES_SHARED_BUFFER
)));
42630 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
42631 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
42632 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
42633 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
42634 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
42635 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
42636 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
42637 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
42638 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
42639 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
42640 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
42641 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
42642 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
42643 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
42644 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
42645 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
42646 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
42647 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
42648 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
42649 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
42650 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
42651 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
42652 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
42653 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
42654 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
42655 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
42656 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
42657 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
42658 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
42659 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
42660 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
42661 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
42662 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
42663 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
42664 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
42665 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
42666 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
42667 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
42668 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
42669 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
42670 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
42671 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
42672 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
42673 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
42674 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
42675 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
42676 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
42677 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
42678 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
42679 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
42680 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
42681 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
42682 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
42683 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
42684 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
42685 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
42686 SWIG_addvarlink(SWIG_globals(),(char*)"NullIconBundle",NullIconBundle_get
, NullIconBundle_set
);
42687 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
42688 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
42689 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
42690 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
42691 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
42692 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
42693 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
42694 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
42695 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
42696 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
42697 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
42698 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
42699 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
42700 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
42701 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
42702 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
42703 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
42704 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
42705 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
42706 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
42708 // Work around a chicken/egg problem in drawlist.cpp
42709 wxPyDrawList_SetAPIPtr();