1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColour swig_types[28]
2495 #define SWIGTYPE_p_wxColourDatabase swig_types[29]
2496 #define SWIGTYPE_p_wxCommandEvent swig_types[30]
2497 #define SWIGTYPE_p_wxContextMenuEvent swig_types[31]
2498 #define SWIGTYPE_p_wxControl swig_types[32]
2499 #define SWIGTYPE_p_wxControlWithItems swig_types[33]
2500 #define SWIGTYPE_p_wxCursor swig_types[34]
2501 #define SWIGTYPE_p_wxDC swig_types[35]
2502 #define SWIGTYPE_p_wxDCBrushChanger swig_types[36]
2503 #define SWIGTYPE_p_wxDCClipper swig_types[37]
2504 #define SWIGTYPE_p_wxDCOverlay swig_types[38]
2505 #define SWIGTYPE_p_wxDCPenChanger swig_types[39]
2506 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDash swig_types[41]
2508 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDuplexMode swig_types[45]
2512 #define SWIGTYPE_p_wxEffects swig_types[46]
2513 #define SWIGTYPE_p_wxEncodingConverter swig_types[47]
2514 #define SWIGTYPE_p_wxEraseEvent swig_types[48]
2515 #define SWIGTYPE_p_wxEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvtHandler swig_types[50]
2517 #define SWIGTYPE_p_wxFSFile swig_types[51]
2518 #define SWIGTYPE_p_wxFileSystem swig_types[52]
2519 #define SWIGTYPE_p_wxFlexGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxFocusEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFont swig_types[55]
2522 #define SWIGTYPE_p_wxFontList swig_types[56]
2523 #define SWIGTYPE_p_wxFontMapper swig_types[57]
2524 #define SWIGTYPE_p_wxGBSizerItem swig_types[58]
2525 #define SWIGTYPE_p_wxGCDC swig_types[59]
2526 #define SWIGTYPE_p_wxGDIObjListBase swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObject swig_types[61]
2528 #define SWIGTYPE_p_wxGIFHandler swig_types[62]
2529 #define SWIGTYPE_p_wxGraphicsBrush swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsContext swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsFont swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsObject swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsPath swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPen swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[70]
2537 #define SWIGTYPE_p_wxGridBagSizer swig_types[71]
2538 #define SWIGTYPE_p_wxGridSizer swig_types[72]
2539 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[73]
2540 #define SWIGTYPE_p_wxICOHandler swig_types[74]
2541 #define SWIGTYPE_p_wxIcon swig_types[75]
2542 #define SWIGTYPE_p_wxIconBundle swig_types[76]
2543 #define SWIGTYPE_p_wxIconLocation swig_types[77]
2544 #define SWIGTYPE_p_wxIconizeEvent swig_types[78]
2545 #define SWIGTYPE_p_wxIdleEvent swig_types[79]
2546 #define SWIGTYPE_p_wxImage swig_types[80]
2547 #define SWIGTYPE_p_wxImageHandler swig_types[81]
2548 #define SWIGTYPE_p_wxImageList swig_types[82]
2549 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[83]
2550 #define SWIGTYPE_p_wxInitDialogEvent swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLanguageInfo swig_types[87]
2554 #define SWIGTYPE_p_wxLayoutConstraints swig_types[88]
2555 #define SWIGTYPE_p_wxLocale swig_types[89]
2556 #define SWIGTYPE_p_wxMask swig_types[90]
2557 #define SWIGTYPE_p_wxMaximizeEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMemoryDC swig_types[92]
2559 #define SWIGTYPE_p_wxMenu swig_types[93]
2560 #define SWIGTYPE_p_wxMenuBar swig_types[94]
2561 #define SWIGTYPE_p_wxMenuEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMenuItem swig_types[96]
2563 #define SWIGTYPE_p_wxMetaFile swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFileDC swig_types[98]
2565 #define SWIGTYPE_p_wxMirrorDC swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMoveEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[104]
2571 #define SWIGTYPE_p_wxNativeFontInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativePixelData swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[107]
2574 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNcPaintEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNotifyEvent swig_types[110]
2577 #define SWIGTYPE_p_wxObject swig_types[111]
2578 #define SWIGTYPE_p_wxOverlay swig_types[112]
2579 #define SWIGTYPE_p_wxPCXHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPNGHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNMHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPaintDC swig_types[116]
2583 #define SWIGTYPE_p_wxPaintEvent swig_types[117]
2584 #define SWIGTYPE_p_wxPalette swig_types[118]
2585 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[119]
2586 #define SWIGTYPE_p_wxPaperSize swig_types[120]
2587 #define SWIGTYPE_p_wxPen swig_types[121]
2588 #define SWIGTYPE_p_wxPenList swig_types[122]
2589 #define SWIGTYPE_p_wxPixelDataBase swig_types[123]
2590 #define SWIGTYPE_p_wxPoint swig_types[124]
2591 #define SWIGTYPE_p_wxPoint2D swig_types[125]
2592 #define SWIGTYPE_p_wxPostScriptDC swig_types[126]
2593 #define SWIGTYPE_p_wxPrintData swig_types[127]
2594 #define SWIGTYPE_p_wxPrinterDC swig_types[128]
2595 #define SWIGTYPE_p_wxPseudoDC swig_types[129]
2596 #define SWIGTYPE_p_wxPyApp swig_types[130]
2597 #define SWIGTYPE_p_wxPyCommandEvent swig_types[131]
2598 #define SWIGTYPE_p_wxPyEvent swig_types[132]
2599 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[133]
2600 #define SWIGTYPE_p_wxPyImageHandler swig_types[134]
2601 #define SWIGTYPE_p_wxPyLocale swig_types[135]
2602 #define SWIGTYPE_p_wxPySizer swig_types[136]
2603 #define SWIGTYPE_p_wxPyValidator swig_types[137]
2604 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[138]
2605 #define SWIGTYPE_p_wxRect swig_types[139]
2606 #define SWIGTYPE_p_wxRect2D swig_types[140]
2607 #define SWIGTYPE_p_wxRegion swig_types[141]
2608 #define SWIGTYPE_p_wxRegionIterator swig_types[142]
2609 #define SWIGTYPE_p_wxRendererNative swig_types[143]
2610 #define SWIGTYPE_p_wxRendererVersion swig_types[144]
2611 #define SWIGTYPE_p_wxScreenDC swig_types[145]
2612 #define SWIGTYPE_p_wxScrollEvent swig_types[146]
2613 #define SWIGTYPE_p_wxScrollWinEvent swig_types[147]
2614 #define SWIGTYPE_p_wxSetCursorEvent swig_types[148]
2615 #define SWIGTYPE_p_wxShowEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSize swig_types[150]
2617 #define SWIGTYPE_p_wxSizeEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSizer swig_types[152]
2619 #define SWIGTYPE_p_wxSizerItem swig_types[153]
2620 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[154]
2621 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[155]
2622 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[156]
2623 #define SWIGTYPE_p_wxStockGDI swig_types[157]
2624 #define SWIGTYPE_p_wxString swig_types[158]
2625 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[159]
2626 #define SWIGTYPE_p_wxTGAHandler swig_types[160]
2627 #define SWIGTYPE_p_wxTIFFHandler swig_types[161]
2628 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
2629 #define SWIGTYPE_p_wxValidator swig_types[163]
2630 #define SWIGTYPE_p_wxWindow swig_types[164]
2631 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[165]
2632 #define SWIGTYPE_p_wxWindowDC swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
2634 #define SWIGTYPE_p_wxXPMHandler swig_types[168]
2635 static swig_type_info
*swig_types
[170];
2636 static swig_module_info swig_module
= {swig_types
, 169, 0, 0, 0, 0};
2637 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2638 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2640 /* -------- TYPES TABLE (END) -------- */
2642 #if (PY_VERSION_HEX <= 0x02000000)
2643 # if !defined(SWIG_PYTHON_CLASSIC)
2644 # error "This python version requires to use swig with the '-classic' option"
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodern' option"
2650 #if (PY_VERSION_HEX <= 0x02020000)
2651 # error "This python version requires to use swig with the '-nomodernargs' option"
2654 # error "This python version requires to use swig with the '-nofastunpack' option"
2657 /*-----------------------------------------------
2658 @(target):= _gdi_.so
2659 ------------------------------------------------*/
2660 #define SWIG_init init_gdi_
2662 #define SWIG_name "_gdi_"
2664 #define SWIGVERSION 0x010329
2667 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2668 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2671 #include <stdexcept>
2675 class PyObject_ptr
{
2680 PyObject_ptr() :_obj(0)
2684 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2689 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2691 if (initial_ref
) Py_XINCREF(_obj
);
2694 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2696 Py_XINCREF(item
._obj
);
2707 operator PyObject
*() const
2712 PyObject
*operator->() const
2721 struct PyObject_var
: PyObject_ptr
{
2722 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2724 PyObject_var
& operator = (PyObject
* obj
)
2734 #include "wx/wxPython/wxPython.h"
2735 #include "wx/wxPython/pyclasses.h"
2738 static const wxString
wxPyEmptyString(wxEmptyString
);
2740 #define SWIG_From_long PyInt_FromLong
2743 SWIGINTERNINLINE PyObject
*
2744 SWIG_From_int (int value
)
2746 return SWIG_From_long (value
);
2752 # define LLONG_MIN LONG_LONG_MIN
2755 # define LLONG_MAX LONG_LONG_MAX
2758 # define ULLONG_MAX ULONG_LONG_MAX
2763 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2765 if (PyNumber_Check(obj
)) {
2766 if (val
) *val
= PyInt_AsLong(obj
);
2769 return SWIG_TypeError
;
2774 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2777 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2778 return SWIG_TypeError
;
2781 *val
= (unsigned long)v
;
2787 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2790 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2791 if (SWIG_IsOK(res
)) {
2792 if ((v
> UCHAR_MAX
)) {
2793 return SWIG_OverflowError
;
2795 if (val
) *val
= static_cast< unsigned char >(v
);
2802 SWIGINTERNINLINE PyObject
*
2803 SWIG_From_unsigned_SS_long (unsigned long value
)
2805 return (value
> LONG_MAX
) ?
2806 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2810 SWIGINTERNINLINE PyObject
*
2811 SWIG_From_unsigned_SS_char (unsigned char value
)
2813 return SWIG_From_unsigned_SS_long (value
);
2816 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2817 wxColour temp
, *obj
= &temp
;
2818 if ( other
== Py_None
) return false;
2819 if ( ! wxColour_helper(other
, &obj
) ) {
2823 return self
->operator==(*obj
);
2825 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2826 wxColour temp
, *obj
= &temp
;
2827 if ( other
== Py_None
) return true;
2828 if ( ! wxColour_helper(other
, &obj
)) {
2832 return self
->operator!=(*obj
);
2836 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2838 if (obj
== Py_True
) {
2839 if (val
) *val
= true;
2841 } else if (obj
== Py_False
) {
2842 if (val
) *val
= false;
2846 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2847 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2852 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2853 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2857 int alpha
= wxALPHA_OPAQUE
;
2860 green
= self
->Green();
2861 blue
= self
->Blue();
2862 alpha
= self
->Alpha();
2864 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2865 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2866 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2868 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2871 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2872 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2876 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2879 int res
= SWIG_AsVal_long (obj
, &v
);
2880 if (SWIG_IsOK(res
)) {
2881 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2882 return SWIG_OverflowError
;
2884 if (val
) *val
= static_cast< int >(v
);
2890 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2892 int count
= self
->GetDashes(&dashes
);
2893 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2894 PyObject
* retval
= PyList_New(0);
2895 for (int x
=0; x
<count
; x
++) {
2896 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2897 PyList_Append(retval
, pyint
);
2900 wxPyEndBlockThreads(blocked
);
2903 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2904 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2905 int size
= PyList_Size(pyDashes
);
2906 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2908 // black magic warning! The array of wxDashes needs to exist as
2909 // long as the pen does because wxPen does not copy the array. So
2910 // stick a copy in a Python string object and attach it to _self,
2911 // and then call SetDashes with a pointer to that array. Then
2912 // when the Python pen object is destroyed the array will be
2914 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2915 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2917 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2919 Py_DECREF(strDashes
);
2920 wxPyEndBlockThreads(blocked
);
2922 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2923 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2925 SWIGINTERNINLINE PyObject
*
2926 SWIG_From_short (short value
)
2928 return SWIG_From_long (value
);
2933 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2936 int res
= SWIG_AsVal_long (obj
, &v
);
2937 if (SWIG_IsOK(res
)) {
2938 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2939 return SWIG_OverflowError
;
2941 if (val
) *val
= static_cast< short >(v
);
2948 #include <wx/rawbmp.h>
2951 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2952 // appears to me that the other platforms are already doing it, so I'll just
2953 // automatically do it for wxMSW here.
2955 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2956 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2958 #define wxPy_premultiply(p, a) (p)
2959 #define wxPy_unpremultiply(p, a) (p)
2963 #include <wx/image.h>
2965 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2966 char** cArray
= NULL
;
2969 if (!PyList_Check(listOfStrings
)) {
2970 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2973 count
= PyList_Size(listOfStrings
);
2974 cArray
= new char*[count
];
2976 for(int x
=0; x
<count
; x
++) {
2977 // TODO: Need some validation and error checking here
2978 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2984 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2985 char** cArray
= NULL
;
2988 cArray
= ConvertListOfStrings(listOfStrings
);
2991 bmp
= new wxBitmap(cArray
);
2995 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2998 PyString_AsStringAndSize(bits
, &buf
, &length
);
2999 return new wxBitmap(buf
, width
, height
, depth
);
3001 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
3002 wxSize
size(self
->GetWidth(), self
->GetHeight());
3005 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
3006 wxMask
*mask
= new wxMask(*self
, colour
);
3007 self
->SetMask(mask
);
3009 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
3010 self
->SetWidth(size
.x
);
3011 self
->SetHeight(size
.y
);
3013 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
3014 int height
=self
->GetHeight();
3015 int width
=self
->GetWidth();
3017 if (DATASIZE
!= width
* height
* 3) {
3018 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3020 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3022 // raise an exception...
3023 wxPyErr_SetString(PyExc_RuntimeError
,
3024 "Failed to gain raw access to bitmap data.");
3028 wxNativePixelData::Iterator
p(pixData
);
3029 for (int y
=0; y
<height
; y
++) {
3030 wxNativePixelData::Iterator rowStart
= p
;
3031 for (int x
=0; x
<width
; x
++) {
3032 p
.Red() = *(data
++);
3033 p
.Green() = *(data
++);
3034 p
.Blue() = *(data
++);
3038 p
.OffsetY(pixData
, 1);
3041 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3042 int height
=self
->GetHeight();
3043 int width
=self
->GetWidth();
3045 if (DATASIZE
!= width
* height
* 4) {
3046 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3048 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3050 // raise an exception...
3051 wxPyErr_SetString(PyExc_RuntimeError
,
3052 "Failed to gain raw access to bitmap data.");
3057 wxAlphaPixelData::Iterator
p(pixData
);
3058 for (int y
=0; y
<height
; y
++) {
3059 wxAlphaPixelData::Iterator rowStart
= p
;
3060 for (int x
=0; x
<width
; x
++) {
3062 p
.Red() = wxPy_premultiply(*(data
++), a
);
3063 p
.Green() = wxPy_premultiply(*(data
++), a
);
3064 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3065 p
.Alpha() = a
; data
++;
3069 p
.OffsetY(pixData
, 1);
3072 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3073 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3075 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3076 buffer data
, int DATASIZE
,
3077 buffer alpha
, int ALPHASIZE
)
3079 if (DATASIZE
!= width
*height
*3) {
3080 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3084 if (ALPHASIZE
!= width
*height
) {
3085 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3089 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3090 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3092 // raise an exception...
3093 wxPyErr_SetString(PyExc_RuntimeError
,
3094 "Failed to gain raw access to bitmap data.");
3099 wxAlphaPixelData::Iterator
p(pixData
);
3100 for (int y
=0; y
<height
; y
++) {
3101 wxAlphaPixelData::Iterator rowStart
= p
;
3102 for (int x
=0; x
<width
; x
++) {
3103 byte a
= *(alpha
++);
3104 p
.Red() = wxPy_premultiply(*(data
++), a
);
3105 p
.Green() = wxPy_premultiply(*(data
++), a
);
3106 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3111 p
.OffsetY(pixData
, 1);
3116 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3118 if (DATASIZE
!= width
*height
*3) {
3119 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3123 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3124 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3126 // raise an exception...
3127 wxPyErr_SetString(PyExc_RuntimeError
,
3128 "Failed to gain raw access to bitmap data.");
3132 wxNativePixelData::Iterator
p(pixData
);
3133 for (int y
=0; y
<height
; y
++) {
3134 wxNativePixelData::Iterator rowStart
= p
;
3135 for (int x
=0; x
<width
; x
++) {
3136 p
.Red() = *(data
++);
3137 p
.Green() = *(data
++);
3138 p
.Blue() = *(data
++);
3142 p
.OffsetY(pixData
, 1);
3148 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3150 if (DATASIZE
!= width
*height
*4) {
3151 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3155 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3156 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3158 // raise an exception...
3159 wxPyErr_SetString(PyExc_RuntimeError
,
3160 "Failed to gain raw access to bitmap data.");
3165 wxAlphaPixelData::Iterator
p(pixData
);
3166 for (int y
=0; y
<height
; y
++) {
3167 wxAlphaPixelData::Iterator rowStart
= p
;
3168 for (int x
=0; x
<width
; x
++) {
3170 p
.Red() = wxPy_premultiply(*(data
++), a
);
3171 p
.Green() = wxPy_premultiply(*(data
++), a
);
3172 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3173 p
.Alpha() = a
; data
++;
3177 p
.OffsetY(pixData
, 1);
3183 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3185 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3186 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3187 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3189 self
->Green() = green
;
3190 self
->Blue() = blue
;
3192 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3193 PyObject
* rv
= PyTuple_New(3);
3194 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3195 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3196 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3200 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3202 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3203 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3204 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3205 self
->Red() = wxPy_premultiply(red
, alpha
);
3206 self
->Green() = wxPy_premultiply(green
, alpha
);
3207 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3208 self
->Alpha() = alpha
;
3210 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3211 PyObject
* rv
= PyTuple_New(4);
3212 int red
= self
->Red();
3213 int green
= self
->Green();
3214 int blue
= self
->Blue();
3215 int alpha
= self
->Alpha();
3217 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3218 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3219 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3220 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3223 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3224 if ( !colour
.IsOk() )
3225 return new wxMask(bitmap
, *wxBLACK
);
3227 return new wxMask(bitmap
, colour
);
3230 #include <wx/iconbndl.h>
3232 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3233 wxIcon
* icon
= new wxIcon();
3234 icon
->CopyFromBitmap(bmp
);
3237 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3238 char** cArray
= NULL
;
3241 cArray
= ConvertListOfStrings(listOfStrings
);
3244 icon
= new wxIcon(cArray
);
3248 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3252 return new wxIconLocation(*filename
);
3255 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3262 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3269 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3271 wxImage
img(cursorName
, type
);
3272 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3273 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3274 return new wxCursor(img
);
3276 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3281 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3284 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3285 return self
->operator bool();
3288 #include <wx/fontutil.h>
3289 #include <wx/fontmap.h>
3290 #include <wx/fontenum.h>
3292 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3293 return self
->ToString();
3296 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3297 static wxNativeEncodingInfo info
;
3298 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3305 SWIGINTERNINLINE PyObject
*
3306 SWIG_From_size_t (size_t value
)
3308 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3312 SWIGINTERNINLINE
int
3313 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3316 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3317 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3321 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3322 wxFontEncoding alt_enc
;
3323 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3324 return PyInt_FromLong(alt_enc
);
3330 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3331 wxNativeFontInfo nfi
;
3332 nfi
.FromString(info
);
3333 return new wxFont(nfi
);
3335 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3336 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3338 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3339 return wxFontBase::New(pixelSize
, family
,
3340 style
, weight
, underlined
,
3343 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3344 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3346 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3347 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3349 class wxPyFontEnumerator
: public wxFontEnumerator
{
3351 wxPyFontEnumerator() {}
3352 ~wxPyFontEnumerator() {}
3354 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3355 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3360 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3361 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3364 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3366 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3367 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3368 ret
= wxArrayString2PyList_helper(arr
);
3369 wxPyEndBlockThreads(blocked
);
3372 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3374 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3375 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3376 ret
= wxArrayString2PyList_helper(arr
);
3377 wxPyEndBlockThreads(blocked
);
3383 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3386 loc
= new wxLocale();
3388 loc
= new wxLocale(language
, flags
);
3389 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3390 // for the floating point conversions and such to work right.
3391 #if PY_VERSION_HEX < 0x02040000
3392 setlocale(LC_NUMERIC
, "C");
3396 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3397 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3398 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3399 // for the floating point conversions and such to work right.
3400 #if PY_VERSION_HEX < 0x02040000
3401 setlocale(LC_NUMERIC
, "C");
3405 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3406 bool rc
= self
->Init(language
, flags
);
3407 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3408 // for the floating point conversions and such to work right.
3409 #if PY_VERSION_HEX < 0x02040000
3410 setlocale(LC_NUMERIC
, "C");
3415 class wxPyLocale
: public wxLocale
3420 wxPyLocale(const wxChar
*szName
, // name (for messages)
3421 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3422 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3423 bool bLoadDefault
= true, // preload wxstd.mo?
3424 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3426 wxPyLocale(int language
, // wxLanguage id or custom language
3427 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3431 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3432 const wxChar
*szDomain
= NULL
) const;
3433 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3434 const wxChar
*szOrigString2
, size_t n
,
3435 const wxChar
*szDomain
= NULL
) const;
3437 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3438 const wxChar
*szDomain
= NULL
) const;
3439 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3440 const wxChar
*szOrigString2
, size_t n
,
3441 const wxChar
*szDomain
= NULL
) const;
3445 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3448 wxPyLocale::wxPyLocale() : wxLocale()
3452 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3453 const wxChar
*szShort
, // dir prefix (for msg files)
3454 const wxChar
*szLocale
, // locale (for setlocale)
3455 bool bLoadDefault
, // preload wxstd.mo?
3456 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3457 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3461 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3462 int flags
) : wxLocale(language
, flags
)
3466 wxPyLocale::~wxPyLocale()
3470 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3471 const wxChar
*szDomain
) const
3473 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3474 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3477 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3478 const wxChar
*szOrigString2
, size_t n
,
3479 const wxChar
*szDomain
) const
3481 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3482 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3485 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3486 const wxChar
*szDomain
) const
3489 static wxString str
;
3490 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3491 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3492 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3493 PyObject
* param1
= wx2PyString(szOrigString
);
3494 PyObject
* param2
= wx2PyString(szDomain
);
3495 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3499 str
= Py2wxString(ret
);
3503 wxPyEndBlockThreads(blocked
);
3504 return (found
? (wxChar
*)str
.c_str() : NULL
);
3507 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3508 const wxChar
*szOrigString2
, size_t n
,
3509 const wxChar
*szDomain
) const
3512 static wxString str
;
3513 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3514 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3515 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3516 PyObject
* param1
= wx2PyString(szOrigString
);
3517 PyObject
* param2
= wx2PyString(szOrigString2
);
3518 PyObject
* param4
= wx2PyString(szDomain
);
3519 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3524 str
= Py2wxString(ret
);
3528 wxPyEndBlockThreads(blocked
);
3529 return (found
? (wxChar
*)str
.c_str() : NULL
);
3532 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3535 loc
= new wxPyLocale();
3537 loc
= new wxPyLocale(language
, flags
);
3538 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3539 // for the floating point conversions and such to work right.
3540 #if PY_VERSION_HEX < 0x02040000
3541 setlocale(LC_NUMERIC
, "C");
3546 #include "wx/wxPython/pydrawxxx.h"
3548 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3550 self
->GetPixel(x
, y
, &col
);
3553 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3555 self
->GetPixel(pt
, &col
);
3560 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3562 if (PyNumber_Check(obj
)) {
3563 if (val
) *val
= PyFloat_AsDouble(obj
);
3566 return SWIG_TypeError
;
3569 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3571 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3574 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3576 self
->GetClippingBox(rect
);
3579 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3581 self
->GetPartialTextExtents(text
, widths
);
3585 #define SWIG_From_double PyFloat_FromDouble
3587 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3588 self
->SetLogicalOrigin(point
.x
, point
.y
);
3590 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3591 self
->SetDeviceOrigin(point
.x
, point
.y
);
3593 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3594 self
->CalcBoundingBox(point
.x
, point
.y
);
3596 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3597 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3599 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3600 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3602 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3603 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3605 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3606 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3608 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3609 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3611 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3612 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3615 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3623 #include <wx/dcbuffer.h>
3626 #include <wx/dcps.h>
3629 #include <wx/metafile.h>
3632 #include <wx/graphics.h>
3635 #if !wxUSE_GRAPHICS_CONTEXT
3636 // C++ stub classes for platforms or build configurations that don't have
3637 // wxGraphicsContext yet.
3639 class wxGraphicsRenderer
;
3640 class wxGraphicsMatrix
;
3643 class wxGraphicsObject
: public wxObject
3646 wxGraphicsObject() {}
3647 wxGraphicsObject( wxGraphicsRenderer
* ) {
3648 PyErr_SetString(PyExc_NotImplementedError
,
3649 "wx.GraphicsObject is not available on this platform.");
3651 wxGraphicsObject( const wxGraphicsObject
& ) {}
3652 virtual ~wxGraphicsObject() {}
3653 bool IsNull() const { return false; }
3654 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3659 class wxGraphicsPen
: public wxGraphicsObject
3663 virtual ~wxGraphicsPen() {}
3665 wxGraphicsPen wxNullGraphicsPen
;
3669 class wxGraphicsBrush
: public wxGraphicsObject
3672 wxGraphicsBrush() {}
3673 virtual ~wxGraphicsBrush() {}
3675 wxGraphicsBrush wxNullGraphicsBrush
;
3679 class wxGraphicsFont
: public wxGraphicsObject
3683 virtual ~wxGraphicsFont() {}
3685 wxGraphicsFont wxNullGraphicsFont
;
3689 class wxGraphicsPath
: public wxGraphicsObject
3692 wxGraphicsPath() { }
3693 wxGraphicsPath(wxGraphicsRenderer
* ) {
3694 PyErr_SetString(PyExc_NotImplementedError
,
3695 "wx.GraphicsPath is not available on this platform.");
3697 virtual ~wxGraphicsPath() {}
3699 void MoveToPoint( wxDouble
, wxDouble
) {}
3700 void MoveToPoint( const wxPoint2DDouble
& ) {}
3701 void AddLineToPoint( wxDouble
, wxDouble
) {}
3702 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3703 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3704 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3705 void AddPath( const wxGraphicsPath
& ) {}
3706 void CloseSubpath() {}
3707 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3708 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3709 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3710 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3712 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3713 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3714 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3715 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3717 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3718 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3719 void * GetNativePath() const { return NULL
; }
3720 void UnGetNativePath(void *) const {}
3721 void Transform( const wxGraphicsMatrix
& ) {}
3722 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3723 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3725 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3726 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3728 wxGraphicsPath wxNullGraphicsPath
;
3731 class wxGraphicsMatrix
: public wxGraphicsObject
3734 wxGraphicsMatrix() { }
3735 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3736 PyErr_SetString(PyExc_NotImplementedError
,
3737 "wx.GraphicsMatrix is not available on this platform.");
3739 virtual ~wxGraphicsMatrix() {}
3740 virtual void Concat( const wxGraphicsMatrix
& ) {}
3741 virtual void Copy( const wxGraphicsMatrix
& ) {}
3742 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3743 wxDouble
, wxDouble
) {}
3744 virtual void Get(wxDouble
*, wxDouble
*, wxDouble
*,
3745 wxDouble
*, wxDouble
*, wxDouble
*) {}
3746 virtual void Invert() {}
3747 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3748 virtual bool IsIdentity() const { return false; }
3749 virtual void Translate( wxDouble
, wxDouble
) {}
3750 virtual void Scale( wxDouble
, wxDouble
) {}
3751 virtual void Rotate( wxDouble
) {}
3752 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3753 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3754 virtual void * GetNativeMatrix() const { return NULL
; }
3756 wxGraphicsMatrix wxNullGraphicsMatrix
;
3759 class wxGraphicsContext
: public wxGraphicsObject
3763 wxGraphicsContext(wxGraphicsRenderer
* ) {
3764 PyErr_SetString(PyExc_NotImplementedError
,
3765 "wx.GraphicsContext is not available on this platform.");
3768 virtual ~wxGraphicsContext() {}
3770 static wxGraphicsContext
* Create() {
3771 PyErr_SetString(PyExc_NotImplementedError
,
3772 "wx.GraphicsContext is not available on this platform.");
3775 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3776 PyErr_SetString(PyExc_NotImplementedError
,
3777 "wx.GraphicsContext is not available on this platform.");
3781 static wxGraphicsContext
* CreateFromNative( void * ) {
3782 PyErr_SetString(PyExc_NotImplementedError
,
3783 "wx.GraphicsContext is not available on this platform.");
3787 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3788 PyErr_SetString(PyExc_NotImplementedError
,
3789 "wx.GraphicsContext is not available on this platform.");
3793 static wxGraphicsContext
* Create( wxWindow
* ) {
3794 PyErr_SetString(PyExc_NotImplementedError
,
3795 "wx.GraphicsContext is not available on this platform.");
3799 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3801 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3803 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3805 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3806 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3808 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3809 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3810 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3812 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3814 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3815 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3817 virtual void PushState() {}
3818 virtual void PopState() {}
3819 virtual void Clip( const wxRegion
& ) {}
3820 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3821 virtual void ResetClip() {}
3822 virtual void * GetNativeContext() { return NULL
; }
3823 virtual int GetLogicalFunction() const { return 0; }
3824 virtual bool SetLogicalFunction(int ) {}
3825 virtual void Translate( wxDouble
, wxDouble
) {}
3826 virtual void Scale( wxDouble
, wxDouble
) {}
3827 virtual void Rotate( wxDouble
) {}
3828 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3829 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3830 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3832 virtual void SetPen( const wxGraphicsPen
& ) {}
3833 void SetPen( const wxPen
& ) {}
3835 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3836 void SetBrush( const wxBrush
& ) {}
3838 virtual void SetFont( const wxGraphicsFont
& ) {}
3839 void SetFont( const wxFont
&, const wxColour
& ) {}
3841 virtual void StrokePath( const wxGraphicsPath
& ) {}
3842 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3843 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3845 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3846 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3847 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3848 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3849 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3850 wxDouble
*, wxDouble
* ) const {}
3851 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3853 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3854 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3856 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3857 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3858 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3859 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3860 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3861 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3862 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3863 virtual bool ShouldOffset() const { return false; }
3867 class wxGraphicsRenderer
: public wxObject
3870 wxGraphicsRenderer() {
3871 PyErr_SetString(PyExc_NotImplementedError
,
3872 "wx.GraphicsRenderer is not available on this platform.");
3875 virtual ~wxGraphicsRenderer() {}
3877 static wxGraphicsRenderer
* GetDefaultRenderer() {
3878 PyErr_SetString(PyExc_NotImplementedError
,
3879 "wx.GraphicsRenderer is not available on this platform.");
3883 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3884 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3885 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3886 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3887 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3889 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3891 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3892 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3894 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3895 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3896 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3897 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3898 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3899 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3900 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3905 class wxGCDC
: public wxWindowDC
3908 wxGCDC(const wxWindowDC
&) {
3909 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3910 PyErr_SetString(PyExc_NotImplementedError
,
3911 "wxGCDC is not available on this platform.");
3912 wxPyEndBlockThreads(blocked
);
3915 wxGCDC(const wxWindow
*) {
3916 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3917 PyErr_SetString(PyExc_NotImplementedError
,
3918 "wxGCDC is not available on this platform.");
3919 wxPyEndBlockThreads(blocked
);
3923 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3924 PyErr_SetString(PyExc_NotImplementedError
,
3925 "wxGCDC is not available on this platform.");
3926 wxPyEndBlockThreads(blocked
);
3929 virtual ~wxGCDC() {}
3931 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3932 void SetGraphicsContext( wxGraphicsContext
* ) {}
3937 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3938 if ( !backgroundBrush
.IsNull() )
3939 self
->DrawText(str
, x
, y
, backgroundBrush
);
3941 self
->DrawText(str
, x
, y
);
3943 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3944 if ( !backgroundBrush
.IsNull() )
3945 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3947 self
->DrawText(str
, x
, y
, angle
);
3949 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3950 wxDouble width
= 0.0,
3952 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3953 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3954 PyObject
* rv
= PyTuple_New(2);
3955 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3956 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3959 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3960 wxArrayDouble widths
;
3961 self
->GetPartialTextExtents(text
, widths
);
3964 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3965 size_t c1
, c2
, count
;
3966 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3967 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3969 if ( beginP
!= NULL
&& endP
!= NULL
)
3971 count
= wxMin(c1
, c2
);
3972 self
->StrokeLines(count
, beginP
, endP
);
3978 #include "wx/dcgraph.h"
3981 #include <wx/overlay.h>
3985 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3986 self
->AddColour(name
, wxColour(red
, green
, blue
));
3989 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3990 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3991 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3992 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3995 #include <wx/effects.h>
3998 #include "wx/renderer.h"
4001 SWIGINTERNINLINE PyObject
*
4002 SWIG_From_bool (bool value
)
4004 return PyBool_FromLong(value
? 1 : 0);
4008 #include "wx/wxPython/pseudodc.h"
4010 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
4012 self
->GetIdBounds(id
, rect
);
4018 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4019 PyObject
*resultobj
= 0;
4020 wxGDIObject
*result
= 0 ;
4022 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4024 if (!wxPyCheckForApp()) SWIG_fail
;
4025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4026 result
= (wxGDIObject
*)new wxGDIObject();
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) SWIG_fail
;
4030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4037 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4038 PyObject
*resultobj
= 0;
4039 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4042 PyObject
*swig_obj
[1] ;
4044 if (!args
) SWIG_fail
;
4046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4047 if (!SWIG_IsOK(res1
)) {
4048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4050 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4058 resultobj
= SWIG_Py_Void();
4065 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4066 PyObject
*resultobj
= 0;
4067 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4071 PyObject
*swig_obj
[1] ;
4073 if (!args
) SWIG_fail
;
4075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4076 if (!SWIG_IsOK(res1
)) {
4077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4079 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4082 result
= (bool)(arg1
)->IsNull();
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4095 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4097 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4098 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4099 return SWIG_Py_Void();
4102 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4103 return SWIG_Python_InitShadowInstance(args
);
4106 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
*resultobj
= 0;
4108 byte arg1
= (byte
) 0 ;
4109 byte arg2
= (byte
) 0 ;
4110 byte arg3
= (byte
) 0 ;
4111 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4112 wxColour
*result
= 0 ;
4113 unsigned char val1
;
4115 unsigned char val2
;
4117 unsigned char val3
;
4119 unsigned char val4
;
4121 PyObject
* obj0
= 0 ;
4122 PyObject
* obj1
= 0 ;
4123 PyObject
* obj2
= 0 ;
4124 PyObject
* obj3
= 0 ;
4125 char * kwnames
[] = {
4126 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4131 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4132 if (!SWIG_IsOK(ecode1
)) {
4133 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4135 arg1
= static_cast< byte
>(val1
);
4138 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4139 if (!SWIG_IsOK(ecode2
)) {
4140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4142 arg2
= static_cast< byte
>(val2
);
4145 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4146 if (!SWIG_IsOK(ecode3
)) {
4147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4149 arg3
= static_cast< byte
>(val3
);
4152 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4153 if (!SWIG_IsOK(ecode4
)) {
4154 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4156 arg4
= static_cast< byte
>(val4
);
4159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4160 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4161 wxPyEndAllowThreads(__tstate
);
4162 if (PyErr_Occurred()) SWIG_fail
;
4164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4171 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4172 PyObject
*resultobj
= 0;
4173 wxString
*arg1
= 0 ;
4174 wxColour
*result
= 0 ;
4175 bool temp1
= false ;
4176 PyObject
* obj0
= 0 ;
4177 char * kwnames
[] = {
4178 (char *) "colorName", NULL
4181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4183 arg1
= wxString_in_helper(obj0
);
4184 if (arg1
== NULL
) SWIG_fail
;
4188 if (!wxPyCheckForApp()) SWIG_fail
;
4189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4190 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4191 wxPyEndAllowThreads(__tstate
);
4192 if (PyErr_Occurred()) SWIG_fail
;
4194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4209 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4210 PyObject
*resultobj
= 0;
4211 unsigned long arg1
;
4212 wxColour
*result
= 0 ;
4213 unsigned long val1
;
4215 PyObject
* obj0
= 0 ;
4216 char * kwnames
[] = {
4217 (char *) "colRGB", NULL
4220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4221 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4222 if (!SWIG_IsOK(ecode1
)) {
4223 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4225 arg1
= static_cast< unsigned long >(val1
);
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 result
= (wxColour
*)new wxColour(arg1
);
4229 wxPyEndAllowThreads(__tstate
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4239 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4240 PyObject
*resultobj
= 0;
4241 wxColour
*arg1
= (wxColour
*) 0 ;
4244 PyObject
*swig_obj
[1] ;
4246 if (!args
) SWIG_fail
;
4248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4249 if (!SWIG_IsOK(res1
)) {
4250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4252 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 wxPyEndAllowThreads(__tstate
);
4258 if (PyErr_Occurred()) SWIG_fail
;
4260 resultobj
= SWIG_Py_Void();
4267 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4268 PyObject
*resultobj
= 0;
4269 wxColour
*arg1
= (wxColour
*) 0 ;
4273 PyObject
*swig_obj
[1] ;
4275 if (!args
) SWIG_fail
;
4277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4278 if (!SWIG_IsOK(res1
)) {
4279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4281 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4284 result
= (byte
)(arg1
)->Red();
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4288 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4295 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4296 PyObject
*resultobj
= 0;
4297 wxColour
*arg1
= (wxColour
*) 0 ;
4301 PyObject
*swig_obj
[1] ;
4303 if (!args
) SWIG_fail
;
4305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4306 if (!SWIG_IsOK(res1
)) {
4307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4309 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 result
= (byte
)(arg1
)->Green();
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4316 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4323 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4324 PyObject
*resultobj
= 0;
4325 wxColour
*arg1
= (wxColour
*) 0 ;
4329 PyObject
*swig_obj
[1] ;
4331 if (!args
) SWIG_fail
;
4333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4334 if (!SWIG_IsOK(res1
)) {
4335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4337 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4340 result
= (byte
)(arg1
)->Blue();
4341 wxPyEndAllowThreads(__tstate
);
4342 if (PyErr_Occurred()) SWIG_fail
;
4344 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4351 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4352 PyObject
*resultobj
= 0;
4353 wxColour
*arg1
= (wxColour
*) 0 ;
4357 PyObject
*swig_obj
[1] ;
4359 if (!args
) SWIG_fail
;
4361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4362 if (!SWIG_IsOK(res1
)) {
4363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4365 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4368 result
= (byte
)(arg1
)->Alpha();
4369 wxPyEndAllowThreads(__tstate
);
4370 if (PyErr_Occurred()) SWIG_fail
;
4372 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4379 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4380 PyObject
*resultobj
= 0;
4381 wxColour
*arg1
= (wxColour
*) 0 ;
4385 PyObject
*swig_obj
[1] ;
4387 if (!args
) SWIG_fail
;
4389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4390 if (!SWIG_IsOK(res1
)) {
4391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4393 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4396 result
= (bool)(arg1
)->IsOk();
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4409 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
*resultobj
= 0;
4411 wxColour
*arg1
= (wxColour
*) 0 ;
4415 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4418 unsigned char val2
;
4420 unsigned char val3
;
4422 unsigned char val4
;
4424 unsigned char val5
;
4426 PyObject
* obj0
= 0 ;
4427 PyObject
* obj1
= 0 ;
4428 PyObject
* obj2
= 0 ;
4429 PyObject
* obj3
= 0 ;
4430 PyObject
* obj4
= 0 ;
4431 char * kwnames
[] = {
4432 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4437 if (!SWIG_IsOK(res1
)) {
4438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4440 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4441 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4442 if (!SWIG_IsOK(ecode2
)) {
4443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4445 arg2
= static_cast< byte
>(val2
);
4446 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4447 if (!SWIG_IsOK(ecode3
)) {
4448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4450 arg3
= static_cast< byte
>(val3
);
4451 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4452 if (!SWIG_IsOK(ecode4
)) {
4453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4455 arg4
= static_cast< byte
>(val4
);
4457 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4458 if (!SWIG_IsOK(ecode5
)) {
4459 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4461 arg5
= static_cast< byte
>(val5
);
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4469 resultobj
= SWIG_Py_Void();
4476 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
= 0;
4478 wxColour
*arg1
= (wxColour
*) 0 ;
4479 unsigned long arg2
;
4482 unsigned long val2
;
4484 PyObject
* obj0
= 0 ;
4485 PyObject
* obj1
= 0 ;
4486 char * kwnames
[] = {
4487 (char *) "self",(char *) "colRGB", NULL
4490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4492 if (!SWIG_IsOK(res1
)) {
4493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4495 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4496 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4497 if (!SWIG_IsOK(ecode2
)) {
4498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4500 arg2
= static_cast< unsigned long >(val2
);
4502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4507 resultobj
= SWIG_Py_Void();
4514 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
*resultobj
= 0;
4516 wxColour
*arg1
= (wxColour
*) 0 ;
4517 wxString
*arg2
= 0 ;
4520 bool temp2
= false ;
4521 PyObject
* obj0
= 0 ;
4522 PyObject
* obj1
= 0 ;
4523 char * kwnames
[] = {
4524 (char *) "self",(char *) "colourName", NULL
4527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4529 if (!SWIG_IsOK(res1
)) {
4530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4532 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4534 arg2
= wxString_in_helper(obj1
);
4535 if (arg2
== NULL
) SWIG_fail
;
4539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4540 (arg1
)->Set((wxString
const &)*arg2
);
4541 wxPyEndAllowThreads(__tstate
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4544 resultobj
= SWIG_Py_Void();
4559 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4560 PyObject
*resultobj
= 0;
4561 wxColour
*arg1
= (wxColour
*) 0 ;
4562 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4568 PyObject
* obj0
= 0 ;
4569 PyObject
* obj1
= 0 ;
4570 char * kwnames
[] = {
4571 (char *) "self",(char *) "flags", NULL
4574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4576 if (!SWIG_IsOK(res1
)) {
4577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4579 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4581 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4582 if (!SWIG_IsOK(ecode2
)) {
4583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4585 arg2
= static_cast< long >(val2
);
4588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4589 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4590 wxPyEndAllowThreads(__tstate
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4595 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4597 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4606 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4607 PyObject
*resultobj
= 0;
4608 wxColour
*arg1
= (wxColour
*) 0 ;
4612 PyObject
*swig_obj
[1] ;
4614 if (!args
) SWIG_fail
;
4616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4617 if (!SWIG_IsOK(res1
)) {
4618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4620 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 resultobj
= SWIG_From_long(static_cast< long >(result
));
4634 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
*resultobj
= 0;
4636 wxColour
*arg1
= (wxColour
*) 0 ;
4637 PyObject
*arg2
= (PyObject
*) 0 ;
4641 PyObject
* obj0
= 0 ;
4642 PyObject
* obj1
= 0 ;
4643 char * kwnames
[] = {
4644 (char *) "self",(char *) "other", NULL
4647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4649 if (!SWIG_IsOK(res1
)) {
4650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4652 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4655 result
= (bool)wxColour___eq__(arg1
,arg2
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4667 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
*resultobj
= 0;
4669 wxColour
*arg1
= (wxColour
*) 0 ;
4670 PyObject
*arg2
= (PyObject
*) 0 ;
4674 PyObject
* obj0
= 0 ;
4675 PyObject
* obj1
= 0 ;
4676 char * kwnames
[] = {
4677 (char *) "self",(char *) "other", NULL
4680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4682 if (!SWIG_IsOK(res1
)) {
4683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4685 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4688 result
= (bool)wxColour___ne__(arg1
,arg2
);
4689 if (PyErr_Occurred()) SWIG_fail
;
4692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4700 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4701 PyObject
*resultobj
= 0;
4702 wxColour
*arg1
= (wxColour
*) 0 ;
4703 bool arg2
= (bool) false ;
4704 PyObject
*result
= 0 ;
4709 PyObject
* obj0
= 0 ;
4710 PyObject
* obj1
= 0 ;
4711 char * kwnames
[] = {
4712 (char *) "self",(char *) "includeAlpha", NULL
4715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4717 if (!SWIG_IsOK(res1
)) {
4718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4720 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4722 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4723 if (!SWIG_IsOK(ecode2
)) {
4724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4726 arg2
= static_cast< bool >(val2
);
4729 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4739 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4740 PyObject
*resultobj
= 0;
4741 wxColour
*arg1
= (wxColour
*) 0 ;
4742 unsigned long result
;
4745 PyObject
*swig_obj
[1] ;
4747 if (!args
) SWIG_fail
;
4749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4750 if (!SWIG_IsOK(res1
)) {
4751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4753 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4755 result
= (unsigned long)wxColour_GetRGB(arg1
);
4756 if (PyErr_Occurred()) SWIG_fail
;
4758 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4765 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4767 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4768 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4769 return SWIG_Py_Void();
4772 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4773 return SWIG_Python_InitShadowInstance(args
);
4776 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4777 PyObject
*resultobj
= 0;
4779 unsigned char *arg2
= (unsigned char *) 0 ;
4780 unsigned char *arg3
= (unsigned char *) 0 ;
4781 unsigned char *arg4
= (unsigned char *) 0 ;
4782 wxPalette
*result
= 0 ;
4791 PyObject
* obj0
= 0 ;
4792 PyObject
* obj1
= 0 ;
4793 PyObject
* obj2
= 0 ;
4794 PyObject
* obj3
= 0 ;
4795 char * kwnames
[] = {
4796 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4800 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4801 if (!SWIG_IsOK(ecode1
)) {
4802 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4804 arg1
= static_cast< int >(val1
);
4805 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4806 if (!SWIG_IsOK(res2
)) {
4807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4809 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4810 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4811 if (!SWIG_IsOK(res3
)) {
4812 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4814 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4815 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4816 if (!SWIG_IsOK(res4
)) {
4817 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4819 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4821 if (!wxPyCheckForApp()) SWIG_fail
;
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4824 wxPyEndAllowThreads(__tstate
);
4825 if (PyErr_Occurred()) SWIG_fail
;
4827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4834 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4835 PyObject
*resultobj
= 0;
4836 wxPalette
*arg1
= (wxPalette
*) 0 ;
4839 PyObject
*swig_obj
[1] ;
4841 if (!args
) SWIG_fail
;
4843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4844 if (!SWIG_IsOK(res1
)) {
4845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4847 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 wxPyEndAllowThreads(__tstate
);
4853 if (PyErr_Occurred()) SWIG_fail
;
4855 resultobj
= SWIG_Py_Void();
4862 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4863 PyObject
*resultobj
= 0;
4864 wxPalette
*arg1
= (wxPalette
*) 0 ;
4871 unsigned char val2
;
4873 unsigned char val3
;
4875 unsigned char val4
;
4877 PyObject
* obj0
= 0 ;
4878 PyObject
* obj1
= 0 ;
4879 PyObject
* obj2
= 0 ;
4880 PyObject
* obj3
= 0 ;
4881 char * kwnames
[] = {
4882 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4887 if (!SWIG_IsOK(res1
)) {
4888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4890 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4891 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4892 if (!SWIG_IsOK(ecode2
)) {
4893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4895 arg2
= static_cast< byte
>(val2
);
4896 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4897 if (!SWIG_IsOK(ecode3
)) {
4898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4900 arg3
= static_cast< byte
>(val3
);
4901 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4902 if (!SWIG_IsOK(ecode4
)) {
4903 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4905 arg4
= static_cast< byte
>(val4
);
4907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4908 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4909 wxPyEndAllowThreads(__tstate
);
4910 if (PyErr_Occurred()) SWIG_fail
;
4912 resultobj
= SWIG_From_int(static_cast< int >(result
));
4919 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
*resultobj
= 0;
4921 wxPalette
*arg1
= (wxPalette
*) 0 ;
4923 byte
*arg3
= (byte
*) 0 ;
4924 byte
*arg4
= (byte
*) 0 ;
4925 byte
*arg5
= (byte
*) 0 ;
4932 int res3
= SWIG_TMPOBJ
;
4934 int res4
= SWIG_TMPOBJ
;
4936 int res5
= SWIG_TMPOBJ
;
4937 PyObject
* obj0
= 0 ;
4938 PyObject
* obj1
= 0 ;
4939 char * kwnames
[] = {
4940 (char *) "self",(char *) "pixel", NULL
4946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4948 if (!SWIG_IsOK(res1
)) {
4949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4951 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4953 if (!SWIG_IsOK(ecode2
)) {
4954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4956 arg2
= static_cast< int >(val2
);
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4959 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4966 if (SWIG_IsTmpObj(res3
)) {
4967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4969 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4970 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4972 if (SWIG_IsTmpObj(res4
)) {
4973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4975 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4978 if (SWIG_IsTmpObj(res5
)) {
4979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4981 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4990 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4991 PyObject
*resultobj
= 0;
4992 wxPalette
*arg1
= (wxPalette
*) 0 ;
4996 PyObject
*swig_obj
[1] ;
4998 if (!args
) SWIG_fail
;
5000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5001 if (!SWIG_IsOK(res1
)) {
5002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
5004 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= SWIG_From_int(static_cast< int >(result
));
5018 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5019 PyObject
*resultobj
= 0;
5020 wxPalette
*arg1
= (wxPalette
*) 0 ;
5024 PyObject
*swig_obj
[1] ;
5026 if (!args
) SWIG_fail
;
5028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5029 if (!SWIG_IsOK(res1
)) {
5030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5032 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 result
= (bool)(arg1
)->IsOk();
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5048 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5050 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5051 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5052 return SWIG_Py_Void();
5055 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5056 return SWIG_Python_InitShadowInstance(args
);
5059 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
*resultobj
= 0;
5061 wxColour
*arg1
= 0 ;
5062 int arg2
= (int) 1 ;
5063 int arg3
= (int) wxSOLID
;
5070 PyObject
* obj0
= 0 ;
5071 PyObject
* obj1
= 0 ;
5072 PyObject
* obj2
= 0 ;
5073 char * kwnames
[] = {
5074 (char *) "colour",(char *) "width",(char *) "style", NULL
5077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5080 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5084 if (!SWIG_IsOK(ecode2
)) {
5085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5087 arg2
= static_cast< int >(val2
);
5090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5091 if (!SWIG_IsOK(ecode3
)) {
5092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5094 arg3
= static_cast< int >(val3
);
5097 if (!wxPyCheckForApp()) SWIG_fail
;
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5110 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5111 PyObject
*resultobj
= 0;
5112 wxPen
*arg1
= (wxPen
*) 0 ;
5115 PyObject
*swig_obj
[1] ;
5117 if (!args
) SWIG_fail
;
5119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5120 if (!SWIG_IsOK(res1
)) {
5121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5123 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5131 resultobj
= SWIG_Py_Void();
5138 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5139 PyObject
*resultobj
= 0;
5140 wxPen
*arg1
= (wxPen
*) 0 ;
5144 PyObject
*swig_obj
[1] ;
5146 if (!args
) SWIG_fail
;
5148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5149 if (!SWIG_IsOK(res1
)) {
5150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5152 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 result
= (int)(arg1
)->GetCap();
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5159 resultobj
= SWIG_From_int(static_cast< int >(result
));
5166 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5167 PyObject
*resultobj
= 0;
5168 wxPen
*arg1
= (wxPen
*) 0 ;
5172 PyObject
*swig_obj
[1] ;
5174 if (!args
) SWIG_fail
;
5176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5177 if (!SWIG_IsOK(res1
)) {
5178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5180 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= (arg1
)->GetColour();
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5187 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5194 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5195 PyObject
*resultobj
= 0;
5196 wxPen
*arg1
= (wxPen
*) 0 ;
5200 PyObject
*swig_obj
[1] ;
5202 if (!args
) SWIG_fail
;
5204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5205 if (!SWIG_IsOK(res1
)) {
5206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5208 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 result
= (int)(arg1
)->GetJoin();
5212 wxPyEndAllowThreads(__tstate
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5215 resultobj
= SWIG_From_int(static_cast< int >(result
));
5222 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5223 PyObject
*resultobj
= 0;
5224 wxPen
*arg1
= (wxPen
*) 0 ;
5228 PyObject
*swig_obj
[1] ;
5230 if (!args
) SWIG_fail
;
5232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5233 if (!SWIG_IsOK(res1
)) {
5234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5236 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5239 result
= (int)(arg1
)->GetStyle();
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5243 resultobj
= SWIG_From_int(static_cast< int >(result
));
5250 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5251 PyObject
*resultobj
= 0;
5252 wxPen
*arg1
= (wxPen
*) 0 ;
5256 PyObject
*swig_obj
[1] ;
5258 if (!args
) SWIG_fail
;
5260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5261 if (!SWIG_IsOK(res1
)) {
5262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5264 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 result
= (int)(arg1
)->GetWidth();
5268 wxPyEndAllowThreads(__tstate
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5271 resultobj
= SWIG_From_int(static_cast< int >(result
));
5278 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5279 PyObject
*resultobj
= 0;
5280 wxPen
*arg1
= (wxPen
*) 0 ;
5284 PyObject
*swig_obj
[1] ;
5286 if (!args
) SWIG_fail
;
5288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5289 if (!SWIG_IsOK(res1
)) {
5290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5292 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 result
= (bool)(arg1
)->IsOk();
5296 wxPyEndAllowThreads(__tstate
);
5297 if (PyErr_Occurred()) SWIG_fail
;
5300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5308 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5309 PyObject
*resultobj
= 0;
5310 wxPen
*arg1
= (wxPen
*) 0 ;
5316 PyObject
* obj0
= 0 ;
5317 PyObject
* obj1
= 0 ;
5318 char * kwnames
[] = {
5319 (char *) "self",(char *) "cap_style", NULL
5322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5324 if (!SWIG_IsOK(res1
)) {
5325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5327 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5329 if (!SWIG_IsOK(ecode2
)) {
5330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5332 arg2
= static_cast< int >(val2
);
5334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5335 (arg1
)->SetCap(arg2
);
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5339 resultobj
= SWIG_Py_Void();
5346 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5347 PyObject
*resultobj
= 0;
5348 wxPen
*arg1
= (wxPen
*) 0 ;
5349 wxColour
*arg2
= 0 ;
5353 PyObject
* obj0
= 0 ;
5354 PyObject
* obj1
= 0 ;
5355 char * kwnames
[] = {
5356 (char *) "self",(char *) "colour", NULL
5359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5361 if (!SWIG_IsOK(res1
)) {
5362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5364 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5367 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 (arg1
)->SetColour(*arg2
);
5372 wxPyEndAllowThreads(__tstate
);
5373 if (PyErr_Occurred()) SWIG_fail
;
5375 resultobj
= SWIG_Py_Void();
5382 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
*resultobj
= 0;
5384 wxPen
*arg1
= (wxPen
*) 0 ;
5390 PyObject
* obj0
= 0 ;
5391 PyObject
* obj1
= 0 ;
5392 char * kwnames
[] = {
5393 (char *) "self",(char *) "join_style", NULL
5396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5398 if (!SWIG_IsOK(res1
)) {
5399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5401 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5403 if (!SWIG_IsOK(ecode2
)) {
5404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5406 arg2
= static_cast< int >(val2
);
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 (arg1
)->SetJoin(arg2
);
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5413 resultobj
= SWIG_Py_Void();
5420 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
*resultobj
= 0;
5422 wxPen
*arg1
= (wxPen
*) 0 ;
5428 PyObject
* obj0
= 0 ;
5429 PyObject
* obj1
= 0 ;
5430 char * kwnames
[] = {
5431 (char *) "self",(char *) "style", NULL
5434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5436 if (!SWIG_IsOK(res1
)) {
5437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5439 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5441 if (!SWIG_IsOK(ecode2
)) {
5442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5444 arg2
= static_cast< int >(val2
);
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 (arg1
)->SetStyle(arg2
);
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5451 resultobj
= SWIG_Py_Void();
5458 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
*resultobj
= 0;
5460 wxPen
*arg1
= (wxPen
*) 0 ;
5466 PyObject
* obj0
= 0 ;
5467 PyObject
* obj1
= 0 ;
5468 char * kwnames
[] = {
5469 (char *) "self",(char *) "width", NULL
5472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5474 if (!SWIG_IsOK(res1
)) {
5475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5477 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5479 if (!SWIG_IsOK(ecode2
)) {
5480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5482 arg2
= static_cast< int >(val2
);
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 (arg1
)->SetWidth(arg2
);
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5489 resultobj
= SWIG_Py_Void();
5496 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
*resultobj
= 0;
5498 wxPen
*arg1
= (wxPen
*) 0 ;
5500 wxDash
*arg3
= (wxDash
*) 0 ;
5503 PyObject
* obj0
= 0 ;
5504 PyObject
* obj1
= 0 ;
5505 char * kwnames
[] = {
5506 (char *) "self",(char *) "dashes", NULL
5509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5511 if (!SWIG_IsOK(res1
)) {
5512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5514 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5516 arg2
= PyList_Size(obj1
);
5517 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5518 if (arg3
== NULL
) SWIG_fail
;
5521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5522 (arg1
)->SetDashes(arg2
,arg3
);
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5526 resultobj
= SWIG_Py_Void();
5528 if (arg3
) delete [] arg3
;
5533 if (arg3
) delete [] arg3
;
5539 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5540 PyObject
*resultobj
= 0;
5541 wxPen
*arg1
= (wxPen
*) 0 ;
5542 PyObject
*result
= 0 ;
5545 PyObject
*swig_obj
[1] ;
5547 if (!args
) SWIG_fail
;
5549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5550 if (!SWIG_IsOK(res1
)) {
5551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5553 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5556 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5557 wxPyEndAllowThreads(__tstate
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5567 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5568 PyObject
*resultobj
= 0;
5569 wxPen
*arg1
= (wxPen
*) 0 ;
5570 PyObject
*arg2
= (PyObject
*) 0 ;
5571 PyObject
*arg3
= (PyObject
*) 0 ;
5574 PyObject
* obj0
= 0 ;
5575 PyObject
* obj1
= 0 ;
5576 PyObject
* obj2
= 0 ;
5577 char * kwnames
[] = {
5578 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5583 if (!SWIG_IsOK(res1
)) {
5584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5586 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5591 wxPen__SetDashes(arg1
,arg2
,arg3
);
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5595 resultobj
= SWIG_Py_Void();
5602 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
*resultobj
= 0;
5604 wxPen
*arg1
= (wxPen
*) 0 ;
5605 wxPen
*arg2
= (wxPen
*) 0 ;
5611 PyObject
* obj0
= 0 ;
5612 PyObject
* obj1
= 0 ;
5613 char * kwnames
[] = {
5614 (char *) "self",(char *) "other", NULL
5617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5619 if (!SWIG_IsOK(res1
)) {
5620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5622 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5623 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5624 if (!SWIG_IsOK(res2
)) {
5625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5627 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5643 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
*resultobj
= 0;
5645 wxPen
*arg1
= (wxPen
*) 0 ;
5646 wxPen
*arg2
= (wxPen
*) 0 ;
5652 PyObject
* obj0
= 0 ;
5653 PyObject
* obj1
= 0 ;
5654 char * kwnames
[] = {
5655 (char *) "self",(char *) "other", NULL
5658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5660 if (!SWIG_IsOK(res1
)) {
5661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5663 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5664 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5665 if (!SWIG_IsOK(res2
)) {
5666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5668 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5684 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5686 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5687 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5688 return SWIG_Py_Void();
5691 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5692 return SWIG_Python_InitShadowInstance(args
);
5695 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
*resultobj
= 0;
5697 wxColour
*arg1
= 0 ;
5698 int arg2
= (int) wxSOLID
;
5699 wxBrush
*result
= 0 ;
5703 PyObject
* obj0
= 0 ;
5704 PyObject
* obj1
= 0 ;
5705 char * kwnames
[] = {
5706 (char *) "colour",(char *) "style", NULL
5709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5712 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5716 if (!SWIG_IsOK(ecode2
)) {
5717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5719 arg2
= static_cast< int >(val2
);
5722 if (!wxPyCheckForApp()) SWIG_fail
;
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5735 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
*resultobj
= 0;
5737 wxBitmap
*arg1
= 0 ;
5738 wxBrush
*result
= 0 ;
5741 PyObject
* obj0
= 0 ;
5742 char * kwnames
[] = {
5743 (char *) "stippleBitmap", NULL
5746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5747 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5748 if (!SWIG_IsOK(res1
)) {
5749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5754 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5756 if (!wxPyCheckForApp()) SWIG_fail
;
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5769 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5770 PyObject
*resultobj
= 0;
5771 wxBrush
*arg1
= (wxBrush
*) 0 ;
5774 PyObject
*swig_obj
[1] ;
5776 if (!args
) SWIG_fail
;
5778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5779 if (!SWIG_IsOK(res1
)) {
5780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5782 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5790 resultobj
= SWIG_Py_Void();
5797 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
*resultobj
= 0;
5799 wxBrush
*arg1
= (wxBrush
*) 0 ;
5800 wxColour
*arg2
= 0 ;
5804 PyObject
* obj0
= 0 ;
5805 PyObject
* obj1
= 0 ;
5806 char * kwnames
[] = {
5807 (char *) "self",(char *) "col", NULL
5810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5812 if (!SWIG_IsOK(res1
)) {
5813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5815 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5818 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 (arg1
)->SetColour((wxColour
const &)*arg2
);
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 resultobj
= SWIG_Py_Void();
5833 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
= 0;
5835 wxBrush
*arg1
= (wxBrush
*) 0 ;
5841 PyObject
* obj0
= 0 ;
5842 PyObject
* obj1
= 0 ;
5843 char * kwnames
[] = {
5844 (char *) "self",(char *) "style", NULL
5847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5849 if (!SWIG_IsOK(res1
)) {
5850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5852 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5854 if (!SWIG_IsOK(ecode2
)) {
5855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5857 arg2
= static_cast< int >(val2
);
5859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5860 (arg1
)->SetStyle(arg2
);
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5864 resultobj
= SWIG_Py_Void();
5871 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
*resultobj
= 0;
5873 wxBrush
*arg1
= (wxBrush
*) 0 ;
5874 wxBitmap
*arg2
= 0 ;
5879 PyObject
* obj0
= 0 ;
5880 PyObject
* obj1
= 0 ;
5881 char * kwnames
[] = {
5882 (char *) "self",(char *) "stipple", NULL
5885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5887 if (!SWIG_IsOK(res1
)) {
5888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5890 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5891 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5892 if (!SWIG_IsOK(res2
)) {
5893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5898 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5901 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5902 wxPyEndAllowThreads(__tstate
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5905 resultobj
= SWIG_Py_Void();
5912 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5913 PyObject
*resultobj
= 0;
5914 wxBrush
*arg1
= (wxBrush
*) 0 ;
5918 PyObject
*swig_obj
[1] ;
5920 if (!args
) SWIG_fail
;
5922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5923 if (!SWIG_IsOK(res1
)) {
5924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5926 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5929 result
= ((wxBrush
const *)arg1
)->GetColour();
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5933 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5940 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5941 PyObject
*resultobj
= 0;
5942 wxBrush
*arg1
= (wxBrush
*) 0 ;
5946 PyObject
*swig_obj
[1] ;
5948 if (!args
) SWIG_fail
;
5950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5951 if (!SWIG_IsOK(res1
)) {
5952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5954 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5957 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5961 resultobj
= SWIG_From_int(static_cast< int >(result
));
5968 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5969 PyObject
*resultobj
= 0;
5970 wxBrush
*arg1
= (wxBrush
*) 0 ;
5971 wxBitmap
*result
= 0 ;
5974 PyObject
*swig_obj
[1] ;
5976 if (!args
) SWIG_fail
;
5978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5979 if (!SWIG_IsOK(res1
)) {
5980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5982 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5996 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5997 PyObject
*resultobj
= 0;
5998 wxBrush
*arg1
= (wxBrush
*) 0 ;
6002 PyObject
*swig_obj
[1] ;
6004 if (!args
) SWIG_fail
;
6006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6007 if (!SWIG_IsOK(res1
)) {
6008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6010 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6014 wxPyEndAllowThreads(__tstate
);
6015 if (PyErr_Occurred()) SWIG_fail
;
6018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6026 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6027 PyObject
*resultobj
= 0;
6028 wxBrush
*arg1
= (wxBrush
*) 0 ;
6032 PyObject
*swig_obj
[1] ;
6034 if (!args
) SWIG_fail
;
6036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6037 if (!SWIG_IsOK(res1
)) {
6038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6040 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6043 result
= (bool)(arg1
)->IsOk();
6044 wxPyEndAllowThreads(__tstate
);
6045 if (PyErr_Occurred()) SWIG_fail
;
6048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6056 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6057 PyObject
*resultobj
= 0;
6058 wxBrush
*arg1
= (wxBrush
*) 0 ;
6062 PyObject
*swig_obj
[1] ;
6064 if (!args
) SWIG_fail
;
6066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6067 if (!SWIG_IsOK(res1
)) {
6068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6070 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 result
= (short)(arg1
)->MacGetTheme();
6074 wxPyEndAllowThreads(__tstate
);
6075 if (PyErr_Occurred()) SWIG_fail
;
6077 resultobj
= SWIG_From_short(static_cast< short >(result
));
6084 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
*resultobj
= 0;
6086 wxBrush
*arg1
= (wxBrush
*) 0 ;
6092 PyObject
* obj0
= 0 ;
6093 PyObject
* obj1
= 0 ;
6094 char * kwnames
[] = {
6095 (char *) "self",(char *) "macThemeBrush", NULL
6098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6100 if (!SWIG_IsOK(res1
)) {
6101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6103 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6104 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
6105 if (!SWIG_IsOK(ecode2
)) {
6106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
6108 arg2
= static_cast< short >(val2
);
6110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6111 (arg1
)->MacSetTheme(arg2
);
6112 wxPyEndAllowThreads(__tstate
);
6113 if (PyErr_Occurred()) SWIG_fail
;
6115 resultobj
= SWIG_Py_Void();
6122 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6124 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6125 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6126 return SWIG_Py_Void();
6129 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6130 return SWIG_Python_InitShadowInstance(args
);
6133 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6134 PyObject
*resultobj
= 0;
6135 wxString
*arg1
= 0 ;
6136 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6137 wxBitmap
*result
= 0 ;
6138 bool temp1
= false ;
6141 PyObject
* obj0
= 0 ;
6142 PyObject
* obj1
= 0 ;
6143 char * kwnames
[] = {
6144 (char *) "name",(char *) "type", NULL
6147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6149 arg1
= wxString_in_helper(obj0
);
6150 if (arg1
== NULL
) SWIG_fail
;
6154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6155 if (!SWIG_IsOK(ecode2
)) {
6156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6158 arg2
= static_cast< wxBitmapType
>(val2
);
6161 if (!wxPyCheckForApp()) SWIG_fail
;
6162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6163 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6164 wxPyEndAllowThreads(__tstate
);
6165 if (PyErr_Occurred()) SWIG_fail
;
6167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6182 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6183 PyObject
*resultobj
= 0;
6184 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6187 PyObject
*swig_obj
[1] ;
6189 if (!args
) SWIG_fail
;
6191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6192 if (!SWIG_IsOK(res1
)) {
6193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6195 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6199 if (PyErr_Occurred()) SWIG_fail
;
6201 resultobj
= SWIG_Py_Void();
6208 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6209 PyObject
*resultobj
= 0;
6212 int arg3
= (int) -1 ;
6213 wxBitmap
*result
= 0 ;
6220 PyObject
* obj0
= 0 ;
6221 PyObject
* obj1
= 0 ;
6222 PyObject
* obj2
= 0 ;
6223 char * kwnames
[] = {
6224 (char *) "width",(char *) "height",(char *) "depth", NULL
6227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6228 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6229 if (!SWIG_IsOK(ecode1
)) {
6230 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6232 arg1
= static_cast< int >(val1
);
6233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6234 if (!SWIG_IsOK(ecode2
)) {
6235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6237 arg2
= static_cast< int >(val2
);
6239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6240 if (!SWIG_IsOK(ecode3
)) {
6241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6243 arg3
= static_cast< int >(val3
);
6246 if (!wxPyCheckForApp()) SWIG_fail
;
6247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6248 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6259 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
*resultobj
= 0;
6262 wxBitmap
*result
= 0 ;
6265 PyObject
* obj0
= 0 ;
6266 char * kwnames
[] = {
6267 (char *) "icon", NULL
6270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6271 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6272 if (!SWIG_IsOK(res1
)) {
6273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6278 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6280 if (!wxPyCheckForApp()) SWIG_fail
;
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6293 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
*resultobj
= 0;
6296 int arg2
= (int) -1 ;
6297 wxBitmap
*result
= 0 ;
6302 PyObject
* obj0
= 0 ;
6303 PyObject
* obj1
= 0 ;
6304 char * kwnames
[] = {
6305 (char *) "image",(char *) "depth", NULL
6308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6309 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6310 if (!SWIG_IsOK(res1
)) {
6311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6316 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6319 if (!SWIG_IsOK(ecode2
)) {
6320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6322 arg2
= static_cast< int >(val2
);
6325 if (!wxPyCheckForApp()) SWIG_fail
;
6326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6327 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6328 wxPyEndAllowThreads(__tstate
);
6329 if (PyErr_Occurred()) SWIG_fail
;
6331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6338 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
*resultobj
= 0;
6340 PyObject
*arg1
= (PyObject
*) 0 ;
6341 wxBitmap
*result
= 0 ;
6342 PyObject
* obj0
= 0 ;
6343 char * kwnames
[] = {
6344 (char *) "listOfStrings", NULL
6347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6350 if (!wxPyCheckForApp()) SWIG_fail
;
6351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6352 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6356 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6363 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
= 0;
6365 PyObject
*arg1
= (PyObject
*) 0 ;
6368 int arg4
= (int) 1 ;
6369 wxBitmap
*result
= 0 ;
6376 PyObject
* obj0
= 0 ;
6377 PyObject
* obj1
= 0 ;
6378 PyObject
* obj2
= 0 ;
6379 PyObject
* obj3
= 0 ;
6380 char * kwnames
[] = {
6381 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6387 if (!SWIG_IsOK(ecode2
)) {
6388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6390 arg2
= static_cast< int >(val2
);
6391 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6392 if (!SWIG_IsOK(ecode3
)) {
6393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6395 arg3
= static_cast< int >(val3
);
6397 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6398 if (!SWIG_IsOK(ecode4
)) {
6399 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6401 arg4
= static_cast< int >(val4
);
6404 if (!wxPyCheckForApp()) SWIG_fail
;
6405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6406 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6417 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6418 PyObject
*resultobj
= 0;
6419 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6423 PyObject
*swig_obj
[1] ;
6425 if (!args
) SWIG_fail
;
6427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6428 if (!SWIG_IsOK(res1
)) {
6429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6431 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6433 result
= (bool)(arg1
)->IsOk();
6434 if (PyErr_Occurred()) SWIG_fail
;
6437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6445 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6446 PyObject
*resultobj
= 0;
6447 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6451 PyObject
*swig_obj
[1] ;
6453 if (!args
) SWIG_fail
;
6455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6456 if (!SWIG_IsOK(res1
)) {
6457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6459 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6461 result
= (int)(arg1
)->GetWidth();
6462 if (PyErr_Occurred()) SWIG_fail
;
6464 resultobj
= SWIG_From_int(static_cast< int >(result
));
6471 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6472 PyObject
*resultobj
= 0;
6473 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6477 PyObject
*swig_obj
[1] ;
6479 if (!args
) SWIG_fail
;
6481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6482 if (!SWIG_IsOK(res1
)) {
6483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6485 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6487 result
= (int)(arg1
)->GetHeight();
6488 if (PyErr_Occurred()) SWIG_fail
;
6490 resultobj
= SWIG_From_int(static_cast< int >(result
));
6497 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6498 PyObject
*resultobj
= 0;
6499 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6503 PyObject
*swig_obj
[1] ;
6505 if (!args
) SWIG_fail
;
6507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6508 if (!SWIG_IsOK(res1
)) {
6509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6511 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6513 result
= (int)(arg1
)->GetDepth();
6514 if (PyErr_Occurred()) SWIG_fail
;
6516 resultobj
= SWIG_From_int(static_cast< int >(result
));
6523 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6524 PyObject
*resultobj
= 0;
6525 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6529 PyObject
*swig_obj
[1] ;
6531 if (!args
) SWIG_fail
;
6533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6534 if (!SWIG_IsOK(res1
)) {
6535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6537 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6539 result
= wxBitmap_GetSize(arg1
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6542 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6549 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6550 PyObject
*resultobj
= 0;
6551 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6552 SwigValueWrapper
<wxImage
> result
;
6555 PyObject
*swig_obj
[1] ;
6557 if (!args
) SWIG_fail
;
6559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6560 if (!SWIG_IsOK(res1
)) {
6561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6563 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6565 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6566 if (PyErr_Occurred()) SWIG_fail
;
6568 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6575 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6576 PyObject
*resultobj
= 0;
6577 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6578 wxMask
*result
= 0 ;
6581 PyObject
*swig_obj
[1] ;
6583 if (!args
) SWIG_fail
;
6585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6586 if (!SWIG_IsOK(res1
)) {
6587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6589 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6591 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6592 if (PyErr_Occurred()) SWIG_fail
;
6594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6601 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
*resultobj
= 0;
6603 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6604 wxMask
*arg2
= (wxMask
*) 0 ;
6608 PyObject
* obj0
= 0 ;
6609 PyObject
* obj1
= 0 ;
6610 char * kwnames
[] = {
6611 (char *) "self",(char *) "mask", NULL
6614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6616 if (!SWIG_IsOK(res1
)) {
6617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6619 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6620 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6621 if (!SWIG_IsOK(res2
)) {
6622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6625 (arg1
)->SetMask(arg2
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6628 resultobj
= SWIG_Py_Void();
6635 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
*resultobj
= 0;
6637 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6638 wxColour
*arg2
= 0 ;
6642 PyObject
* obj0
= 0 ;
6643 PyObject
* obj1
= 0 ;
6644 char * kwnames
[] = {
6645 (char *) "self",(char *) "colour", NULL
6648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6650 if (!SWIG_IsOK(res1
)) {
6651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6653 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6656 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6659 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6662 resultobj
= SWIG_Py_Void();
6669 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
*resultobj
= 0;
6671 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6673 SwigValueWrapper
<wxBitmap
> result
;
6677 PyObject
* obj0
= 0 ;
6678 PyObject
* obj1
= 0 ;
6679 char * kwnames
[] = {
6680 (char *) "self",(char *) "rect", NULL
6683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6685 if (!SWIG_IsOK(res1
)) {
6686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6688 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6691 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6694 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6695 if (PyErr_Occurred()) SWIG_fail
;
6697 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6704 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
*resultobj
= 0;
6706 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6707 wxString
*arg2
= 0 ;
6709 wxPalette
*arg4
= (wxPalette
*) NULL
;
6713 bool temp2
= false ;
6718 PyObject
* obj0
= 0 ;
6719 PyObject
* obj1
= 0 ;
6720 PyObject
* obj2
= 0 ;
6721 PyObject
* obj3
= 0 ;
6722 char * kwnames
[] = {
6723 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6728 if (!SWIG_IsOK(res1
)) {
6729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6731 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6733 arg2
= wxString_in_helper(obj1
);
6734 if (arg2
== NULL
) SWIG_fail
;
6737 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6738 if (!SWIG_IsOK(ecode3
)) {
6739 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6741 arg3
= static_cast< wxBitmapType
>(val3
);
6743 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6744 if (!SWIG_IsOK(res4
)) {
6745 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6747 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6750 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6770 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6771 PyObject
*resultobj
= 0;
6772 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6773 wxString
*arg2
= 0 ;
6778 bool temp2
= false ;
6781 PyObject
* obj0
= 0 ;
6782 PyObject
* obj1
= 0 ;
6783 PyObject
* obj2
= 0 ;
6784 char * kwnames
[] = {
6785 (char *) "self",(char *) "name",(char *) "type", NULL
6788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6790 if (!SWIG_IsOK(res1
)) {
6791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6793 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6795 arg2
= wxString_in_helper(obj1
);
6796 if (arg2
== NULL
) SWIG_fail
;
6799 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6800 if (!SWIG_IsOK(ecode3
)) {
6801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6803 arg3
= static_cast< wxBitmapType
>(val3
);
6805 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6806 if (PyErr_Occurred()) SWIG_fail
;
6809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6825 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6826 PyObject
*resultobj
= 0;
6827 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6828 wxPalette
*result
= 0 ;
6831 PyObject
*swig_obj
[1] ;
6833 if (!args
) SWIG_fail
;
6835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6836 if (!SWIG_IsOK(res1
)) {
6837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6839 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6841 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6842 if (PyErr_Occurred()) SWIG_fail
;
6844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6851 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
*resultobj
= 0;
6853 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6860 PyObject
* obj0
= 0 ;
6861 PyObject
* obj1
= 0 ;
6862 char * kwnames
[] = {
6863 (char *) "self",(char *) "icon", NULL
6866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6868 if (!SWIG_IsOK(res1
)) {
6869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6871 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6872 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6873 if (!SWIG_IsOK(res2
)) {
6874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6877 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6879 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6881 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6893 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
*resultobj
= 0;
6895 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6901 PyObject
* obj0
= 0 ;
6902 PyObject
* obj1
= 0 ;
6903 char * kwnames
[] = {
6904 (char *) "self",(char *) "height", NULL
6907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6909 if (!SWIG_IsOK(res1
)) {
6910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6912 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6914 if (!SWIG_IsOK(ecode2
)) {
6915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6917 arg2
= static_cast< int >(val2
);
6919 (arg1
)->SetHeight(arg2
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6922 resultobj
= SWIG_Py_Void();
6929 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
*resultobj
= 0;
6931 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6937 PyObject
* obj0
= 0 ;
6938 PyObject
* obj1
= 0 ;
6939 char * kwnames
[] = {
6940 (char *) "self",(char *) "width", NULL
6943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6945 if (!SWIG_IsOK(res1
)) {
6946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6948 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6950 if (!SWIG_IsOK(ecode2
)) {
6951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6953 arg2
= static_cast< int >(val2
);
6955 (arg1
)->SetWidth(arg2
);
6956 if (PyErr_Occurred()) SWIG_fail
;
6958 resultobj
= SWIG_Py_Void();
6965 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6966 PyObject
*resultobj
= 0;
6967 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6973 PyObject
* obj0
= 0 ;
6974 PyObject
* obj1
= 0 ;
6975 char * kwnames
[] = {
6976 (char *) "self",(char *) "depth", NULL
6979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",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_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6984 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6986 if (!SWIG_IsOK(ecode2
)) {
6987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6989 arg2
= static_cast< int >(val2
);
6991 (arg1
)->SetDepth(arg2
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6994 resultobj
= SWIG_Py_Void();
7001 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
*resultobj
= 0;
7003 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7008 PyObject
* obj0
= 0 ;
7009 PyObject
* obj1
= 0 ;
7010 char * kwnames
[] = {
7011 (char *) "self",(char *) "size", NULL
7014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7016 if (!SWIG_IsOK(res1
)) {
7017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7019 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7022 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7025 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 resultobj
= SWIG_Py_Void();
7035 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
*resultobj
= 0;
7037 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7043 PyObject
* obj0
= 0 ;
7044 PyObject
* obj1
= 0 ;
7045 char * kwnames
[] = {
7046 (char *) "self",(char *) "data", NULL
7049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7051 if (!SWIG_IsOK(res1
)) {
7052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7054 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7056 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7060 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7063 resultobj
= SWIG_Py_Void();
7070 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
= 0;
7072 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7078 PyObject
* obj0
= 0 ;
7079 PyObject
* obj1
= 0 ;
7080 char * kwnames
[] = {
7081 (char *) "self",(char *) "data", NULL
7084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7086 if (!SWIG_IsOK(res1
)) {
7087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7089 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7091 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7095 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7098 resultobj
= SWIG_Py_Void();
7105 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
*resultobj
= 0;
7107 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7108 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7114 PyObject
* obj0
= 0 ;
7115 PyObject
* obj1
= 0 ;
7116 char * kwnames
[] = {
7117 (char *) "self",(char *) "other", NULL
7120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7122 if (!SWIG_IsOK(res1
)) {
7123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7125 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7126 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7127 if (!SWIG_IsOK(res2
)) {
7128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7130 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7132 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7144 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
= 0;
7146 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7147 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7153 PyObject
* obj0
= 0 ;
7154 PyObject
* obj1
= 0 ;
7155 char * kwnames
[] = {
7156 (char *) "self",(char *) "other", NULL
7159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7161 if (!SWIG_IsOK(res1
)) {
7162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7164 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7165 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7166 if (!SWIG_IsOK(res2
)) {
7167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7169 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7171 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7183 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7186 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7187 return SWIG_Py_Void();
7190 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7191 return SWIG_Python_InitShadowInstance(args
);
7194 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7195 PyObject
*resultobj
= 0;
7202 wxBitmap
*result
= 0 ;
7209 PyObject
* obj0
= 0 ;
7210 PyObject
* obj1
= 0 ;
7211 PyObject
* obj2
= 0 ;
7212 PyObject
* obj3
= 0 ;
7213 char * kwnames
[] = {
7214 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7218 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7219 if (!SWIG_IsOK(ecode1
)) {
7220 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7222 arg1
= static_cast< int >(val1
);
7223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7224 if (!SWIG_IsOK(ecode2
)) {
7225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7227 arg2
= static_cast< int >(val2
);
7229 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7233 if (obj3
!= Py_None
) {
7234 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7239 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7249 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
= 0;
7255 wxBitmap
*result
= 0 ;
7261 PyObject
* obj0
= 0 ;
7262 PyObject
* obj1
= 0 ;
7263 PyObject
* obj2
= 0 ;
7264 char * kwnames
[] = {
7265 (char *) "width",(char *) "height",(char *) "data", NULL
7268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7269 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7270 if (!SWIG_IsOK(ecode1
)) {
7271 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7273 arg1
= static_cast< int >(val1
);
7274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7275 if (!SWIG_IsOK(ecode2
)) {
7276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7278 arg2
= static_cast< int >(val2
);
7280 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7284 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7294 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7295 PyObject
*resultobj
= 0;
7300 wxBitmap
*result
= 0 ;
7306 PyObject
* obj0
= 0 ;
7307 PyObject
* obj1
= 0 ;
7308 PyObject
* obj2
= 0 ;
7309 char * kwnames
[] = {
7310 (char *) "width",(char *) "height",(char *) "data", NULL
7313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7314 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7315 if (!SWIG_IsOK(ecode1
)) {
7316 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7318 arg1
= static_cast< int >(val1
);
7319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7320 if (!SWIG_IsOK(ecode2
)) {
7321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7323 arg2
= static_cast< int >(val2
);
7325 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7329 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7339 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7340 PyObject
*resultobj
= 0;
7341 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7345 PyObject
*swig_obj
[1] ;
7347 if (!args
) SWIG_fail
;
7349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7350 if (!SWIG_IsOK(res1
)) {
7351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7353 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7355 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7356 if (PyErr_Occurred()) SWIG_fail
;
7358 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7365 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7366 PyObject
*resultobj
= 0;
7367 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7371 PyObject
*swig_obj
[1] ;
7373 if (!args
) SWIG_fail
;
7375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7376 if (!SWIG_IsOK(res1
)) {
7377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7379 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7381 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7382 if (PyErr_Occurred()) SWIG_fail
;
7384 resultobj
= SWIG_From_int(static_cast< int >(result
));
7391 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7392 PyObject
*resultobj
= 0;
7393 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7397 PyObject
*swig_obj
[1] ;
7399 if (!args
) SWIG_fail
;
7401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7402 if (!SWIG_IsOK(res1
)) {
7403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7405 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7407 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7408 if (PyErr_Occurred()) SWIG_fail
;
7410 resultobj
= SWIG_From_int(static_cast< int >(result
));
7417 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7418 PyObject
*resultobj
= 0;
7419 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7423 PyObject
*swig_obj
[1] ;
7425 if (!args
) SWIG_fail
;
7427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7428 if (!SWIG_IsOK(res1
)) {
7429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7431 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7433 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7434 if (PyErr_Occurred()) SWIG_fail
;
7436 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7443 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7444 PyObject
*resultobj
= 0;
7445 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7449 PyObject
*swig_obj
[1] ;
7451 if (!args
) SWIG_fail
;
7453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7454 if (!SWIG_IsOK(res1
)) {
7455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7457 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7459 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7460 if (PyErr_Occurred()) SWIG_fail
;
7462 resultobj
= SWIG_From_int(static_cast< int >(result
));
7469 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7471 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7472 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7473 return SWIG_Py_Void();
7476 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7477 PyObject
*resultobj
= 0;
7478 wxBitmap
*arg1
= 0 ;
7479 wxNativePixelData
*result
= 0 ;
7483 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7485 if (!SWIG_IsOK(res1
)) {
7486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7491 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7493 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7494 if (PyErr_Occurred()) SWIG_fail
;
7496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7503 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7504 PyObject
*resultobj
= 0;
7505 wxBitmap
*arg1
= 0 ;
7507 wxNativePixelData
*result
= 0 ;
7512 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7514 if (!SWIG_IsOK(res1
)) {
7515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7520 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7523 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7526 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7536 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7537 PyObject
*resultobj
= 0;
7538 wxBitmap
*arg1
= 0 ;
7541 wxNativePixelData
*result
= 0 ;
7547 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7549 if (!SWIG_IsOK(res1
)) {
7550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7555 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7558 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7562 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7565 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7575 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7579 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7582 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7585 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7588 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7592 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7597 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7598 PyObject
*resultobj
= 0;
7599 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7602 PyObject
*swig_obj
[1] ;
7604 if (!args
) SWIG_fail
;
7606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7607 if (!SWIG_IsOK(res1
)) {
7608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7610 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7616 resultobj
= SWIG_Py_Void();
7623 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7624 PyObject
*resultobj
= 0;
7625 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7626 wxNativePixelData_Accessor result
;
7629 PyObject
*swig_obj
[1] ;
7631 if (!args
) SWIG_fail
;
7633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7634 if (!SWIG_IsOK(res1
)) {
7635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7637 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7639 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7640 if (PyErr_Occurred()) SWIG_fail
;
7642 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7649 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7650 PyObject
*resultobj
= 0;
7651 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7654 PyObject
*swig_obj
[1] ;
7656 if (!args
) SWIG_fail
;
7658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7659 if (!SWIG_IsOK(res1
)) {
7660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7662 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7667 resultobj
= SWIG_Py_Void();
7674 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7675 PyObject
*resultobj
= 0;
7676 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7680 PyObject
*swig_obj
[1] ;
7682 if (!args
) SWIG_fail
;
7684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7685 if (!SWIG_IsOK(res1
)) {
7686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7688 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7690 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7702 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7704 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7705 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7706 return SWIG_Py_Void();
7709 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7710 return SWIG_Python_InitShadowInstance(args
);
7713 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7714 PyObject
*resultobj
= 0;
7715 wxNativePixelData
*arg1
= 0 ;
7716 wxNativePixelData_Accessor
*result
= 0 ;
7720 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7722 if (!SWIG_IsOK(res1
)) {
7723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7728 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7730 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7731 if (PyErr_Occurred()) SWIG_fail
;
7733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7740 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7741 PyObject
*resultobj
= 0;
7742 wxBitmap
*arg1
= 0 ;
7743 wxNativePixelData
*arg2
= 0 ;
7744 wxNativePixelData_Accessor
*result
= 0 ;
7750 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7752 if (!SWIG_IsOK(res1
)) {
7753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7756 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7758 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7759 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7760 if (!SWIG_IsOK(res2
)) {
7761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7764 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7766 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7768 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7778 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7779 PyObject
*resultobj
= 0;
7780 wxNativePixelData_Accessor
*result
= 0 ;
7782 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7784 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7785 if (PyErr_Occurred()) SWIG_fail
;
7787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7794 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7798 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7801 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7804 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7807 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7811 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7816 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7817 PyObject
*resultobj
= 0;
7818 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7821 PyObject
*swig_obj
[1] ;
7823 if (!args
) SWIG_fail
;
7825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7826 if (!SWIG_IsOK(res1
)) {
7827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7829 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7835 resultobj
= SWIG_Py_Void();
7842 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
*resultobj
= 0;
7844 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7845 wxNativePixelData
*arg2
= 0 ;
7850 PyObject
* obj0
= 0 ;
7851 PyObject
* obj1
= 0 ;
7852 char * kwnames
[] = {
7853 (char *) "self",(char *) "data", NULL
7856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7858 if (!SWIG_IsOK(res1
)) {
7859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7861 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7862 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7863 if (!SWIG_IsOK(res2
)) {
7864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7869 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7871 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7872 if (PyErr_Occurred()) SWIG_fail
;
7874 resultobj
= SWIG_Py_Void();
7881 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7882 PyObject
*resultobj
= 0;
7883 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7887 PyObject
*swig_obj
[1] ;
7889 if (!args
) SWIG_fail
;
7891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7892 if (!SWIG_IsOK(res1
)) {
7893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7895 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7897 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7898 if (PyErr_Occurred()) SWIG_fail
;
7901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7909 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7910 PyObject
*resultobj
= 0;
7911 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7914 PyObject
*swig_obj
[1] ;
7916 if (!args
) SWIG_fail
;
7918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7919 if (!SWIG_IsOK(res1
)) {
7920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7922 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7924 wxNativePixelData_Accessor_nextPixel(arg1
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 resultobj
= SWIG_Py_Void();
7934 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
*resultobj
= 0;
7936 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7937 wxNativePixelData
*arg2
= 0 ;
7948 PyObject
* obj0
= 0 ;
7949 PyObject
* obj1
= 0 ;
7950 PyObject
* obj2
= 0 ;
7951 PyObject
* obj3
= 0 ;
7952 char * kwnames
[] = {
7953 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7958 if (!SWIG_IsOK(res1
)) {
7959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7961 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7962 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7963 if (!SWIG_IsOK(res2
)) {
7964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7969 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7971 if (!SWIG_IsOK(ecode3
)) {
7972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7974 arg3
= static_cast< int >(val3
);
7975 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7976 if (!SWIG_IsOK(ecode4
)) {
7977 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7979 arg4
= static_cast< int >(val4
);
7981 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7984 resultobj
= SWIG_Py_Void();
7991 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
= 0;
7993 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7994 wxNativePixelData
*arg2
= 0 ;
8002 PyObject
* obj0
= 0 ;
8003 PyObject
* obj1
= 0 ;
8004 PyObject
* obj2
= 0 ;
8005 char * kwnames
[] = {
8006 (char *) "self",(char *) "data",(char *) "x", NULL
8009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8011 if (!SWIG_IsOK(res1
)) {
8012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8014 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8015 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8016 if (!SWIG_IsOK(res2
)) {
8017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8022 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8023 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8024 if (!SWIG_IsOK(ecode3
)) {
8025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8027 arg3
= static_cast< int >(val3
);
8029 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8030 if (PyErr_Occurred()) SWIG_fail
;
8032 resultobj
= SWIG_Py_Void();
8039 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8040 PyObject
*resultobj
= 0;
8041 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8042 wxNativePixelData
*arg2
= 0 ;
8050 PyObject
* obj0
= 0 ;
8051 PyObject
* obj1
= 0 ;
8052 PyObject
* obj2
= 0 ;
8053 char * kwnames
[] = {
8054 (char *) "self",(char *) "data",(char *) "y", NULL
8057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8059 if (!SWIG_IsOK(res1
)) {
8060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8062 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8063 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8064 if (!SWIG_IsOK(res2
)) {
8065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8070 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8071 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8072 if (!SWIG_IsOK(ecode3
)) {
8073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8075 arg3
= static_cast< int >(val3
);
8077 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8080 resultobj
= SWIG_Py_Void();
8087 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8088 PyObject
*resultobj
= 0;
8089 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8090 wxNativePixelData
*arg2
= 0 ;
8101 PyObject
* obj0
= 0 ;
8102 PyObject
* obj1
= 0 ;
8103 PyObject
* obj2
= 0 ;
8104 PyObject
* obj3
= 0 ;
8105 char * kwnames
[] = {
8106 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8111 if (!SWIG_IsOK(res1
)) {
8112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8114 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8115 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8116 if (!SWIG_IsOK(res2
)) {
8117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8122 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8124 if (!SWIG_IsOK(ecode3
)) {
8125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8127 arg3
= static_cast< int >(val3
);
8128 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8129 if (!SWIG_IsOK(ecode4
)) {
8130 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8132 arg4
= static_cast< int >(val4
);
8134 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8137 resultobj
= SWIG_Py_Void();
8144 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
*resultobj
= 0;
8146 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8152 unsigned char val2
;
8154 unsigned char val3
;
8156 unsigned char val4
;
8158 PyObject
* obj0
= 0 ;
8159 PyObject
* obj1
= 0 ;
8160 PyObject
* obj2
= 0 ;
8161 PyObject
* obj3
= 0 ;
8162 char * kwnames
[] = {
8163 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8168 if (!SWIG_IsOK(res1
)) {
8169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8171 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8172 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8173 if (!SWIG_IsOK(ecode2
)) {
8174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8176 arg2
= static_cast< byte
>(val2
);
8177 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8178 if (!SWIG_IsOK(ecode3
)) {
8179 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8181 arg3
= static_cast< byte
>(val3
);
8182 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8183 if (!SWIG_IsOK(ecode4
)) {
8184 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8186 arg4
= static_cast< byte
>(val4
);
8188 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8191 resultobj
= SWIG_Py_Void();
8198 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8199 PyObject
*resultobj
= 0;
8200 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8201 PyObject
*result
= 0 ;
8204 PyObject
*swig_obj
[1] ;
8206 if (!args
) SWIG_fail
;
8208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8209 if (!SWIG_IsOK(res1
)) {
8210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8212 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8214 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8215 if (PyErr_Occurred()) SWIG_fail
;
8224 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8226 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8227 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8228 return SWIG_Py_Void();
8231 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8232 return SWIG_Python_InitShadowInstance(args
);
8235 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8236 PyObject
*resultobj
= 0;
8237 wxBitmap
*arg1
= 0 ;
8238 wxAlphaPixelData
*result
= 0 ;
8242 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8244 if (!SWIG_IsOK(res1
)) {
8245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8250 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8252 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8253 if (PyErr_Occurred()) SWIG_fail
;
8255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8262 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8263 PyObject
*resultobj
= 0;
8264 wxBitmap
*arg1
= 0 ;
8266 wxAlphaPixelData
*result
= 0 ;
8271 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8273 if (!SWIG_IsOK(res1
)) {
8274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8279 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8282 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8285 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8295 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8296 PyObject
*resultobj
= 0;
8297 wxBitmap
*arg1
= 0 ;
8300 wxAlphaPixelData
*result
= 0 ;
8306 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8308 if (!SWIG_IsOK(res1
)) {
8309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8312 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8314 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8317 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8321 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8324 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8334 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8338 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8341 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8344 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8347 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8351 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8356 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8357 PyObject
*resultobj
= 0;
8358 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8361 PyObject
*swig_obj
[1] ;
8363 if (!args
) SWIG_fail
;
8365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8366 if (!SWIG_IsOK(res1
)) {
8367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8369 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8375 resultobj
= SWIG_Py_Void();
8382 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8383 PyObject
*resultobj
= 0;
8384 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8385 wxAlphaPixelData_Accessor result
;
8388 PyObject
*swig_obj
[1] ;
8390 if (!args
) SWIG_fail
;
8392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8393 if (!SWIG_IsOK(res1
)) {
8394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8396 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8398 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8399 if (PyErr_Occurred()) SWIG_fail
;
8401 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8408 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8409 PyObject
*resultobj
= 0;
8410 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8413 PyObject
*swig_obj
[1] ;
8415 if (!args
) SWIG_fail
;
8417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8418 if (!SWIG_IsOK(res1
)) {
8419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8421 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8424 if (PyErr_Occurred()) SWIG_fail
;
8426 resultobj
= SWIG_Py_Void();
8433 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8434 PyObject
*resultobj
= 0;
8435 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8439 PyObject
*swig_obj
[1] ;
8441 if (!args
) SWIG_fail
;
8443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8444 if (!SWIG_IsOK(res1
)) {
8445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8447 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8449 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8461 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8463 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8464 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8465 return SWIG_Py_Void();
8468 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8469 return SWIG_Python_InitShadowInstance(args
);
8472 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8473 PyObject
*resultobj
= 0;
8474 wxAlphaPixelData
*arg1
= 0 ;
8475 wxAlphaPixelData_Accessor
*result
= 0 ;
8479 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8481 if (!SWIG_IsOK(res1
)) {
8482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8487 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8489 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8499 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8500 PyObject
*resultobj
= 0;
8501 wxBitmap
*arg1
= 0 ;
8502 wxAlphaPixelData
*arg2
= 0 ;
8503 wxAlphaPixelData_Accessor
*result
= 0 ;
8509 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8511 if (!SWIG_IsOK(res1
)) {
8512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8517 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8518 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8519 if (!SWIG_IsOK(res2
)) {
8520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8525 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8527 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8537 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8538 PyObject
*resultobj
= 0;
8539 wxAlphaPixelData_Accessor
*result
= 0 ;
8541 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8543 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8544 if (PyErr_Occurred()) SWIG_fail
;
8546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8553 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8557 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8560 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8563 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8566 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8570 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8575 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8576 PyObject
*resultobj
= 0;
8577 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8580 PyObject
*swig_obj
[1] ;
8582 if (!args
) SWIG_fail
;
8584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8585 if (!SWIG_IsOK(res1
)) {
8586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8588 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8594 resultobj
= SWIG_Py_Void();
8601 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8602 PyObject
*resultobj
= 0;
8603 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8604 wxAlphaPixelData
*arg2
= 0 ;
8609 PyObject
* obj0
= 0 ;
8610 PyObject
* obj1
= 0 ;
8611 char * kwnames
[] = {
8612 (char *) "self",(char *) "data", NULL
8615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8617 if (!SWIG_IsOK(res1
)) {
8618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8620 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8621 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8622 if (!SWIG_IsOK(res2
)) {
8623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8628 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8630 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8633 resultobj
= SWIG_Py_Void();
8640 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8641 PyObject
*resultobj
= 0;
8642 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8646 PyObject
*swig_obj
[1] ;
8648 if (!args
) SWIG_fail
;
8650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8651 if (!SWIG_IsOK(res1
)) {
8652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8654 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8656 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8657 if (PyErr_Occurred()) SWIG_fail
;
8660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8668 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8669 PyObject
*resultobj
= 0;
8670 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8673 PyObject
*swig_obj
[1] ;
8675 if (!args
) SWIG_fail
;
8677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8678 if (!SWIG_IsOK(res1
)) {
8679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8681 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8683 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8686 resultobj
= SWIG_Py_Void();
8693 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
= 0;
8695 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8696 wxAlphaPixelData
*arg2
= 0 ;
8707 PyObject
* obj0
= 0 ;
8708 PyObject
* obj1
= 0 ;
8709 PyObject
* obj2
= 0 ;
8710 PyObject
* obj3
= 0 ;
8711 char * kwnames
[] = {
8712 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8717 if (!SWIG_IsOK(res1
)) {
8718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8720 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8721 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8722 if (!SWIG_IsOK(res2
)) {
8723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8728 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8729 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8730 if (!SWIG_IsOK(ecode3
)) {
8731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8733 arg3
= static_cast< int >(val3
);
8734 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8735 if (!SWIG_IsOK(ecode4
)) {
8736 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8738 arg4
= static_cast< int >(val4
);
8740 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 resultobj
= SWIG_Py_Void();
8750 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
= 0;
8752 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8753 wxAlphaPixelData
*arg2
= 0 ;
8761 PyObject
* obj0
= 0 ;
8762 PyObject
* obj1
= 0 ;
8763 PyObject
* obj2
= 0 ;
8764 char * kwnames
[] = {
8765 (char *) "self",(char *) "data",(char *) "x", NULL
8768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8770 if (!SWIG_IsOK(res1
)) {
8771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8773 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8774 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8775 if (!SWIG_IsOK(res2
)) {
8776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8781 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8782 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8783 if (!SWIG_IsOK(ecode3
)) {
8784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8786 arg3
= static_cast< int >(val3
);
8788 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8791 resultobj
= SWIG_Py_Void();
8798 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
= 0;
8800 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8801 wxAlphaPixelData
*arg2
= 0 ;
8809 PyObject
* obj0
= 0 ;
8810 PyObject
* obj1
= 0 ;
8811 PyObject
* obj2
= 0 ;
8812 char * kwnames
[] = {
8813 (char *) "self",(char *) "data",(char *) "y", NULL
8816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8818 if (!SWIG_IsOK(res1
)) {
8819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8821 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8822 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8823 if (!SWIG_IsOK(res2
)) {
8824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8829 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8830 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8831 if (!SWIG_IsOK(ecode3
)) {
8832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8834 arg3
= static_cast< int >(val3
);
8836 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8839 resultobj
= SWIG_Py_Void();
8846 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
*resultobj
= 0;
8848 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8849 wxAlphaPixelData
*arg2
= 0 ;
8860 PyObject
* obj0
= 0 ;
8861 PyObject
* obj1
= 0 ;
8862 PyObject
* obj2
= 0 ;
8863 PyObject
* obj3
= 0 ;
8864 char * kwnames
[] = {
8865 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8870 if (!SWIG_IsOK(res1
)) {
8871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8873 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8874 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8875 if (!SWIG_IsOK(res2
)) {
8876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8881 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8882 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8883 if (!SWIG_IsOK(ecode3
)) {
8884 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8886 arg3
= static_cast< int >(val3
);
8887 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8888 if (!SWIG_IsOK(ecode4
)) {
8889 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8891 arg4
= static_cast< int >(val4
);
8893 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8896 resultobj
= SWIG_Py_Void();
8903 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
= 0;
8905 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8912 unsigned char val2
;
8914 unsigned char val3
;
8916 unsigned char val4
;
8918 unsigned char val5
;
8920 PyObject
* obj0
= 0 ;
8921 PyObject
* obj1
= 0 ;
8922 PyObject
* obj2
= 0 ;
8923 PyObject
* obj3
= 0 ;
8924 PyObject
* obj4
= 0 ;
8925 char * kwnames
[] = {
8926 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8931 if (!SWIG_IsOK(res1
)) {
8932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8934 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8935 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8936 if (!SWIG_IsOK(ecode2
)) {
8937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8939 arg2
= static_cast< byte
>(val2
);
8940 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8941 if (!SWIG_IsOK(ecode3
)) {
8942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8944 arg3
= static_cast< byte
>(val3
);
8945 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8946 if (!SWIG_IsOK(ecode4
)) {
8947 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8949 arg4
= static_cast< byte
>(val4
);
8950 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8951 if (!SWIG_IsOK(ecode5
)) {
8952 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8954 arg5
= static_cast< byte
>(val5
);
8956 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8959 resultobj
= SWIG_Py_Void();
8966 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8967 PyObject
*resultobj
= 0;
8968 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8969 PyObject
*result
= 0 ;
8972 PyObject
*swig_obj
[1] ;
8974 if (!args
) SWIG_fail
;
8976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8977 if (!SWIG_IsOK(res1
)) {
8978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8980 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8982 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8983 if (PyErr_Occurred()) SWIG_fail
;
8992 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8994 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8995 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8996 return SWIG_Py_Void();
8999 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9000 return SWIG_Python_InitShadowInstance(args
);
9003 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
*resultobj
= 0;
9005 wxBitmap
*arg1
= 0 ;
9006 wxColour
const &arg2_defvalue
= wxNullColour
;
9007 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
9008 wxMask
*result
= 0 ;
9012 PyObject
* obj0
= 0 ;
9013 PyObject
* obj1
= 0 ;
9014 char * kwnames
[] = {
9015 (char *) "bitmap",(char *) "colour", NULL
9018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9019 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9020 if (!SWIG_IsOK(res1
)) {
9021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9026 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9030 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9034 if (!wxPyCheckForApp()) SWIG_fail
;
9035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9036 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9040 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9047 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9048 PyObject
*resultobj
= 0;
9049 wxMask
*arg1
= (wxMask
*) 0 ;
9052 PyObject
*swig_obj
[1] ;
9054 if (!args
) SWIG_fail
;
9056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9057 if (!SWIG_IsOK(res1
)) {
9058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9060 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9066 resultobj
= SWIG_Py_Void();
9073 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9075 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9076 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9077 return SWIG_Py_Void();
9080 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9081 return SWIG_Python_InitShadowInstance(args
);
9084 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
*resultobj
= 0;
9086 wxString
*arg1
= 0 ;
9088 int arg3
= (int) -1 ;
9089 int arg4
= (int) -1 ;
9090 wxIcon
*result
= 0 ;
9091 bool temp1
= false ;
9098 PyObject
* obj0
= 0 ;
9099 PyObject
* obj1
= 0 ;
9100 PyObject
* obj2
= 0 ;
9101 PyObject
* obj3
= 0 ;
9102 char * kwnames
[] = {
9103 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9108 arg1
= wxString_in_helper(obj0
);
9109 if (arg1
== NULL
) SWIG_fail
;
9112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9113 if (!SWIG_IsOK(ecode2
)) {
9114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9116 arg2
= static_cast< wxBitmapType
>(val2
);
9118 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9119 if (!SWIG_IsOK(ecode3
)) {
9120 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9122 arg3
= static_cast< int >(val3
);
9125 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9126 if (!SWIG_IsOK(ecode4
)) {
9127 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9129 arg4
= static_cast< int >(val4
);
9132 if (!wxPyCheckForApp()) SWIG_fail
;
9133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9134 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9135 wxPyEndAllowThreads(__tstate
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9153 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9154 PyObject
*resultobj
= 0;
9155 wxIcon
*arg1
= (wxIcon
*) 0 ;
9158 PyObject
*swig_obj
[1] ;
9160 if (!args
) SWIG_fail
;
9162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9163 if (!SWIG_IsOK(res1
)) {
9164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9166 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9174 resultobj
= SWIG_Py_Void();
9181 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9182 PyObject
*resultobj
= 0;
9183 wxIcon
*result
= 0 ;
9185 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9187 if (!wxPyCheckForApp()) SWIG_fail
;
9188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9189 result
= (wxIcon
*)new wxIcon();
9190 wxPyEndAllowThreads(__tstate
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9200 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
*resultobj
= 0;
9202 wxIconLocation
*arg1
= 0 ;
9203 wxIcon
*result
= 0 ;
9206 PyObject
* obj0
= 0 ;
9207 char * kwnames
[] = {
9208 (char *) "loc", NULL
9211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9212 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9213 if (!SWIG_IsOK(res1
)) {
9214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9219 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9221 if (!wxPyCheckForApp()) SWIG_fail
;
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9234 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
= 0;
9236 wxBitmap
*arg1
= 0 ;
9237 wxIcon
*result
= 0 ;
9240 PyObject
* obj0
= 0 ;
9241 char * kwnames
[] = {
9242 (char *) "bmp", NULL
9245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9246 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9247 if (!SWIG_IsOK(res1
)) {
9248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9253 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9255 if (!wxPyCheckForApp()) SWIG_fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9258 wxPyEndAllowThreads(__tstate
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9268 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
*resultobj
= 0;
9270 PyObject
*arg1
= (PyObject
*) 0 ;
9271 wxIcon
*result
= 0 ;
9272 PyObject
* obj0
= 0 ;
9273 char * kwnames
[] = {
9274 (char *) "listOfStrings", NULL
9277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9280 if (!wxPyCheckForApp()) SWIG_fail
;
9281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9282 result
= (wxIcon
*)new_wxIcon(arg1
);
9283 wxPyEndAllowThreads(__tstate
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9293 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9294 PyObject
*resultobj
= 0;
9295 wxIcon
*arg1
= (wxIcon
*) 0 ;
9299 PyObject
*swig_obj
[1] ;
9301 if (!args
) SWIG_fail
;
9303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9304 if (!SWIG_IsOK(res1
)) {
9305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9307 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9310 result
= (bool)(arg1
)->IsOk();
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9323 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9324 PyObject
*resultobj
= 0;
9325 wxIcon
*arg1
= (wxIcon
*) 0 ;
9329 PyObject
*swig_obj
[1] ;
9331 if (!args
) SWIG_fail
;
9333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9334 if (!SWIG_IsOK(res1
)) {
9335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9337 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 result
= (int)(arg1
)->GetWidth();
9341 wxPyEndAllowThreads(__tstate
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9344 resultobj
= SWIG_From_int(static_cast< int >(result
));
9351 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9352 PyObject
*resultobj
= 0;
9353 wxIcon
*arg1
= (wxIcon
*) 0 ;
9357 PyObject
*swig_obj
[1] ;
9359 if (!args
) SWIG_fail
;
9361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9362 if (!SWIG_IsOK(res1
)) {
9363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9365 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 result
= (int)(arg1
)->GetHeight();
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= SWIG_From_int(static_cast< int >(result
));
9379 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9380 PyObject
*resultobj
= 0;
9381 wxIcon
*arg1
= (wxIcon
*) 0 ;
9385 PyObject
*swig_obj
[1] ;
9387 if (!args
) SWIG_fail
;
9389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9390 if (!SWIG_IsOK(res1
)) {
9391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9393 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9396 result
= (int)(arg1
)->GetDepth();
9397 wxPyEndAllowThreads(__tstate
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9400 resultobj
= SWIG_From_int(static_cast< int >(result
));
9407 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9408 PyObject
*resultobj
= 0;
9409 wxIcon
*arg1
= (wxIcon
*) 0 ;
9415 PyObject
* obj0
= 0 ;
9416 PyObject
* obj1
= 0 ;
9417 char * kwnames
[] = {
9418 (char *) "self",(char *) "w", NULL
9421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9423 if (!SWIG_IsOK(res1
)) {
9424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9426 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9428 if (!SWIG_IsOK(ecode2
)) {
9429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9431 arg2
= static_cast< int >(val2
);
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 (arg1
)->SetWidth(arg2
);
9435 wxPyEndAllowThreads(__tstate
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9438 resultobj
= SWIG_Py_Void();
9445 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
= 0;
9447 wxIcon
*arg1
= (wxIcon
*) 0 ;
9453 PyObject
* obj0
= 0 ;
9454 PyObject
* obj1
= 0 ;
9455 char * kwnames
[] = {
9456 (char *) "self",(char *) "h", NULL
9459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9461 if (!SWIG_IsOK(res1
)) {
9462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9464 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9466 if (!SWIG_IsOK(ecode2
)) {
9467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9469 arg2
= static_cast< int >(val2
);
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 (arg1
)->SetHeight(arg2
);
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 resultobj
= SWIG_Py_Void();
9483 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
= 0;
9485 wxIcon
*arg1
= (wxIcon
*) 0 ;
9491 PyObject
* obj0
= 0 ;
9492 PyObject
* obj1
= 0 ;
9493 char * kwnames
[] = {
9494 (char *) "self",(char *) "d", NULL
9497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9499 if (!SWIG_IsOK(res1
)) {
9500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9502 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9504 if (!SWIG_IsOK(ecode2
)) {
9505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9507 arg2
= static_cast< int >(val2
);
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 (arg1
)->SetDepth(arg2
);
9511 wxPyEndAllowThreads(__tstate
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9514 resultobj
= SWIG_Py_Void();
9521 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9522 PyObject
*resultobj
= 0;
9523 wxIcon
*arg1
= (wxIcon
*) 0 ;
9524 wxBitmap
*arg2
= 0 ;
9529 PyObject
* obj0
= 0 ;
9530 PyObject
* obj1
= 0 ;
9531 char * kwnames
[] = {
9532 (char *) "self",(char *) "bmp", NULL
9535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9537 if (!SWIG_IsOK(res1
)) {
9538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9540 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9541 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9542 if (!SWIG_IsOK(res2
)) {
9543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9548 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9551 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9552 wxPyEndAllowThreads(__tstate
);
9553 if (PyErr_Occurred()) SWIG_fail
;
9555 resultobj
= SWIG_Py_Void();
9562 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9564 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9565 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9566 return SWIG_Py_Void();
9569 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9570 return SWIG_Python_InitShadowInstance(args
);
9573 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9574 PyObject
*resultobj
= 0;
9575 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9576 int arg2
= (int) 0 ;
9577 wxIconLocation
*result
= 0 ;
9578 bool temp1
= false ;
9581 PyObject
* obj0
= 0 ;
9582 PyObject
* obj1
= 0 ;
9583 char * kwnames
[] = {
9584 (char *) "filename",(char *) "num", NULL
9587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9590 arg1
= wxString_in_helper(obj0
);
9591 if (arg1
== NULL
) SWIG_fail
;
9596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9597 if (!SWIG_IsOK(ecode2
)) {
9598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9600 arg2
= static_cast< int >(val2
);
9603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9604 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9605 wxPyEndAllowThreads(__tstate
);
9606 if (PyErr_Occurred()) SWIG_fail
;
9608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9623 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9624 PyObject
*resultobj
= 0;
9625 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9628 PyObject
*swig_obj
[1] ;
9630 if (!args
) SWIG_fail
;
9632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9633 if (!SWIG_IsOK(res1
)) {
9634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9636 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 wxPyEndAllowThreads(__tstate
);
9642 if (PyErr_Occurred()) SWIG_fail
;
9644 resultobj
= SWIG_Py_Void();
9651 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9652 PyObject
*resultobj
= 0;
9653 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9657 PyObject
*swig_obj
[1] ;
9659 if (!args
) SWIG_fail
;
9661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9662 if (!SWIG_IsOK(res1
)) {
9663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9665 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9681 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
*resultobj
= 0;
9683 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9684 wxString
*arg2
= 0 ;
9687 bool temp2
= false ;
9688 PyObject
* obj0
= 0 ;
9689 PyObject
* obj1
= 0 ;
9690 char * kwnames
[] = {
9691 (char *) "self",(char *) "filename", NULL
9694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9696 if (!SWIG_IsOK(res1
)) {
9697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9699 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9701 arg2
= wxString_in_helper(obj1
);
9702 if (arg2
== NULL
) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 (arg1
)->SetFileName((wxString
const &)*arg2
);
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9711 resultobj
= SWIG_Py_Void();
9726 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9727 PyObject
*resultobj
= 0;
9728 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9729 wxString
*result
= 0 ;
9732 PyObject
*swig_obj
[1] ;
9734 if (!args
) SWIG_fail
;
9736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9737 if (!SWIG_IsOK(res1
)) {
9738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9740 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9745 result
= (wxString
*) &_result_ref
;
9747 wxPyEndAllowThreads(__tstate
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9752 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9754 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9763 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
*resultobj
= 0;
9765 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9771 PyObject
* obj0
= 0 ;
9772 PyObject
* obj1
= 0 ;
9773 char * kwnames
[] = {
9774 (char *) "self",(char *) "num", NULL
9777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9779 if (!SWIG_IsOK(res1
)) {
9780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9782 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9784 if (!SWIG_IsOK(ecode2
)) {
9785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9787 arg2
= static_cast< int >(val2
);
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 wxIconLocation_SetIndex(arg1
,arg2
);
9791 wxPyEndAllowThreads(__tstate
);
9792 if (PyErr_Occurred()) SWIG_fail
;
9794 resultobj
= SWIG_Py_Void();
9801 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9802 PyObject
*resultobj
= 0;
9803 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9807 PyObject
*swig_obj
[1] ;
9809 if (!args
) SWIG_fail
;
9811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9812 if (!SWIG_IsOK(res1
)) {
9813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9815 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9818 result
= (int)wxIconLocation_GetIndex(arg1
);
9819 wxPyEndAllowThreads(__tstate
);
9820 if (PyErr_Occurred()) SWIG_fail
;
9822 resultobj
= SWIG_From_int(static_cast< int >(result
));
9829 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9831 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9832 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9833 return SWIG_Py_Void();
9836 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9837 return SWIG_Python_InitShadowInstance(args
);
9840 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9841 PyObject
*resultobj
= 0;
9842 wxIconBundle
*result
= 0 ;
9844 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 result
= (wxIconBundle
*)new wxIconBundle();
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9858 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
*resultobj
= 0;
9860 wxString
*arg1
= 0 ;
9862 wxIconBundle
*result
= 0 ;
9863 bool temp1
= false ;
9866 PyObject
* obj0
= 0 ;
9867 PyObject
* obj1
= 0 ;
9868 char * kwnames
[] = {
9869 (char *) "file",(char *) "type", NULL
9872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9874 arg1
= wxString_in_helper(obj0
);
9875 if (arg1
== NULL
) SWIG_fail
;
9878 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9879 if (!SWIG_IsOK(ecode2
)) {
9880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9882 arg2
= static_cast< long >(val2
);
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9886 wxPyEndAllowThreads(__tstate
);
9887 if (PyErr_Occurred()) SWIG_fail
;
9889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9904 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
*resultobj
= 0;
9907 wxIconBundle
*result
= 0 ;
9910 PyObject
* obj0
= 0 ;
9911 char * kwnames
[] = {
9912 (char *) "icon", NULL
9915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9916 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9917 if (!SWIG_IsOK(res1
)) {
9918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9923 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9937 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9938 PyObject
*resultobj
= 0;
9939 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9942 PyObject
*swig_obj
[1] ;
9944 if (!args
) SWIG_fail
;
9946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9947 if (!SWIG_IsOK(res1
)) {
9948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9950 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9955 wxPyEndAllowThreads(__tstate
);
9956 if (PyErr_Occurred()) SWIG_fail
;
9958 resultobj
= SWIG_Py_Void();
9965 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9966 PyObject
*resultobj
= 0;
9967 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9973 PyObject
* obj0
= 0 ;
9974 PyObject
* obj1
= 0 ;
9975 char * kwnames
[] = {
9976 (char *) "self",(char *) "icon", NULL
9979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9981 if (!SWIG_IsOK(res1
)) {
9982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9984 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9985 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9986 if (!SWIG_IsOK(res2
)) {
9987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9992 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9995 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) SWIG_fail
;
9999 resultobj
= SWIG_Py_Void();
10006 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10007 PyObject
*resultobj
= 0;
10008 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10009 wxString
*arg2
= 0 ;
10013 bool temp2
= false ;
10016 PyObject
* obj0
= 0 ;
10017 PyObject
* obj1
= 0 ;
10018 PyObject
* obj2
= 0 ;
10019 char * kwnames
[] = {
10020 (char *) "self",(char *) "file",(char *) "type", NULL
10023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10025 if (!SWIG_IsOK(res1
)) {
10026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10028 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10030 arg2
= wxString_in_helper(obj1
);
10031 if (arg2
== NULL
) SWIG_fail
;
10034 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10035 if (!SWIG_IsOK(ecode3
)) {
10036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10038 arg3
= static_cast< long >(val3
);
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10045 resultobj
= SWIG_Py_Void();
10060 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
= 0;
10062 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10064 wxIcon
*result
= 0 ;
10068 PyObject
* obj0
= 0 ;
10069 PyObject
* obj1
= 0 ;
10070 char * kwnames
[] = {
10071 (char *) "self",(char *) "size", NULL
10074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10076 if (!SWIG_IsOK(res1
)) {
10077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10079 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10082 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10087 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10088 result
= (wxIcon
*) &_result_ref
;
10090 wxPyEndAllowThreads(__tstate
);
10091 if (PyErr_Occurred()) SWIG_fail
;
10094 wxIcon
* resultptr
= new wxIcon(*result
);
10095 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10103 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10105 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10106 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10107 return SWIG_Py_Void();
10110 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10111 return SWIG_Python_InitShadowInstance(args
);
10114 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10115 PyObject
*resultobj
= 0;
10116 wxString
*arg1
= 0 ;
10118 int arg3
= (int) 0 ;
10119 int arg4
= (int) 0 ;
10120 wxCursor
*result
= 0 ;
10121 bool temp1
= false ;
10128 PyObject
* obj0
= 0 ;
10129 PyObject
* obj1
= 0 ;
10130 PyObject
* obj2
= 0 ;
10131 PyObject
* obj3
= 0 ;
10132 char * kwnames
[] = {
10133 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10138 arg1
= wxString_in_helper(obj0
);
10139 if (arg1
== NULL
) SWIG_fail
;
10142 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10143 if (!SWIG_IsOK(ecode2
)) {
10144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10146 arg2
= static_cast< long >(val2
);
10148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10149 if (!SWIG_IsOK(ecode3
)) {
10150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10152 arg3
= static_cast< int >(val3
);
10155 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10156 if (!SWIG_IsOK(ecode4
)) {
10157 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10159 arg4
= static_cast< int >(val4
);
10162 if (!wxPyCheckForApp()) SWIG_fail
;
10163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10164 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10165 wxPyEndAllowThreads(__tstate
);
10166 if (PyErr_Occurred()) SWIG_fail
;
10168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10183 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10184 PyObject
*resultobj
= 0;
10185 wxCursor
*arg1
= (wxCursor
*) 0 ;
10188 PyObject
*swig_obj
[1] ;
10190 if (!args
) SWIG_fail
;
10191 swig_obj
[0] = args
;
10192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10193 if (!SWIG_IsOK(res1
)) {
10194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10196 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10204 resultobj
= SWIG_Py_Void();
10211 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10212 PyObject
*resultobj
= 0;
10214 wxCursor
*result
= 0 ;
10217 PyObject
* obj0
= 0 ;
10218 char * kwnames
[] = {
10219 (char *) "id", NULL
10222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10223 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10224 if (!SWIG_IsOK(ecode1
)) {
10225 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10227 arg1
= static_cast< int >(val1
);
10229 if (!wxPyCheckForApp()) SWIG_fail
;
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10231 result
= (wxCursor
*)new wxCursor(arg1
);
10232 wxPyEndAllowThreads(__tstate
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10242 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10243 PyObject
*resultobj
= 0;
10244 wxImage
*arg1
= 0 ;
10245 wxCursor
*result
= 0 ;
10248 PyObject
* obj0
= 0 ;
10249 char * kwnames
[] = {
10250 (char *) "image", NULL
10253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10254 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10255 if (!SWIG_IsOK(res1
)) {
10256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10261 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10263 if (!wxPyCheckForApp()) SWIG_fail
;
10264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10265 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10266 wxPyEndAllowThreads(__tstate
);
10267 if (PyErr_Occurred()) SWIG_fail
;
10269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10276 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10277 PyObject
*resultobj
= 0;
10278 wxCursor
*arg1
= (wxCursor
*) 0 ;
10282 PyObject
*swig_obj
[1] ;
10284 if (!args
) SWIG_fail
;
10285 swig_obj
[0] = args
;
10286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10287 if (!SWIG_IsOK(res1
)) {
10288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10290 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 result
= (bool)(arg1
)->IsOk();
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10306 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10309 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10310 return SWIG_Py_Void();
10313 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10314 return SWIG_Python_InitShadowInstance(args
);
10317 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
*resultobj
= 0;
10319 int arg1
= (int) 0 ;
10320 int arg2
= (int) 0 ;
10321 int arg3
= (int) 0 ;
10322 int arg4
= (int) 0 ;
10323 wxRegion
*result
= 0 ;
10332 PyObject
* obj0
= 0 ;
10333 PyObject
* obj1
= 0 ;
10334 PyObject
* obj2
= 0 ;
10335 PyObject
* obj3
= 0 ;
10336 char * kwnames
[] = {
10337 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10342 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10343 if (!SWIG_IsOK(ecode1
)) {
10344 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10346 arg1
= static_cast< int >(val1
);
10349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10350 if (!SWIG_IsOK(ecode2
)) {
10351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10353 arg2
= static_cast< int >(val2
);
10356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10357 if (!SWIG_IsOK(ecode3
)) {
10358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10360 arg3
= static_cast< int >(val3
);
10363 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10364 if (!SWIG_IsOK(ecode4
)) {
10365 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10367 arg4
= static_cast< int >(val4
);
10370 if (!wxPyCheckForApp()) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10373 wxPyEndAllowThreads(__tstate
);
10374 if (PyErr_Occurred()) SWIG_fail
;
10376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10383 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10384 PyObject
*resultobj
= 0;
10385 wxBitmap
*arg1
= 0 ;
10386 wxRegion
*result
= 0 ;
10389 PyObject
* obj0
= 0 ;
10390 char * kwnames
[] = {
10391 (char *) "bmp", NULL
10394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10395 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10396 if (!SWIG_IsOK(res1
)) {
10397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10402 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10404 if (!wxPyCheckForApp()) SWIG_fail
;
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10407 wxPyEndAllowThreads(__tstate
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10417 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10418 PyObject
*resultobj
= 0;
10419 wxBitmap
*arg1
= 0 ;
10420 wxColour
*arg2
= 0 ;
10421 int arg3
= (int) 0 ;
10422 wxRegion
*result
= 0 ;
10428 PyObject
* obj0
= 0 ;
10429 PyObject
* obj1
= 0 ;
10430 PyObject
* obj2
= 0 ;
10431 char * kwnames
[] = {
10432 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10436 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10437 if (!SWIG_IsOK(res1
)) {
10438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10441 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10443 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10446 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10449 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10450 if (!SWIG_IsOK(ecode3
)) {
10451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10453 arg3
= static_cast< int >(val3
);
10456 if (!wxPyCheckForApp()) SWIG_fail
;
10457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10458 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10459 wxPyEndAllowThreads(__tstate
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10469 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10470 PyObject
*resultobj
= 0;
10472 wxPoint
*arg2
= (wxPoint
*) 0 ;
10473 int arg3
= (int) wxWINDING_RULE
;
10474 wxRegion
*result
= 0 ;
10477 PyObject
* obj0
= 0 ;
10478 PyObject
* obj1
= 0 ;
10479 char * kwnames
[] = {
10480 (char *) "points",(char *) "fillStyle", NULL
10483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10485 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10486 if (arg2
== NULL
) SWIG_fail
;
10489 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10490 if (!SWIG_IsOK(ecode3
)) {
10491 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10493 arg3
= static_cast< int >(val3
);
10496 if (!wxPyCheckForApp()) SWIG_fail
;
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10504 if (arg2
) delete [] arg2
;
10509 if (arg2
) delete [] arg2
;
10515 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10516 PyObject
*resultobj
= 0;
10517 wxRegion
*arg1
= (wxRegion
*) 0 ;
10520 PyObject
*swig_obj
[1] ;
10522 if (!args
) SWIG_fail
;
10523 swig_obj
[0] = args
;
10524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10525 if (!SWIG_IsOK(res1
)) {
10526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10528 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10533 wxPyEndAllowThreads(__tstate
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10536 resultobj
= SWIG_Py_Void();
10543 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10544 PyObject
*resultobj
= 0;
10545 wxRegion
*arg1
= (wxRegion
*) 0 ;
10548 PyObject
*swig_obj
[1] ;
10550 if (!args
) SWIG_fail
;
10551 swig_obj
[0] = args
;
10552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10553 if (!SWIG_IsOK(res1
)) {
10554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10556 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10563 resultobj
= SWIG_Py_Void();
10570 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
*resultobj
= 0;
10572 wxRegion
*arg1
= (wxRegion
*) 0 ;
10582 PyObject
* obj0
= 0 ;
10583 PyObject
* obj1
= 0 ;
10584 PyObject
* obj2
= 0 ;
10585 char * kwnames
[] = {
10586 (char *) "self",(char *) "x",(char *) "y", NULL
10589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10591 if (!SWIG_IsOK(res1
)) {
10592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10594 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10596 if (!SWIG_IsOK(ecode2
)) {
10597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10599 arg2
= static_cast< int >(val2
);
10600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10601 if (!SWIG_IsOK(ecode3
)) {
10602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10604 arg3
= static_cast< int >(val3
);
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10608 wxPyEndAllowThreads(__tstate
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10620 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10621 PyObject
*resultobj
= 0;
10622 wxRegion
*arg1
= (wxRegion
*) 0 ;
10625 wxRegionContain result
;
10632 PyObject
* obj0
= 0 ;
10633 PyObject
* obj1
= 0 ;
10634 PyObject
* obj2
= 0 ;
10635 char * kwnames
[] = {
10636 (char *) "self",(char *) "x",(char *) "y", NULL
10639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10641 if (!SWIG_IsOK(res1
)) {
10642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10644 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10646 if (!SWIG_IsOK(ecode2
)) {
10647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10649 arg2
= static_cast< int >(val2
);
10650 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10651 if (!SWIG_IsOK(ecode3
)) {
10652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10654 arg3
= static_cast< int >(val3
);
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10657 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10661 resultobj
= SWIG_From_int(static_cast< int >(result
));
10668 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10669 PyObject
*resultobj
= 0;
10670 wxRegion
*arg1
= (wxRegion
*) 0 ;
10671 wxPoint
*arg2
= 0 ;
10672 wxRegionContain result
;
10676 PyObject
* obj0
= 0 ;
10677 PyObject
* obj1
= 0 ;
10678 char * kwnames
[] = {
10679 (char *) "self",(char *) "pt", NULL
10682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10684 if (!SWIG_IsOK(res1
)) {
10685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10687 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10690 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10694 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10695 wxPyEndAllowThreads(__tstate
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10698 resultobj
= SWIG_From_int(static_cast< int >(result
));
10705 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10706 PyObject
*resultobj
= 0;
10707 wxRegion
*arg1
= (wxRegion
*) 0 ;
10709 wxRegionContain result
;
10713 PyObject
* obj0
= 0 ;
10714 PyObject
* obj1
= 0 ;
10715 char * kwnames
[] = {
10716 (char *) "self",(char *) "rect", NULL
10719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10721 if (!SWIG_IsOK(res1
)) {
10722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10724 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10727 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10735 resultobj
= SWIG_From_int(static_cast< int >(result
));
10742 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
*resultobj
= 0;
10744 wxRegion
*arg1
= (wxRegion
*) 0 ;
10749 wxRegionContain result
;
10760 PyObject
* obj0
= 0 ;
10761 PyObject
* obj1
= 0 ;
10762 PyObject
* obj2
= 0 ;
10763 PyObject
* obj3
= 0 ;
10764 PyObject
* obj4
= 0 ;
10765 char * kwnames
[] = {
10766 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10771 if (!SWIG_IsOK(res1
)) {
10772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10774 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10776 if (!SWIG_IsOK(ecode2
)) {
10777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10779 arg2
= static_cast< int >(val2
);
10780 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10781 if (!SWIG_IsOK(ecode3
)) {
10782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10784 arg3
= static_cast< int >(val3
);
10785 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10786 if (!SWIG_IsOK(ecode4
)) {
10787 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10789 arg4
= static_cast< int >(val4
);
10790 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10791 if (!SWIG_IsOK(ecode5
)) {
10792 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10794 arg5
= static_cast< int >(val5
);
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10801 resultobj
= SWIG_From_int(static_cast< int >(result
));
10808 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10809 PyObject
*resultobj
= 0;
10810 wxRegion
*arg1
= (wxRegion
*) 0 ;
10814 PyObject
*swig_obj
[1] ;
10816 if (!args
) SWIG_fail
;
10817 swig_obj
[0] = args
;
10818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10819 if (!SWIG_IsOK(res1
)) {
10820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10822 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10825 result
= (arg1
)->GetBox();
10826 wxPyEndAllowThreads(__tstate
);
10827 if (PyErr_Occurred()) SWIG_fail
;
10829 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10836 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10837 PyObject
*resultobj
= 0;
10838 wxRegion
*arg1
= (wxRegion
*) 0 ;
10854 PyObject
* obj0
= 0 ;
10855 PyObject
* obj1
= 0 ;
10856 PyObject
* obj2
= 0 ;
10857 PyObject
* obj3
= 0 ;
10858 PyObject
* obj4
= 0 ;
10859 char * kwnames
[] = {
10860 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10865 if (!SWIG_IsOK(res1
)) {
10866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10868 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10870 if (!SWIG_IsOK(ecode2
)) {
10871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10873 arg2
= static_cast< int >(val2
);
10874 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10875 if (!SWIG_IsOK(ecode3
)) {
10876 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10878 arg3
= static_cast< int >(val3
);
10879 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10880 if (!SWIG_IsOK(ecode4
)) {
10881 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10883 arg4
= static_cast< int >(val4
);
10884 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10885 if (!SWIG_IsOK(ecode5
)) {
10886 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10888 arg5
= static_cast< int >(val5
);
10890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10891 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10892 wxPyEndAllowThreads(__tstate
);
10893 if (PyErr_Occurred()) SWIG_fail
;
10896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10904 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10905 PyObject
*resultobj
= 0;
10906 wxRegion
*arg1
= (wxRegion
*) 0 ;
10912 PyObject
* obj0
= 0 ;
10913 PyObject
* obj1
= 0 ;
10914 char * kwnames
[] = {
10915 (char *) "self",(char *) "rect", NULL
10918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10920 if (!SWIG_IsOK(res1
)) {
10921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10923 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10926 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10943 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
= 0;
10945 wxRegion
*arg1
= (wxRegion
*) 0 ;
10946 wxRegion
*arg2
= 0 ;
10952 PyObject
* obj0
= 0 ;
10953 PyObject
* obj1
= 0 ;
10954 char * kwnames
[] = {
10955 (char *) "self",(char *) "region", NULL
10958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10960 if (!SWIG_IsOK(res1
)) {
10961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10963 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10964 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10965 if (!SWIG_IsOK(res2
)) {
10966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10971 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10974 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10975 wxPyEndAllowThreads(__tstate
);
10976 if (PyErr_Occurred()) SWIG_fail
;
10979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10987 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10988 PyObject
*resultobj
= 0;
10989 wxRegion
*arg1
= (wxRegion
*) 0 ;
10993 PyObject
*swig_obj
[1] ;
10995 if (!args
) SWIG_fail
;
10996 swig_obj
[0] = args
;
10997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10998 if (!SWIG_IsOK(res1
)) {
10999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11001 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 result
= (bool)(arg1
)->IsEmpty();
11005 wxPyEndAllowThreads(__tstate
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11017 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11018 PyObject
*resultobj
= 0;
11019 wxRegion
*arg1
= (wxRegion
*) 0 ;
11020 wxRegion
*arg2
= 0 ;
11026 PyObject
* obj0
= 0 ;
11027 PyObject
* obj1
= 0 ;
11028 char * kwnames
[] = {
11029 (char *) "self",(char *) "region", NULL
11032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11034 if (!SWIG_IsOK(res1
)) {
11035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11037 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11038 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11039 if (!SWIG_IsOK(res2
)) {
11040 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11043 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11045 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11049 wxPyEndAllowThreads(__tstate
);
11050 if (PyErr_Occurred()) SWIG_fail
;
11053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11061 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11062 PyObject
*resultobj
= 0;
11063 wxRegion
*arg1
= (wxRegion
*) 0 ;
11079 PyObject
* obj0
= 0 ;
11080 PyObject
* obj1
= 0 ;
11081 PyObject
* obj2
= 0 ;
11082 PyObject
* obj3
= 0 ;
11083 PyObject
* obj4
= 0 ;
11084 char * kwnames
[] = {
11085 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11090 if (!SWIG_IsOK(res1
)) {
11091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11093 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11095 if (!SWIG_IsOK(ecode2
)) {
11096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11098 arg2
= static_cast< int >(val2
);
11099 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11100 if (!SWIG_IsOK(ecode3
)) {
11101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11103 arg3
= static_cast< int >(val3
);
11104 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11105 if (!SWIG_IsOK(ecode4
)) {
11106 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11108 arg4
= static_cast< int >(val4
);
11109 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11110 if (!SWIG_IsOK(ecode5
)) {
11111 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11113 arg5
= static_cast< int >(val5
);
11115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11116 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11117 wxPyEndAllowThreads(__tstate
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11129 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
*resultobj
= 0;
11131 wxRegion
*arg1
= (wxRegion
*) 0 ;
11137 PyObject
* obj0
= 0 ;
11138 PyObject
* obj1
= 0 ;
11139 char * kwnames
[] = {
11140 (char *) "self",(char *) "rect", NULL
11143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11145 if (!SWIG_IsOK(res1
)) {
11146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11148 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11151 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11155 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11156 wxPyEndAllowThreads(__tstate
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11168 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
*resultobj
= 0;
11170 wxRegion
*arg1
= (wxRegion
*) 0 ;
11171 wxRegion
*arg2
= 0 ;
11177 PyObject
* obj0
= 0 ;
11178 PyObject
* obj1
= 0 ;
11179 char * kwnames
[] = {
11180 (char *) "self",(char *) "region", NULL
11183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11185 if (!SWIG_IsOK(res1
)) {
11186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11188 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11189 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11190 if (!SWIG_IsOK(res2
)) {
11191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11196 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11199 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11200 wxPyEndAllowThreads(__tstate
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11212 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11213 PyObject
*resultobj
= 0;
11214 wxRegion
*arg1
= (wxRegion
*) 0 ;
11230 PyObject
* obj0
= 0 ;
11231 PyObject
* obj1
= 0 ;
11232 PyObject
* obj2
= 0 ;
11233 PyObject
* obj3
= 0 ;
11234 PyObject
* obj4
= 0 ;
11235 char * kwnames
[] = {
11236 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11241 if (!SWIG_IsOK(res1
)) {
11242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11244 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11246 if (!SWIG_IsOK(ecode2
)) {
11247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11249 arg2
= static_cast< int >(val2
);
11250 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11251 if (!SWIG_IsOK(ecode3
)) {
11252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11254 arg3
= static_cast< int >(val3
);
11255 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11256 if (!SWIG_IsOK(ecode4
)) {
11257 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11259 arg4
= static_cast< int >(val4
);
11260 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11261 if (!SWIG_IsOK(ecode5
)) {
11262 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11264 arg5
= static_cast< int >(val5
);
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11280 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
*resultobj
= 0;
11282 wxRegion
*arg1
= (wxRegion
*) 0 ;
11288 PyObject
* obj0
= 0 ;
11289 PyObject
* obj1
= 0 ;
11290 char * kwnames
[] = {
11291 (char *) "self",(char *) "rect", NULL
11294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11296 if (!SWIG_IsOK(res1
)) {
11297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11299 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11302 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11306 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11319 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
*resultobj
= 0;
11321 wxRegion
*arg1
= (wxRegion
*) 0 ;
11322 wxRegion
*arg2
= 0 ;
11328 PyObject
* obj0
= 0 ;
11329 PyObject
* obj1
= 0 ;
11330 char * kwnames
[] = {
11331 (char *) "self",(char *) "region", NULL
11334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11336 if (!SWIG_IsOK(res1
)) {
11337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11339 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11340 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11341 if (!SWIG_IsOK(res2
)) {
11342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11347 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11350 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11363 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
= 0;
11365 wxRegion
*arg1
= (wxRegion
*) 0 ;
11381 PyObject
* obj0
= 0 ;
11382 PyObject
* obj1
= 0 ;
11383 PyObject
* obj2
= 0 ;
11384 PyObject
* obj3
= 0 ;
11385 PyObject
* obj4
= 0 ;
11386 char * kwnames
[] = {
11387 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11392 if (!SWIG_IsOK(res1
)) {
11393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11395 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11397 if (!SWIG_IsOK(ecode2
)) {
11398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11400 arg2
= static_cast< int >(val2
);
11401 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11402 if (!SWIG_IsOK(ecode3
)) {
11403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11405 arg3
= static_cast< int >(val3
);
11406 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11407 if (!SWIG_IsOK(ecode4
)) {
11408 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11410 arg4
= static_cast< int >(val4
);
11411 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11412 if (!SWIG_IsOK(ecode5
)) {
11413 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11415 arg5
= static_cast< int >(val5
);
11417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11431 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11432 PyObject
*resultobj
= 0;
11433 wxRegion
*arg1
= (wxRegion
*) 0 ;
11439 PyObject
* obj0
= 0 ;
11440 PyObject
* obj1
= 0 ;
11441 char * kwnames
[] = {
11442 (char *) "self",(char *) "rect", NULL
11445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11447 if (!SWIG_IsOK(res1
)) {
11448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11450 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11453 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11458 wxPyEndAllowThreads(__tstate
);
11459 if (PyErr_Occurred()) SWIG_fail
;
11462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11470 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11471 PyObject
*resultobj
= 0;
11472 wxRegion
*arg1
= (wxRegion
*) 0 ;
11473 wxRegion
*arg2
= 0 ;
11479 PyObject
* obj0
= 0 ;
11480 PyObject
* obj1
= 0 ;
11481 char * kwnames
[] = {
11482 (char *) "self",(char *) "region", NULL
11485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11487 if (!SWIG_IsOK(res1
)) {
11488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11490 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11491 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11492 if (!SWIG_IsOK(res2
)) {
11493 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11496 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11498 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11501 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11514 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11515 PyObject
*resultobj
= 0;
11516 wxRegion
*arg1
= (wxRegion
*) 0 ;
11517 SwigValueWrapper
<wxBitmap
> result
;
11520 PyObject
*swig_obj
[1] ;
11522 if (!args
) SWIG_fail
;
11523 swig_obj
[0] = args
;
11524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11525 if (!SWIG_IsOK(res1
)) {
11526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11528 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11531 result
= (arg1
)->ConvertToBitmap();
11532 wxPyEndAllowThreads(__tstate
);
11533 if (PyErr_Occurred()) SWIG_fail
;
11535 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11542 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
*resultobj
= 0;
11544 wxRegion
*arg1
= (wxRegion
*) 0 ;
11545 wxBitmap
*arg2
= 0 ;
11551 PyObject
* obj0
= 0 ;
11552 PyObject
* obj1
= 0 ;
11553 char * kwnames
[] = {
11554 (char *) "self",(char *) "bmp", NULL
11557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11559 if (!SWIG_IsOK(res1
)) {
11560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11562 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11563 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11564 if (!SWIG_IsOK(res2
)) {
11565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11570 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11573 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11574 wxPyEndAllowThreads(__tstate
);
11575 if (PyErr_Occurred()) SWIG_fail
;
11578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11586 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11587 PyObject
*resultobj
= 0;
11588 wxRegion
*arg1
= (wxRegion
*) 0 ;
11589 wxBitmap
*arg2
= 0 ;
11590 wxColour
*arg3
= 0 ;
11591 int arg4
= (int) 0 ;
11600 PyObject
* obj0
= 0 ;
11601 PyObject
* obj1
= 0 ;
11602 PyObject
* obj2
= 0 ;
11603 PyObject
* obj3
= 0 ;
11604 char * kwnames
[] = {
11605 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11610 if (!SWIG_IsOK(res1
)) {
11611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11613 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11614 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11615 if (!SWIG_IsOK(res2
)) {
11616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11621 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11624 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11627 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11628 if (!SWIG_IsOK(ecode4
)) {
11629 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11631 arg4
= static_cast< int >(val4
);
11634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11635 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11648 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11650 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11651 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11652 return SWIG_Py_Void();
11655 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11656 return SWIG_Python_InitShadowInstance(args
);
11659 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11660 PyObject
*resultobj
= 0;
11661 wxRegion
*arg1
= 0 ;
11662 wxRegionIterator
*result
= 0 ;
11665 PyObject
* obj0
= 0 ;
11666 char * kwnames
[] = {
11667 (char *) "region", NULL
11670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11671 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11672 if (!SWIG_IsOK(res1
)) {
11673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11678 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11680 if (!wxPyCheckForApp()) SWIG_fail
;
11681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11682 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11683 wxPyEndAllowThreads(__tstate
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11693 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11694 PyObject
*resultobj
= 0;
11695 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11698 PyObject
*swig_obj
[1] ;
11700 if (!args
) SWIG_fail
;
11701 swig_obj
[0] = args
;
11702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11703 if (!SWIG_IsOK(res1
)) {
11704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11706 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11714 resultobj
= SWIG_Py_Void();
11721 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11722 PyObject
*resultobj
= 0;
11723 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11727 PyObject
*swig_obj
[1] ;
11729 if (!args
) SWIG_fail
;
11730 swig_obj
[0] = args
;
11731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11732 if (!SWIG_IsOK(res1
)) {
11733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11735 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 result
= (int)(arg1
)->GetX();
11739 wxPyEndAllowThreads(__tstate
);
11740 if (PyErr_Occurred()) SWIG_fail
;
11742 resultobj
= SWIG_From_int(static_cast< int >(result
));
11749 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11750 PyObject
*resultobj
= 0;
11751 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11755 PyObject
*swig_obj
[1] ;
11757 if (!args
) SWIG_fail
;
11758 swig_obj
[0] = args
;
11759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11760 if (!SWIG_IsOK(res1
)) {
11761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11763 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11766 result
= (int)(arg1
)->GetY();
11767 wxPyEndAllowThreads(__tstate
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11770 resultobj
= SWIG_From_int(static_cast< int >(result
));
11777 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11778 PyObject
*resultobj
= 0;
11779 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11783 PyObject
*swig_obj
[1] ;
11785 if (!args
) SWIG_fail
;
11786 swig_obj
[0] = args
;
11787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11788 if (!SWIG_IsOK(res1
)) {
11789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11791 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11794 result
= (int)(arg1
)->GetW();
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11798 resultobj
= SWIG_From_int(static_cast< int >(result
));
11805 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11806 PyObject
*resultobj
= 0;
11807 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11811 PyObject
*swig_obj
[1] ;
11813 if (!args
) SWIG_fail
;
11814 swig_obj
[0] = args
;
11815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11816 if (!SWIG_IsOK(res1
)) {
11817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11819 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11822 result
= (int)(arg1
)->GetWidth();
11823 wxPyEndAllowThreads(__tstate
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11826 resultobj
= SWIG_From_int(static_cast< int >(result
));
11833 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11834 PyObject
*resultobj
= 0;
11835 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11839 PyObject
*swig_obj
[1] ;
11841 if (!args
) SWIG_fail
;
11842 swig_obj
[0] = args
;
11843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11844 if (!SWIG_IsOK(res1
)) {
11845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11847 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11850 result
= (int)(arg1
)->GetH();
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11854 resultobj
= SWIG_From_int(static_cast< int >(result
));
11861 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11862 PyObject
*resultobj
= 0;
11863 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11867 PyObject
*swig_obj
[1] ;
11869 if (!args
) SWIG_fail
;
11870 swig_obj
[0] = args
;
11871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11872 if (!SWIG_IsOK(res1
)) {
11873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11875 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= (int)(arg1
)->GetHeight();
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= SWIG_From_int(static_cast< int >(result
));
11889 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11890 PyObject
*resultobj
= 0;
11891 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11895 PyObject
*swig_obj
[1] ;
11897 if (!args
) SWIG_fail
;
11898 swig_obj
[0] = args
;
11899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11900 if (!SWIG_IsOK(res1
)) {
11901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11903 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11906 result
= (arg1
)->GetRect();
11907 wxPyEndAllowThreads(__tstate
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11910 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11917 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11918 PyObject
*resultobj
= 0;
11919 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11923 PyObject
*swig_obj
[1] ;
11925 if (!args
) SWIG_fail
;
11926 swig_obj
[0] = args
;
11927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11928 if (!SWIG_IsOK(res1
)) {
11929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11931 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11934 result
= (bool)(arg1
)->HaveRects();
11935 wxPyEndAllowThreads(__tstate
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11947 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11948 PyObject
*resultobj
= 0;
11949 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11952 PyObject
*swig_obj
[1] ;
11954 if (!args
) SWIG_fail
;
11955 swig_obj
[0] = args
;
11956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11957 if (!SWIG_IsOK(res1
)) {
11958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11960 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11964 wxPyEndAllowThreads(__tstate
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11967 resultobj
= SWIG_Py_Void();
11974 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11975 PyObject
*resultobj
= 0;
11976 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11979 PyObject
*swig_obj
[1] ;
11981 if (!args
) SWIG_fail
;
11982 swig_obj
[0] = args
;
11983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11984 if (!SWIG_IsOK(res1
)) {
11985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11987 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 wxRegionIterator_Next(arg1
);
11991 wxPyEndAllowThreads(__tstate
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11994 resultobj
= SWIG_Py_Void();
12001 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12002 PyObject
*resultobj
= 0;
12003 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12007 PyObject
*swig_obj
[1] ;
12009 if (!args
) SWIG_fail
;
12010 swig_obj
[0] = args
;
12011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12012 if (!SWIG_IsOK(res1
)) {
12013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12015 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12019 wxPyEndAllowThreads(__tstate
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12031 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12034 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12035 return SWIG_Py_Void();
12038 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12039 return SWIG_Python_InitShadowInstance(args
);
12042 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12043 PyObject
*resultobj
= 0;
12044 wxNativeFontInfo
*result
= 0 ;
12046 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12060 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12061 PyObject
*resultobj
= 0;
12062 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12065 PyObject
*swig_obj
[1] ;
12067 if (!args
) SWIG_fail
;
12068 swig_obj
[0] = args
;
12069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12070 if (!SWIG_IsOK(res1
)) {
12071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12073 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 wxPyEndAllowThreads(__tstate
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12081 resultobj
= SWIG_Py_Void();
12088 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12089 PyObject
*resultobj
= 0;
12090 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12093 PyObject
*swig_obj
[1] ;
12095 if (!args
) SWIG_fail
;
12096 swig_obj
[0] = args
;
12097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12098 if (!SWIG_IsOK(res1
)) {
12099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12101 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12105 wxPyEndAllowThreads(__tstate
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12108 resultobj
= SWIG_Py_Void();
12115 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12116 PyObject
*resultobj
= 0;
12117 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12123 PyObject
* obj0
= 0 ;
12124 PyObject
* obj1
= 0 ;
12125 char * kwnames
[] = {
12126 (char *) "self",(char *) "font", NULL
12129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12131 if (!SWIG_IsOK(res1
)) {
12132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12134 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12135 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12136 if (!SWIG_IsOK(res2
)) {
12137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12142 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= SWIG_Py_Void();
12156 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12157 PyObject
*resultobj
= 0;
12158 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12162 PyObject
*swig_obj
[1] ;
12164 if (!args
) SWIG_fail
;
12165 swig_obj
[0] = args
;
12166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12167 if (!SWIG_IsOK(res1
)) {
12168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12170 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12173 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12174 wxPyEndAllowThreads(__tstate
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12177 resultobj
= SWIG_From_int(static_cast< int >(result
));
12184 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12185 PyObject
*resultobj
= 0;
12186 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12187 wxFontStyle result
;
12190 PyObject
*swig_obj
[1] ;
12192 if (!args
) SWIG_fail
;
12193 swig_obj
[0] = args
;
12194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12195 if (!SWIG_IsOK(res1
)) {
12196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12198 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12201 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12202 wxPyEndAllowThreads(__tstate
);
12203 if (PyErr_Occurred()) SWIG_fail
;
12205 resultobj
= SWIG_From_int(static_cast< int >(result
));
12212 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12213 PyObject
*resultobj
= 0;
12214 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12215 wxFontWeight result
;
12218 PyObject
*swig_obj
[1] ;
12220 if (!args
) SWIG_fail
;
12221 swig_obj
[0] = args
;
12222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12223 if (!SWIG_IsOK(res1
)) {
12224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12226 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12230 wxPyEndAllowThreads(__tstate
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12233 resultobj
= SWIG_From_int(static_cast< int >(result
));
12240 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12241 PyObject
*resultobj
= 0;
12242 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12246 PyObject
*swig_obj
[1] ;
12248 if (!args
) SWIG_fail
;
12249 swig_obj
[0] = args
;
12250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12251 if (!SWIG_IsOK(res1
)) {
12252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12254 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12270 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12271 PyObject
*resultobj
= 0;
12272 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12276 PyObject
*swig_obj
[1] ;
12278 if (!args
) SWIG_fail
;
12279 swig_obj
[0] = args
;
12280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12281 if (!SWIG_IsOK(res1
)) {
12282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12284 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12287 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12288 wxPyEndAllowThreads(__tstate
);
12289 if (PyErr_Occurred()) SWIG_fail
;
12293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12304 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12305 PyObject
*resultobj
= 0;
12306 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12307 wxFontFamily result
;
12310 PyObject
*swig_obj
[1] ;
12312 if (!args
) SWIG_fail
;
12313 swig_obj
[0] = args
;
12314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12315 if (!SWIG_IsOK(res1
)) {
12316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12318 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12325 resultobj
= SWIG_From_int(static_cast< int >(result
));
12332 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12333 PyObject
*resultobj
= 0;
12334 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12335 wxFontEncoding result
;
12338 PyObject
*swig_obj
[1] ;
12340 if (!args
) SWIG_fail
;
12341 swig_obj
[0] = args
;
12342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12343 if (!SWIG_IsOK(res1
)) {
12344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12346 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12350 wxPyEndAllowThreads(__tstate
);
12351 if (PyErr_Occurred()) SWIG_fail
;
12353 resultobj
= SWIG_From_int(static_cast< int >(result
));
12360 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12361 PyObject
*resultobj
= 0;
12362 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12368 PyObject
* obj0
= 0 ;
12369 PyObject
* obj1
= 0 ;
12370 char * kwnames
[] = {
12371 (char *) "self",(char *) "pointsize", NULL
12374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12376 if (!SWIG_IsOK(res1
)) {
12377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12379 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12381 if (!SWIG_IsOK(ecode2
)) {
12382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12384 arg2
= static_cast< int >(val2
);
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 (arg1
)->SetPointSize(arg2
);
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12391 resultobj
= SWIG_Py_Void();
12398 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12399 PyObject
*resultobj
= 0;
12400 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12406 PyObject
* obj0
= 0 ;
12407 PyObject
* obj1
= 0 ;
12408 char * kwnames
[] = {
12409 (char *) "self",(char *) "style", NULL
12412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12414 if (!SWIG_IsOK(res1
)) {
12415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12417 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12419 if (!SWIG_IsOK(ecode2
)) {
12420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12422 arg2
= static_cast< wxFontStyle
>(val2
);
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 (arg1
)->SetStyle(arg2
);
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= SWIG_Py_Void();
12436 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
= 0;
12438 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12439 wxFontWeight arg2
;
12444 PyObject
* obj0
= 0 ;
12445 PyObject
* obj1
= 0 ;
12446 char * kwnames
[] = {
12447 (char *) "self",(char *) "weight", NULL
12450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12452 if (!SWIG_IsOK(res1
)) {
12453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12455 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12457 if (!SWIG_IsOK(ecode2
)) {
12458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12460 arg2
= static_cast< wxFontWeight
>(val2
);
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 (arg1
)->SetWeight(arg2
);
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 resultobj
= SWIG_Py_Void();
12474 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
= 0;
12476 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12482 PyObject
* obj0
= 0 ;
12483 PyObject
* obj1
= 0 ;
12484 char * kwnames
[] = {
12485 (char *) "self",(char *) "underlined", NULL
12488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12490 if (!SWIG_IsOK(res1
)) {
12491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12493 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12494 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12495 if (!SWIG_IsOK(ecode2
)) {
12496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12498 arg2
= static_cast< bool >(val2
);
12500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12501 (arg1
)->SetUnderlined(arg2
);
12502 wxPyEndAllowThreads(__tstate
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12505 resultobj
= SWIG_Py_Void();
12512 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12513 PyObject
*resultobj
= 0;
12514 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12519 PyObject
* obj0
= 0 ;
12520 PyObject
* obj1
= 0 ;
12521 char * kwnames
[] = {
12522 (char *) "self",(char *) "facename", NULL
12525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12527 if (!SWIG_IsOK(res1
)) {
12528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12530 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12532 wxString
* sptr
= wxString_in_helper(obj1
);
12533 if (sptr
== NULL
) SWIG_fail
;
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 result
= (bool)(arg1
)->SetFaceName(arg2
);
12540 wxPyEndAllowThreads(__tstate
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12552 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12553 PyObject
*resultobj
= 0;
12554 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12555 wxFontFamily arg2
;
12560 PyObject
* obj0
= 0 ;
12561 PyObject
* obj1
= 0 ;
12562 char * kwnames
[] = {
12563 (char *) "self",(char *) "family", NULL
12566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12568 if (!SWIG_IsOK(res1
)) {
12569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12571 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12573 if (!SWIG_IsOK(ecode2
)) {
12574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12576 arg2
= static_cast< wxFontFamily
>(val2
);
12578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12579 (arg1
)->SetFamily(arg2
);
12580 wxPyEndAllowThreads(__tstate
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12583 resultobj
= SWIG_Py_Void();
12590 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12591 PyObject
*resultobj
= 0;
12592 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12593 wxFontEncoding arg2
;
12598 PyObject
* obj0
= 0 ;
12599 PyObject
* obj1
= 0 ;
12600 char * kwnames
[] = {
12601 (char *) "self",(char *) "encoding", NULL
12604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12606 if (!SWIG_IsOK(res1
)) {
12607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12609 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12611 if (!SWIG_IsOK(ecode2
)) {
12612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12614 arg2
= static_cast< wxFontEncoding
>(val2
);
12616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12617 (arg1
)->SetEncoding(arg2
);
12618 wxPyEndAllowThreads(__tstate
);
12619 if (PyErr_Occurred()) SWIG_fail
;
12621 resultobj
= SWIG_Py_Void();
12628 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12629 PyObject
*resultobj
= 0;
12630 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12631 wxString
*arg2
= 0 ;
12635 bool temp2
= false ;
12636 PyObject
* obj0
= 0 ;
12637 PyObject
* obj1
= 0 ;
12638 char * kwnames
[] = {
12639 (char *) "self",(char *) "s", NULL
12642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12644 if (!SWIG_IsOK(res1
)) {
12645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12647 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12649 arg2
= wxString_in_helper(obj1
);
12650 if (arg2
== NULL
) SWIG_fail
;
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12656 wxPyEndAllowThreads(__tstate
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12676 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12677 PyObject
*resultobj
= 0;
12678 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12682 PyObject
*swig_obj
[1] ;
12684 if (!args
) SWIG_fail
;
12685 swig_obj
[0] = args
;
12686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12687 if (!SWIG_IsOK(res1
)) {
12688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12690 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12693 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12694 wxPyEndAllowThreads(__tstate
);
12695 if (PyErr_Occurred()) SWIG_fail
;
12699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12710 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12711 PyObject
*resultobj
= 0;
12712 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12716 PyObject
*swig_obj
[1] ;
12718 if (!args
) SWIG_fail
;
12719 swig_obj
[0] = args
;
12720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12721 if (!SWIG_IsOK(res1
)) {
12722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12724 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 result
= wxNativeFontInfo___str__(arg1
);
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12733 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12735 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12744 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12745 PyObject
*resultobj
= 0;
12746 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12747 wxString
*arg2
= 0 ;
12751 bool temp2
= false ;
12752 PyObject
* obj0
= 0 ;
12753 PyObject
* obj1
= 0 ;
12754 char * kwnames
[] = {
12755 (char *) "self",(char *) "s", NULL
12758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12760 if (!SWIG_IsOK(res1
)) {
12761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12763 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12765 arg2
= wxString_in_helper(obj1
);
12766 if (arg2
== NULL
) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12792 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12793 PyObject
*resultobj
= 0;
12794 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12798 PyObject
*swig_obj
[1] ;
12800 if (!args
) SWIG_fail
;
12801 swig_obj
[0] = args
;
12802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12803 if (!SWIG_IsOK(res1
)) {
12804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12806 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12810 wxPyEndAllowThreads(__tstate
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12815 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12817 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12826 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12828 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12829 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12830 return SWIG_Py_Void();
12833 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12834 return SWIG_Python_InitShadowInstance(args
);
12837 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12838 PyObject
*resultobj
= 0;
12839 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12840 wxString
*arg2
= (wxString
*) 0 ;
12843 bool temp2
= false ;
12844 PyObject
*swig_obj
[2] ;
12846 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12848 if (!SWIG_IsOK(res1
)) {
12849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12851 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12853 arg2
= wxString_in_helper(swig_obj
[1]);
12854 if (arg2
== NULL
) SWIG_fail
;
12857 if (arg1
) (arg1
)->facename
= *arg2
;
12859 resultobj
= SWIG_Py_Void();
12874 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12875 PyObject
*resultobj
= 0;
12876 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12877 wxString
*result
= 0 ;
12880 PyObject
*swig_obj
[1] ;
12882 if (!args
) SWIG_fail
;
12883 swig_obj
[0] = args
;
12884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12885 if (!SWIG_IsOK(res1
)) {
12886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12888 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12889 result
= (wxString
*)& ((arg1
)->facename
);
12892 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12894 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12903 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12904 PyObject
*resultobj
= 0;
12905 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12906 wxFontEncoding arg2
;
12911 PyObject
*swig_obj
[2] ;
12913 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12915 if (!SWIG_IsOK(res1
)) {
12916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12918 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12919 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12920 if (!SWIG_IsOK(ecode2
)) {
12921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12923 arg2
= static_cast< wxFontEncoding
>(val2
);
12924 if (arg1
) (arg1
)->encoding
= arg2
;
12926 resultobj
= SWIG_Py_Void();
12933 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12934 PyObject
*resultobj
= 0;
12935 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12936 wxFontEncoding result
;
12939 PyObject
*swig_obj
[1] ;
12941 if (!args
) SWIG_fail
;
12942 swig_obj
[0] = args
;
12943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12944 if (!SWIG_IsOK(res1
)) {
12945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12947 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12948 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12949 resultobj
= SWIG_From_int(static_cast< int >(result
));
12956 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12957 PyObject
*resultobj
= 0;
12958 wxNativeEncodingInfo
*result
= 0 ;
12960 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12963 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12964 wxPyEndAllowThreads(__tstate
);
12965 if (PyErr_Occurred()) SWIG_fail
;
12967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12974 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12975 PyObject
*resultobj
= 0;
12976 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12979 PyObject
*swig_obj
[1] ;
12981 if (!args
) SWIG_fail
;
12982 swig_obj
[0] = args
;
12983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12984 if (!SWIG_IsOK(res1
)) {
12985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12987 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12992 wxPyEndAllowThreads(__tstate
);
12993 if (PyErr_Occurred()) SWIG_fail
;
12995 resultobj
= SWIG_Py_Void();
13002 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13003 PyObject
*resultobj
= 0;
13004 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13005 wxString
*arg2
= 0 ;
13009 bool temp2
= false ;
13010 PyObject
* obj0
= 0 ;
13011 PyObject
* obj1
= 0 ;
13012 char * kwnames
[] = {
13013 (char *) "self",(char *) "s", NULL
13016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13018 if (!SWIG_IsOK(res1
)) {
13019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13021 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13023 arg2
= wxString_in_helper(obj1
);
13024 if (arg2
== NULL
) SWIG_fail
;
13028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13029 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13030 wxPyEndAllowThreads(__tstate
);
13031 if (PyErr_Occurred()) SWIG_fail
;
13034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13050 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13051 PyObject
*resultobj
= 0;
13052 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13056 PyObject
*swig_obj
[1] ;
13058 if (!args
) SWIG_fail
;
13059 swig_obj
[0] = args
;
13060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13061 if (!SWIG_IsOK(res1
)) {
13062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13064 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13067 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13068 wxPyEndAllowThreads(__tstate
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13084 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13086 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13087 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13088 return SWIG_Py_Void();
13091 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13092 return SWIG_Python_InitShadowInstance(args
);
13095 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13096 PyObject
*resultobj
= 0;
13097 wxFontEncoding arg1
;
13098 wxNativeEncodingInfo
*result
= 0 ;
13101 PyObject
* obj0
= 0 ;
13102 char * kwnames
[] = {
13103 (char *) "encoding", NULL
13106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13107 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13108 if (!SWIG_IsOK(ecode1
)) {
13109 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13111 arg1
= static_cast< wxFontEncoding
>(val1
);
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13125 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13126 PyObject
*resultobj
= 0;
13127 wxNativeEncodingInfo
*arg1
= 0 ;
13131 PyObject
* obj0
= 0 ;
13132 char * kwnames
[] = {
13133 (char *) "info", NULL
13136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13137 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13138 if (!SWIG_IsOK(res1
)) {
13139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13144 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13147 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13148 wxPyEndAllowThreads(__tstate
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13160 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13161 PyObject
*resultobj
= 0;
13162 wxFontMapper
*result
= 0 ;
13164 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13167 result
= (wxFontMapper
*)new wxFontMapper();
13168 wxPyEndAllowThreads(__tstate
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13178 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13179 PyObject
*resultobj
= 0;
13180 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13183 PyObject
*swig_obj
[1] ;
13185 if (!args
) SWIG_fail
;
13186 swig_obj
[0] = args
;
13187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13188 if (!SWIG_IsOK(res1
)) {
13189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13191 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13196 wxPyEndAllowThreads(__tstate
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13199 resultobj
= SWIG_Py_Void();
13206 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13207 PyObject
*resultobj
= 0;
13208 wxFontMapper
*result
= 0 ;
13210 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 result
= (wxFontMapper
*)wxFontMapper::Get();
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13224 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13225 PyObject
*resultobj
= 0;
13226 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13227 wxFontMapper
*result
= 0 ;
13230 PyObject
* obj0
= 0 ;
13231 char * kwnames
[] = {
13232 (char *) "mapper", NULL
13235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13237 if (!SWIG_IsOK(res1
)) {
13238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13240 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13243 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13244 wxPyEndAllowThreads(__tstate
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13254 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
= 0;
13256 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13257 wxString
*arg2
= 0 ;
13258 bool arg3
= (bool) true ;
13259 wxFontEncoding result
;
13262 bool temp2
= false ;
13265 PyObject
* obj0
= 0 ;
13266 PyObject
* obj1
= 0 ;
13267 PyObject
* obj2
= 0 ;
13268 char * kwnames
[] = {
13269 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13274 if (!SWIG_IsOK(res1
)) {
13275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13277 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13279 arg2
= wxString_in_helper(obj1
);
13280 if (arg2
== NULL
) SWIG_fail
;
13284 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13285 if (!SWIG_IsOK(ecode3
)) {
13286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13288 arg3
= static_cast< bool >(val3
);
13291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 resultobj
= SWIG_From_int(static_cast< int >(result
));
13311 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13312 PyObject
*resultobj
= 0;
13315 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13318 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13329 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13330 PyObject
*resultobj
= 0;
13332 wxFontEncoding result
;
13335 PyObject
* obj0
= 0 ;
13336 char * kwnames
[] = {
13340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13341 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13342 if (!SWIG_IsOK(ecode1
)) {
13343 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13345 arg1
= static_cast< size_t >(val1
);
13347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13348 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13349 wxPyEndAllowThreads(__tstate
);
13350 if (PyErr_Occurred()) SWIG_fail
;
13352 resultobj
= SWIG_From_int(static_cast< int >(result
));
13359 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13360 PyObject
*resultobj
= 0;
13361 wxFontEncoding arg1
;
13365 PyObject
* obj0
= 0 ;
13366 char * kwnames
[] = {
13367 (char *) "encoding", NULL
13370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13371 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13372 if (!SWIG_IsOK(ecode1
)) {
13373 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13375 arg1
= static_cast< wxFontEncoding
>(val1
);
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 result
= wxFontMapper::GetEncodingName(arg1
);
13379 wxPyEndAllowThreads(__tstate
);
13380 if (PyErr_Occurred()) SWIG_fail
;
13384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13395 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13396 PyObject
*resultobj
= 0;
13397 wxFontEncoding arg1
;
13401 PyObject
* obj0
= 0 ;
13402 char * kwnames
[] = {
13403 (char *) "encoding", NULL
13406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13407 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13408 if (!SWIG_IsOK(ecode1
)) {
13409 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13411 arg1
= static_cast< wxFontEncoding
>(val1
);
13413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 result
= wxFontMapper::GetEncodingDescription(arg1
);
13415 wxPyEndAllowThreads(__tstate
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13431 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13432 PyObject
*resultobj
= 0;
13433 wxString
*arg1
= 0 ;
13434 wxFontEncoding result
;
13435 bool temp1
= false ;
13436 PyObject
* obj0
= 0 ;
13437 char * kwnames
[] = {
13438 (char *) "name", NULL
13441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13443 arg1
= wxString_in_helper(obj0
);
13444 if (arg1
== NULL
) SWIG_fail
;
13448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13449 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13453 resultobj
= SWIG_From_int(static_cast< int >(result
));
13468 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13469 PyObject
*resultobj
= 0;
13470 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13471 wxString
*arg2
= 0 ;
13474 bool temp2
= false ;
13475 PyObject
* obj0
= 0 ;
13476 PyObject
* obj1
= 0 ;
13477 char * kwnames
[] = {
13478 (char *) "self",(char *) "prefix", NULL
13481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13483 if (!SWIG_IsOK(res1
)) {
13484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13486 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13488 arg2
= wxString_in_helper(obj1
);
13489 if (arg2
== NULL
) SWIG_fail
;
13493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13495 wxPyEndAllowThreads(__tstate
);
13496 if (PyErr_Occurred()) SWIG_fail
;
13498 resultobj
= SWIG_Py_Void();
13513 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13514 PyObject
*resultobj
= 0;
13517 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13520 result
= wxFontMapper::GetDefaultConfigPath();
13521 wxPyEndAllowThreads(__tstate
);
13522 if (PyErr_Occurred()) SWIG_fail
;
13526 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13528 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13537 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13538 PyObject
*resultobj
= 0;
13539 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13540 wxFontEncoding arg2
;
13541 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13542 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13543 bool arg4
= (bool) true ;
13544 PyObject
*result
= 0 ;
13549 bool temp3
= false ;
13552 PyObject
* obj0
= 0 ;
13553 PyObject
* obj1
= 0 ;
13554 PyObject
* obj2
= 0 ;
13555 PyObject
* obj3
= 0 ;
13556 char * kwnames
[] = {
13557 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13562 if (!SWIG_IsOK(res1
)) {
13563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13565 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13567 if (!SWIG_IsOK(ecode2
)) {
13568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13570 arg2
= static_cast< wxFontEncoding
>(val2
);
13573 arg3
= wxString_in_helper(obj2
);
13574 if (arg3
== NULL
) SWIG_fail
;
13579 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13580 if (!SWIG_IsOK(ecode4
)) {
13581 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13583 arg4
= static_cast< bool >(val4
);
13586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13587 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13591 resultobj
= result
;
13606 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13607 PyObject
*resultobj
= 0;
13608 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13609 wxFontEncoding arg2
;
13610 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13611 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13617 bool temp3
= false ;
13618 PyObject
* obj0
= 0 ;
13619 PyObject
* obj1
= 0 ;
13620 PyObject
* obj2
= 0 ;
13621 char * kwnames
[] = {
13622 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13627 if (!SWIG_IsOK(res1
)) {
13628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13630 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13632 if (!SWIG_IsOK(ecode2
)) {
13633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13635 arg2
= static_cast< wxFontEncoding
>(val2
);
13638 arg3
= wxString_in_helper(obj2
);
13639 if (arg3
== NULL
) SWIG_fail
;
13644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13645 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13646 wxPyEndAllowThreads(__tstate
);
13647 if (PyErr_Occurred()) SWIG_fail
;
13650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13666 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13667 PyObject
*resultobj
= 0;
13668 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13669 wxWindow
*arg2
= (wxWindow
*) 0 ;
13674 PyObject
* obj0
= 0 ;
13675 PyObject
* obj1
= 0 ;
13676 char * kwnames
[] = {
13677 (char *) "self",(char *) "parent", NULL
13680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13682 if (!SWIG_IsOK(res1
)) {
13683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13685 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13686 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13687 if (!SWIG_IsOK(res2
)) {
13688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13690 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13693 (arg1
)->SetDialogParent(arg2
);
13694 wxPyEndAllowThreads(__tstate
);
13695 if (PyErr_Occurred()) SWIG_fail
;
13697 resultobj
= SWIG_Py_Void();
13704 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13705 PyObject
*resultobj
= 0;
13706 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13707 wxString
*arg2
= 0 ;
13710 bool temp2
= false ;
13711 PyObject
* obj0
= 0 ;
13712 PyObject
* obj1
= 0 ;
13713 char * kwnames
[] = {
13714 (char *) "self",(char *) "title", NULL
13717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13719 if (!SWIG_IsOK(res1
)) {
13720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13722 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13724 arg2
= wxString_in_helper(obj1
);
13725 if (arg2
== NULL
) SWIG_fail
;
13729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13730 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13731 wxPyEndAllowThreads(__tstate
);
13732 if (PyErr_Occurred()) SWIG_fail
;
13734 resultobj
= SWIG_Py_Void();
13749 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13752 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13753 return SWIG_Py_Void();
13756 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13757 return SWIG_Python_InitShadowInstance(args
);
13760 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13761 PyObject
*resultobj
= 0;
13766 bool arg5
= (bool) false ;
13767 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13768 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13769 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13770 wxFont
*result
= 0 ;
13781 bool temp6
= false ;
13784 PyObject
* obj0
= 0 ;
13785 PyObject
* obj1
= 0 ;
13786 PyObject
* obj2
= 0 ;
13787 PyObject
* obj3
= 0 ;
13788 PyObject
* obj4
= 0 ;
13789 PyObject
* obj5
= 0 ;
13790 PyObject
* obj6
= 0 ;
13791 char * kwnames
[] = {
13792 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13796 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13797 if (!SWIG_IsOK(ecode1
)) {
13798 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13800 arg1
= static_cast< int >(val1
);
13801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13802 if (!SWIG_IsOK(ecode2
)) {
13803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13805 arg2
= static_cast< int >(val2
);
13806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13807 if (!SWIG_IsOK(ecode3
)) {
13808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13810 arg3
= static_cast< int >(val3
);
13811 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13812 if (!SWIG_IsOK(ecode4
)) {
13813 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13815 arg4
= static_cast< int >(val4
);
13817 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13818 if (!SWIG_IsOK(ecode5
)) {
13819 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13821 arg5
= static_cast< bool >(val5
);
13825 arg6
= wxString_in_helper(obj5
);
13826 if (arg6
== NULL
) SWIG_fail
;
13831 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13832 if (!SWIG_IsOK(ecode7
)) {
13833 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13835 arg7
= static_cast< wxFontEncoding
>(val7
);
13838 if (!wxPyCheckForApp()) SWIG_fail
;
13839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13840 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13841 wxPyEndAllowThreads(__tstate
);
13842 if (PyErr_Occurred()) SWIG_fail
;
13844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13859 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13860 PyObject
*resultobj
= 0;
13861 wxFont
*arg1
= (wxFont
*) 0 ;
13864 PyObject
*swig_obj
[1] ;
13866 if (!args
) SWIG_fail
;
13867 swig_obj
[0] = args
;
13868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13869 if (!SWIG_IsOK(res1
)) {
13870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13872 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13877 wxPyEndAllowThreads(__tstate
);
13878 if (PyErr_Occurred()) SWIG_fail
;
13880 resultobj
= SWIG_Py_Void();
13887 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13888 PyObject
*resultobj
= 0;
13889 wxNativeFontInfo
*arg1
= 0 ;
13890 wxFont
*result
= 0 ;
13893 PyObject
* obj0
= 0 ;
13894 char * kwnames
[] = {
13895 (char *) "info", NULL
13898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13899 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13900 if (!SWIG_IsOK(res1
)) {
13901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13906 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13908 if (!wxPyCheckForApp()) SWIG_fail
;
13909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13910 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13911 wxPyEndAllowThreads(__tstate
);
13912 if (PyErr_Occurred()) SWIG_fail
;
13914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13921 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13922 PyObject
*resultobj
= 0;
13923 wxString
*arg1
= 0 ;
13924 wxFont
*result
= 0 ;
13925 bool temp1
= false ;
13926 PyObject
* obj0
= 0 ;
13927 char * kwnames
[] = {
13928 (char *) "info", NULL
13931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13933 arg1
= wxString_in_helper(obj0
);
13934 if (arg1
== NULL
) SWIG_fail
;
13938 if (!wxPyCheckForApp()) SWIG_fail
;
13939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13940 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13941 wxPyEndAllowThreads(__tstate
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13959 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13960 PyObject
*resultobj
= 0;
13962 wxFontFamily arg2
;
13963 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13964 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13965 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13966 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13967 wxFont
*result
= 0 ;
13974 bool temp4
= false ;
13977 PyObject
* obj0
= 0 ;
13978 PyObject
* obj1
= 0 ;
13979 PyObject
* obj2
= 0 ;
13980 PyObject
* obj3
= 0 ;
13981 PyObject
* obj4
= 0 ;
13982 char * kwnames
[] = {
13983 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13987 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13988 if (!SWIG_IsOK(ecode1
)) {
13989 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13991 arg1
= static_cast< int >(val1
);
13992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13993 if (!SWIG_IsOK(ecode2
)) {
13994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13996 arg2
= static_cast< wxFontFamily
>(val2
);
13998 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13999 if (!SWIG_IsOK(ecode3
)) {
14000 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14002 arg3
= static_cast< int >(val3
);
14006 arg4
= wxString_in_helper(obj3
);
14007 if (arg4
== NULL
) SWIG_fail
;
14012 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14013 if (!SWIG_IsOK(ecode5
)) {
14014 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14016 arg5
= static_cast< wxFontEncoding
>(val5
);
14019 if (!wxPyCheckForApp()) SWIG_fail
;
14020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14021 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14022 wxPyEndAllowThreads(__tstate
);
14023 if (PyErr_Occurred()) SWIG_fail
;
14025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14040 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14041 PyObject
*resultobj
= 0;
14046 bool arg5
= (bool) false ;
14047 wxString
const &arg6_defvalue
= wxEmptyString
;
14048 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14049 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14050 wxFont
*result
= 0 ;
14060 bool temp6
= false ;
14063 PyObject
* obj0
= 0 ;
14064 PyObject
* obj1
= 0 ;
14065 PyObject
* obj2
= 0 ;
14066 PyObject
* obj3
= 0 ;
14067 PyObject
* obj4
= 0 ;
14068 PyObject
* obj5
= 0 ;
14069 PyObject
* obj6
= 0 ;
14070 char * kwnames
[] = {
14071 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14077 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14080 if (!SWIG_IsOK(ecode2
)) {
14081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14083 arg2
= static_cast< int >(val2
);
14084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14085 if (!SWIG_IsOK(ecode3
)) {
14086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14088 arg3
= static_cast< int >(val3
);
14089 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14090 if (!SWIG_IsOK(ecode4
)) {
14091 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14093 arg4
= static_cast< int >(val4
);
14095 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14096 if (!SWIG_IsOK(ecode5
)) {
14097 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14099 arg5
= static_cast< bool >(val5
);
14103 arg6
= wxString_in_helper(obj5
);
14104 if (arg6
== NULL
) SWIG_fail
;
14109 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14110 if (!SWIG_IsOK(ecode7
)) {
14111 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14113 arg7
= static_cast< wxFontEncoding
>(val7
);
14116 if (!wxPyCheckForApp()) SWIG_fail
;
14117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14118 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14119 wxPyEndAllowThreads(__tstate
);
14120 if (PyErr_Occurred()) SWIG_fail
;
14122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14137 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14138 PyObject
*resultobj
= 0;
14140 wxFontFamily arg2
;
14141 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14142 wxString
const &arg4_defvalue
= wxEmptyString
;
14143 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14144 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14145 wxFont
*result
= 0 ;
14151 bool temp4
= false ;
14154 PyObject
* obj0
= 0 ;
14155 PyObject
* obj1
= 0 ;
14156 PyObject
* obj2
= 0 ;
14157 PyObject
* obj3
= 0 ;
14158 PyObject
* obj4
= 0 ;
14159 char * kwnames
[] = {
14160 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14166 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14169 if (!SWIG_IsOK(ecode2
)) {
14170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14172 arg2
= static_cast< wxFontFamily
>(val2
);
14174 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14175 if (!SWIG_IsOK(ecode3
)) {
14176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14178 arg3
= static_cast< int >(val3
);
14182 arg4
= wxString_in_helper(obj3
);
14183 if (arg4
== NULL
) SWIG_fail
;
14188 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14189 if (!SWIG_IsOK(ecode5
)) {
14190 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14192 arg5
= static_cast< wxFontEncoding
>(val5
);
14195 if (!wxPyCheckForApp()) SWIG_fail
;
14196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14197 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14198 wxPyEndAllowThreads(__tstate
);
14199 if (PyErr_Occurred()) SWIG_fail
;
14201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14216 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14217 PyObject
*resultobj
= 0;
14218 wxFont
*arg1
= (wxFont
*) 0 ;
14222 PyObject
*swig_obj
[1] ;
14224 if (!args
) SWIG_fail
;
14225 swig_obj
[0] = args
;
14226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14227 if (!SWIG_IsOK(res1
)) {
14228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14230 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14246 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14247 PyObject
*resultobj
= 0;
14248 wxFont
*arg1
= (wxFont
*) 0 ;
14249 wxFont
*arg2
= (wxFont
*) 0 ;
14255 PyObject
* obj0
= 0 ;
14256 PyObject
* obj1
= 0 ;
14257 char * kwnames
[] = {
14258 (char *) "self",(char *) "other", NULL
14261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14263 if (!SWIG_IsOK(res1
)) {
14264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14266 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14267 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14268 if (!SWIG_IsOK(res2
)) {
14269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14271 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14274 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14287 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14288 PyObject
*resultobj
= 0;
14289 wxFont
*arg1
= (wxFont
*) 0 ;
14290 wxFont
*arg2
= (wxFont
*) 0 ;
14296 PyObject
* obj0
= 0 ;
14297 PyObject
* obj1
= 0 ;
14298 char * kwnames
[] = {
14299 (char *) "self",(char *) "other", NULL
14302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14304 if (!SWIG_IsOK(res1
)) {
14305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14307 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14308 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14309 if (!SWIG_IsOK(res2
)) {
14310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14312 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14315 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14316 wxPyEndAllowThreads(__tstate
);
14317 if (PyErr_Occurred()) SWIG_fail
;
14320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14328 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14329 PyObject
*resultobj
= 0;
14330 wxFont
*arg1
= (wxFont
*) 0 ;
14334 PyObject
*swig_obj
[1] ;
14336 if (!args
) SWIG_fail
;
14337 swig_obj
[0] = args
;
14338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14339 if (!SWIG_IsOK(res1
)) {
14340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14342 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14345 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14346 wxPyEndAllowThreads(__tstate
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14349 resultobj
= SWIG_From_int(static_cast< int >(result
));
14356 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14357 PyObject
*resultobj
= 0;
14358 wxFont
*arg1
= (wxFont
*) 0 ;
14362 PyObject
*swig_obj
[1] ;
14364 if (!args
) SWIG_fail
;
14365 swig_obj
[0] = args
;
14366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14367 if (!SWIG_IsOK(res1
)) {
14368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14370 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14373 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14374 wxPyEndAllowThreads(__tstate
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14377 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14384 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14385 PyObject
*resultobj
= 0;
14386 wxFont
*arg1
= (wxFont
*) 0 ;
14390 PyObject
*swig_obj
[1] ;
14392 if (!args
) SWIG_fail
;
14393 swig_obj
[0] = args
;
14394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14395 if (!SWIG_IsOK(res1
)) {
14396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14398 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14401 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14414 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14415 PyObject
*resultobj
= 0;
14416 wxFont
*arg1
= (wxFont
*) 0 ;
14420 PyObject
*swig_obj
[1] ;
14422 if (!args
) SWIG_fail
;
14423 swig_obj
[0] = args
;
14424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14425 if (!SWIG_IsOK(res1
)) {
14426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14428 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14431 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14432 wxPyEndAllowThreads(__tstate
);
14433 if (PyErr_Occurred()) SWIG_fail
;
14435 resultobj
= SWIG_From_int(static_cast< int >(result
));
14442 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14443 PyObject
*resultobj
= 0;
14444 wxFont
*arg1
= (wxFont
*) 0 ;
14448 PyObject
*swig_obj
[1] ;
14450 if (!args
) SWIG_fail
;
14451 swig_obj
[0] = args
;
14452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14453 if (!SWIG_IsOK(res1
)) {
14454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14456 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14460 wxPyEndAllowThreads(__tstate
);
14461 if (PyErr_Occurred()) SWIG_fail
;
14463 resultobj
= SWIG_From_int(static_cast< int >(result
));
14470 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14471 PyObject
*resultobj
= 0;
14472 wxFont
*arg1
= (wxFont
*) 0 ;
14476 PyObject
*swig_obj
[1] ;
14478 if (!args
) SWIG_fail
;
14479 swig_obj
[0] = args
;
14480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14481 if (!SWIG_IsOK(res1
)) {
14482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14484 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14487 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14488 wxPyEndAllowThreads(__tstate
);
14489 if (PyErr_Occurred()) SWIG_fail
;
14491 resultobj
= SWIG_From_int(static_cast< int >(result
));
14498 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14499 PyObject
*resultobj
= 0;
14500 wxFont
*arg1
= (wxFont
*) 0 ;
14504 PyObject
*swig_obj
[1] ;
14506 if (!args
) SWIG_fail
;
14507 swig_obj
[0] = args
;
14508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14509 if (!SWIG_IsOK(res1
)) {
14510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14512 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14515 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14516 wxPyEndAllowThreads(__tstate
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14528 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14529 PyObject
*resultobj
= 0;
14530 wxFont
*arg1
= (wxFont
*) 0 ;
14534 PyObject
*swig_obj
[1] ;
14536 if (!args
) SWIG_fail
;
14537 swig_obj
[0] = args
;
14538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14539 if (!SWIG_IsOK(res1
)) {
14540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14542 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14545 result
= ((wxFont
const *)arg1
)->GetFaceName();
14546 wxPyEndAllowThreads(__tstate
);
14547 if (PyErr_Occurred()) SWIG_fail
;
14551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14562 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14563 PyObject
*resultobj
= 0;
14564 wxFont
*arg1
= (wxFont
*) 0 ;
14565 wxFontEncoding result
;
14568 PyObject
*swig_obj
[1] ;
14570 if (!args
) SWIG_fail
;
14571 swig_obj
[0] = args
;
14572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14573 if (!SWIG_IsOK(res1
)) {
14574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14576 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14579 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14580 wxPyEndAllowThreads(__tstate
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14583 resultobj
= SWIG_From_int(static_cast< int >(result
));
14590 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14591 PyObject
*resultobj
= 0;
14592 wxFont
*arg1
= (wxFont
*) 0 ;
14593 wxNativeFontInfo
*result
= 0 ;
14596 PyObject
*swig_obj
[1] ;
14598 if (!args
) SWIG_fail
;
14599 swig_obj
[0] = args
;
14600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14601 if (!SWIG_IsOK(res1
)) {
14602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14604 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14607 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14608 wxPyEndAllowThreads(__tstate
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14618 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14619 PyObject
*resultobj
= 0;
14620 wxFont
*arg1
= (wxFont
*) 0 ;
14624 PyObject
*swig_obj
[1] ;
14626 if (!args
) SWIG_fail
;
14627 swig_obj
[0] = args
;
14628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14629 if (!SWIG_IsOK(res1
)) {
14630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14632 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14635 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14636 wxPyEndAllowThreads(__tstate
);
14637 if (PyErr_Occurred()) SWIG_fail
;
14640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14648 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14649 PyObject
*resultobj
= 0;
14650 wxFont
*arg1
= (wxFont
*) 0 ;
14654 PyObject
*swig_obj
[1] ;
14656 if (!args
) SWIG_fail
;
14657 swig_obj
[0] = args
;
14658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14659 if (!SWIG_IsOK(res1
)) {
14660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14662 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14665 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14666 wxPyEndAllowThreads(__tstate
);
14667 if (PyErr_Occurred()) SWIG_fail
;
14671 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14673 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14682 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14683 PyObject
*resultobj
= 0;
14684 wxFont
*arg1
= (wxFont
*) 0 ;
14688 PyObject
*swig_obj
[1] ;
14690 if (!args
) SWIG_fail
;
14691 swig_obj
[0] = args
;
14692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14693 if (!SWIG_IsOK(res1
)) {
14694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14696 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14699 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14700 wxPyEndAllowThreads(__tstate
);
14701 if (PyErr_Occurred()) SWIG_fail
;
14705 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14707 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14716 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14717 PyObject
*resultobj
= 0;
14718 wxFont
*arg1
= (wxFont
*) 0 ;
14724 PyObject
* obj0
= 0 ;
14725 PyObject
* obj1
= 0 ;
14726 char * kwnames
[] = {
14727 (char *) "self",(char *) "pointSize", NULL
14730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14732 if (!SWIG_IsOK(res1
)) {
14733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14735 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14737 if (!SWIG_IsOK(ecode2
)) {
14738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14740 arg2
= static_cast< int >(val2
);
14742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14743 (arg1
)->SetPointSize(arg2
);
14744 wxPyEndAllowThreads(__tstate
);
14745 if (PyErr_Occurred()) SWIG_fail
;
14747 resultobj
= SWIG_Py_Void();
14754 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14755 PyObject
*resultobj
= 0;
14756 wxFont
*arg1
= (wxFont
*) 0 ;
14761 PyObject
* obj0
= 0 ;
14762 PyObject
* obj1
= 0 ;
14763 char * kwnames
[] = {
14764 (char *) "self",(char *) "pixelSize", NULL
14767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14769 if (!SWIG_IsOK(res1
)) {
14770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14772 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14775 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14780 wxPyEndAllowThreads(__tstate
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14783 resultobj
= SWIG_Py_Void();
14790 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14791 PyObject
*resultobj
= 0;
14792 wxFont
*arg1
= (wxFont
*) 0 ;
14798 PyObject
* obj0
= 0 ;
14799 PyObject
* obj1
= 0 ;
14800 char * kwnames
[] = {
14801 (char *) "self",(char *) "family", NULL
14804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14806 if (!SWIG_IsOK(res1
)) {
14807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14809 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14811 if (!SWIG_IsOK(ecode2
)) {
14812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14814 arg2
= static_cast< int >(val2
);
14816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 (arg1
)->SetFamily(arg2
);
14818 wxPyEndAllowThreads(__tstate
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14821 resultobj
= SWIG_Py_Void();
14828 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14829 PyObject
*resultobj
= 0;
14830 wxFont
*arg1
= (wxFont
*) 0 ;
14836 PyObject
* obj0
= 0 ;
14837 PyObject
* obj1
= 0 ;
14838 char * kwnames
[] = {
14839 (char *) "self",(char *) "style", NULL
14842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14844 if (!SWIG_IsOK(res1
)) {
14845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14847 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14849 if (!SWIG_IsOK(ecode2
)) {
14850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14852 arg2
= static_cast< int >(val2
);
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 (arg1
)->SetStyle(arg2
);
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14859 resultobj
= SWIG_Py_Void();
14866 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14867 PyObject
*resultobj
= 0;
14868 wxFont
*arg1
= (wxFont
*) 0 ;
14874 PyObject
* obj0
= 0 ;
14875 PyObject
* obj1
= 0 ;
14876 char * kwnames
[] = {
14877 (char *) "self",(char *) "weight", NULL
14880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14882 if (!SWIG_IsOK(res1
)) {
14883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14885 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14887 if (!SWIG_IsOK(ecode2
)) {
14888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14890 arg2
= static_cast< int >(val2
);
14892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14893 (arg1
)->SetWeight(arg2
);
14894 wxPyEndAllowThreads(__tstate
);
14895 if (PyErr_Occurred()) SWIG_fail
;
14897 resultobj
= SWIG_Py_Void();
14904 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14905 PyObject
*resultobj
= 0;
14906 wxFont
*arg1
= (wxFont
*) 0 ;
14907 wxString
*arg2
= 0 ;
14911 bool temp2
= false ;
14912 PyObject
* obj0
= 0 ;
14913 PyObject
* obj1
= 0 ;
14914 char * kwnames
[] = {
14915 (char *) "self",(char *) "faceName", NULL
14918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14920 if (!SWIG_IsOK(res1
)) {
14921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14923 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14925 arg2
= wxString_in_helper(obj1
);
14926 if (arg2
== NULL
) SWIG_fail
;
14930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14931 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14932 wxPyEndAllowThreads(__tstate
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14952 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14953 PyObject
*resultobj
= 0;
14954 wxFont
*arg1
= (wxFont
*) 0 ;
14960 PyObject
* obj0
= 0 ;
14961 PyObject
* obj1
= 0 ;
14962 char * kwnames
[] = {
14963 (char *) "self",(char *) "underlined", NULL
14966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14968 if (!SWIG_IsOK(res1
)) {
14969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14971 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14972 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14973 if (!SWIG_IsOK(ecode2
)) {
14974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14976 arg2
= static_cast< bool >(val2
);
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 (arg1
)->SetUnderlined(arg2
);
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14983 resultobj
= SWIG_Py_Void();
14990 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14991 PyObject
*resultobj
= 0;
14992 wxFont
*arg1
= (wxFont
*) 0 ;
14993 wxFontEncoding arg2
;
14998 PyObject
* obj0
= 0 ;
14999 PyObject
* obj1
= 0 ;
15000 char * kwnames
[] = {
15001 (char *) "self",(char *) "encoding", NULL
15004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15006 if (!SWIG_IsOK(res1
)) {
15007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15009 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15011 if (!SWIG_IsOK(ecode2
)) {
15012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15014 arg2
= static_cast< wxFontEncoding
>(val2
);
15016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15017 (arg1
)->SetEncoding(arg2
);
15018 wxPyEndAllowThreads(__tstate
);
15019 if (PyErr_Occurred()) SWIG_fail
;
15021 resultobj
= SWIG_Py_Void();
15028 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15029 PyObject
*resultobj
= 0;
15030 wxFont
*arg1
= (wxFont
*) 0 ;
15031 wxNativeFontInfo
*arg2
= 0 ;
15036 PyObject
* obj0
= 0 ;
15037 PyObject
* obj1
= 0 ;
15038 char * kwnames
[] = {
15039 (char *) "self",(char *) "info", NULL
15042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15044 if (!SWIG_IsOK(res1
)) {
15045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15047 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15048 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15049 if (!SWIG_IsOK(res2
)) {
15050 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15055 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15058 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15059 wxPyEndAllowThreads(__tstate
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15062 resultobj
= SWIG_Py_Void();
15069 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15070 PyObject
*resultobj
= 0;
15071 wxFont
*arg1
= (wxFont
*) 0 ;
15072 wxString
*arg2
= 0 ;
15076 bool temp2
= false ;
15077 PyObject
* obj0
= 0 ;
15078 PyObject
* obj1
= 0 ;
15079 char * kwnames
[] = {
15080 (char *) "self",(char *) "info", NULL
15083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15085 if (!SWIG_IsOK(res1
)) {
15086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15088 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15090 arg2
= wxString_in_helper(obj1
);
15091 if (arg2
== NULL
) SWIG_fail
;
15095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15096 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15097 wxPyEndAllowThreads(__tstate
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15117 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15118 PyObject
*resultobj
= 0;
15119 wxFont
*arg1
= (wxFont
*) 0 ;
15120 wxString
*arg2
= 0 ;
15124 bool temp2
= false ;
15125 PyObject
* obj0
= 0 ;
15126 PyObject
* obj1
= 0 ;
15127 char * kwnames
[] = {
15128 (char *) "self",(char *) "info", NULL
15131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15133 if (!SWIG_IsOK(res1
)) {
15134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15136 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15138 arg2
= wxString_in_helper(obj1
);
15139 if (arg2
== NULL
) SWIG_fail
;
15143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15144 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15145 wxPyEndAllowThreads(__tstate
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15165 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15166 PyObject
*resultobj
= 0;
15167 wxFont
*arg1
= (wxFont
*) 0 ;
15171 PyObject
*swig_obj
[1] ;
15173 if (!args
) SWIG_fail
;
15174 swig_obj
[0] = args
;
15175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15176 if (!SWIG_IsOK(res1
)) {
15177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15179 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15182 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15183 wxPyEndAllowThreads(__tstate
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15199 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15200 PyObject
*resultobj
= 0;
15201 wxFont
*arg1
= (wxFont
*) 0 ;
15205 PyObject
*swig_obj
[1] ;
15207 if (!args
) SWIG_fail
;
15208 swig_obj
[0] = args
;
15209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15210 if (!SWIG_IsOK(res1
)) {
15211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15213 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 result
= ((wxFont
const *)arg1
)->GetStyleString();
15217 wxPyEndAllowThreads(__tstate
);
15218 if (PyErr_Occurred()) SWIG_fail
;
15222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15233 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15234 PyObject
*resultobj
= 0;
15235 wxFont
*arg1
= (wxFont
*) 0 ;
15239 PyObject
*swig_obj
[1] ;
15241 if (!args
) SWIG_fail
;
15242 swig_obj
[0] = args
;
15243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15244 if (!SWIG_IsOK(res1
)) {
15245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15247 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15250 result
= ((wxFont
const *)arg1
)->GetWeightString();
15251 wxPyEndAllowThreads(__tstate
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15267 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15268 PyObject
*resultobj
= 0;
15269 wxFont
*arg1
= (wxFont
*) 0 ;
15270 bool arg2
= (bool) true ;
15275 PyObject
* obj0
= 0 ;
15276 PyObject
* obj1
= 0 ;
15277 char * kwnames
[] = {
15278 (char *) "self",(char *) "no", NULL
15281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15283 if (!SWIG_IsOK(res1
)) {
15284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15286 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15288 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15289 if (!SWIG_IsOK(ecode2
)) {
15290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15292 arg2
= static_cast< bool >(val2
);
15295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15296 (arg1
)->SetNoAntiAliasing(arg2
);
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15300 resultobj
= SWIG_Py_Void();
15307 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15308 PyObject
*resultobj
= 0;
15309 wxFont
*arg1
= (wxFont
*) 0 ;
15313 PyObject
*swig_obj
[1] ;
15315 if (!args
) SWIG_fail
;
15316 swig_obj
[0] = args
;
15317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15318 if (!SWIG_IsOK(res1
)) {
15319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15321 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15324 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15337 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15338 PyObject
*resultobj
= 0;
15339 wxFontEncoding result
;
15341 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15343 if (!wxPyCheckForApp()) SWIG_fail
;
15344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15345 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15349 resultobj
= SWIG_From_int(static_cast< int >(result
));
15356 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15357 PyObject
*resultobj
= 0;
15358 wxFontEncoding arg1
;
15361 PyObject
* obj0
= 0 ;
15362 char * kwnames
[] = {
15363 (char *) "encoding", NULL
15366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15367 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15368 if (!SWIG_IsOK(ecode1
)) {
15369 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15371 arg1
= static_cast< wxFontEncoding
>(val1
);
15373 if (!wxPyCheckForApp()) SWIG_fail
;
15374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15375 wxFont::SetDefaultEncoding(arg1
);
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15379 resultobj
= SWIG_Py_Void();
15386 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15389 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15390 return SWIG_Py_Void();
15393 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15394 return SWIG_Python_InitShadowInstance(args
);
15397 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15398 PyObject
*resultobj
= 0;
15399 wxPyFontEnumerator
*result
= 0 ;
15401 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15403 if (!wxPyCheckForApp()) SWIG_fail
;
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15406 wxPyEndAllowThreads(__tstate
);
15407 if (PyErr_Occurred()) SWIG_fail
;
15409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15416 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15417 PyObject
*resultobj
= 0;
15418 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15421 PyObject
*swig_obj
[1] ;
15423 if (!args
) SWIG_fail
;
15424 swig_obj
[0] = args
;
15425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15426 if (!SWIG_IsOK(res1
)) {
15427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15429 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15434 wxPyEndAllowThreads(__tstate
);
15435 if (PyErr_Occurred()) SWIG_fail
;
15437 resultobj
= SWIG_Py_Void();
15444 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15445 PyObject
*resultobj
= 0;
15446 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15447 PyObject
*arg2
= (PyObject
*) 0 ;
15448 PyObject
*arg3
= (PyObject
*) 0 ;
15449 int arg4
= (int) 0 ;
15454 PyObject
* obj0
= 0 ;
15455 PyObject
* obj1
= 0 ;
15456 PyObject
* obj2
= 0 ;
15457 PyObject
* obj3
= 0 ;
15458 char * kwnames
[] = {
15459 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15464 if (!SWIG_IsOK(res1
)) {
15465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15467 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15471 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15472 if (!SWIG_IsOK(ecode4
)) {
15473 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15475 arg4
= static_cast< int >(val4
);
15478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15479 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15480 wxPyEndAllowThreads(__tstate
);
15481 if (PyErr_Occurred()) SWIG_fail
;
15483 resultobj
= SWIG_Py_Void();
15490 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15491 PyObject
*resultobj
= 0;
15492 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15493 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15494 bool arg3
= (bool) false ;
15502 PyObject
* obj0
= 0 ;
15503 PyObject
* obj1
= 0 ;
15504 PyObject
* obj2
= 0 ;
15505 char * kwnames
[] = {
15506 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15511 if (!SWIG_IsOK(res1
)) {
15512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15514 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15517 if (!SWIG_IsOK(ecode2
)) {
15518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15520 arg2
= static_cast< wxFontEncoding
>(val2
);
15523 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15524 if (!SWIG_IsOK(ecode3
)) {
15525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15527 arg3
= static_cast< bool >(val3
);
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15544 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15545 PyObject
*resultobj
= 0;
15546 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15547 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15548 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15552 bool temp2
= false ;
15553 PyObject
* obj0
= 0 ;
15554 PyObject
* obj1
= 0 ;
15555 char * kwnames
[] = {
15556 (char *) "self",(char *) "facename", NULL
15559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15561 if (!SWIG_IsOK(res1
)) {
15562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15564 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15567 arg2
= wxString_in_helper(obj1
);
15568 if (arg2
== NULL
) SWIG_fail
;
15573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15574 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15575 wxPyEndAllowThreads(__tstate
);
15576 if (PyErr_Occurred()) SWIG_fail
;
15579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15595 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15596 PyObject
*resultobj
= 0;
15597 PyObject
*result
= 0 ;
15599 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15603 wxPyEndAllowThreads(__tstate
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15606 resultobj
= result
;
15613 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15614 PyObject
*resultobj
= 0;
15615 PyObject
*result
= 0 ;
15617 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15620 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15621 wxPyEndAllowThreads(__tstate
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15624 resultobj
= result
;
15631 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15632 PyObject
*resultobj
= 0;
15633 wxString
*arg1
= 0 ;
15635 bool temp1
= false ;
15636 PyObject
* obj0
= 0 ;
15637 char * kwnames
[] = {
15638 (char *) "str", NULL
15641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15643 arg1
= wxString_in_helper(obj0
);
15644 if (arg1
== NULL
) SWIG_fail
;
15648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15649 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15650 wxPyEndAllowThreads(__tstate
);
15651 if (PyErr_Occurred()) SWIG_fail
;
15654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15670 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15672 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15673 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15674 return SWIG_Py_Void();
15677 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15678 return SWIG_Python_InitShadowInstance(args
);
15681 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15682 PyObject
*resultobj
= 0;
15683 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15689 PyObject
*swig_obj
[2] ;
15691 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15693 if (!SWIG_IsOK(res1
)) {
15694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15696 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15697 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15698 if (!SWIG_IsOK(ecode2
)) {
15699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15701 arg2
= static_cast< int >(val2
);
15702 if (arg1
) (arg1
)->Language
= arg2
;
15704 resultobj
= SWIG_Py_Void();
15711 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15712 PyObject
*resultobj
= 0;
15713 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15717 PyObject
*swig_obj
[1] ;
15719 if (!args
) SWIG_fail
;
15720 swig_obj
[0] = args
;
15721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15722 if (!SWIG_IsOK(res1
)) {
15723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15725 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15726 result
= (int) ((arg1
)->Language
);
15727 resultobj
= SWIG_From_int(static_cast< int >(result
));
15734 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15735 PyObject
*resultobj
= 0;
15736 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15737 wxString
*arg2
= (wxString
*) 0 ;
15740 bool temp2
= false ;
15741 PyObject
*swig_obj
[2] ;
15743 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15745 if (!SWIG_IsOK(res1
)) {
15746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15748 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15750 arg2
= wxString_in_helper(swig_obj
[1]);
15751 if (arg2
== NULL
) SWIG_fail
;
15754 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15756 resultobj
= SWIG_Py_Void();
15771 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15772 PyObject
*resultobj
= 0;
15773 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15774 wxString
*result
= 0 ;
15777 PyObject
*swig_obj
[1] ;
15779 if (!args
) SWIG_fail
;
15780 swig_obj
[0] = args
;
15781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15782 if (!SWIG_IsOK(res1
)) {
15783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15785 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15786 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15789 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15791 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15800 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15801 PyObject
*resultobj
= 0;
15802 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15803 wxString
*arg2
= (wxString
*) 0 ;
15806 bool temp2
= false ;
15807 PyObject
*swig_obj
[2] ;
15809 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15811 if (!SWIG_IsOK(res1
)) {
15812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15814 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15816 arg2
= wxString_in_helper(swig_obj
[1]);
15817 if (arg2
== NULL
) SWIG_fail
;
15820 if (arg1
) (arg1
)->Description
= *arg2
;
15822 resultobj
= SWIG_Py_Void();
15837 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15838 PyObject
*resultobj
= 0;
15839 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15840 wxString
*result
= 0 ;
15843 PyObject
*swig_obj
[1] ;
15845 if (!args
) SWIG_fail
;
15846 swig_obj
[0] = args
;
15847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15848 if (!SWIG_IsOK(res1
)) {
15849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15851 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15852 result
= (wxString
*)& ((arg1
)->Description
);
15855 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15857 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15866 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15868 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15869 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15870 return SWIG_Py_Void();
15873 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15874 PyObject
*resultobj
= 0;
15875 int arg1
= (int) -1 ;
15876 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15877 wxLocale
*result
= 0 ;
15882 PyObject
* obj0
= 0 ;
15883 PyObject
* obj1
= 0 ;
15884 char * kwnames
[] = {
15885 (char *) "language",(char *) "flags", NULL
15888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15890 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15891 if (!SWIG_IsOK(ecode1
)) {
15892 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15894 arg1
= static_cast< int >(val1
);
15897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15898 if (!SWIG_IsOK(ecode2
)) {
15899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15901 arg2
= static_cast< int >(val2
);
15904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15905 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15906 wxPyEndAllowThreads(__tstate
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15916 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15917 PyObject
*resultobj
= 0;
15918 wxLocale
*arg1
= (wxLocale
*) 0 ;
15921 PyObject
*swig_obj
[1] ;
15923 if (!args
) SWIG_fail
;
15924 swig_obj
[0] = args
;
15925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15926 if (!SWIG_IsOK(res1
)) {
15927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15929 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 resultobj
= SWIG_Py_Void();
15944 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15945 PyObject
*resultobj
= 0;
15946 wxLocale
*arg1
= (wxLocale
*) 0 ;
15947 wxString
*arg2
= 0 ;
15948 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15949 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15950 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15951 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15952 bool arg5
= (bool) true ;
15953 bool arg6
= (bool) false ;
15957 bool temp2
= false ;
15958 bool temp3
= false ;
15959 bool temp4
= false ;
15964 PyObject
* obj0
= 0 ;
15965 PyObject
* obj1
= 0 ;
15966 PyObject
* obj2
= 0 ;
15967 PyObject
* obj3
= 0 ;
15968 PyObject
* obj4
= 0 ;
15969 PyObject
* obj5
= 0 ;
15970 char * kwnames
[] = {
15971 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15976 if (!SWIG_IsOK(res1
)) {
15977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15979 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15981 arg2
= wxString_in_helper(obj1
);
15982 if (arg2
== NULL
) SWIG_fail
;
15987 arg3
= wxString_in_helper(obj2
);
15988 if (arg3
== NULL
) SWIG_fail
;
15994 arg4
= wxString_in_helper(obj3
);
15995 if (arg4
== NULL
) SWIG_fail
;
16000 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16001 if (!SWIG_IsOK(ecode5
)) {
16002 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16004 arg5
= static_cast< bool >(val5
);
16007 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16008 if (!SWIG_IsOK(ecode6
)) {
16009 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16011 arg6
= static_cast< bool >(val6
);
16014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16015 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16016 wxPyEndAllowThreads(__tstate
);
16017 if (PyErr_Occurred()) SWIG_fail
;
16020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16052 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16053 PyObject
*resultobj
= 0;
16054 wxLocale
*arg1
= (wxLocale
*) 0 ;
16055 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16056 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16064 PyObject
* obj0
= 0 ;
16065 PyObject
* obj1
= 0 ;
16066 PyObject
* obj2
= 0 ;
16067 char * kwnames
[] = {
16068 (char *) "self",(char *) "language",(char *) "flags", NULL
16071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16073 if (!SWIG_IsOK(res1
)) {
16074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16076 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16079 if (!SWIG_IsOK(ecode2
)) {
16080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16082 arg2
= static_cast< int >(val2
);
16085 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16086 if (!SWIG_IsOK(ecode3
)) {
16087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16089 arg3
= static_cast< int >(val3
);
16092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16093 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16094 wxPyEndAllowThreads(__tstate
);
16095 if (PyErr_Occurred()) SWIG_fail
;
16098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16106 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16107 PyObject
*resultobj
= 0;
16110 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16113 result
= (int)wxLocale::GetSystemLanguage();
16114 wxPyEndAllowThreads(__tstate
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16117 resultobj
= SWIG_From_int(static_cast< int >(result
));
16124 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16125 PyObject
*resultobj
= 0;
16126 wxFontEncoding result
;
16128 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16131 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16132 wxPyEndAllowThreads(__tstate
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16135 resultobj
= SWIG_From_int(static_cast< int >(result
));
16142 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16143 PyObject
*resultobj
= 0;
16146 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16149 result
= wxLocale::GetSystemEncodingName();
16150 wxPyEndAllowThreads(__tstate
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16155 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16157 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16166 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16167 PyObject
*resultobj
= 0;
16168 wxLocale
*arg1
= (wxLocale
*) 0 ;
16172 PyObject
*swig_obj
[1] ;
16174 if (!args
) SWIG_fail
;
16175 swig_obj
[0] = args
;
16176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16177 if (!SWIG_IsOK(res1
)) {
16178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16180 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16184 wxPyEndAllowThreads(__tstate
);
16185 if (PyErr_Occurred()) SWIG_fail
;
16188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16196 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16197 PyObject
*resultobj
= 0;
16198 wxLocale
*arg1
= (wxLocale
*) 0 ;
16202 PyObject
*swig_obj
[1] ;
16204 if (!args
) SWIG_fail
;
16205 swig_obj
[0] = args
;
16206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16207 if (!SWIG_IsOK(res1
)) {
16208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16210 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16213 result
= ((wxLocale
const *)arg1
)->GetLocale();
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16219 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16221 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16230 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16231 PyObject
*resultobj
= 0;
16232 wxLocale
*arg1
= (wxLocale
*) 0 ;
16236 PyObject
*swig_obj
[1] ;
16238 if (!args
) SWIG_fail
;
16239 swig_obj
[0] = args
;
16240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16241 if (!SWIG_IsOK(res1
)) {
16242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16244 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16247 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16248 wxPyEndAllowThreads(__tstate
);
16249 if (PyErr_Occurred()) SWIG_fail
;
16251 resultobj
= SWIG_From_int(static_cast< int >(result
));
16258 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16259 PyObject
*resultobj
= 0;
16260 wxLocale
*arg1
= (wxLocale
*) 0 ;
16264 PyObject
*swig_obj
[1] ;
16266 if (!args
) SWIG_fail
;
16267 swig_obj
[0] = args
;
16268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16269 if (!SWIG_IsOK(res1
)) {
16270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16272 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16275 result
= ((wxLocale
const *)arg1
)->GetSysName();
16276 wxPyEndAllowThreads(__tstate
);
16277 if (PyErr_Occurred()) SWIG_fail
;
16281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16292 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16293 PyObject
*resultobj
= 0;
16294 wxLocale
*arg1
= (wxLocale
*) 0 ;
16298 PyObject
*swig_obj
[1] ;
16300 if (!args
) SWIG_fail
;
16301 swig_obj
[0] = args
;
16302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16303 if (!SWIG_IsOK(res1
)) {
16304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16306 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16309 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16310 wxPyEndAllowThreads(__tstate
);
16311 if (PyErr_Occurred()) SWIG_fail
;
16315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16326 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16327 PyObject
*resultobj
= 0;
16328 wxString
*arg1
= 0 ;
16329 bool temp1
= false ;
16330 PyObject
* obj0
= 0 ;
16331 char * kwnames
[] = {
16332 (char *) "prefix", NULL
16335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16337 arg1
= wxString_in_helper(obj0
);
16338 if (arg1
== NULL
) SWIG_fail
;
16342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16344 wxPyEndAllowThreads(__tstate
);
16345 if (PyErr_Occurred()) SWIG_fail
;
16347 resultobj
= SWIG_Py_Void();
16362 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16363 PyObject
*resultobj
= 0;
16364 wxLocale
*arg1
= (wxLocale
*) 0 ;
16365 wxString
*arg2
= 0 ;
16369 bool temp2
= false ;
16370 PyObject
* obj0
= 0 ;
16371 PyObject
* obj1
= 0 ;
16372 char * kwnames
[] = {
16373 (char *) "self",(char *) "szDomain", NULL
16376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16378 if (!SWIG_IsOK(res1
)) {
16379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16381 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16383 arg2
= wxString_in_helper(obj1
);
16384 if (arg2
== NULL
) SWIG_fail
;
16388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16389 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16390 wxPyEndAllowThreads(__tstate
);
16391 if (PyErr_Occurred()) SWIG_fail
;
16394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16410 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16411 PyObject
*resultobj
= 0;
16416 PyObject
* obj0
= 0 ;
16417 char * kwnames
[] = {
16418 (char *) "lang", NULL
16421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16422 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16423 if (!SWIG_IsOK(ecode1
)) {
16424 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16426 arg1
= static_cast< int >(val1
);
16428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16429 result
= (bool)wxLocale::IsAvailable(arg1
);
16430 wxPyEndAllowThreads(__tstate
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16442 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16443 PyObject
*resultobj
= 0;
16444 wxLocale
*arg1
= (wxLocale
*) 0 ;
16445 wxString
*arg2
= 0 ;
16449 bool temp2
= false ;
16450 PyObject
* obj0
= 0 ;
16451 PyObject
* obj1
= 0 ;
16452 char * kwnames
[] = {
16453 (char *) "self",(char *) "szDomain", NULL
16456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16458 if (!SWIG_IsOK(res1
)) {
16459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16461 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16463 arg2
= wxString_in_helper(obj1
);
16464 if (arg2
== NULL
) SWIG_fail
;
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16470 wxPyEndAllowThreads(__tstate
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16490 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16491 PyObject
*resultobj
= 0;
16493 wxLanguageInfo
*result
= 0 ;
16496 PyObject
* obj0
= 0 ;
16497 char * kwnames
[] = {
16498 (char *) "lang", NULL
16501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16502 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16503 if (!SWIG_IsOK(ecode1
)) {
16504 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16506 arg1
= static_cast< int >(val1
);
16508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16520 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16521 PyObject
*resultobj
= 0;
16526 PyObject
* obj0
= 0 ;
16527 char * kwnames
[] = {
16528 (char *) "lang", NULL
16531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16532 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16533 if (!SWIG_IsOK(ecode1
)) {
16534 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16536 arg1
= static_cast< int >(val1
);
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 result
= wxLocale::GetLanguageName(arg1
);
16540 wxPyEndAllowThreads(__tstate
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16556 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16557 PyObject
*resultobj
= 0;
16558 wxString
*arg1
= 0 ;
16559 wxLanguageInfo
*result
= 0 ;
16560 bool temp1
= false ;
16561 PyObject
* obj0
= 0 ;
16562 char * kwnames
[] = {
16563 (char *) "locale", NULL
16566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16568 arg1
= wxString_in_helper(obj0
);
16569 if (arg1
== NULL
) SWIG_fail
;
16573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16574 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16593 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16594 PyObject
*resultobj
= 0;
16595 wxLanguageInfo
*arg1
= 0 ;
16598 PyObject
* obj0
= 0 ;
16599 char * kwnames
[] = {
16600 (char *) "info", NULL
16603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16604 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16605 if (!SWIG_IsOK(res1
)) {
16606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16611 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16614 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16615 wxPyEndAllowThreads(__tstate
);
16616 if (PyErr_Occurred()) SWIG_fail
;
16618 resultobj
= SWIG_Py_Void();
16625 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16626 PyObject
*resultobj
= 0;
16627 wxLocale
*arg1
= (wxLocale
*) 0 ;
16628 wxString
*arg2
= 0 ;
16629 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16630 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16634 bool temp2
= false ;
16635 bool temp3
= false ;
16636 PyObject
* obj0
= 0 ;
16637 PyObject
* obj1
= 0 ;
16638 PyObject
* obj2
= 0 ;
16639 char * kwnames
[] = {
16640 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16645 if (!SWIG_IsOK(res1
)) {
16646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16648 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16650 arg2
= wxString_in_helper(obj1
);
16651 if (arg2
== NULL
) SWIG_fail
;
16656 arg3
= wxString_in_helper(obj2
);
16657 if (arg3
== NULL
) SWIG_fail
;
16662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16663 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16664 wxPyEndAllowThreads(__tstate
);
16665 if (PyErr_Occurred()) SWIG_fail
;
16669 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16671 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16696 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16697 PyObject
*resultobj
= 0;
16698 wxLocale
*arg1
= (wxLocale
*) 0 ;
16699 wxString
*result
= 0 ;
16702 PyObject
*swig_obj
[1] ;
16704 if (!args
) SWIG_fail
;
16705 swig_obj
[0] = args
;
16706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16707 if (!SWIG_IsOK(res1
)) {
16708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16710 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16714 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16715 result
= (wxString
*) &_result_ref
;
16717 wxPyEndAllowThreads(__tstate
);
16718 if (PyErr_Occurred()) SWIG_fail
;
16722 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16724 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16733 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16735 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16736 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16737 return SWIG_Py_Void();
16740 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16741 return SWIG_Python_InitShadowInstance(args
);
16744 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16745 PyObject
*resultobj
= 0;
16746 int arg1
= (int) -1 ;
16747 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16748 wxPyLocale
*result
= 0 ;
16753 PyObject
* obj0
= 0 ;
16754 PyObject
* obj1
= 0 ;
16755 char * kwnames
[] = {
16756 (char *) "language",(char *) "flags", NULL
16759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16761 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16762 if (!SWIG_IsOK(ecode1
)) {
16763 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16765 arg1
= static_cast< int >(val1
);
16768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16769 if (!SWIG_IsOK(ecode2
)) {
16770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16772 arg2
= static_cast< int >(val2
);
16775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16776 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16777 wxPyEndAllowThreads(__tstate
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16787 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16788 PyObject
*resultobj
= 0;
16789 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16792 PyObject
*swig_obj
[1] ;
16794 if (!args
) SWIG_fail
;
16795 swig_obj
[0] = args
;
16796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16797 if (!SWIG_IsOK(res1
)) {
16798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16800 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16805 wxPyEndAllowThreads(__tstate
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16808 resultobj
= SWIG_Py_Void();
16815 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16816 PyObject
*resultobj
= 0;
16817 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16818 PyObject
*arg2
= (PyObject
*) 0 ;
16819 PyObject
*arg3
= (PyObject
*) 0 ;
16822 PyObject
* obj0
= 0 ;
16823 PyObject
* obj1
= 0 ;
16824 PyObject
* obj2
= 0 ;
16825 char * kwnames
[] = {
16826 (char *) "self",(char *) "self",(char *) "_class", NULL
16829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16831 if (!SWIG_IsOK(res1
)) {
16832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16834 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16839 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16840 wxPyEndAllowThreads(__tstate
);
16841 if (PyErr_Occurred()) SWIG_fail
;
16843 resultobj
= SWIG_Py_Void();
16850 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16851 PyObject
*resultobj
= 0;
16852 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16853 wxChar
*arg2
= (wxChar
*) 0 ;
16854 wxChar
*arg3
= (wxChar
*) NULL
;
16855 wxChar
*result
= 0 ;
16862 PyObject
* obj0
= 0 ;
16863 PyObject
* obj1
= 0 ;
16864 PyObject
* obj2
= 0 ;
16865 char * kwnames
[] = {
16866 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16871 if (!SWIG_IsOK(res1
)) {
16872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16874 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16875 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16876 if (!SWIG_IsOK(res2
)) {
16877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16879 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16881 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16882 if (!SWIG_IsOK(res3
)) {
16883 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16885 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16890 wxPyEndAllowThreads(__tstate
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16900 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16901 PyObject
*resultobj
= 0;
16902 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16903 wxChar
*arg2
= (wxChar
*) 0 ;
16904 wxChar
*arg3
= (wxChar
*) 0 ;
16906 wxChar
*arg5
= (wxChar
*) NULL
;
16907 wxChar
*result
= 0 ;
16918 PyObject
* obj0
= 0 ;
16919 PyObject
* obj1
= 0 ;
16920 PyObject
* obj2
= 0 ;
16921 PyObject
* obj3
= 0 ;
16922 PyObject
* obj4
= 0 ;
16923 char * kwnames
[] = {
16924 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16929 if (!SWIG_IsOK(res1
)) {
16930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16932 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16933 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16934 if (!SWIG_IsOK(res2
)) {
16935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16937 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16938 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16939 if (!SWIG_IsOK(res3
)) {
16940 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16942 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16943 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16944 if (!SWIG_IsOK(ecode4
)) {
16945 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16947 arg4
= static_cast< size_t >(val4
);
16949 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16950 if (!SWIG_IsOK(res5
)) {
16951 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16953 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16968 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16970 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16971 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16972 return SWIG_Py_Void();
16975 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16976 return SWIG_Python_InitShadowInstance(args
);
16979 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16980 PyObject
*resultobj
= 0;
16981 wxLocale
*result
= 0 ;
16983 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16986 result
= (wxLocale
*)wxGetLocale();
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16997 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16998 PyObject
*resultobj
= 0;
16999 wxString
*arg1
= 0 ;
17001 bool temp1
= false ;
17003 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17005 arg1
= wxString_in_helper(swig_obj
[0]);
17006 if (arg1
== NULL
) SWIG_fail
;
17010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17011 result
= wxGetTranslation((wxString
const &)*arg1
);
17012 wxPyEndAllowThreads(__tstate
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17036 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17037 PyObject
*resultobj
= 0;
17038 wxString
*arg1
= 0 ;
17039 wxString
*arg2
= 0 ;
17041 bool temp1
= false ;
17042 bool temp2
= false ;
17044 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17046 arg1
= wxString_in_helper(swig_obj
[0]);
17047 if (arg1
== NULL
) SWIG_fail
;
17051 arg2
= wxString_in_helper(swig_obj
[1]);
17052 if (arg2
== NULL
) SWIG_fail
;
17056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17058 wxPyEndAllowThreads(__tstate
);
17059 if (PyErr_Occurred()) SWIG_fail
;
17063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17090 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17091 PyObject
*resultobj
= 0;
17092 wxString
*arg1
= 0 ;
17093 wxString
*arg2
= 0 ;
17096 bool temp1
= false ;
17097 bool temp2
= false ;
17101 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17103 arg1
= wxString_in_helper(swig_obj
[0]);
17104 if (arg1
== NULL
) SWIG_fail
;
17108 arg2
= wxString_in_helper(swig_obj
[1]);
17109 if (arg2
== NULL
) SWIG_fail
;
17112 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17113 if (!SWIG_IsOK(ecode3
)) {
17114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17116 arg3
= static_cast< size_t >(val3
);
17118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17152 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17153 PyObject
*resultobj
= 0;
17154 wxString
*arg1
= 0 ;
17155 wxString
*arg2
= 0 ;
17157 wxString
*arg4
= 0 ;
17159 bool temp1
= false ;
17160 bool temp2
= false ;
17163 bool temp4
= false ;
17165 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17167 arg1
= wxString_in_helper(swig_obj
[0]);
17168 if (arg1
== NULL
) SWIG_fail
;
17172 arg2
= wxString_in_helper(swig_obj
[1]);
17173 if (arg2
== NULL
) SWIG_fail
;
17176 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17177 if (!SWIG_IsOK(ecode3
)) {
17178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17180 arg3
= static_cast< size_t >(val3
);
17182 arg4
= wxString_in_helper(swig_obj
[3]);
17183 if (arg4
== NULL
) SWIG_fail
;
17187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17188 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17189 wxPyEndAllowThreads(__tstate
);
17190 if (PyErr_Occurred()) SWIG_fail
;
17194 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17196 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17229 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17233 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17236 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17239 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17242 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17245 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17249 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17254 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17255 PyObject
*resultobj
= 0;
17256 wxEncodingConverter
*result
= 0 ;
17258 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17261 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17262 wxPyEndAllowThreads(__tstate
);
17263 if (PyErr_Occurred()) SWIG_fail
;
17265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17272 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17273 PyObject
*resultobj
= 0;
17274 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17277 PyObject
*swig_obj
[1] ;
17279 if (!args
) SWIG_fail
;
17280 swig_obj
[0] = args
;
17281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17282 if (!SWIG_IsOK(res1
)) {
17283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17285 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17290 wxPyEndAllowThreads(__tstate
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17293 resultobj
= SWIG_Py_Void();
17300 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17301 PyObject
*resultobj
= 0;
17302 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17303 wxFontEncoding arg2
;
17304 wxFontEncoding arg3
;
17305 int arg4
= (int) wxCONVERT_STRICT
;
17315 PyObject
* obj0
= 0 ;
17316 PyObject
* obj1
= 0 ;
17317 PyObject
* obj2
= 0 ;
17318 PyObject
* obj3
= 0 ;
17319 char * kwnames
[] = {
17320 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17325 if (!SWIG_IsOK(res1
)) {
17326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17328 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17330 if (!SWIG_IsOK(ecode2
)) {
17331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17333 arg2
= static_cast< wxFontEncoding
>(val2
);
17334 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17335 if (!SWIG_IsOK(ecode3
)) {
17336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17338 arg3
= static_cast< wxFontEncoding
>(val3
);
17340 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17341 if (!SWIG_IsOK(ecode4
)) {
17342 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17344 arg4
= static_cast< int >(val4
);
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17348 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17361 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17362 PyObject
*resultobj
= 0;
17363 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17364 wxString
*arg2
= 0 ;
17368 bool temp2
= false ;
17369 PyObject
* obj0
= 0 ;
17370 PyObject
* obj1
= 0 ;
17371 char * kwnames
[] = {
17372 (char *) "self",(char *) "input", NULL
17375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17377 if (!SWIG_IsOK(res1
)) {
17378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17380 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17382 arg2
= wxString_in_helper(obj1
);
17383 if (arg2
== NULL
) SWIG_fail
;
17387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17388 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17394 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17396 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17413 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17414 PyObject
*resultobj
= 0;
17415 wxFontEncoding arg1
;
17416 int arg2
= (int) wxPLATFORM_CURRENT
;
17417 wxFontEncodingArray result
;
17422 PyObject
* obj0
= 0 ;
17423 PyObject
* obj1
= 0 ;
17424 char * kwnames
[] = {
17425 (char *) "enc",(char *) "platform", NULL
17428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17429 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17430 if (!SWIG_IsOK(ecode1
)) {
17431 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17433 arg1
= static_cast< wxFontEncoding
>(val1
);
17435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17436 if (!SWIG_IsOK(ecode2
)) {
17437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17439 arg2
= static_cast< int >(val2
);
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17444 wxPyEndAllowThreads(__tstate
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17448 resultobj
= PyList_New(0);
17449 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17450 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17451 PyList_Append(resultobj
, number
);
17461 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17462 PyObject
*resultobj
= 0;
17463 wxFontEncoding arg1
;
17464 wxFontEncodingArray result
;
17467 PyObject
* obj0
= 0 ;
17468 char * kwnames
[] = {
17469 (char *) "enc", NULL
17472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17473 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17474 if (!SWIG_IsOK(ecode1
)) {
17475 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17477 arg1
= static_cast< wxFontEncoding
>(val1
);
17479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17480 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17481 wxPyEndAllowThreads(__tstate
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17485 resultobj
= PyList_New(0);
17486 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17487 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17488 PyList_Append(resultobj
, number
);
17498 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17499 PyObject
*resultobj
= 0;
17500 wxFontEncoding arg1
;
17501 wxFontEncoding arg2
;
17507 PyObject
* obj0
= 0 ;
17508 PyObject
* obj1
= 0 ;
17509 char * kwnames
[] = {
17510 (char *) "encIn",(char *) "encOut", NULL
17513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17514 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17515 if (!SWIG_IsOK(ecode1
)) {
17516 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17518 arg1
= static_cast< wxFontEncoding
>(val1
);
17519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17520 if (!SWIG_IsOK(ecode2
)) {
17521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17523 arg2
= static_cast< wxFontEncoding
>(val2
);
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17526 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17539 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17541 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17542 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17543 return SWIG_Py_Void();
17546 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17547 return SWIG_Python_InitShadowInstance(args
);
17550 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17551 PyObject
*resultobj
= 0;
17552 wxDC
*arg1
= (wxDC
*) 0 ;
17555 PyObject
*swig_obj
[1] ;
17557 if (!args
) SWIG_fail
;
17558 swig_obj
[0] = args
;
17559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17560 if (!SWIG_IsOK(res1
)) {
17561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17563 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17568 wxPyEndAllowThreads(__tstate
);
17569 if (PyErr_Occurred()) SWIG_fail
;
17571 resultobj
= SWIG_Py_Void();
17578 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17579 PyObject
*resultobj
= 0;
17580 wxDC
*arg1
= (wxDC
*) 0 ;
17583 wxColour
*arg4
= 0 ;
17584 int arg5
= (int) wxFLOOD_SURFACE
;
17595 PyObject
* obj0
= 0 ;
17596 PyObject
* obj1
= 0 ;
17597 PyObject
* obj2
= 0 ;
17598 PyObject
* obj3
= 0 ;
17599 PyObject
* obj4
= 0 ;
17600 char * kwnames
[] = {
17601 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17606 if (!SWIG_IsOK(res1
)) {
17607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17609 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17611 if (!SWIG_IsOK(ecode2
)) {
17612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17614 arg2
= static_cast< int >(val2
);
17615 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17616 if (!SWIG_IsOK(ecode3
)) {
17617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17619 arg3
= static_cast< int >(val3
);
17622 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17625 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17626 if (!SWIG_IsOK(ecode5
)) {
17627 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17629 arg5
= static_cast< int >(val5
);
17632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17633 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17634 wxPyEndAllowThreads(__tstate
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17646 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17647 PyObject
*resultobj
= 0;
17648 wxDC
*arg1
= (wxDC
*) 0 ;
17649 wxPoint
*arg2
= 0 ;
17650 wxColour
*arg3
= 0 ;
17651 int arg4
= (int) wxFLOOD_SURFACE
;
17659 PyObject
* obj0
= 0 ;
17660 PyObject
* obj1
= 0 ;
17661 PyObject
* obj2
= 0 ;
17662 PyObject
* obj3
= 0 ;
17663 char * kwnames
[] = {
17664 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17669 if (!SWIG_IsOK(res1
)) {
17670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17672 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17675 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17679 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17682 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17683 if (!SWIG_IsOK(ecode4
)) {
17684 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17686 arg4
= static_cast< int >(val4
);
17689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17690 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17703 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17704 PyObject
*resultobj
= 0;
17705 wxDC
*arg1
= (wxDC
*) 0 ;
17707 wxColour
*arg3
= 0 ;
17708 wxColour
*arg4
= 0 ;
17709 wxPoint
*arg5
= 0 ;
17716 PyObject
* obj0
= 0 ;
17717 PyObject
* obj1
= 0 ;
17718 PyObject
* obj2
= 0 ;
17719 PyObject
* obj3
= 0 ;
17720 PyObject
* obj4
= 0 ;
17721 char * kwnames
[] = {
17722 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17727 if (!SWIG_IsOK(res1
)) {
17728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17730 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17733 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17737 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17741 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17745 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17749 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17753 resultobj
= SWIG_Py_Void();
17760 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17761 PyObject
*resultobj
= 0;
17762 wxDC
*arg1
= (wxDC
*) 0 ;
17764 wxColour
*arg3
= 0 ;
17765 wxColour
*arg4
= 0 ;
17766 wxDirection arg5
= (wxDirection
) wxEAST
;
17774 PyObject
* obj0
= 0 ;
17775 PyObject
* obj1
= 0 ;
17776 PyObject
* obj2
= 0 ;
17777 PyObject
* obj3
= 0 ;
17778 PyObject
* obj4
= 0 ;
17779 char * kwnames
[] = {
17780 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17785 if (!SWIG_IsOK(res1
)) {
17786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17788 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17791 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17795 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17799 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17802 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17803 if (!SWIG_IsOK(ecode5
)) {
17804 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17806 arg5
= static_cast< wxDirection
>(val5
);
17809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17810 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17811 wxPyEndAllowThreads(__tstate
);
17812 if (PyErr_Occurred()) SWIG_fail
;
17814 resultobj
= SWIG_Py_Void();
17821 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17822 PyObject
*resultobj
= 0;
17823 wxDC
*arg1
= (wxDC
*) 0 ;
17833 PyObject
* obj0
= 0 ;
17834 PyObject
* obj1
= 0 ;
17835 PyObject
* obj2
= 0 ;
17836 char * kwnames
[] = {
17837 (char *) "self",(char *) "x",(char *) "y", NULL
17840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17842 if (!SWIG_IsOK(res1
)) {
17843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17845 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17847 if (!SWIG_IsOK(ecode2
)) {
17848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17850 arg2
= static_cast< int >(val2
);
17851 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17852 if (!SWIG_IsOK(ecode3
)) {
17853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17855 arg3
= static_cast< int >(val3
);
17857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17858 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17859 wxPyEndAllowThreads(__tstate
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17862 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17869 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
= 0;
17871 wxDC
*arg1
= (wxDC
*) 0 ;
17872 wxPoint
*arg2
= 0 ;
17877 PyObject
* obj0
= 0 ;
17878 PyObject
* obj1
= 0 ;
17879 char * kwnames
[] = {
17880 (char *) "self",(char *) "pt", NULL
17883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17885 if (!SWIG_IsOK(res1
)) {
17886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17888 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17891 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17896 wxPyEndAllowThreads(__tstate
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17899 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17906 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17907 PyObject
*resultobj
= 0;
17908 wxDC
*arg1
= (wxDC
*) 0 ;
17923 PyObject
* obj0
= 0 ;
17924 PyObject
* obj1
= 0 ;
17925 PyObject
* obj2
= 0 ;
17926 PyObject
* obj3
= 0 ;
17927 PyObject
* obj4
= 0 ;
17928 char * kwnames
[] = {
17929 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17934 if (!SWIG_IsOK(res1
)) {
17935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17937 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17939 if (!SWIG_IsOK(ecode2
)) {
17940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17942 arg2
= static_cast< int >(val2
);
17943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17944 if (!SWIG_IsOK(ecode3
)) {
17945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17947 arg3
= static_cast< int >(val3
);
17948 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17949 if (!SWIG_IsOK(ecode4
)) {
17950 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17952 arg4
= static_cast< int >(val4
);
17953 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17954 if (!SWIG_IsOK(ecode5
)) {
17955 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17957 arg5
= static_cast< int >(val5
);
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 resultobj
= SWIG_Py_Void();
17971 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17972 PyObject
*resultobj
= 0;
17973 wxDC
*arg1
= (wxDC
*) 0 ;
17974 wxPoint
*arg2
= 0 ;
17975 wxPoint
*arg3
= 0 ;
17980 PyObject
* obj0
= 0 ;
17981 PyObject
* obj1
= 0 ;
17982 PyObject
* obj2
= 0 ;
17983 char * kwnames
[] = {
17984 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17989 if (!SWIG_IsOK(res1
)) {
17990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17992 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17995 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17999 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18003 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18004 wxPyEndAllowThreads(__tstate
);
18005 if (PyErr_Occurred()) SWIG_fail
;
18007 resultobj
= SWIG_Py_Void();
18014 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18015 PyObject
*resultobj
= 0;
18016 wxDC
*arg1
= (wxDC
*) 0 ;
18025 PyObject
* obj0
= 0 ;
18026 PyObject
* obj1
= 0 ;
18027 PyObject
* obj2
= 0 ;
18028 char * kwnames
[] = {
18029 (char *) "self",(char *) "x",(char *) "y", NULL
18032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18034 if (!SWIG_IsOK(res1
)) {
18035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18037 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18039 if (!SWIG_IsOK(ecode2
)) {
18040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18042 arg2
= static_cast< int >(val2
);
18043 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18044 if (!SWIG_IsOK(ecode3
)) {
18045 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18047 arg3
= static_cast< int >(val3
);
18049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18050 (arg1
)->CrossHair(arg2
,arg3
);
18051 wxPyEndAllowThreads(__tstate
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18054 resultobj
= SWIG_Py_Void();
18061 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18062 PyObject
*resultobj
= 0;
18063 wxDC
*arg1
= (wxDC
*) 0 ;
18064 wxPoint
*arg2
= 0 ;
18068 PyObject
* obj0
= 0 ;
18069 PyObject
* obj1
= 0 ;
18070 char * kwnames
[] = {
18071 (char *) "self",(char *) "pt", NULL
18074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18076 if (!SWIG_IsOK(res1
)) {
18077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18079 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18082 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18086 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18087 wxPyEndAllowThreads(__tstate
);
18088 if (PyErr_Occurred()) SWIG_fail
;
18090 resultobj
= SWIG_Py_Void();
18097 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18098 PyObject
*resultobj
= 0;
18099 wxDC
*arg1
= (wxDC
*) 0 ;
18120 PyObject
* obj0
= 0 ;
18121 PyObject
* obj1
= 0 ;
18122 PyObject
* obj2
= 0 ;
18123 PyObject
* obj3
= 0 ;
18124 PyObject
* obj4
= 0 ;
18125 PyObject
* obj5
= 0 ;
18126 PyObject
* obj6
= 0 ;
18127 char * kwnames
[] = {
18128 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18133 if (!SWIG_IsOK(res1
)) {
18134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18136 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18138 if (!SWIG_IsOK(ecode2
)) {
18139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18141 arg2
= static_cast< int >(val2
);
18142 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18143 if (!SWIG_IsOK(ecode3
)) {
18144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18146 arg3
= static_cast< int >(val3
);
18147 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18148 if (!SWIG_IsOK(ecode4
)) {
18149 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18151 arg4
= static_cast< int >(val4
);
18152 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18153 if (!SWIG_IsOK(ecode5
)) {
18154 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18156 arg5
= static_cast< int >(val5
);
18157 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18158 if (!SWIG_IsOK(ecode6
)) {
18159 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18161 arg6
= static_cast< int >(val6
);
18162 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18163 if (!SWIG_IsOK(ecode7
)) {
18164 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18166 arg7
= static_cast< int >(val7
);
18168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18169 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18170 wxPyEndAllowThreads(__tstate
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18173 resultobj
= SWIG_Py_Void();
18180 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18181 PyObject
*resultobj
= 0;
18182 wxDC
*arg1
= (wxDC
*) 0 ;
18183 wxPoint
*arg2
= 0 ;
18184 wxPoint
*arg3
= 0 ;
18185 wxPoint
*arg4
= 0 ;
18191 PyObject
* obj0
= 0 ;
18192 PyObject
* obj1
= 0 ;
18193 PyObject
* obj2
= 0 ;
18194 PyObject
* obj3
= 0 ;
18195 char * kwnames
[] = {
18196 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18201 if (!SWIG_IsOK(res1
)) {
18202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18204 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18207 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18211 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18215 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18219 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18220 wxPyEndAllowThreads(__tstate
);
18221 if (PyErr_Occurred()) SWIG_fail
;
18223 resultobj
= SWIG_Py_Void();
18230 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18231 PyObject
*resultobj
= 0;
18232 wxDC
*arg1
= (wxDC
*) 0 ;
18247 PyObject
* obj0
= 0 ;
18248 PyObject
* obj1
= 0 ;
18249 PyObject
* obj2
= 0 ;
18250 PyObject
* obj3
= 0 ;
18251 PyObject
* obj4
= 0 ;
18252 char * kwnames
[] = {
18253 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18258 if (!SWIG_IsOK(res1
)) {
18259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18261 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18263 if (!SWIG_IsOK(ecode2
)) {
18264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18266 arg2
= static_cast< int >(val2
);
18267 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18268 if (!SWIG_IsOK(ecode3
)) {
18269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18271 arg3
= static_cast< int >(val3
);
18272 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18273 if (!SWIG_IsOK(ecode4
)) {
18274 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18276 arg4
= static_cast< int >(val4
);
18277 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18278 if (!SWIG_IsOK(ecode5
)) {
18279 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18281 arg5
= static_cast< int >(val5
);
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18285 wxPyEndAllowThreads(__tstate
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18288 resultobj
= SWIG_Py_Void();
18295 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18296 PyObject
*resultobj
= 0;
18297 wxDC
*arg1
= (wxDC
*) 0 ;
18302 PyObject
* obj0
= 0 ;
18303 PyObject
* obj1
= 0 ;
18304 char * kwnames
[] = {
18305 (char *) "self",(char *) "rect", NULL
18308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18310 if (!SWIG_IsOK(res1
)) {
18311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18313 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18316 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18320 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 resultobj
= SWIG_Py_Void();
18331 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18332 PyObject
*resultobj
= 0;
18333 wxDC
*arg1
= (wxDC
*) 0 ;
18354 PyObject
* obj0
= 0 ;
18355 PyObject
* obj1
= 0 ;
18356 PyObject
* obj2
= 0 ;
18357 PyObject
* obj3
= 0 ;
18358 PyObject
* obj4
= 0 ;
18359 PyObject
* obj5
= 0 ;
18360 PyObject
* obj6
= 0 ;
18361 char * kwnames
[] = {
18362 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18367 if (!SWIG_IsOK(res1
)) {
18368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18370 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18372 if (!SWIG_IsOK(ecode2
)) {
18373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18375 arg2
= static_cast< int >(val2
);
18376 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18377 if (!SWIG_IsOK(ecode3
)) {
18378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18380 arg3
= static_cast< int >(val3
);
18381 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18382 if (!SWIG_IsOK(ecode4
)) {
18383 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18385 arg4
= static_cast< int >(val4
);
18386 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18387 if (!SWIG_IsOK(ecode5
)) {
18388 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18390 arg5
= static_cast< int >(val5
);
18391 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18392 if (!SWIG_IsOK(ecode6
)) {
18393 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18395 arg6
= static_cast< double >(val6
);
18396 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18397 if (!SWIG_IsOK(ecode7
)) {
18398 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18400 arg7
= static_cast< double >(val7
);
18402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18403 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18404 wxPyEndAllowThreads(__tstate
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18407 resultobj
= SWIG_Py_Void();
18414 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18415 PyObject
*resultobj
= 0;
18416 wxDC
*arg1
= (wxDC
*) 0 ;
18417 wxPoint
*arg2
= 0 ;
18429 PyObject
* obj0
= 0 ;
18430 PyObject
* obj1
= 0 ;
18431 PyObject
* obj2
= 0 ;
18432 PyObject
* obj3
= 0 ;
18433 PyObject
* obj4
= 0 ;
18434 char * kwnames
[] = {
18435 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18440 if (!SWIG_IsOK(res1
)) {
18441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18443 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18446 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18450 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18452 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18453 if (!SWIG_IsOK(ecode4
)) {
18454 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18456 arg4
= static_cast< double >(val4
);
18457 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18458 if (!SWIG_IsOK(ecode5
)) {
18459 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18461 arg5
= static_cast< double >(val5
);
18463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18464 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18465 wxPyEndAllowThreads(__tstate
);
18466 if (PyErr_Occurred()) SWIG_fail
;
18468 resultobj
= SWIG_Py_Void();
18475 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18476 PyObject
*resultobj
= 0;
18477 wxDC
*arg1
= (wxDC
*) 0 ;
18486 PyObject
* obj0
= 0 ;
18487 PyObject
* obj1
= 0 ;
18488 PyObject
* obj2
= 0 ;
18489 char * kwnames
[] = {
18490 (char *) "self",(char *) "x",(char *) "y", NULL
18493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18495 if (!SWIG_IsOK(res1
)) {
18496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18498 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18500 if (!SWIG_IsOK(ecode2
)) {
18501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18503 arg2
= static_cast< int >(val2
);
18504 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18505 if (!SWIG_IsOK(ecode3
)) {
18506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18508 arg3
= static_cast< int >(val3
);
18510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18511 (arg1
)->DrawPoint(arg2
,arg3
);
18512 wxPyEndAllowThreads(__tstate
);
18513 if (PyErr_Occurred()) SWIG_fail
;
18515 resultobj
= SWIG_Py_Void();
18522 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18523 PyObject
*resultobj
= 0;
18524 wxDC
*arg1
= (wxDC
*) 0 ;
18525 wxPoint
*arg2
= 0 ;
18529 PyObject
* obj0
= 0 ;
18530 PyObject
* obj1
= 0 ;
18531 char * kwnames
[] = {
18532 (char *) "self",(char *) "pt", NULL
18535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18537 if (!SWIG_IsOK(res1
)) {
18538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18540 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18543 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18547 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18548 wxPyEndAllowThreads(__tstate
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18551 resultobj
= SWIG_Py_Void();
18558 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18559 PyObject
*resultobj
= 0;
18560 wxDC
*arg1
= (wxDC
*) 0 ;
18575 PyObject
* obj0
= 0 ;
18576 PyObject
* obj1
= 0 ;
18577 PyObject
* obj2
= 0 ;
18578 PyObject
* obj3
= 0 ;
18579 PyObject
* obj4
= 0 ;
18580 char * kwnames
[] = {
18581 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18586 if (!SWIG_IsOK(res1
)) {
18587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18589 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18591 if (!SWIG_IsOK(ecode2
)) {
18592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18594 arg2
= static_cast< int >(val2
);
18595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18596 if (!SWIG_IsOK(ecode3
)) {
18597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18599 arg3
= static_cast< int >(val3
);
18600 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18601 if (!SWIG_IsOK(ecode4
)) {
18602 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18604 arg4
= static_cast< int >(val4
);
18605 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18606 if (!SWIG_IsOK(ecode5
)) {
18607 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18609 arg5
= static_cast< int >(val5
);
18611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18612 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18613 wxPyEndAllowThreads(__tstate
);
18614 if (PyErr_Occurred()) SWIG_fail
;
18616 resultobj
= SWIG_Py_Void();
18623 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18624 PyObject
*resultobj
= 0;
18625 wxDC
*arg1
= (wxDC
*) 0 ;
18630 PyObject
* obj0
= 0 ;
18631 PyObject
* obj1
= 0 ;
18632 char * kwnames
[] = {
18633 (char *) "self",(char *) "rect", NULL
18636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18638 if (!SWIG_IsOK(res1
)) {
18639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18641 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18644 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18648 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18649 wxPyEndAllowThreads(__tstate
);
18650 if (PyErr_Occurred()) SWIG_fail
;
18652 resultobj
= SWIG_Py_Void();
18659 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18660 PyObject
*resultobj
= 0;
18661 wxDC
*arg1
= (wxDC
*) 0 ;
18662 wxPoint
*arg2
= 0 ;
18668 PyObject
* obj0
= 0 ;
18669 PyObject
* obj1
= 0 ;
18670 PyObject
* obj2
= 0 ;
18671 char * kwnames
[] = {
18672 (char *) "self",(char *) "pt",(char *) "sz", NULL
18675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18677 if (!SWIG_IsOK(res1
)) {
18678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18680 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18683 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18687 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18691 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18692 wxPyEndAllowThreads(__tstate
);
18693 if (PyErr_Occurred()) SWIG_fail
;
18695 resultobj
= SWIG_Py_Void();
18702 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18703 PyObject
*resultobj
= 0;
18704 wxDC
*arg1
= (wxDC
*) 0 ;
18722 PyObject
* obj0
= 0 ;
18723 PyObject
* obj1
= 0 ;
18724 PyObject
* obj2
= 0 ;
18725 PyObject
* obj3
= 0 ;
18726 PyObject
* obj4
= 0 ;
18727 PyObject
* obj5
= 0 ;
18728 char * kwnames
[] = {
18729 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18734 if (!SWIG_IsOK(res1
)) {
18735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18737 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18739 if (!SWIG_IsOK(ecode2
)) {
18740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18742 arg2
= static_cast< int >(val2
);
18743 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18744 if (!SWIG_IsOK(ecode3
)) {
18745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18747 arg3
= static_cast< int >(val3
);
18748 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18749 if (!SWIG_IsOK(ecode4
)) {
18750 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18752 arg4
= static_cast< int >(val4
);
18753 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18754 if (!SWIG_IsOK(ecode5
)) {
18755 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18757 arg5
= static_cast< int >(val5
);
18758 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18759 if (!SWIG_IsOK(ecode6
)) {
18760 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18762 arg6
= static_cast< double >(val6
);
18764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18765 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18766 wxPyEndAllowThreads(__tstate
);
18767 if (PyErr_Occurred()) SWIG_fail
;
18769 resultobj
= SWIG_Py_Void();
18776 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18777 PyObject
*resultobj
= 0;
18778 wxDC
*arg1
= (wxDC
*) 0 ;
18786 PyObject
* obj0
= 0 ;
18787 PyObject
* obj1
= 0 ;
18788 PyObject
* obj2
= 0 ;
18789 char * kwnames
[] = {
18790 (char *) "self",(char *) "r",(char *) "radius", NULL
18793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18795 if (!SWIG_IsOK(res1
)) {
18796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18798 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18801 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18803 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18804 if (!SWIG_IsOK(ecode3
)) {
18805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18807 arg3
= static_cast< double >(val3
);
18809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18810 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18811 wxPyEndAllowThreads(__tstate
);
18812 if (PyErr_Occurred()) SWIG_fail
;
18814 resultobj
= SWIG_Py_Void();
18821 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18822 PyObject
*resultobj
= 0;
18823 wxDC
*arg1
= (wxDC
*) 0 ;
18824 wxPoint
*arg2
= 0 ;
18833 PyObject
* obj0
= 0 ;
18834 PyObject
* obj1
= 0 ;
18835 PyObject
* obj2
= 0 ;
18836 PyObject
* obj3
= 0 ;
18837 char * kwnames
[] = {
18838 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18843 if (!SWIG_IsOK(res1
)) {
18844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18846 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18849 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18853 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18855 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18856 if (!SWIG_IsOK(ecode4
)) {
18857 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18859 arg4
= static_cast< double >(val4
);
18861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18862 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18863 wxPyEndAllowThreads(__tstate
);
18864 if (PyErr_Occurred()) SWIG_fail
;
18866 resultobj
= SWIG_Py_Void();
18873 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18874 PyObject
*resultobj
= 0;
18875 wxDC
*arg1
= (wxDC
*) 0 ;
18887 PyObject
* obj0
= 0 ;
18888 PyObject
* obj1
= 0 ;
18889 PyObject
* obj2
= 0 ;
18890 PyObject
* obj3
= 0 ;
18891 char * kwnames
[] = {
18892 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18897 if (!SWIG_IsOK(res1
)) {
18898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18900 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18902 if (!SWIG_IsOK(ecode2
)) {
18903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18905 arg2
= static_cast< int >(val2
);
18906 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18907 if (!SWIG_IsOK(ecode3
)) {
18908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18910 arg3
= static_cast< int >(val3
);
18911 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18912 if (!SWIG_IsOK(ecode4
)) {
18913 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18915 arg4
= static_cast< int >(val4
);
18917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18918 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18922 resultobj
= SWIG_Py_Void();
18929 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18930 PyObject
*resultobj
= 0;
18931 wxDC
*arg1
= (wxDC
*) 0 ;
18932 wxPoint
*arg2
= 0 ;
18939 PyObject
* obj0
= 0 ;
18940 PyObject
* obj1
= 0 ;
18941 PyObject
* obj2
= 0 ;
18942 char * kwnames
[] = {
18943 (char *) "self",(char *) "pt",(char *) "radius", NULL
18946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18948 if (!SWIG_IsOK(res1
)) {
18949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18951 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18954 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18956 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18957 if (!SWIG_IsOK(ecode3
)) {
18958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18960 arg3
= static_cast< int >(val3
);
18962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18963 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18964 wxPyEndAllowThreads(__tstate
);
18965 if (PyErr_Occurred()) SWIG_fail
;
18967 resultobj
= SWIG_Py_Void();
18974 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18975 PyObject
*resultobj
= 0;
18976 wxDC
*arg1
= (wxDC
*) 0 ;
18991 PyObject
* obj0
= 0 ;
18992 PyObject
* obj1
= 0 ;
18993 PyObject
* obj2
= 0 ;
18994 PyObject
* obj3
= 0 ;
18995 PyObject
* obj4
= 0 ;
18996 char * kwnames
[] = {
18997 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19002 if (!SWIG_IsOK(res1
)) {
19003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19005 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19007 if (!SWIG_IsOK(ecode2
)) {
19008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19010 arg2
= static_cast< int >(val2
);
19011 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19012 if (!SWIG_IsOK(ecode3
)) {
19013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19015 arg3
= static_cast< int >(val3
);
19016 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19017 if (!SWIG_IsOK(ecode4
)) {
19018 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19020 arg4
= static_cast< int >(val4
);
19021 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19022 if (!SWIG_IsOK(ecode5
)) {
19023 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19025 arg5
= static_cast< int >(val5
);
19027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19028 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19029 wxPyEndAllowThreads(__tstate
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19032 resultobj
= SWIG_Py_Void();
19039 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
= 0;
19041 wxDC
*arg1
= (wxDC
*) 0 ;
19046 PyObject
* obj0
= 0 ;
19047 PyObject
* obj1
= 0 ;
19048 char * kwnames
[] = {
19049 (char *) "self",(char *) "rect", NULL
19052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19054 if (!SWIG_IsOK(res1
)) {
19055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19057 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19060 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19064 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19065 wxPyEndAllowThreads(__tstate
);
19066 if (PyErr_Occurred()) SWIG_fail
;
19068 resultobj
= SWIG_Py_Void();
19075 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19076 PyObject
*resultobj
= 0;
19077 wxDC
*arg1
= (wxDC
*) 0 ;
19078 wxPoint
*arg2
= 0 ;
19084 PyObject
* obj0
= 0 ;
19085 PyObject
* obj1
= 0 ;
19086 PyObject
* obj2
= 0 ;
19087 char * kwnames
[] = {
19088 (char *) "self",(char *) "pt",(char *) "sz", NULL
19091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19093 if (!SWIG_IsOK(res1
)) {
19094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19099 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19103 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19107 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19108 wxPyEndAllowThreads(__tstate
);
19109 if (PyErr_Occurred()) SWIG_fail
;
19111 resultobj
= SWIG_Py_Void();
19118 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19119 PyObject
*resultobj
= 0;
19120 wxDC
*arg1
= (wxDC
*) 0 ;
19132 PyObject
* obj0
= 0 ;
19133 PyObject
* obj1
= 0 ;
19134 PyObject
* obj2
= 0 ;
19135 PyObject
* obj3
= 0 ;
19136 char * kwnames
[] = {
19137 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19142 if (!SWIG_IsOK(res1
)) {
19143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19145 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19146 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19147 if (!SWIG_IsOK(res2
)) {
19148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19153 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19154 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19155 if (!SWIG_IsOK(ecode3
)) {
19156 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19158 arg3
= static_cast< int >(val3
);
19159 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19160 if (!SWIG_IsOK(ecode4
)) {
19161 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19163 arg4
= static_cast< int >(val4
);
19165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19166 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19167 wxPyEndAllowThreads(__tstate
);
19168 if (PyErr_Occurred()) SWIG_fail
;
19170 resultobj
= SWIG_Py_Void();
19177 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19178 PyObject
*resultobj
= 0;
19179 wxDC
*arg1
= (wxDC
*) 0 ;
19181 wxPoint
*arg3
= 0 ;
19187 PyObject
* obj0
= 0 ;
19188 PyObject
* obj1
= 0 ;
19189 PyObject
* obj2
= 0 ;
19190 char * kwnames
[] = {
19191 (char *) "self",(char *) "icon",(char *) "pt", NULL
19194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19196 if (!SWIG_IsOK(res1
)) {
19197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19199 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19200 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19201 if (!SWIG_IsOK(res2
)) {
19202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19207 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19210 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19214 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19215 wxPyEndAllowThreads(__tstate
);
19216 if (PyErr_Occurred()) SWIG_fail
;
19218 resultobj
= SWIG_Py_Void();
19225 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19226 PyObject
*resultobj
= 0;
19227 wxDC
*arg1
= (wxDC
*) 0 ;
19228 wxBitmap
*arg2
= 0 ;
19231 bool arg5
= (bool) false ;
19242 PyObject
* obj0
= 0 ;
19243 PyObject
* obj1
= 0 ;
19244 PyObject
* obj2
= 0 ;
19245 PyObject
* obj3
= 0 ;
19246 PyObject
* obj4
= 0 ;
19247 char * kwnames
[] = {
19248 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19253 if (!SWIG_IsOK(res1
)) {
19254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19256 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19257 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19258 if (!SWIG_IsOK(res2
)) {
19259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19264 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19265 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19266 if (!SWIG_IsOK(ecode3
)) {
19267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19269 arg3
= static_cast< int >(val3
);
19270 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19271 if (!SWIG_IsOK(ecode4
)) {
19272 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19274 arg4
= static_cast< int >(val4
);
19276 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19277 if (!SWIG_IsOK(ecode5
)) {
19278 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19280 arg5
= static_cast< bool >(val5
);
19283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19284 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19285 wxPyEndAllowThreads(__tstate
);
19286 if (PyErr_Occurred()) SWIG_fail
;
19288 resultobj
= SWIG_Py_Void();
19295 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19296 PyObject
*resultobj
= 0;
19297 wxDC
*arg1
= (wxDC
*) 0 ;
19298 wxBitmap
*arg2
= 0 ;
19299 wxPoint
*arg3
= 0 ;
19300 bool arg4
= (bool) false ;
19308 PyObject
* obj0
= 0 ;
19309 PyObject
* obj1
= 0 ;
19310 PyObject
* obj2
= 0 ;
19311 PyObject
* obj3
= 0 ;
19312 char * kwnames
[] = {
19313 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19318 if (!SWIG_IsOK(res1
)) {
19319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19321 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19322 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19323 if (!SWIG_IsOK(res2
)) {
19324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19327 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19329 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19332 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19335 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19336 if (!SWIG_IsOK(ecode4
)) {
19337 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19339 arg4
= static_cast< bool >(val4
);
19342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19343 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19344 wxPyEndAllowThreads(__tstate
);
19345 if (PyErr_Occurred()) SWIG_fail
;
19347 resultobj
= SWIG_Py_Void();
19354 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19355 PyObject
*resultobj
= 0;
19356 wxDC
*arg1
= (wxDC
*) 0 ;
19357 wxString
*arg2
= 0 ;
19362 bool temp2
= false ;
19367 PyObject
* obj0
= 0 ;
19368 PyObject
* obj1
= 0 ;
19369 PyObject
* obj2
= 0 ;
19370 PyObject
* obj3
= 0 ;
19371 char * kwnames
[] = {
19372 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19377 if (!SWIG_IsOK(res1
)) {
19378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19380 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19382 arg2
= wxString_in_helper(obj1
);
19383 if (arg2
== NULL
) SWIG_fail
;
19386 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19387 if (!SWIG_IsOK(ecode3
)) {
19388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19390 arg3
= static_cast< int >(val3
);
19391 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19392 if (!SWIG_IsOK(ecode4
)) {
19393 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19395 arg4
= static_cast< int >(val4
);
19397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19398 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19399 wxPyEndAllowThreads(__tstate
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19402 resultobj
= SWIG_Py_Void();
19417 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19418 PyObject
*resultobj
= 0;
19419 wxDC
*arg1
= (wxDC
*) 0 ;
19420 wxString
*arg2
= 0 ;
19421 wxPoint
*arg3
= 0 ;
19424 bool temp2
= false ;
19426 PyObject
* obj0
= 0 ;
19427 PyObject
* obj1
= 0 ;
19428 PyObject
* obj2
= 0 ;
19429 char * kwnames
[] = {
19430 (char *) "self",(char *) "text",(char *) "pt", NULL
19433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19435 if (!SWIG_IsOK(res1
)) {
19436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19438 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19440 arg2
= wxString_in_helper(obj1
);
19441 if (arg2
== NULL
) SWIG_fail
;
19446 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19450 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19451 wxPyEndAllowThreads(__tstate
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19454 resultobj
= SWIG_Py_Void();
19469 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19470 PyObject
*resultobj
= 0;
19471 wxDC
*arg1
= (wxDC
*) 0 ;
19472 wxString
*arg2
= 0 ;
19478 bool temp2
= false ;
19485 PyObject
* obj0
= 0 ;
19486 PyObject
* obj1
= 0 ;
19487 PyObject
* obj2
= 0 ;
19488 PyObject
* obj3
= 0 ;
19489 PyObject
* obj4
= 0 ;
19490 char * kwnames
[] = {
19491 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19496 if (!SWIG_IsOK(res1
)) {
19497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19501 arg2
= wxString_in_helper(obj1
);
19502 if (arg2
== NULL
) SWIG_fail
;
19505 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19506 if (!SWIG_IsOK(ecode3
)) {
19507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19509 arg3
= static_cast< int >(val3
);
19510 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19511 if (!SWIG_IsOK(ecode4
)) {
19512 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19514 arg4
= static_cast< int >(val4
);
19515 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19516 if (!SWIG_IsOK(ecode5
)) {
19517 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19519 arg5
= static_cast< double >(val5
);
19521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19522 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19523 wxPyEndAllowThreads(__tstate
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19526 resultobj
= SWIG_Py_Void();
19541 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19542 PyObject
*resultobj
= 0;
19543 wxDC
*arg1
= (wxDC
*) 0 ;
19544 wxString
*arg2
= 0 ;
19545 wxPoint
*arg3
= 0 ;
19549 bool temp2
= false ;
19553 PyObject
* obj0
= 0 ;
19554 PyObject
* obj1
= 0 ;
19555 PyObject
* obj2
= 0 ;
19556 PyObject
* obj3
= 0 ;
19557 char * kwnames
[] = {
19558 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19563 if (!SWIG_IsOK(res1
)) {
19564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19566 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19568 arg2
= wxString_in_helper(obj1
);
19569 if (arg2
== NULL
) SWIG_fail
;
19574 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19576 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19577 if (!SWIG_IsOK(ecode4
)) {
19578 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19580 arg4
= static_cast< double >(val4
);
19582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19583 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19587 resultobj
= SWIG_Py_Void();
19602 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19603 PyObject
*resultobj
= 0;
19604 wxDC
*arg1
= (wxDC
*) 0 ;
19609 wxDC
*arg6
= (wxDC
*) 0 ;
19612 int arg9
= (int) wxCOPY
;
19613 bool arg10
= (bool) false ;
19614 int arg11
= (int) -1 ;
19615 int arg12
= (int) -1 ;
19641 PyObject
* obj0
= 0 ;
19642 PyObject
* obj1
= 0 ;
19643 PyObject
* obj2
= 0 ;
19644 PyObject
* obj3
= 0 ;
19645 PyObject
* obj4
= 0 ;
19646 PyObject
* obj5
= 0 ;
19647 PyObject
* obj6
= 0 ;
19648 PyObject
* obj7
= 0 ;
19649 PyObject
* obj8
= 0 ;
19650 PyObject
* obj9
= 0 ;
19651 PyObject
* obj10
= 0 ;
19652 PyObject
* obj11
= 0 ;
19653 char * kwnames
[] = {
19654 (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
19657 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
;
19658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19659 if (!SWIG_IsOK(res1
)) {
19660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19662 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19664 if (!SWIG_IsOK(ecode2
)) {
19665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19667 arg2
= static_cast< int >(val2
);
19668 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19669 if (!SWIG_IsOK(ecode3
)) {
19670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19672 arg3
= static_cast< int >(val3
);
19673 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19674 if (!SWIG_IsOK(ecode4
)) {
19675 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19677 arg4
= static_cast< int >(val4
);
19678 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19679 if (!SWIG_IsOK(ecode5
)) {
19680 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19682 arg5
= static_cast< int >(val5
);
19683 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19684 if (!SWIG_IsOK(res6
)) {
19685 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19687 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19688 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19689 if (!SWIG_IsOK(ecode7
)) {
19690 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19692 arg7
= static_cast< int >(val7
);
19693 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19694 if (!SWIG_IsOK(ecode8
)) {
19695 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19697 arg8
= static_cast< int >(val8
);
19699 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19700 if (!SWIG_IsOK(ecode9
)) {
19701 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19703 arg9
= static_cast< int >(val9
);
19706 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19707 if (!SWIG_IsOK(ecode10
)) {
19708 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19710 arg10
= static_cast< bool >(val10
);
19713 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19714 if (!SWIG_IsOK(ecode11
)) {
19715 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19717 arg11
= static_cast< int >(val11
);
19720 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19721 if (!SWIG_IsOK(ecode12
)) {
19722 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19724 arg12
= static_cast< int >(val12
);
19727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19728 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19729 wxPyEndAllowThreads(__tstate
);
19730 if (PyErr_Occurred()) SWIG_fail
;
19733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19741 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19742 PyObject
*resultobj
= 0;
19743 wxDC
*arg1
= (wxDC
*) 0 ;
19744 wxPoint
*arg2
= 0 ;
19746 wxDC
*arg4
= (wxDC
*) 0 ;
19747 wxPoint
*arg5
= 0 ;
19748 int arg6
= (int) wxCOPY
;
19749 bool arg7
= (bool) false ;
19750 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19751 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19765 PyObject
* obj0
= 0 ;
19766 PyObject
* obj1
= 0 ;
19767 PyObject
* obj2
= 0 ;
19768 PyObject
* obj3
= 0 ;
19769 PyObject
* obj4
= 0 ;
19770 PyObject
* obj5
= 0 ;
19771 PyObject
* obj6
= 0 ;
19772 PyObject
* obj7
= 0 ;
19773 char * kwnames
[] = {
19774 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19779 if (!SWIG_IsOK(res1
)) {
19780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19782 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19785 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19789 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19791 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19792 if (!SWIG_IsOK(res4
)) {
19793 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19795 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19798 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19801 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19802 if (!SWIG_IsOK(ecode6
)) {
19803 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19805 arg6
= static_cast< int >(val6
);
19808 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19809 if (!SWIG_IsOK(ecode7
)) {
19810 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19812 arg7
= static_cast< bool >(val7
);
19817 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19823 wxPyEndAllowThreads(__tstate
);
19824 if (PyErr_Occurred()) SWIG_fail
;
19827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19835 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19836 PyObject
*resultobj
= 0;
19837 wxDC
*arg1
= (wxDC
*) 0 ;
19838 wxRect
*arg2
= (wxRect
*) NULL
;
19839 SwigValueWrapper
<wxBitmap
> result
;
19844 PyObject
* obj0
= 0 ;
19845 PyObject
* obj1
= 0 ;
19846 char * kwnames
[] = {
19847 (char *) "self",(char *) "subrect", NULL
19850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19852 if (!SWIG_IsOK(res1
)) {
19853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19855 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19857 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19858 if (!SWIG_IsOK(res2
)) {
19859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19861 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19865 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19866 wxPyEndAllowThreads(__tstate
);
19867 if (PyErr_Occurred()) SWIG_fail
;
19869 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19876 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19877 PyObject
*resultobj
= 0;
19878 wxDC
*arg1
= (wxDC
*) 0 ;
19893 PyObject
* obj0
= 0 ;
19894 PyObject
* obj1
= 0 ;
19895 PyObject
* obj2
= 0 ;
19896 PyObject
* obj3
= 0 ;
19897 PyObject
* obj4
= 0 ;
19898 char * kwnames
[] = {
19899 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19904 if (!SWIG_IsOK(res1
)) {
19905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19907 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19909 if (!SWIG_IsOK(ecode2
)) {
19910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19912 arg2
= static_cast< int >(val2
);
19913 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19914 if (!SWIG_IsOK(ecode3
)) {
19915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19917 arg3
= static_cast< int >(val3
);
19918 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19919 if (!SWIG_IsOK(ecode4
)) {
19920 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19922 arg4
= static_cast< int >(val4
);
19923 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19924 if (!SWIG_IsOK(ecode5
)) {
19925 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19927 arg5
= static_cast< int >(val5
);
19929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19930 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19931 wxPyEndAllowThreads(__tstate
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19934 resultobj
= SWIG_Py_Void();
19941 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19942 PyObject
*resultobj
= 0;
19943 wxDC
*arg1
= (wxDC
*) 0 ;
19944 wxPoint
*arg2
= 0 ;
19950 PyObject
* obj0
= 0 ;
19951 PyObject
* obj1
= 0 ;
19952 PyObject
* obj2
= 0 ;
19953 char * kwnames
[] = {
19954 (char *) "self",(char *) "pt",(char *) "sz", NULL
19957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19959 if (!SWIG_IsOK(res1
)) {
19960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19962 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19965 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19969 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19973 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19974 wxPyEndAllowThreads(__tstate
);
19975 if (PyErr_Occurred()) SWIG_fail
;
19977 resultobj
= SWIG_Py_Void();
19984 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19985 PyObject
*resultobj
= 0;
19986 wxDC
*arg1
= (wxDC
*) 0 ;
19987 wxRegion
*arg2
= 0 ;
19992 PyObject
* obj0
= 0 ;
19993 PyObject
* obj1
= 0 ;
19994 char * kwnames
[] = {
19995 (char *) "self",(char *) "region", NULL
19998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20000 if (!SWIG_IsOK(res1
)) {
20001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20003 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20004 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20005 if (!SWIG_IsOK(res2
)) {
20006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20011 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20014 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20015 wxPyEndAllowThreads(__tstate
);
20016 if (PyErr_Occurred()) SWIG_fail
;
20018 resultobj
= SWIG_Py_Void();
20025 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20026 PyObject
*resultobj
= 0;
20027 wxDC
*arg1
= (wxDC
*) 0 ;
20032 PyObject
* obj0
= 0 ;
20033 PyObject
* obj1
= 0 ;
20034 char * kwnames
[] = {
20035 (char *) "self",(char *) "rect", NULL
20038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20040 if (!SWIG_IsOK(res1
)) {
20041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20043 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20046 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20050 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20051 wxPyEndAllowThreads(__tstate
);
20052 if (PyErr_Occurred()) SWIG_fail
;
20054 resultobj
= SWIG_Py_Void();
20061 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20062 PyObject
*resultobj
= 0;
20063 wxDC
*arg1
= (wxDC
*) 0 ;
20065 wxPoint
*arg3
= (wxPoint
*) 0 ;
20066 int arg4
= (int) 0 ;
20067 int arg5
= (int) 0 ;
20074 PyObject
* obj0
= 0 ;
20075 PyObject
* obj1
= 0 ;
20076 PyObject
* obj2
= 0 ;
20077 PyObject
* obj3
= 0 ;
20078 char * kwnames
[] = {
20079 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20084 if (!SWIG_IsOK(res1
)) {
20085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20087 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20089 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20090 if (arg3
== NULL
) SWIG_fail
;
20093 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20094 if (!SWIG_IsOK(ecode4
)) {
20095 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20097 arg4
= static_cast< int >(val4
);
20100 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20101 if (!SWIG_IsOK(ecode5
)) {
20102 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20104 arg5
= static_cast< int >(val5
);
20107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20108 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20109 wxPyEndAllowThreads(__tstate
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20112 resultobj
= SWIG_Py_Void();
20114 if (arg3
) delete [] arg3
;
20119 if (arg3
) delete [] arg3
;
20125 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20126 PyObject
*resultobj
= 0;
20127 wxDC
*arg1
= (wxDC
*) 0 ;
20129 wxPoint
*arg3
= (wxPoint
*) 0 ;
20130 int arg4
= (int) 0 ;
20131 int arg5
= (int) 0 ;
20132 int arg6
= (int) wxODDEVEN_RULE
;
20141 PyObject
* obj0
= 0 ;
20142 PyObject
* obj1
= 0 ;
20143 PyObject
* obj2
= 0 ;
20144 PyObject
* obj3
= 0 ;
20145 PyObject
* obj4
= 0 ;
20146 char * kwnames
[] = {
20147 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20152 if (!SWIG_IsOK(res1
)) {
20153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20155 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20157 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20158 if (arg3
== NULL
) SWIG_fail
;
20161 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20162 if (!SWIG_IsOK(ecode4
)) {
20163 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20165 arg4
= static_cast< int >(val4
);
20168 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20169 if (!SWIG_IsOK(ecode5
)) {
20170 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20172 arg5
= static_cast< int >(val5
);
20175 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20176 if (!SWIG_IsOK(ecode6
)) {
20177 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20179 arg6
= static_cast< int >(val6
);
20182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20183 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20184 wxPyEndAllowThreads(__tstate
);
20185 if (PyErr_Occurred()) SWIG_fail
;
20187 resultobj
= SWIG_Py_Void();
20189 if (arg3
) delete [] arg3
;
20194 if (arg3
) delete [] arg3
;
20200 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20201 PyObject
*resultobj
= 0;
20202 wxDC
*arg1
= (wxDC
*) 0 ;
20203 wxString
*arg2
= 0 ;
20205 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20206 int arg5
= (int) -1 ;
20209 bool temp2
= false ;
20215 PyObject
* obj0
= 0 ;
20216 PyObject
* obj1
= 0 ;
20217 PyObject
* obj2
= 0 ;
20218 PyObject
* obj3
= 0 ;
20219 PyObject
* obj4
= 0 ;
20220 char * kwnames
[] = {
20221 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20226 if (!SWIG_IsOK(res1
)) {
20227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20229 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20231 arg2
= wxString_in_helper(obj1
);
20232 if (arg2
== NULL
) SWIG_fail
;
20237 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20240 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20241 if (!SWIG_IsOK(ecode4
)) {
20242 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20244 arg4
= static_cast< int >(val4
);
20247 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20248 if (!SWIG_IsOK(ecode5
)) {
20249 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20251 arg5
= static_cast< int >(val5
);
20254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20255 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20259 resultobj
= SWIG_Py_Void();
20274 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20275 PyObject
*resultobj
= 0;
20276 wxDC
*arg1
= (wxDC
*) 0 ;
20277 wxString
*arg2
= 0 ;
20278 wxBitmap
*arg3
= 0 ;
20280 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20281 int arg6
= (int) -1 ;
20285 bool temp2
= false ;
20293 PyObject
* obj0
= 0 ;
20294 PyObject
* obj1
= 0 ;
20295 PyObject
* obj2
= 0 ;
20296 PyObject
* obj3
= 0 ;
20297 PyObject
* obj4
= 0 ;
20298 PyObject
* obj5
= 0 ;
20299 char * kwnames
[] = {
20300 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20305 if (!SWIG_IsOK(res1
)) {
20306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20308 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20310 arg2
= wxString_in_helper(obj1
);
20311 if (arg2
== NULL
) SWIG_fail
;
20314 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20315 if (!SWIG_IsOK(res3
)) {
20316 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20319 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20321 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20324 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20327 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20328 if (!SWIG_IsOK(ecode5
)) {
20329 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20331 arg5
= static_cast< int >(val5
);
20334 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20335 if (!SWIG_IsOK(ecode6
)) {
20336 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20338 arg6
= static_cast< int >(val6
);
20341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20342 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20343 wxPyEndAllowThreads(__tstate
);
20344 if (PyErr_Occurred()) SWIG_fail
;
20346 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20361 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20362 PyObject
*resultobj
= 0;
20363 wxDC
*arg1
= (wxDC
*) 0 ;
20365 wxPoint
*arg3
= (wxPoint
*) 0 ;
20368 PyObject
* obj0
= 0 ;
20369 PyObject
* obj1
= 0 ;
20370 char * kwnames
[] = {
20371 (char *) "self",(char *) "points", NULL
20374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20376 if (!SWIG_IsOK(res1
)) {
20377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20379 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20381 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20382 if (arg3
== NULL
) SWIG_fail
;
20385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 (arg1
)->DrawSpline(arg2
,arg3
);
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20390 resultobj
= SWIG_Py_Void();
20392 if (arg3
) delete [] arg3
;
20397 if (arg3
) delete [] arg3
;
20403 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20404 PyObject
*resultobj
= 0;
20405 wxDC
*arg1
= (wxDC
*) 0 ;
20408 PyObject
*swig_obj
[1] ;
20410 if (!args
) SWIG_fail
;
20411 swig_obj
[0] = args
;
20412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20413 if (!SWIG_IsOK(res1
)) {
20414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20416 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20420 wxPyEndAllowThreads(__tstate
);
20421 if (PyErr_Occurred()) SWIG_fail
;
20423 resultobj
= SWIG_Py_Void();
20430 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20431 PyObject
*resultobj
= 0;
20432 wxDC
*arg1
= (wxDC
*) 0 ;
20433 wxString
*arg2
= 0 ;
20437 bool temp2
= false ;
20438 PyObject
* obj0
= 0 ;
20439 PyObject
* obj1
= 0 ;
20440 char * kwnames
[] = {
20441 (char *) "self",(char *) "message", NULL
20444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20446 if (!SWIG_IsOK(res1
)) {
20447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20449 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20451 arg2
= wxString_in_helper(obj1
);
20452 if (arg2
== NULL
) SWIG_fail
;
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20458 wxPyEndAllowThreads(__tstate
);
20459 if (PyErr_Occurred()) SWIG_fail
;
20462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20478 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20479 PyObject
*resultobj
= 0;
20480 wxDC
*arg1
= (wxDC
*) 0 ;
20483 PyObject
*swig_obj
[1] ;
20485 if (!args
) SWIG_fail
;
20486 swig_obj
[0] = args
;
20487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20488 if (!SWIG_IsOK(res1
)) {
20489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20491 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20495 wxPyEndAllowThreads(__tstate
);
20496 if (PyErr_Occurred()) SWIG_fail
;
20498 resultobj
= SWIG_Py_Void();
20505 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20506 PyObject
*resultobj
= 0;
20507 wxDC
*arg1
= (wxDC
*) 0 ;
20510 PyObject
*swig_obj
[1] ;
20512 if (!args
) SWIG_fail
;
20513 swig_obj
[0] = args
;
20514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20515 if (!SWIG_IsOK(res1
)) {
20516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20518 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20521 (arg1
)->StartPage();
20522 wxPyEndAllowThreads(__tstate
);
20523 if (PyErr_Occurred()) SWIG_fail
;
20525 resultobj
= SWIG_Py_Void();
20532 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20533 PyObject
*resultobj
= 0;
20534 wxDC
*arg1
= (wxDC
*) 0 ;
20537 PyObject
*swig_obj
[1] ;
20539 if (!args
) SWIG_fail
;
20540 swig_obj
[0] = args
;
20541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20542 if (!SWIG_IsOK(res1
)) {
20543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20545 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20549 wxPyEndAllowThreads(__tstate
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20552 resultobj
= SWIG_Py_Void();
20559 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20560 PyObject
*resultobj
= 0;
20561 wxDC
*arg1
= (wxDC
*) 0 ;
20567 PyObject
* obj0
= 0 ;
20568 PyObject
* obj1
= 0 ;
20569 char * kwnames
[] = {
20570 (char *) "self",(char *) "font", NULL
20573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20575 if (!SWIG_IsOK(res1
)) {
20576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20578 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20579 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20580 if (!SWIG_IsOK(res2
)) {
20581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20586 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20589 (arg1
)->SetFont((wxFont
const &)*arg2
);
20590 wxPyEndAllowThreads(__tstate
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20593 resultobj
= SWIG_Py_Void();
20600 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20601 PyObject
*resultobj
= 0;
20602 wxDC
*arg1
= (wxDC
*) 0 ;
20608 PyObject
* obj0
= 0 ;
20609 PyObject
* obj1
= 0 ;
20610 char * kwnames
[] = {
20611 (char *) "self",(char *) "pen", NULL
20614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20616 if (!SWIG_IsOK(res1
)) {
20617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20619 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20620 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20621 if (!SWIG_IsOK(res2
)) {
20622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20627 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20630 (arg1
)->SetPen((wxPen
const &)*arg2
);
20631 wxPyEndAllowThreads(__tstate
);
20632 if (PyErr_Occurred()) SWIG_fail
;
20634 resultobj
= SWIG_Py_Void();
20641 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20642 PyObject
*resultobj
= 0;
20643 wxDC
*arg1
= (wxDC
*) 0 ;
20644 wxBrush
*arg2
= 0 ;
20649 PyObject
* obj0
= 0 ;
20650 PyObject
* obj1
= 0 ;
20651 char * kwnames
[] = {
20652 (char *) "self",(char *) "brush", NULL
20655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20657 if (!SWIG_IsOK(res1
)) {
20658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20660 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20661 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20662 if (!SWIG_IsOK(res2
)) {
20663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20668 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20671 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20672 wxPyEndAllowThreads(__tstate
);
20673 if (PyErr_Occurred()) SWIG_fail
;
20675 resultobj
= SWIG_Py_Void();
20682 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20683 PyObject
*resultobj
= 0;
20684 wxDC
*arg1
= (wxDC
*) 0 ;
20685 wxBrush
*arg2
= 0 ;
20690 PyObject
* obj0
= 0 ;
20691 PyObject
* obj1
= 0 ;
20692 char * kwnames
[] = {
20693 (char *) "self",(char *) "brush", NULL
20696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20698 if (!SWIG_IsOK(res1
)) {
20699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20701 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20702 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20703 if (!SWIG_IsOK(res2
)) {
20704 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20707 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20709 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20716 resultobj
= SWIG_Py_Void();
20723 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20724 PyObject
*resultobj
= 0;
20725 wxDC
*arg1
= (wxDC
*) 0 ;
20731 PyObject
* obj0
= 0 ;
20732 PyObject
* obj1
= 0 ;
20733 char * kwnames
[] = {
20734 (char *) "self",(char *) "mode", NULL
20737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20739 if (!SWIG_IsOK(res1
)) {
20740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20742 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20744 if (!SWIG_IsOK(ecode2
)) {
20745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20747 arg2
= static_cast< int >(val2
);
20749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20750 (arg1
)->SetBackgroundMode(arg2
);
20751 wxPyEndAllowThreads(__tstate
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20754 resultobj
= SWIG_Py_Void();
20761 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20762 PyObject
*resultobj
= 0;
20763 wxDC
*arg1
= (wxDC
*) 0 ;
20764 wxPalette
*arg2
= 0 ;
20769 PyObject
* obj0
= 0 ;
20770 PyObject
* obj1
= 0 ;
20771 char * kwnames
[] = {
20772 (char *) "self",(char *) "palette", NULL
20775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20777 if (!SWIG_IsOK(res1
)) {
20778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20780 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20781 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20782 if (!SWIG_IsOK(res2
)) {
20783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20788 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20791 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20792 wxPyEndAllowThreads(__tstate
);
20793 if (PyErr_Occurred()) SWIG_fail
;
20795 resultobj
= SWIG_Py_Void();
20802 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20803 PyObject
*resultobj
= 0;
20804 wxDC
*arg1
= (wxDC
*) 0 ;
20807 PyObject
*swig_obj
[1] ;
20809 if (!args
) SWIG_fail
;
20810 swig_obj
[0] = args
;
20811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20812 if (!SWIG_IsOK(res1
)) {
20813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20815 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20818 (arg1
)->DestroyClippingRegion();
20819 wxPyEndAllowThreads(__tstate
);
20820 if (PyErr_Occurred()) SWIG_fail
;
20822 resultobj
= SWIG_Py_Void();
20829 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20830 PyObject
*resultobj
= 0;
20831 wxDC
*arg1
= (wxDC
*) 0 ;
20832 int *arg2
= (int *) 0 ;
20833 int *arg3
= (int *) 0 ;
20834 int *arg4
= (int *) 0 ;
20835 int *arg5
= (int *) 0 ;
20839 int res2
= SWIG_TMPOBJ
;
20841 int res3
= SWIG_TMPOBJ
;
20843 int res4
= SWIG_TMPOBJ
;
20845 int res5
= SWIG_TMPOBJ
;
20846 PyObject
*swig_obj
[1] ;
20852 if (!args
) SWIG_fail
;
20853 swig_obj
[0] = args
;
20854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20855 if (!SWIG_IsOK(res1
)) {
20856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20858 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20861 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20862 wxPyEndAllowThreads(__tstate
);
20863 if (PyErr_Occurred()) SWIG_fail
;
20865 resultobj
= SWIG_Py_Void();
20866 if (SWIG_IsTmpObj(res2
)) {
20867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20869 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20872 if (SWIG_IsTmpObj(res3
)) {
20873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20875 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20878 if (SWIG_IsTmpObj(res4
)) {
20879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20881 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20882 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20884 if (SWIG_IsTmpObj(res5
)) {
20885 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20887 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20888 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20896 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20897 PyObject
*resultobj
= 0;
20898 wxDC
*arg1
= (wxDC
*) 0 ;
20902 PyObject
*swig_obj
[1] ;
20904 if (!args
) SWIG_fail
;
20905 swig_obj
[0] = args
;
20906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20907 if (!SWIG_IsOK(res1
)) {
20908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20910 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20913 result
= wxDC_GetClippingRect(arg1
);
20914 wxPyEndAllowThreads(__tstate
);
20915 if (PyErr_Occurred()) SWIG_fail
;
20917 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20924 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20925 PyObject
*resultobj
= 0;
20926 wxDC
*arg1
= (wxDC
*) 0 ;
20930 PyObject
*swig_obj
[1] ;
20932 if (!args
) SWIG_fail
;
20933 swig_obj
[0] = args
;
20934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20935 if (!SWIG_IsOK(res1
)) {
20936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20938 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20942 wxPyEndAllowThreads(__tstate
);
20943 if (PyErr_Occurred()) SWIG_fail
;
20945 resultobj
= SWIG_From_int(static_cast< int >(result
));
20952 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20953 PyObject
*resultobj
= 0;
20954 wxDC
*arg1
= (wxDC
*) 0 ;
20958 PyObject
*swig_obj
[1] ;
20960 if (!args
) SWIG_fail
;
20961 swig_obj
[0] = args
;
20962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20963 if (!SWIG_IsOK(res1
)) {
20964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20966 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20970 wxPyEndAllowThreads(__tstate
);
20971 if (PyErr_Occurred()) SWIG_fail
;
20973 resultobj
= SWIG_From_int(static_cast< int >(result
));
20980 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20981 PyObject
*resultobj
= 0;
20982 wxDC
*arg1
= (wxDC
*) 0 ;
20983 wxString
*arg2
= 0 ;
20984 int *arg3
= (int *) 0 ;
20985 int *arg4
= (int *) 0 ;
20988 bool temp2
= false ;
20990 int res3
= SWIG_TMPOBJ
;
20992 int res4
= SWIG_TMPOBJ
;
20993 PyObject
* obj0
= 0 ;
20994 PyObject
* obj1
= 0 ;
20995 char * kwnames
[] = {
20996 (char *) "self",(char *) "string", NULL
21001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21003 if (!SWIG_IsOK(res1
)) {
21004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21006 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21008 arg2
= wxString_in_helper(obj1
);
21009 if (arg2
== NULL
) SWIG_fail
;
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21018 resultobj
= SWIG_Py_Void();
21019 if (SWIG_IsTmpObj(res3
)) {
21020 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21022 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21023 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21025 if (SWIG_IsTmpObj(res4
)) {
21026 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21028 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21029 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21045 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21046 PyObject
*resultobj
= 0;
21047 wxDC
*arg1
= (wxDC
*) 0 ;
21048 wxString
*arg2
= 0 ;
21049 int *arg3
= (int *) 0 ;
21050 int *arg4
= (int *) 0 ;
21051 int *arg5
= (int *) 0 ;
21052 int *arg6
= (int *) 0 ;
21053 wxFont
*arg7
= (wxFont
*) NULL
;
21056 bool temp2
= false ;
21058 int res3
= SWIG_TMPOBJ
;
21060 int res4
= SWIG_TMPOBJ
;
21062 int res5
= SWIG_TMPOBJ
;
21064 int res6
= SWIG_TMPOBJ
;
21067 PyObject
* obj0
= 0 ;
21068 PyObject
* obj1
= 0 ;
21069 PyObject
* obj2
= 0 ;
21070 char * kwnames
[] = {
21071 (char *) "self",(char *) "string",(char *) "font", NULL
21078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21080 if (!SWIG_IsOK(res1
)) {
21081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21083 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21085 arg2
= wxString_in_helper(obj1
);
21086 if (arg2
== NULL
) SWIG_fail
;
21090 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21091 if (!SWIG_IsOK(res7
)) {
21092 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21094 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21098 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21099 wxPyEndAllowThreads(__tstate
);
21100 if (PyErr_Occurred()) SWIG_fail
;
21102 resultobj
= SWIG_Py_Void();
21103 if (SWIG_IsTmpObj(res3
)) {
21104 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21106 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21107 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21109 if (SWIG_IsTmpObj(res4
)) {
21110 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21112 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21113 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21115 if (SWIG_IsTmpObj(res5
)) {
21116 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21118 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21119 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21121 if (SWIG_IsTmpObj(res6
)) {
21122 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21124 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21125 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21141 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21142 PyObject
*resultobj
= 0;
21143 wxDC
*arg1
= (wxDC
*) 0 ;
21144 wxString
*arg2
= 0 ;
21145 int *arg3
= (int *) 0 ;
21146 int *arg4
= (int *) 0 ;
21147 int *arg5
= (int *) 0 ;
21148 wxFont
*arg6
= (wxFont
*) NULL
;
21151 bool temp2
= false ;
21153 int res3
= SWIG_TMPOBJ
;
21155 int res4
= SWIG_TMPOBJ
;
21157 int res5
= SWIG_TMPOBJ
;
21160 PyObject
* obj0
= 0 ;
21161 PyObject
* obj1
= 0 ;
21162 PyObject
* obj2
= 0 ;
21163 char * kwnames
[] = {
21164 (char *) "self",(char *) "text",(char *) "font", NULL
21170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21172 if (!SWIG_IsOK(res1
)) {
21173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21175 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21177 arg2
= wxString_in_helper(obj1
);
21178 if (arg2
== NULL
) SWIG_fail
;
21182 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21183 if (!SWIG_IsOK(res6
)) {
21184 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21186 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21190 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21191 wxPyEndAllowThreads(__tstate
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21194 resultobj
= SWIG_Py_Void();
21195 if (SWIG_IsTmpObj(res3
)) {
21196 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21198 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21199 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21201 if (SWIG_IsTmpObj(res4
)) {
21202 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21204 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21205 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21207 if (SWIG_IsTmpObj(res5
)) {
21208 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21210 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21211 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21227 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
= 0;
21229 wxDC
*arg1
= (wxDC
*) 0 ;
21230 wxString
*arg2
= 0 ;
21234 bool temp2
= false ;
21235 PyObject
* obj0
= 0 ;
21236 PyObject
* obj1
= 0 ;
21237 char * kwnames
[] = {
21238 (char *) "self",(char *) "text", NULL
21241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21243 if (!SWIG_IsOK(res1
)) {
21244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21246 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21248 arg2
= wxString_in_helper(obj1
);
21249 if (arg2
== NULL
) SWIG_fail
;
21253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21254 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21255 wxPyEndAllowThreads(__tstate
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21259 resultobj
= wxArrayInt2PyList_helper(result
);
21275 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21276 PyObject
*resultobj
= 0;
21277 wxDC
*arg1
= (wxDC
*) 0 ;
21281 PyObject
*swig_obj
[1] ;
21283 if (!args
) SWIG_fail
;
21284 swig_obj
[0] = args
;
21285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21286 if (!SWIG_IsOK(res1
)) {
21287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21289 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21292 result
= (arg1
)->GetSize();
21293 wxPyEndAllowThreads(__tstate
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21296 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21303 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21304 PyObject
*resultobj
= 0;
21305 wxDC
*arg1
= (wxDC
*) 0 ;
21306 int *arg2
= (int *) 0 ;
21307 int *arg3
= (int *) 0 ;
21311 int res2
= SWIG_TMPOBJ
;
21313 int res3
= SWIG_TMPOBJ
;
21314 PyObject
*swig_obj
[1] ;
21318 if (!args
) SWIG_fail
;
21319 swig_obj
[0] = args
;
21320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21321 if (!SWIG_IsOK(res1
)) {
21322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21324 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21327 (arg1
)->GetSize(arg2
,arg3
);
21328 wxPyEndAllowThreads(__tstate
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21331 resultobj
= SWIG_Py_Void();
21332 if (SWIG_IsTmpObj(res2
)) {
21333 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21335 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21336 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21338 if (SWIG_IsTmpObj(res3
)) {
21339 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21341 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21342 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21350 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21351 PyObject
*resultobj
= 0;
21352 wxDC
*arg1
= (wxDC
*) 0 ;
21356 PyObject
*swig_obj
[1] ;
21358 if (!args
) SWIG_fail
;
21359 swig_obj
[0] = args
;
21360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21361 if (!SWIG_IsOK(res1
)) {
21362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21364 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21367 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21368 wxPyEndAllowThreads(__tstate
);
21369 if (PyErr_Occurred()) SWIG_fail
;
21371 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21378 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21379 PyObject
*resultobj
= 0;
21380 wxDC
*arg1
= (wxDC
*) 0 ;
21381 int *arg2
= (int *) 0 ;
21382 int *arg3
= (int *) 0 ;
21386 int res2
= SWIG_TMPOBJ
;
21388 int res3
= SWIG_TMPOBJ
;
21389 PyObject
*swig_obj
[1] ;
21393 if (!args
) SWIG_fail
;
21394 swig_obj
[0] = args
;
21395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21396 if (!SWIG_IsOK(res1
)) {
21397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21399 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21402 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21403 wxPyEndAllowThreads(__tstate
);
21404 if (PyErr_Occurred()) SWIG_fail
;
21406 resultobj
= SWIG_Py_Void();
21407 if (SWIG_IsTmpObj(res2
)) {
21408 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21410 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21411 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21413 if (SWIG_IsTmpObj(res3
)) {
21414 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21416 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21417 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21425 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21426 PyObject
*resultobj
= 0;
21427 wxDC
*arg1
= (wxDC
*) 0 ;
21434 PyObject
* obj0
= 0 ;
21435 PyObject
* obj1
= 0 ;
21436 char * kwnames
[] = {
21437 (char *) "self",(char *) "x", NULL
21440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21442 if (!SWIG_IsOK(res1
)) {
21443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21445 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21447 if (!SWIG_IsOK(ecode2
)) {
21448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21450 arg2
= static_cast< int >(val2
);
21452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21453 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21454 wxPyEndAllowThreads(__tstate
);
21455 if (PyErr_Occurred()) SWIG_fail
;
21457 resultobj
= SWIG_From_int(static_cast< int >(result
));
21464 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21465 PyObject
*resultobj
= 0;
21466 wxDC
*arg1
= (wxDC
*) 0 ;
21473 PyObject
* obj0
= 0 ;
21474 PyObject
* obj1
= 0 ;
21475 char * kwnames
[] = {
21476 (char *) "self",(char *) "y", NULL
21479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21481 if (!SWIG_IsOK(res1
)) {
21482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21484 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21486 if (!SWIG_IsOK(ecode2
)) {
21487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21489 arg2
= static_cast< int >(val2
);
21491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21492 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21493 wxPyEndAllowThreads(__tstate
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21496 resultobj
= SWIG_From_int(static_cast< int >(result
));
21503 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21504 PyObject
*resultobj
= 0;
21505 wxDC
*arg1
= (wxDC
*) 0 ;
21512 PyObject
* obj0
= 0 ;
21513 PyObject
* obj1
= 0 ;
21514 char * kwnames
[] = {
21515 (char *) "self",(char *) "x", NULL
21518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21520 if (!SWIG_IsOK(res1
)) {
21521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21523 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21525 if (!SWIG_IsOK(ecode2
)) {
21526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21528 arg2
= static_cast< int >(val2
);
21530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21531 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21532 wxPyEndAllowThreads(__tstate
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 resultobj
= SWIG_From_int(static_cast< int >(result
));
21542 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21543 PyObject
*resultobj
= 0;
21544 wxDC
*arg1
= (wxDC
*) 0 ;
21551 PyObject
* obj0
= 0 ;
21552 PyObject
* obj1
= 0 ;
21553 char * kwnames
[] = {
21554 (char *) "self",(char *) "y", NULL
21557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21559 if (!SWIG_IsOK(res1
)) {
21560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21562 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21563 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21564 if (!SWIG_IsOK(ecode2
)) {
21565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21567 arg2
= static_cast< int >(val2
);
21569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21570 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21571 wxPyEndAllowThreads(__tstate
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21574 resultobj
= SWIG_From_int(static_cast< int >(result
));
21581 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21582 PyObject
*resultobj
= 0;
21583 wxDC
*arg1
= (wxDC
*) 0 ;
21590 PyObject
* obj0
= 0 ;
21591 PyObject
* obj1
= 0 ;
21592 char * kwnames
[] = {
21593 (char *) "self",(char *) "x", NULL
21596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21598 if (!SWIG_IsOK(res1
)) {
21599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21601 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21603 if (!SWIG_IsOK(ecode2
)) {
21604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21606 arg2
= static_cast< int >(val2
);
21608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21609 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21610 wxPyEndAllowThreads(__tstate
);
21611 if (PyErr_Occurred()) SWIG_fail
;
21613 resultobj
= SWIG_From_int(static_cast< int >(result
));
21620 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21621 PyObject
*resultobj
= 0;
21622 wxDC
*arg1
= (wxDC
*) 0 ;
21629 PyObject
* obj0
= 0 ;
21630 PyObject
* obj1
= 0 ;
21631 char * kwnames
[] = {
21632 (char *) "self",(char *) "y", NULL
21635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21637 if (!SWIG_IsOK(res1
)) {
21638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21640 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21642 if (!SWIG_IsOK(ecode2
)) {
21643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21645 arg2
= static_cast< int >(val2
);
21647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21648 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21649 wxPyEndAllowThreads(__tstate
);
21650 if (PyErr_Occurred()) SWIG_fail
;
21652 resultobj
= SWIG_From_int(static_cast< int >(result
));
21659 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21660 PyObject
*resultobj
= 0;
21661 wxDC
*arg1
= (wxDC
*) 0 ;
21668 PyObject
* obj0
= 0 ;
21669 PyObject
* obj1
= 0 ;
21670 char * kwnames
[] = {
21671 (char *) "self",(char *) "x", NULL
21674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21676 if (!SWIG_IsOK(res1
)) {
21677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21679 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21681 if (!SWIG_IsOK(ecode2
)) {
21682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21684 arg2
= static_cast< int >(val2
);
21686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21687 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21688 wxPyEndAllowThreads(__tstate
);
21689 if (PyErr_Occurred()) SWIG_fail
;
21691 resultobj
= SWIG_From_int(static_cast< int >(result
));
21698 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21699 PyObject
*resultobj
= 0;
21700 wxDC
*arg1
= (wxDC
*) 0 ;
21707 PyObject
* obj0
= 0 ;
21708 PyObject
* obj1
= 0 ;
21709 char * kwnames
[] = {
21710 (char *) "self",(char *) "y", NULL
21713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21715 if (!SWIG_IsOK(res1
)) {
21716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21718 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21720 if (!SWIG_IsOK(ecode2
)) {
21721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21723 arg2
= static_cast< int >(val2
);
21725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21726 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21727 wxPyEndAllowThreads(__tstate
);
21728 if (PyErr_Occurred()) SWIG_fail
;
21730 resultobj
= SWIG_From_int(static_cast< int >(result
));
21737 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21738 PyObject
*resultobj
= 0;
21739 wxDC
*arg1
= (wxDC
*) 0 ;
21743 PyObject
*swig_obj
[1] ;
21745 if (!args
) SWIG_fail
;
21746 swig_obj
[0] = args
;
21747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21748 if (!SWIG_IsOK(res1
)) {
21749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21751 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21754 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21767 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21768 PyObject
*resultobj
= 0;
21769 wxDC
*arg1
= (wxDC
*) 0 ;
21773 PyObject
*swig_obj
[1] ;
21775 if (!args
) SWIG_fail
;
21776 swig_obj
[0] = args
;
21777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21778 if (!SWIG_IsOK(res1
)) {
21779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21781 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21784 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21785 wxPyEndAllowThreads(__tstate
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21797 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21798 PyObject
*resultobj
= 0;
21799 wxDC
*arg1
= (wxDC
*) 0 ;
21803 PyObject
*swig_obj
[1] ;
21805 if (!args
) SWIG_fail
;
21806 swig_obj
[0] = args
;
21807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21808 if (!SWIG_IsOK(res1
)) {
21809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21811 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21814 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21815 wxPyEndAllowThreads(__tstate
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21818 resultobj
= SWIG_From_int(static_cast< int >(result
));
21825 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21826 PyObject
*resultobj
= 0;
21827 wxDC
*arg1
= (wxDC
*) 0 ;
21831 PyObject
*swig_obj
[1] ;
21833 if (!args
) SWIG_fail
;
21834 swig_obj
[0] = args
;
21835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21836 if (!SWIG_IsOK(res1
)) {
21837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21839 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21842 result
= ((wxDC
const *)arg1
)->GetPPI();
21843 wxPyEndAllowThreads(__tstate
);
21844 if (PyErr_Occurred()) SWIG_fail
;
21846 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21853 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21854 PyObject
*resultobj
= 0;
21855 wxDC
*arg1
= (wxDC
*) 0 ;
21859 PyObject
*swig_obj
[1] ;
21861 if (!args
) SWIG_fail
;
21862 swig_obj
[0] = args
;
21863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21864 if (!SWIG_IsOK(res1
)) {
21865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21867 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21870 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21871 wxPyEndAllowThreads(__tstate
);
21872 if (PyErr_Occurred()) SWIG_fail
;
21875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21883 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21884 PyObject
*resultobj
= 0;
21885 wxDC
*arg1
= (wxDC
*) 0 ;
21889 PyObject
*swig_obj
[1] ;
21891 if (!args
) SWIG_fail
;
21892 swig_obj
[0] = args
;
21893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21894 if (!SWIG_IsOK(res1
)) {
21895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21897 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21900 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21901 wxPyEndAllowThreads(__tstate
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21904 resultobj
= SWIG_From_int(static_cast< int >(result
));
21911 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21912 PyObject
*resultobj
= 0;
21913 wxDC
*arg1
= (wxDC
*) 0 ;
21914 wxBrush
*result
= 0 ;
21917 PyObject
*swig_obj
[1] ;
21919 if (!args
) SWIG_fail
;
21920 swig_obj
[0] = args
;
21921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21922 if (!SWIG_IsOK(res1
)) {
21923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21925 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21929 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21930 result
= (wxBrush
*) &_result_ref
;
21932 wxPyEndAllowThreads(__tstate
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21936 wxBrush
* resultptr
= new wxBrush(*result
);
21937 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21945 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21946 PyObject
*resultobj
= 0;
21947 wxDC
*arg1
= (wxDC
*) 0 ;
21948 wxBrush
*result
= 0 ;
21951 PyObject
*swig_obj
[1] ;
21953 if (!args
) SWIG_fail
;
21954 swig_obj
[0] = args
;
21955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21956 if (!SWIG_IsOK(res1
)) {
21957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21959 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21963 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21964 result
= (wxBrush
*) &_result_ref
;
21966 wxPyEndAllowThreads(__tstate
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21970 wxBrush
* resultptr
= new wxBrush(*result
);
21971 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21979 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21980 PyObject
*resultobj
= 0;
21981 wxDC
*arg1
= (wxDC
*) 0 ;
21982 wxFont
*result
= 0 ;
21985 PyObject
*swig_obj
[1] ;
21987 if (!args
) SWIG_fail
;
21988 swig_obj
[0] = args
;
21989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21990 if (!SWIG_IsOK(res1
)) {
21991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21993 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21997 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21998 result
= (wxFont
*) &_result_ref
;
22000 wxPyEndAllowThreads(__tstate
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22004 wxFont
* resultptr
= new wxFont(*result
);
22005 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22013 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22014 PyObject
*resultobj
= 0;
22015 wxDC
*arg1
= (wxDC
*) 0 ;
22016 wxPen
*result
= 0 ;
22019 PyObject
*swig_obj
[1] ;
22021 if (!args
) SWIG_fail
;
22022 swig_obj
[0] = args
;
22023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22024 if (!SWIG_IsOK(res1
)) {
22025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22027 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22031 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22032 result
= (wxPen
*) &_result_ref
;
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22038 wxPen
* resultptr
= new wxPen(*result
);
22039 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22047 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22048 PyObject
*resultobj
= 0;
22049 wxDC
*arg1
= (wxDC
*) 0 ;
22050 wxColour
*result
= 0 ;
22053 PyObject
*swig_obj
[1] ;
22055 if (!args
) SWIG_fail
;
22056 swig_obj
[0] = args
;
22057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22058 if (!SWIG_IsOK(res1
)) {
22059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22061 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22065 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22066 result
= (wxColour
*) &_result_ref
;
22068 wxPyEndAllowThreads(__tstate
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22078 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22079 PyObject
*resultobj
= 0;
22080 wxDC
*arg1
= (wxDC
*) 0 ;
22081 wxColour
*result
= 0 ;
22084 PyObject
*swig_obj
[1] ;
22086 if (!args
) SWIG_fail
;
22087 swig_obj
[0] = args
;
22088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22089 if (!SWIG_IsOK(res1
)) {
22090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22092 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22096 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22097 result
= (wxColour
*) &_result_ref
;
22099 wxPyEndAllowThreads(__tstate
);
22100 if (PyErr_Occurred()) SWIG_fail
;
22102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22109 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
= 0;
22111 wxDC
*arg1
= (wxDC
*) 0 ;
22112 wxColour
*arg2
= 0 ;
22116 PyObject
* obj0
= 0 ;
22117 PyObject
* obj1
= 0 ;
22118 char * kwnames
[] = {
22119 (char *) "self",(char *) "colour", NULL
22122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22124 if (!SWIG_IsOK(res1
)) {
22125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22127 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22130 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22134 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22135 wxPyEndAllowThreads(__tstate
);
22136 if (PyErr_Occurred()) SWIG_fail
;
22138 resultobj
= SWIG_Py_Void();
22145 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22146 PyObject
*resultobj
= 0;
22147 wxDC
*arg1
= (wxDC
*) 0 ;
22148 wxColour
*arg2
= 0 ;
22152 PyObject
* obj0
= 0 ;
22153 PyObject
* obj1
= 0 ;
22154 char * kwnames
[] = {
22155 (char *) "self",(char *) "colour", NULL
22158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22160 if (!SWIG_IsOK(res1
)) {
22161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22163 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22166 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22171 wxPyEndAllowThreads(__tstate
);
22172 if (PyErr_Occurred()) SWIG_fail
;
22174 resultobj
= SWIG_Py_Void();
22181 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22182 PyObject
*resultobj
= 0;
22183 wxDC
*arg1
= (wxDC
*) 0 ;
22187 PyObject
*swig_obj
[1] ;
22189 if (!args
) SWIG_fail
;
22190 swig_obj
[0] = args
;
22191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22192 if (!SWIG_IsOK(res1
)) {
22193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22195 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22198 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22199 wxPyEndAllowThreads(__tstate
);
22200 if (PyErr_Occurred()) SWIG_fail
;
22202 resultobj
= SWIG_From_int(static_cast< int >(result
));
22209 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22210 PyObject
*resultobj
= 0;
22211 wxDC
*arg1
= (wxDC
*) 0 ;
22217 PyObject
* obj0
= 0 ;
22218 PyObject
* obj1
= 0 ;
22219 char * kwnames
[] = {
22220 (char *) "self",(char *) "mode", NULL
22223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22225 if (!SWIG_IsOK(res1
)) {
22226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22228 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22230 if (!SWIG_IsOK(ecode2
)) {
22231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22233 arg2
= static_cast< int >(val2
);
22235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22236 (arg1
)->SetMapMode(arg2
);
22237 wxPyEndAllowThreads(__tstate
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22240 resultobj
= SWIG_Py_Void();
22247 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22248 PyObject
*resultobj
= 0;
22249 wxDC
*arg1
= (wxDC
*) 0 ;
22250 double *arg2
= (double *) 0 ;
22251 double *arg3
= (double *) 0 ;
22255 int res2
= SWIG_TMPOBJ
;
22257 int res3
= SWIG_TMPOBJ
;
22258 PyObject
*swig_obj
[1] ;
22262 if (!args
) SWIG_fail
;
22263 swig_obj
[0] = args
;
22264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22265 if (!SWIG_IsOK(res1
)) {
22266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22268 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22271 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22272 wxPyEndAllowThreads(__tstate
);
22273 if (PyErr_Occurred()) SWIG_fail
;
22275 resultobj
= SWIG_Py_Void();
22276 if (SWIG_IsTmpObj(res2
)) {
22277 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22279 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22280 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22282 if (SWIG_IsTmpObj(res3
)) {
22283 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22285 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22286 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22294 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22295 PyObject
*resultobj
= 0;
22296 wxDC
*arg1
= (wxDC
*) 0 ;
22305 PyObject
* obj0
= 0 ;
22306 PyObject
* obj1
= 0 ;
22307 PyObject
* obj2
= 0 ;
22308 char * kwnames
[] = {
22309 (char *) "self",(char *) "x",(char *) "y", NULL
22312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22314 if (!SWIG_IsOK(res1
)) {
22315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22317 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22318 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22319 if (!SWIG_IsOK(ecode2
)) {
22320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22322 arg2
= static_cast< double >(val2
);
22323 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22324 if (!SWIG_IsOK(ecode3
)) {
22325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22327 arg3
= static_cast< double >(val3
);
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22330 (arg1
)->SetUserScale(arg2
,arg3
);
22331 wxPyEndAllowThreads(__tstate
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22334 resultobj
= SWIG_Py_Void();
22341 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22342 PyObject
*resultobj
= 0;
22343 wxDC
*arg1
= (wxDC
*) 0 ;
22344 double *arg2
= (double *) 0 ;
22345 double *arg3
= (double *) 0 ;
22349 int res2
= SWIG_TMPOBJ
;
22351 int res3
= SWIG_TMPOBJ
;
22352 PyObject
*swig_obj
[1] ;
22356 if (!args
) SWIG_fail
;
22357 swig_obj
[0] = args
;
22358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22359 if (!SWIG_IsOK(res1
)) {
22360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22362 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22365 (arg1
)->GetLogicalScale(arg2
,arg3
);
22366 wxPyEndAllowThreads(__tstate
);
22367 if (PyErr_Occurred()) SWIG_fail
;
22369 resultobj
= SWIG_Py_Void();
22370 if (SWIG_IsTmpObj(res2
)) {
22371 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22373 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22374 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22376 if (SWIG_IsTmpObj(res3
)) {
22377 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22379 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22380 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22388 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22389 PyObject
*resultobj
= 0;
22390 wxDC
*arg1
= (wxDC
*) 0 ;
22399 PyObject
* obj0
= 0 ;
22400 PyObject
* obj1
= 0 ;
22401 PyObject
* obj2
= 0 ;
22402 char * kwnames
[] = {
22403 (char *) "self",(char *) "x",(char *) "y", NULL
22406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22408 if (!SWIG_IsOK(res1
)) {
22409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22411 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22412 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22413 if (!SWIG_IsOK(ecode2
)) {
22414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22416 arg2
= static_cast< double >(val2
);
22417 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22418 if (!SWIG_IsOK(ecode3
)) {
22419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22421 arg3
= static_cast< double >(val3
);
22423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22424 (arg1
)->SetLogicalScale(arg2
,arg3
);
22425 wxPyEndAllowThreads(__tstate
);
22426 if (PyErr_Occurred()) SWIG_fail
;
22428 resultobj
= SWIG_Py_Void();
22435 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22436 PyObject
*resultobj
= 0;
22437 wxDC
*arg1
= (wxDC
*) 0 ;
22441 PyObject
*swig_obj
[1] ;
22443 if (!args
) SWIG_fail
;
22444 swig_obj
[0] = args
;
22445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22446 if (!SWIG_IsOK(res1
)) {
22447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22449 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22452 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22453 wxPyEndAllowThreads(__tstate
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22456 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22463 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22464 PyObject
*resultobj
= 0;
22465 wxDC
*arg1
= (wxDC
*) 0 ;
22466 int *arg2
= (int *) 0 ;
22467 int *arg3
= (int *) 0 ;
22471 int res2
= SWIG_TMPOBJ
;
22473 int res3
= SWIG_TMPOBJ
;
22474 PyObject
*swig_obj
[1] ;
22478 if (!args
) SWIG_fail
;
22479 swig_obj
[0] = args
;
22480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22481 if (!SWIG_IsOK(res1
)) {
22482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22484 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22487 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22488 wxPyEndAllowThreads(__tstate
);
22489 if (PyErr_Occurred()) SWIG_fail
;
22491 resultobj
= SWIG_Py_Void();
22492 if (SWIG_IsTmpObj(res2
)) {
22493 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22495 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22496 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22498 if (SWIG_IsTmpObj(res3
)) {
22499 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22501 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22502 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22510 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22511 PyObject
*resultobj
= 0;
22512 wxDC
*arg1
= (wxDC
*) 0 ;
22521 PyObject
* obj0
= 0 ;
22522 PyObject
* obj1
= 0 ;
22523 PyObject
* obj2
= 0 ;
22524 char * kwnames
[] = {
22525 (char *) "self",(char *) "x",(char *) "y", NULL
22528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22530 if (!SWIG_IsOK(res1
)) {
22531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22533 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22535 if (!SWIG_IsOK(ecode2
)) {
22536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22538 arg2
= static_cast< int >(val2
);
22539 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22540 if (!SWIG_IsOK(ecode3
)) {
22541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22543 arg3
= static_cast< int >(val3
);
22545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22546 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22547 wxPyEndAllowThreads(__tstate
);
22548 if (PyErr_Occurred()) SWIG_fail
;
22550 resultobj
= SWIG_Py_Void();
22557 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22558 PyObject
*resultobj
= 0;
22559 wxDC
*arg1
= (wxDC
*) 0 ;
22560 wxPoint
*arg2
= 0 ;
22564 PyObject
* obj0
= 0 ;
22565 PyObject
* obj1
= 0 ;
22566 char * kwnames
[] = {
22567 (char *) "self",(char *) "point", NULL
22570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22572 if (!SWIG_IsOK(res1
)) {
22573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22575 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22578 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22582 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22583 wxPyEndAllowThreads(__tstate
);
22584 if (PyErr_Occurred()) SWIG_fail
;
22586 resultobj
= SWIG_Py_Void();
22593 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22594 PyObject
*resultobj
= 0;
22595 wxDC
*arg1
= (wxDC
*) 0 ;
22599 PyObject
*swig_obj
[1] ;
22601 if (!args
) SWIG_fail
;
22602 swig_obj
[0] = args
;
22603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22604 if (!SWIG_IsOK(res1
)) {
22605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22607 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22610 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22611 wxPyEndAllowThreads(__tstate
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22614 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22621 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22622 PyObject
*resultobj
= 0;
22623 wxDC
*arg1
= (wxDC
*) 0 ;
22624 int *arg2
= (int *) 0 ;
22625 int *arg3
= (int *) 0 ;
22629 int res2
= SWIG_TMPOBJ
;
22631 int res3
= SWIG_TMPOBJ
;
22632 PyObject
*swig_obj
[1] ;
22636 if (!args
) SWIG_fail
;
22637 swig_obj
[0] = args
;
22638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22639 if (!SWIG_IsOK(res1
)) {
22640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22642 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22645 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22646 wxPyEndAllowThreads(__tstate
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22649 resultobj
= SWIG_Py_Void();
22650 if (SWIG_IsTmpObj(res2
)) {
22651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22653 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22656 if (SWIG_IsTmpObj(res3
)) {
22657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22659 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22668 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22669 PyObject
*resultobj
= 0;
22670 wxDC
*arg1
= (wxDC
*) 0 ;
22679 PyObject
* obj0
= 0 ;
22680 PyObject
* obj1
= 0 ;
22681 PyObject
* obj2
= 0 ;
22682 char * kwnames
[] = {
22683 (char *) "self",(char *) "x",(char *) "y", NULL
22686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22688 if (!SWIG_IsOK(res1
)) {
22689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22691 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22693 if (!SWIG_IsOK(ecode2
)) {
22694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22696 arg2
= static_cast< int >(val2
);
22697 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22698 if (!SWIG_IsOK(ecode3
)) {
22699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22701 arg3
= static_cast< int >(val3
);
22703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22704 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22705 wxPyEndAllowThreads(__tstate
);
22706 if (PyErr_Occurred()) SWIG_fail
;
22708 resultobj
= SWIG_Py_Void();
22715 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22716 PyObject
*resultobj
= 0;
22717 wxDC
*arg1
= (wxDC
*) 0 ;
22718 wxPoint
*arg2
= 0 ;
22722 PyObject
* obj0
= 0 ;
22723 PyObject
* obj1
= 0 ;
22724 char * kwnames
[] = {
22725 (char *) "self",(char *) "point", NULL
22728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22730 if (!SWIG_IsOK(res1
)) {
22731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22733 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22736 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22741 wxPyEndAllowThreads(__tstate
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22744 resultobj
= SWIG_Py_Void();
22751 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22752 PyObject
*resultobj
= 0;
22753 wxDC
*arg1
= (wxDC
*) 0 ;
22762 PyObject
* obj0
= 0 ;
22763 PyObject
* obj1
= 0 ;
22764 PyObject
* obj2
= 0 ;
22765 char * kwnames
[] = {
22766 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22771 if (!SWIG_IsOK(res1
)) {
22772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22774 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22775 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22776 if (!SWIG_IsOK(ecode2
)) {
22777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22779 arg2
= static_cast< bool >(val2
);
22780 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22781 if (!SWIG_IsOK(ecode3
)) {
22782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22784 arg3
= static_cast< bool >(val3
);
22786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22787 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22788 wxPyEndAllowThreads(__tstate
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22791 resultobj
= SWIG_Py_Void();
22798 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22799 PyObject
*resultobj
= 0;
22800 wxDC
*arg1
= (wxDC
*) 0 ;
22804 PyObject
*swig_obj
[1] ;
22806 if (!args
) SWIG_fail
;
22807 swig_obj
[0] = args
;
22808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22809 if (!SWIG_IsOK(res1
)) {
22810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22812 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22815 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22816 wxPyEndAllowThreads(__tstate
);
22817 if (PyErr_Occurred()) SWIG_fail
;
22819 resultobj
= SWIG_From_int(static_cast< int >(result
));
22826 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22827 PyObject
*resultobj
= 0;
22828 wxDC
*arg1
= (wxDC
*) 0 ;
22834 PyObject
* obj0
= 0 ;
22835 PyObject
* obj1
= 0 ;
22836 char * kwnames
[] = {
22837 (char *) "self",(char *) "function", NULL
22840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22842 if (!SWIG_IsOK(res1
)) {
22843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22845 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22847 if (!SWIG_IsOK(ecode2
)) {
22848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22850 arg2
= static_cast< int >(val2
);
22852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22853 (arg1
)->SetLogicalFunction(arg2
);
22854 wxPyEndAllowThreads(__tstate
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22857 resultobj
= SWIG_Py_Void();
22864 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22865 PyObject
*resultobj
= 0;
22866 wxDC
*arg1
= (wxDC
*) 0 ;
22869 PyObject
*swig_obj
[1] ;
22871 if (!args
) SWIG_fail
;
22872 swig_obj
[0] = args
;
22873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22874 if (!SWIG_IsOK(res1
)) {
22875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22877 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 (arg1
)->ComputeScaleAndOrigin();
22881 wxPyEndAllowThreads(__tstate
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22884 resultobj
= SWIG_Py_Void();
22891 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22892 PyObject
*resultobj
= 0;
22893 wxDC
*arg1
= (wxDC
*) 0 ;
22902 PyObject
* obj0
= 0 ;
22903 PyObject
* obj1
= 0 ;
22904 PyObject
* obj2
= 0 ;
22905 char * kwnames
[] = {
22906 (char *) "self",(char *) "x",(char *) "y", NULL
22909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22911 if (!SWIG_IsOK(res1
)) {
22912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22914 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22916 if (!SWIG_IsOK(ecode2
)) {
22917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22919 arg2
= static_cast< int >(val2
);
22920 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22921 if (!SWIG_IsOK(ecode3
)) {
22922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22924 arg3
= static_cast< int >(val3
);
22926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22927 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22928 wxPyEndAllowThreads(__tstate
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22931 resultobj
= SWIG_Py_Void();
22938 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22939 PyObject
*resultobj
= 0;
22940 wxDC
*arg1
= (wxDC
*) 0 ;
22941 wxPoint
*arg2
= 0 ;
22945 PyObject
* obj0
= 0 ;
22946 PyObject
* obj1
= 0 ;
22947 char * kwnames
[] = {
22948 (char *) "self",(char *) "point", NULL
22951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22953 if (!SWIG_IsOK(res1
)) {
22954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22956 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22959 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22963 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22964 wxPyEndAllowThreads(__tstate
);
22965 if (PyErr_Occurred()) SWIG_fail
;
22967 resultobj
= SWIG_Py_Void();
22974 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22975 PyObject
*resultobj
= 0;
22976 wxDC
*arg1
= (wxDC
*) 0 ;
22979 PyObject
*swig_obj
[1] ;
22981 if (!args
) SWIG_fail
;
22982 swig_obj
[0] = args
;
22983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22984 if (!SWIG_IsOK(res1
)) {
22985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22987 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22990 (arg1
)->ResetBoundingBox();
22991 wxPyEndAllowThreads(__tstate
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22994 resultobj
= SWIG_Py_Void();
23001 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23002 PyObject
*resultobj
= 0;
23003 wxDC
*arg1
= (wxDC
*) 0 ;
23007 PyObject
*swig_obj
[1] ;
23009 if (!args
) SWIG_fail
;
23010 swig_obj
[0] = args
;
23011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23012 if (!SWIG_IsOK(res1
)) {
23013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23015 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23018 result
= (int)((wxDC
const *)arg1
)->MinX();
23019 wxPyEndAllowThreads(__tstate
);
23020 if (PyErr_Occurred()) SWIG_fail
;
23022 resultobj
= SWIG_From_int(static_cast< int >(result
));
23029 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23030 PyObject
*resultobj
= 0;
23031 wxDC
*arg1
= (wxDC
*) 0 ;
23035 PyObject
*swig_obj
[1] ;
23037 if (!args
) SWIG_fail
;
23038 swig_obj
[0] = args
;
23039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23040 if (!SWIG_IsOK(res1
)) {
23041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23043 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23046 result
= (int)((wxDC
const *)arg1
)->MaxX();
23047 wxPyEndAllowThreads(__tstate
);
23048 if (PyErr_Occurred()) SWIG_fail
;
23050 resultobj
= SWIG_From_int(static_cast< int >(result
));
23057 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23058 PyObject
*resultobj
= 0;
23059 wxDC
*arg1
= (wxDC
*) 0 ;
23063 PyObject
*swig_obj
[1] ;
23065 if (!args
) SWIG_fail
;
23066 swig_obj
[0] = args
;
23067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23068 if (!SWIG_IsOK(res1
)) {
23069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23071 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23074 result
= (int)((wxDC
const *)arg1
)->MinY();
23075 wxPyEndAllowThreads(__tstate
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23078 resultobj
= SWIG_From_int(static_cast< int >(result
));
23085 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23086 PyObject
*resultobj
= 0;
23087 wxDC
*arg1
= (wxDC
*) 0 ;
23091 PyObject
*swig_obj
[1] ;
23093 if (!args
) SWIG_fail
;
23094 swig_obj
[0] = args
;
23095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23096 if (!SWIG_IsOK(res1
)) {
23097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23099 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23102 result
= (int)((wxDC
const *)arg1
)->MaxY();
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23106 resultobj
= SWIG_From_int(static_cast< int >(result
));
23113 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23114 PyObject
*resultobj
= 0;
23115 wxDC
*arg1
= (wxDC
*) 0 ;
23116 int *arg2
= (int *) 0 ;
23117 int *arg3
= (int *) 0 ;
23118 int *arg4
= (int *) 0 ;
23119 int *arg5
= (int *) 0 ;
23123 int res2
= SWIG_TMPOBJ
;
23125 int res3
= SWIG_TMPOBJ
;
23127 int res4
= SWIG_TMPOBJ
;
23129 int res5
= SWIG_TMPOBJ
;
23130 PyObject
*swig_obj
[1] ;
23136 if (!args
) SWIG_fail
;
23137 swig_obj
[0] = args
;
23138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23139 if (!SWIG_IsOK(res1
)) {
23140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23142 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23149 resultobj
= SWIG_Py_Void();
23150 if (SWIG_IsTmpObj(res2
)) {
23151 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23153 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23154 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23156 if (SWIG_IsTmpObj(res3
)) {
23157 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23159 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23160 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23162 if (SWIG_IsTmpObj(res4
)) {
23163 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23165 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23166 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23168 if (SWIG_IsTmpObj(res5
)) {
23169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23171 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23180 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23181 PyObject
*resultobj
= 0;
23182 wxDC
*arg1
= (wxDC
*) 0 ;
23183 wxLayoutDirection result
;
23186 PyObject
*swig_obj
[1] ;
23188 if (!args
) SWIG_fail
;
23189 swig_obj
[0] = args
;
23190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23191 if (!SWIG_IsOK(res1
)) {
23192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23194 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23197 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23198 wxPyEndAllowThreads(__tstate
);
23199 if (PyErr_Occurred()) SWIG_fail
;
23201 resultobj
= SWIG_From_int(static_cast< int >(result
));
23208 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23209 PyObject
*resultobj
= 0;
23210 wxDC
*arg1
= (wxDC
*) 0 ;
23211 wxLayoutDirection arg2
;
23216 PyObject
* obj0
= 0 ;
23217 PyObject
* obj1
= 0 ;
23218 char * kwnames
[] = {
23219 (char *) "self",(char *) "dir", NULL
23222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23224 if (!SWIG_IsOK(res1
)) {
23225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23227 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23229 if (!SWIG_IsOK(ecode2
)) {
23230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23232 arg2
= static_cast< wxLayoutDirection
>(val2
);
23234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23235 (arg1
)->SetLayoutDirection(arg2
);
23236 wxPyEndAllowThreads(__tstate
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23239 resultobj
= SWIG_Py_Void();
23246 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23247 PyObject
*resultobj
= 0;
23248 wxDC
*arg1
= (wxDC
*) 0 ;
23249 PyObject
*arg2
= (PyObject
*) 0 ;
23250 PyObject
*arg3
= (PyObject
*) 0 ;
23251 PyObject
*arg4
= (PyObject
*) 0 ;
23252 PyObject
*result
= 0 ;
23255 PyObject
* obj0
= 0 ;
23256 PyObject
* obj1
= 0 ;
23257 PyObject
* obj2
= 0 ;
23258 PyObject
* obj3
= 0 ;
23259 char * kwnames
[] = {
23260 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23265 if (!SWIG_IsOK(res1
)) {
23266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23268 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23274 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23275 wxPyEndAllowThreads(__tstate
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23278 resultobj
= result
;
23285 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23286 PyObject
*resultobj
= 0;
23287 wxDC
*arg1
= (wxDC
*) 0 ;
23288 PyObject
*arg2
= (PyObject
*) 0 ;
23289 PyObject
*arg3
= (PyObject
*) 0 ;
23290 PyObject
*arg4
= (PyObject
*) 0 ;
23291 PyObject
*result
= 0 ;
23294 PyObject
* obj0
= 0 ;
23295 PyObject
* obj1
= 0 ;
23296 PyObject
* obj2
= 0 ;
23297 PyObject
* obj3
= 0 ;
23298 char * kwnames
[] = {
23299 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23304 if (!SWIG_IsOK(res1
)) {
23305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23307 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23313 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23314 wxPyEndAllowThreads(__tstate
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23317 resultobj
= result
;
23324 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23325 PyObject
*resultobj
= 0;
23326 wxDC
*arg1
= (wxDC
*) 0 ;
23327 PyObject
*arg2
= (PyObject
*) 0 ;
23328 PyObject
*arg3
= (PyObject
*) 0 ;
23329 PyObject
*arg4
= (PyObject
*) 0 ;
23330 PyObject
*result
= 0 ;
23333 PyObject
* obj0
= 0 ;
23334 PyObject
* obj1
= 0 ;
23335 PyObject
* obj2
= 0 ;
23336 PyObject
* obj3
= 0 ;
23337 char * kwnames
[] = {
23338 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23343 if (!SWIG_IsOK(res1
)) {
23344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23346 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23352 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23353 wxPyEndAllowThreads(__tstate
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23356 resultobj
= result
;
23363 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23364 PyObject
*resultobj
= 0;
23365 wxDC
*arg1
= (wxDC
*) 0 ;
23366 PyObject
*arg2
= (PyObject
*) 0 ;
23367 PyObject
*arg3
= (PyObject
*) 0 ;
23368 PyObject
*arg4
= (PyObject
*) 0 ;
23369 PyObject
*result
= 0 ;
23372 PyObject
* obj0
= 0 ;
23373 PyObject
* obj1
= 0 ;
23374 PyObject
* obj2
= 0 ;
23375 PyObject
* obj3
= 0 ;
23376 char * kwnames
[] = {
23377 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23382 if (!SWIG_IsOK(res1
)) {
23383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23385 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23391 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23395 resultobj
= result
;
23402 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23403 PyObject
*resultobj
= 0;
23404 wxDC
*arg1
= (wxDC
*) 0 ;
23405 PyObject
*arg2
= (PyObject
*) 0 ;
23406 PyObject
*arg3
= (PyObject
*) 0 ;
23407 PyObject
*arg4
= (PyObject
*) 0 ;
23408 PyObject
*result
= 0 ;
23411 PyObject
* obj0
= 0 ;
23412 PyObject
* obj1
= 0 ;
23413 PyObject
* obj2
= 0 ;
23414 PyObject
* obj3
= 0 ;
23415 char * kwnames
[] = {
23416 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23421 if (!SWIG_IsOK(res1
)) {
23422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23424 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23430 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23431 wxPyEndAllowThreads(__tstate
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23434 resultobj
= result
;
23441 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23442 PyObject
*resultobj
= 0;
23443 wxDC
*arg1
= (wxDC
*) 0 ;
23444 PyObject
*arg2
= (PyObject
*) 0 ;
23445 PyObject
*arg3
= (PyObject
*) 0 ;
23446 PyObject
*arg4
= (PyObject
*) 0 ;
23447 PyObject
*arg5
= (PyObject
*) 0 ;
23448 PyObject
*result
= 0 ;
23451 PyObject
* obj0
= 0 ;
23452 PyObject
* obj1
= 0 ;
23453 PyObject
* obj2
= 0 ;
23454 PyObject
* obj3
= 0 ;
23455 PyObject
* obj4
= 0 ;
23456 char * kwnames
[] = {
23457 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23462 if (!SWIG_IsOK(res1
)) {
23463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23465 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23472 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23473 wxPyEndAllowThreads(__tstate
);
23474 if (PyErr_Occurred()) SWIG_fail
;
23476 resultobj
= result
;
23483 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23485 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23486 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23487 return SWIG_Py_Void();
23490 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23491 PyObject
*resultobj
= 0;
23493 wxColour
*arg2
= 0 ;
23494 wxDCTextColourChanger
*result
= 0 ;
23498 PyObject
* obj0
= 0 ;
23499 PyObject
* obj1
= 0 ;
23500 char * kwnames
[] = {
23501 (char *) "dc",(char *) "col", NULL
23504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23505 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23506 if (!SWIG_IsOK(res1
)) {
23507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23512 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23515 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23519 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23530 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23531 PyObject
*resultobj
= 0;
23532 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23535 PyObject
*swig_obj
[1] ;
23537 if (!args
) SWIG_fail
;
23538 swig_obj
[0] = args
;
23539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23540 if (!SWIG_IsOK(res1
)) {
23541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23543 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23548 wxPyEndAllowThreads(__tstate
);
23549 if (PyErr_Occurred()) SWIG_fail
;
23551 resultobj
= SWIG_Py_Void();
23558 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23560 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23561 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23562 return SWIG_Py_Void();
23565 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23566 return SWIG_Python_InitShadowInstance(args
);
23569 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23570 PyObject
*resultobj
= 0;
23573 wxDCPenChanger
*result
= 0 ;
23578 PyObject
* obj0
= 0 ;
23579 PyObject
* obj1
= 0 ;
23580 char * kwnames
[] = {
23581 (char *) "dc",(char *) "pen", NULL
23584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23585 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23586 if (!SWIG_IsOK(res1
)) {
23587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23592 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23593 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23594 if (!SWIG_IsOK(res2
)) {
23595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23600 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23603 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23604 wxPyEndAllowThreads(__tstate
);
23605 if (PyErr_Occurred()) SWIG_fail
;
23607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23614 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23615 PyObject
*resultobj
= 0;
23616 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23619 PyObject
*swig_obj
[1] ;
23621 if (!args
) SWIG_fail
;
23622 swig_obj
[0] = args
;
23623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23624 if (!SWIG_IsOK(res1
)) {
23625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23627 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23632 wxPyEndAllowThreads(__tstate
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23635 resultobj
= SWIG_Py_Void();
23642 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23644 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23645 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23646 return SWIG_Py_Void();
23649 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23650 return SWIG_Python_InitShadowInstance(args
);
23653 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23654 PyObject
*resultobj
= 0;
23656 wxBrush
*arg2
= 0 ;
23657 wxDCBrushChanger
*result
= 0 ;
23662 PyObject
* obj0
= 0 ;
23663 PyObject
* obj1
= 0 ;
23664 char * kwnames
[] = {
23665 (char *) "dc",(char *) "brush", NULL
23668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23669 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23670 if (!SWIG_IsOK(res1
)) {
23671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23676 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23677 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23678 if (!SWIG_IsOK(res2
)) {
23679 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23682 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23684 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23687 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23688 wxPyEndAllowThreads(__tstate
);
23689 if (PyErr_Occurred()) SWIG_fail
;
23691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23698 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23699 PyObject
*resultobj
= 0;
23700 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23703 PyObject
*swig_obj
[1] ;
23705 if (!args
) SWIG_fail
;
23706 swig_obj
[0] = args
;
23707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23708 if (!SWIG_IsOK(res1
)) {
23709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23711 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 wxPyEndAllowThreads(__tstate
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23719 resultobj
= SWIG_Py_Void();
23726 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23729 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23730 return SWIG_Py_Void();
23733 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23734 return SWIG_Python_InitShadowInstance(args
);
23737 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23738 PyObject
*resultobj
= 0;
23740 wxRegion
*arg2
= 0 ;
23741 wxDCClipper
*result
= 0 ;
23747 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23749 if (!SWIG_IsOK(res1
)) {
23750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23755 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23756 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23757 if (!SWIG_IsOK(res2
)) {
23758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23763 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23766 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23767 wxPyEndAllowThreads(__tstate
);
23768 if (PyErr_Occurred()) SWIG_fail
;
23770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23777 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23778 PyObject
*resultobj
= 0;
23781 wxDCClipper
*result
= 0 ;
23786 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23788 if (!SWIG_IsOK(res1
)) {
23789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23792 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23794 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23797 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23801 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23812 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23813 PyObject
*resultobj
= 0;
23819 wxDCClipper
*result
= 0 ;
23831 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23833 if (!SWIG_IsOK(res1
)) {
23834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23839 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23840 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23841 if (!SWIG_IsOK(ecode2
)) {
23842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23844 arg2
= static_cast< int >(val2
);
23845 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23846 if (!SWIG_IsOK(ecode3
)) {
23847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23849 arg3
= static_cast< int >(val3
);
23850 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23851 if (!SWIG_IsOK(ecode4
)) {
23852 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23854 arg4
= static_cast< int >(val4
);
23855 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23856 if (!SWIG_IsOK(ecode5
)) {
23857 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23859 arg5
= static_cast< int >(val5
);
23861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23862 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23863 wxPyEndAllowThreads(__tstate
);
23864 if (PyErr_Occurred()) SWIG_fail
;
23866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23873 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23877 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23882 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23883 _v
= SWIG_CheckState(res
);
23885 if (!_v
) goto check_1
;
23886 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23891 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23894 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23898 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23903 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23904 PyObject
*resultobj
= 0;
23905 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23908 PyObject
*swig_obj
[1] ;
23910 if (!args
) SWIG_fail
;
23911 swig_obj
[0] = args
;
23912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23913 if (!SWIG_IsOK(res1
)) {
23914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23916 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23921 wxPyEndAllowThreads(__tstate
);
23922 if (PyErr_Occurred()) SWIG_fail
;
23924 resultobj
= SWIG_Py_Void();
23931 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23933 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23934 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23935 return SWIG_Py_Void();
23938 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23939 return SWIG_Python_InitShadowInstance(args
);
23942 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23943 PyObject
*resultobj
= 0;
23944 wxScreenDC
*result
= 0 ;
23946 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23948 if (!wxPyCheckForApp()) SWIG_fail
;
23949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23950 result
= (wxScreenDC
*)new wxScreenDC();
23951 wxPyEndAllowThreads(__tstate
);
23952 if (PyErr_Occurred()) SWIG_fail
;
23954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23961 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23962 PyObject
*resultobj
= 0;
23963 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23964 wxWindow
*arg2
= (wxWindow
*) 0 ;
23970 PyObject
* obj0
= 0 ;
23971 PyObject
* obj1
= 0 ;
23972 char * kwnames
[] = {
23973 (char *) "self",(char *) "window", NULL
23976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23978 if (!SWIG_IsOK(res1
)) {
23979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23981 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23982 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23983 if (!SWIG_IsOK(res2
)) {
23984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23986 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23989 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23990 wxPyEndAllowThreads(__tstate
);
23991 if (PyErr_Occurred()) SWIG_fail
;
23994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24002 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24003 PyObject
*resultobj
= 0;
24004 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24005 wxRect
*arg2
= (wxRect
*) NULL
;
24011 PyObject
* obj0
= 0 ;
24012 PyObject
* obj1
= 0 ;
24013 char * kwnames
[] = {
24014 (char *) "self",(char *) "rect", NULL
24017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24019 if (!SWIG_IsOK(res1
)) {
24020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24022 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24024 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24025 if (!SWIG_IsOK(res2
)) {
24026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24028 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24032 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24033 wxPyEndAllowThreads(__tstate
);
24034 if (PyErr_Occurred()) SWIG_fail
;
24037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24045 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24046 PyObject
*resultobj
= 0;
24047 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24051 PyObject
*swig_obj
[1] ;
24053 if (!args
) SWIG_fail
;
24054 swig_obj
[0] = args
;
24055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24056 if (!SWIG_IsOK(res1
)) {
24057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24059 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24062 result
= (bool)(arg1
)->EndDrawingOnTop();
24063 wxPyEndAllowThreads(__tstate
);
24064 if (PyErr_Occurred()) SWIG_fail
;
24067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24075 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24077 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24078 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24079 return SWIG_Py_Void();
24082 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24083 return SWIG_Python_InitShadowInstance(args
);
24086 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24087 PyObject
*resultobj
= 0;
24088 wxWindow
*arg1
= (wxWindow
*) 0 ;
24089 wxWindowDC
*result
= 0 ;
24092 PyObject
* obj0
= 0 ;
24093 char * kwnames
[] = {
24094 (char *) "win", NULL
24097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24099 if (!SWIG_IsOK(res1
)) {
24100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24102 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24104 if (!wxPyCheckForApp()) SWIG_fail
;
24105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24106 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24107 wxPyEndAllowThreads(__tstate
);
24108 if (PyErr_Occurred()) SWIG_fail
;
24110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24117 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24119 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24120 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24121 return SWIG_Py_Void();
24124 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24125 return SWIG_Python_InitShadowInstance(args
);
24128 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24129 PyObject
*resultobj
= 0;
24130 wxWindow
*arg1
= (wxWindow
*) 0 ;
24131 wxClientDC
*result
= 0 ;
24134 PyObject
* obj0
= 0 ;
24135 char * kwnames
[] = {
24136 (char *) "win", NULL
24139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24141 if (!SWIG_IsOK(res1
)) {
24142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24144 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24146 if (!wxPyCheckForApp()) SWIG_fail
;
24147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24148 result
= (wxClientDC
*)new wxClientDC(arg1
);
24149 wxPyEndAllowThreads(__tstate
);
24150 if (PyErr_Occurred()) SWIG_fail
;
24152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24159 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24161 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24162 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24163 return SWIG_Py_Void();
24166 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24167 return SWIG_Python_InitShadowInstance(args
);
24170 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24171 PyObject
*resultobj
= 0;
24172 wxWindow
*arg1
= (wxWindow
*) 0 ;
24173 wxPaintDC
*result
= 0 ;
24176 PyObject
* obj0
= 0 ;
24177 char * kwnames
[] = {
24178 (char *) "win", NULL
24181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24183 if (!SWIG_IsOK(res1
)) {
24184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24186 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24188 if (!wxPyCheckForApp()) SWIG_fail
;
24189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24190 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24191 wxPyEndAllowThreads(__tstate
);
24192 if (PyErr_Occurred()) SWIG_fail
;
24194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24201 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24203 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24204 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24205 return SWIG_Py_Void();
24208 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24209 return SWIG_Python_InitShadowInstance(args
);
24212 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24213 PyObject
*resultobj
= 0;
24214 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24215 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24216 wxMemoryDC
*result
= 0 ;
24219 PyObject
* obj0
= 0 ;
24220 char * kwnames
[] = {
24221 (char *) "bitmap", NULL
24224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24226 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24227 if (!SWIG_IsOK(res1
)) {
24228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24233 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24236 if (!wxPyCheckForApp()) SWIG_fail
;
24237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24238 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24239 wxPyEndAllowThreads(__tstate
);
24240 if (PyErr_Occurred()) SWIG_fail
;
24242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24249 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24250 PyObject
*resultobj
= 0;
24251 wxDC
*arg1
= (wxDC
*) 0 ;
24252 wxMemoryDC
*result
= 0 ;
24255 PyObject
* obj0
= 0 ;
24256 char * kwnames
[] = {
24257 (char *) "oldDC", NULL
24260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24262 if (!SWIG_IsOK(res1
)) {
24263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24265 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24267 if (!wxPyCheckForApp()) SWIG_fail
;
24268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24269 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24270 wxPyEndAllowThreads(__tstate
);
24271 if (PyErr_Occurred()) SWIG_fail
;
24273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24280 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24281 PyObject
*resultobj
= 0;
24282 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24283 wxBitmap
*arg2
= 0 ;
24288 PyObject
* obj0
= 0 ;
24289 PyObject
* obj1
= 0 ;
24290 char * kwnames
[] = {
24291 (char *) "self",(char *) "bitmap", NULL
24294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24296 if (!SWIG_IsOK(res1
)) {
24297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24299 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24300 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24301 if (!SWIG_IsOK(res2
)) {
24302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24307 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24310 (arg1
)->SelectObject(*arg2
);
24311 wxPyEndAllowThreads(__tstate
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24314 resultobj
= SWIG_Py_Void();
24321 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24322 PyObject
*resultobj
= 0;
24323 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24324 wxBitmap
*arg2
= 0 ;
24329 PyObject
* obj0
= 0 ;
24330 PyObject
* obj1
= 0 ;
24331 char * kwnames
[] = {
24332 (char *) "self",(char *) "bmp", NULL
24335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24337 if (!SWIG_IsOK(res1
)) {
24338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24340 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24341 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24342 if (!SWIG_IsOK(res2
)) {
24343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24348 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24351 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24352 wxPyEndAllowThreads(__tstate
);
24353 if (PyErr_Occurred()) SWIG_fail
;
24355 resultobj
= SWIG_Py_Void();
24362 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24364 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24365 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24366 return SWIG_Py_Void();
24369 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24370 return SWIG_Python_InitShadowInstance(args
);
24373 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24374 PyObject
*resultobj
= 0;
24375 wxDC
*arg1
= (wxDC
*) 0 ;
24376 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24377 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24378 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24379 wxBufferedDC
*result
= 0 ;
24387 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24389 if (!SWIG_IsOK(res1
)) {
24390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24392 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24394 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24395 if (!SWIG_IsOK(res2
)) {
24396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24401 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24404 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24405 if (!SWIG_IsOK(ecode3
)) {
24406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24408 arg3
= static_cast< int >(val3
);
24411 if (!wxPyCheckForApp()) SWIG_fail
;
24412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24413 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24414 wxPyEndAllowThreads(__tstate
);
24415 if (PyErr_Occurred()) SWIG_fail
;
24417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24424 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24425 PyObject
*resultobj
= 0;
24426 wxDC
*arg1
= (wxDC
*) 0 ;
24428 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24429 wxBufferedDC
*result
= 0 ;
24436 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24438 if (!SWIG_IsOK(res1
)) {
24439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24441 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24444 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24447 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24448 if (!SWIG_IsOK(ecode3
)) {
24449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24451 arg3
= static_cast< int >(val3
);
24454 if (!wxPyCheckForApp()) SWIG_fail
;
24455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24456 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24457 wxPyEndAllowThreads(__tstate
);
24458 if (PyErr_Occurred()) SWIG_fail
;
24460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24467 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24471 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24473 if ((argc
>= 1) && (argc
<= 3)) {
24478 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24479 _v
= SWIG_CheckState(res
);
24481 if (!_v
) goto check_1
;
24483 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24487 if ((argc
>= 2) && (argc
<= 3)) {
24488 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24492 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24497 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24498 PyObject
*resultobj
= 0;
24499 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24502 PyObject
*swig_obj
[1] ;
24504 if (!args
) SWIG_fail
;
24505 swig_obj
[0] = args
;
24506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24507 if (!SWIG_IsOK(res1
)) {
24508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24510 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24515 wxPyEndAllowThreads(__tstate
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24518 resultobj
= SWIG_Py_Void();
24525 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24526 PyObject
*resultobj
= 0;
24527 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24530 PyObject
*swig_obj
[1] ;
24532 if (!args
) SWIG_fail
;
24533 swig_obj
[0] = args
;
24534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24535 if (!SWIG_IsOK(res1
)) {
24536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24538 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24542 wxPyEndAllowThreads(__tstate
);
24543 if (PyErr_Occurred()) SWIG_fail
;
24545 resultobj
= SWIG_Py_Void();
24552 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24553 PyObject
*resultobj
= 0;
24554 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24560 PyObject
* obj0
= 0 ;
24561 PyObject
* obj1
= 0 ;
24562 char * kwnames
[] = {
24563 (char *) "self",(char *) "style", NULL
24566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24568 if (!SWIG_IsOK(res1
)) {
24569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24571 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24573 if (!SWIG_IsOK(ecode2
)) {
24574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
24576 arg2
= static_cast< int >(val2
);
24578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24579 (arg1
)->SetStyle(arg2
);
24580 wxPyEndAllowThreads(__tstate
);
24581 if (PyErr_Occurred()) SWIG_fail
;
24583 resultobj
= SWIG_Py_Void();
24590 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24591 PyObject
*resultobj
= 0;
24592 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24596 PyObject
*swig_obj
[1] ;
24598 if (!args
) SWIG_fail
;
24599 swig_obj
[0] = args
;
24600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24601 if (!SWIG_IsOK(res1
)) {
24602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
24604 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24607 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
24608 wxPyEndAllowThreads(__tstate
);
24609 if (PyErr_Occurred()) SWIG_fail
;
24611 resultobj
= SWIG_From_int(static_cast< int >(result
));
24618 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24620 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24621 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24622 return SWIG_Py_Void();
24625 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24626 return SWIG_Python_InitShadowInstance(args
);
24629 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24630 PyObject
*resultobj
= 0;
24631 wxWindow
*arg1
= (wxWindow
*) 0 ;
24632 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24633 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24634 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24635 wxBufferedPaintDC
*result
= 0 ;
24642 PyObject
* obj0
= 0 ;
24643 PyObject
* obj1
= 0 ;
24644 PyObject
* obj2
= 0 ;
24645 char * kwnames
[] = {
24646 (char *) "window",(char *) "buffer",(char *) "style", NULL
24649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24651 if (!SWIG_IsOK(res1
)) {
24652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24654 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24656 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24657 if (!SWIG_IsOK(res2
)) {
24658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24663 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24666 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24667 if (!SWIG_IsOK(ecode3
)) {
24668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24670 arg3
= static_cast< int >(val3
);
24673 if (!wxPyCheckForApp()) SWIG_fail
;
24674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24675 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
24676 wxPyEndAllowThreads(__tstate
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24686 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24689 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24690 return SWIG_Py_Void();
24693 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24694 return SWIG_Python_InitShadowInstance(args
);
24697 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24698 PyObject
*resultobj
= 0;
24699 wxWindow
*arg1
= (wxWindow
*) 0 ;
24700 wxAutoBufferedPaintDC
*result
= 0 ;
24703 PyObject
* obj0
= 0 ;
24704 char * kwnames
[] = {
24705 (char *) "win", NULL
24708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24710 if (!SWIG_IsOK(res1
)) {
24711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24713 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24716 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24717 wxPyEndAllowThreads(__tstate
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24727 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24729 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24730 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24731 return SWIG_Py_Void();
24734 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24735 return SWIG_Python_InitShadowInstance(args
);
24738 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24739 PyObject
*resultobj
= 0;
24740 wxWindow
*arg1
= (wxWindow
*) 0 ;
24744 PyObject
* obj0
= 0 ;
24745 char * kwnames
[] = {
24746 (char *) "window", NULL
24749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24751 if (!SWIG_IsOK(res1
)) {
24752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24754 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24758 wxPyEndAllowThreads(__tstate
);
24759 if (PyErr_Occurred()) SWIG_fail
;
24762 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24770 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24771 PyObject
*resultobj
= 0;
24774 wxMirrorDC
*result
= 0 ;
24779 PyObject
* obj0
= 0 ;
24780 PyObject
* obj1
= 0 ;
24781 char * kwnames
[] = {
24782 (char *) "dc",(char *) "mirror", NULL
24785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24786 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24787 if (!SWIG_IsOK(res1
)) {
24788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24791 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24793 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24794 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24795 if (!SWIG_IsOK(ecode2
)) {
24796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24798 arg2
= static_cast< bool >(val2
);
24800 if (!wxPyCheckForApp()) SWIG_fail
;
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24813 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24816 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24817 return SWIG_Py_Void();
24820 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24821 return SWIG_Python_InitShadowInstance(args
);
24824 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24825 PyObject
*resultobj
= 0;
24826 wxPrintData
*arg1
= 0 ;
24827 wxPostScriptDC
*result
= 0 ;
24830 PyObject
* obj0
= 0 ;
24831 char * kwnames
[] = {
24832 (char *) "printData", NULL
24835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24836 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24837 if (!SWIG_IsOK(res1
)) {
24838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24843 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24845 if (!wxPyCheckForApp()) SWIG_fail
;
24846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24847 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24848 wxPyEndAllowThreads(__tstate
);
24849 if (PyErr_Occurred()) SWIG_fail
;
24851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24858 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24859 PyObject
*resultobj
= 0;
24860 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24861 wxPrintData
*result
= 0 ;
24864 PyObject
*swig_obj
[1] ;
24866 if (!args
) SWIG_fail
;
24867 swig_obj
[0] = args
;
24868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24869 if (!SWIG_IsOK(res1
)) {
24870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24872 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24876 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24877 result
= (wxPrintData
*) &_result_ref
;
24879 wxPyEndAllowThreads(__tstate
);
24880 if (PyErr_Occurred()) SWIG_fail
;
24882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24889 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24890 PyObject
*resultobj
= 0;
24891 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24892 wxPrintData
*arg2
= 0 ;
24897 PyObject
* obj0
= 0 ;
24898 PyObject
* obj1
= 0 ;
24899 char * kwnames
[] = {
24900 (char *) "self",(char *) "data", NULL
24903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24905 if (!SWIG_IsOK(res1
)) {
24906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24908 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24909 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24910 if (!SWIG_IsOK(res2
)) {
24911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24916 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24919 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24920 wxPyEndAllowThreads(__tstate
);
24921 if (PyErr_Occurred()) SWIG_fail
;
24923 resultobj
= SWIG_Py_Void();
24930 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24931 PyObject
*resultobj
= 0;
24935 PyObject
* obj0
= 0 ;
24936 char * kwnames
[] = {
24937 (char *) "ppi", NULL
24940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24941 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24942 if (!SWIG_IsOK(ecode1
)) {
24943 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24945 arg1
= static_cast< int >(val1
);
24947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24948 wxPostScriptDC::SetResolution(arg1
);
24949 wxPyEndAllowThreads(__tstate
);
24950 if (PyErr_Occurred()) SWIG_fail
;
24952 resultobj
= SWIG_Py_Void();
24959 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24960 PyObject
*resultobj
= 0;
24963 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24966 result
= (int)wxPostScriptDC::GetResolution();
24967 wxPyEndAllowThreads(__tstate
);
24968 if (PyErr_Occurred()) SWIG_fail
;
24970 resultobj
= SWIG_From_int(static_cast< int >(result
));
24977 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24979 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24980 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24981 return SWIG_Py_Void();
24984 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24985 return SWIG_Python_InitShadowInstance(args
);
24988 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24989 PyObject
*resultobj
= 0;
24990 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24991 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24992 wxMetaFile
*result
= 0 ;
24993 bool temp1
= false ;
24994 PyObject
* obj0
= 0 ;
24995 char * kwnames
[] = {
24996 (char *) "filename", NULL
24999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25002 arg1
= wxString_in_helper(obj0
);
25003 if (arg1
== NULL
) SWIG_fail
;
25008 if (!wxPyCheckForApp()) SWIG_fail
;
25009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25010 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25011 wxPyEndAllowThreads(__tstate
);
25012 if (PyErr_Occurred()) SWIG_fail
;
25014 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25029 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25030 PyObject
*resultobj
= 0;
25031 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25034 PyObject
*swig_obj
[1] ;
25036 if (!args
) SWIG_fail
;
25037 swig_obj
[0] = args
;
25038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25039 if (!SWIG_IsOK(res1
)) {
25040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25042 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25047 wxPyEndAllowThreads(__tstate
);
25048 if (PyErr_Occurred()) SWIG_fail
;
25050 resultobj
= SWIG_Py_Void();
25057 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25058 PyObject
*resultobj
= 0;
25059 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25063 PyObject
*swig_obj
[1] ;
25065 if (!args
) SWIG_fail
;
25066 swig_obj
[0] = args
;
25067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25068 if (!SWIG_IsOK(res1
)) {
25069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25071 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25074 result
= (bool)(arg1
)->IsOk();
25075 wxPyEndAllowThreads(__tstate
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25087 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25088 PyObject
*resultobj
= 0;
25089 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25090 int arg2
= (int) 0 ;
25091 int arg3
= (int) 0 ;
25099 PyObject
* obj0
= 0 ;
25100 PyObject
* obj1
= 0 ;
25101 PyObject
* obj2
= 0 ;
25102 char * kwnames
[] = {
25103 (char *) "self",(char *) "width",(char *) "height", NULL
25106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25108 if (!SWIG_IsOK(res1
)) {
25109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25111 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25114 if (!SWIG_IsOK(ecode2
)) {
25115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25117 arg2
= static_cast< int >(val2
);
25120 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25121 if (!SWIG_IsOK(ecode3
)) {
25122 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25124 arg3
= static_cast< int >(val3
);
25127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25128 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25129 wxPyEndAllowThreads(__tstate
);
25130 if (PyErr_Occurred()) SWIG_fail
;
25133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25141 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25142 PyObject
*resultobj
= 0;
25143 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25147 PyObject
*swig_obj
[1] ;
25149 if (!args
) SWIG_fail
;
25150 swig_obj
[0] = args
;
25151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25152 if (!SWIG_IsOK(res1
)) {
25153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25155 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25158 result
= (arg1
)->GetSize();
25159 wxPyEndAllowThreads(__tstate
);
25160 if (PyErr_Occurred()) SWIG_fail
;
25162 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25169 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25170 PyObject
*resultobj
= 0;
25171 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25175 PyObject
*swig_obj
[1] ;
25177 if (!args
) SWIG_fail
;
25178 swig_obj
[0] = args
;
25179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25180 if (!SWIG_IsOK(res1
)) {
25181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25183 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25186 result
= (int)(arg1
)->GetWidth();
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25190 resultobj
= SWIG_From_int(static_cast< int >(result
));
25197 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25198 PyObject
*resultobj
= 0;
25199 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25203 PyObject
*swig_obj
[1] ;
25205 if (!args
) SWIG_fail
;
25206 swig_obj
[0] = args
;
25207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25208 if (!SWIG_IsOK(res1
)) {
25209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25211 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25214 result
= (int)(arg1
)->GetHeight();
25215 wxPyEndAllowThreads(__tstate
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25218 resultobj
= SWIG_From_int(static_cast< int >(result
));
25225 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25227 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25228 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25229 return SWIG_Py_Void();
25232 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25233 return SWIG_Python_InitShadowInstance(args
);
25236 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25237 PyObject
*resultobj
= 0;
25238 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25239 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25240 int arg2
= (int) 0 ;
25241 int arg3
= (int) 0 ;
25242 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25243 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25244 wxMetaFileDC
*result
= 0 ;
25245 bool temp1
= false ;
25250 bool temp4
= false ;
25251 PyObject
* obj0
= 0 ;
25252 PyObject
* obj1
= 0 ;
25253 PyObject
* obj2
= 0 ;
25254 PyObject
* obj3
= 0 ;
25255 char * kwnames
[] = {
25256 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25262 arg1
= wxString_in_helper(obj0
);
25263 if (arg1
== NULL
) SWIG_fail
;
25268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25269 if (!SWIG_IsOK(ecode2
)) {
25270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25272 arg2
= static_cast< int >(val2
);
25275 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25276 if (!SWIG_IsOK(ecode3
)) {
25277 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25279 arg3
= static_cast< int >(val3
);
25283 arg4
= wxString_in_helper(obj3
);
25284 if (arg4
== NULL
) SWIG_fail
;
25289 if (!wxPyCheckForApp()) SWIG_fail
;
25290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25291 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25292 wxPyEndAllowThreads(__tstate
);
25293 if (PyErr_Occurred()) SWIG_fail
;
25295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25318 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25319 PyObject
*resultobj
= 0;
25320 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25321 wxMetaFile
*result
= 0 ;
25324 PyObject
*swig_obj
[1] ;
25326 if (!args
) SWIG_fail
;
25327 swig_obj
[0] = args
;
25328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25329 if (!SWIG_IsOK(res1
)) {
25330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25332 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25335 result
= (wxMetaFile
*)(arg1
)->Close();
25336 wxPyEndAllowThreads(__tstate
);
25337 if (PyErr_Occurred()) SWIG_fail
;
25339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25346 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25348 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25349 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25350 return SWIG_Py_Void();
25353 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25354 return SWIG_Python_InitShadowInstance(args
);
25357 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25358 PyObject
*resultobj
= 0;
25359 wxPrintData
*arg1
= 0 ;
25360 wxPrinterDC
*result
= 0 ;
25363 PyObject
* obj0
= 0 ;
25364 char * kwnames
[] = {
25365 (char *) "printData", NULL
25368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25369 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25370 if (!SWIG_IsOK(res1
)) {
25371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25376 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25378 if (!wxPyCheckForApp()) SWIG_fail
;
25379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25380 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25381 wxPyEndAllowThreads(__tstate
);
25382 if (PyErr_Occurred()) SWIG_fail
;
25384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25391 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25394 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25395 return SWIG_Py_Void();
25398 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25399 return SWIG_Python_InitShadowInstance(args
);
25402 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25403 PyObject
*resultobj
= 0;
25404 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25405 wxGraphicsObject
*result
= 0 ;
25408 PyObject
* obj0
= 0 ;
25409 char * kwnames
[] = {
25410 (char *) "renderer", NULL
25413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25416 if (!SWIG_IsOK(res1
)) {
25417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25419 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25422 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25423 if (PyErr_Occurred()) SWIG_fail
;
25425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25432 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25433 PyObject
*resultobj
= 0;
25434 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25437 PyObject
*swig_obj
[1] ;
25439 if (!args
) SWIG_fail
;
25440 swig_obj
[0] = args
;
25441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25442 if (!SWIG_IsOK(res1
)) {
25443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25445 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25449 if (PyErr_Occurred()) SWIG_fail
;
25451 resultobj
= SWIG_Py_Void();
25458 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25459 PyObject
*resultobj
= 0;
25460 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25464 PyObject
*swig_obj
[1] ;
25466 if (!args
) SWIG_fail
;
25467 swig_obj
[0] = args
;
25468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25469 if (!SWIG_IsOK(res1
)) {
25470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25472 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25474 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25475 if (PyErr_Occurred()) SWIG_fail
;
25478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25486 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25487 PyObject
*resultobj
= 0;
25488 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25489 wxGraphicsRenderer
*result
= 0 ;
25492 PyObject
*swig_obj
[1] ;
25494 if (!args
) SWIG_fail
;
25495 swig_obj
[0] = args
;
25496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25497 if (!SWIG_IsOK(res1
)) {
25498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25500 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25502 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25503 if (PyErr_Occurred()) SWIG_fail
;
25505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25512 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25514 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25515 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25516 return SWIG_Py_Void();
25519 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25520 return SWIG_Python_InitShadowInstance(args
);
25523 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25524 PyObject
*resultobj
= 0;
25525 wxGraphicsPen
*result
= 0 ;
25527 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25529 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25530 if (PyErr_Occurred()) SWIG_fail
;
25532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25539 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25540 PyObject
*resultobj
= 0;
25541 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25544 PyObject
*swig_obj
[1] ;
25546 if (!args
) SWIG_fail
;
25547 swig_obj
[0] = args
;
25548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25549 if (!SWIG_IsOK(res1
)) {
25550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25552 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25556 if (PyErr_Occurred()) SWIG_fail
;
25558 resultobj
= SWIG_Py_Void();
25565 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25568 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25569 return SWIG_Py_Void();
25572 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25573 return SWIG_Python_InitShadowInstance(args
);
25576 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25577 PyObject
*resultobj
= 0;
25578 wxGraphicsBrush
*result
= 0 ;
25580 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25582 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25583 if (PyErr_Occurred()) SWIG_fail
;
25585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25592 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25593 PyObject
*resultobj
= 0;
25594 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25597 PyObject
*swig_obj
[1] ;
25599 if (!args
) SWIG_fail
;
25600 swig_obj
[0] = args
;
25601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25602 if (!SWIG_IsOK(res1
)) {
25603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25605 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25609 if (PyErr_Occurred()) SWIG_fail
;
25611 resultobj
= SWIG_Py_Void();
25618 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25620 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25621 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25622 return SWIG_Py_Void();
25625 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25626 return SWIG_Python_InitShadowInstance(args
);
25629 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25630 PyObject
*resultobj
= 0;
25631 wxGraphicsFont
*result
= 0 ;
25633 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25635 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25636 if (PyErr_Occurred()) SWIG_fail
;
25638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25645 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25646 PyObject
*resultobj
= 0;
25647 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25650 PyObject
*swig_obj
[1] ;
25652 if (!args
) SWIG_fail
;
25653 swig_obj
[0] = args
;
25654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25655 if (!SWIG_IsOK(res1
)) {
25656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25658 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25664 resultobj
= SWIG_Py_Void();
25671 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25673 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25674 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25675 return SWIG_Py_Void();
25678 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25679 return SWIG_Python_InitShadowInstance(args
);
25682 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25683 PyObject
*resultobj
= 0;
25684 wxGraphicsMatrix
*result
= 0 ;
25686 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
25688 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
25689 if (PyErr_Occurred()) SWIG_fail
;
25691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
25698 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25699 PyObject
*resultobj
= 0;
25700 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25703 PyObject
*swig_obj
[1] ;
25705 if (!args
) SWIG_fail
;
25706 swig_obj
[0] = args
;
25707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25708 if (!SWIG_IsOK(res1
)) {
25709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25711 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25715 if (PyErr_Occurred()) SWIG_fail
;
25717 resultobj
= SWIG_Py_Void();
25724 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25725 PyObject
*resultobj
= 0;
25726 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25727 wxGraphicsMatrix
*arg2
= 0 ;
25732 PyObject
* obj0
= 0 ;
25733 PyObject
* obj1
= 0 ;
25734 char * kwnames
[] = {
25735 (char *) "self",(char *) "t", NULL
25738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25740 if (!SWIG_IsOK(res1
)) {
25741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25743 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25744 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25745 if (!SWIG_IsOK(res2
)) {
25746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25751 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25753 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25754 if (PyErr_Occurred()) SWIG_fail
;
25756 resultobj
= SWIG_Py_Void();
25763 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25764 PyObject
*resultobj
= 0;
25765 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25766 wxDouble arg2
= (wxDouble
) 1.0 ;
25767 wxDouble arg3
= (wxDouble
) 0.0 ;
25768 wxDouble arg4
= (wxDouble
) 0.0 ;
25769 wxDouble arg5
= (wxDouble
) 1.0 ;
25770 wxDouble arg6
= (wxDouble
) 0.0 ;
25771 wxDouble arg7
= (wxDouble
) 0.0 ;
25786 PyObject
* obj0
= 0 ;
25787 PyObject
* obj1
= 0 ;
25788 PyObject
* obj2
= 0 ;
25789 PyObject
* obj3
= 0 ;
25790 PyObject
* obj4
= 0 ;
25791 PyObject
* obj5
= 0 ;
25792 PyObject
* obj6
= 0 ;
25793 char * kwnames
[] = {
25794 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25799 if (!SWIG_IsOK(res1
)) {
25800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25802 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25804 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25805 if (!SWIG_IsOK(ecode2
)) {
25806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25808 arg2
= static_cast< wxDouble
>(val2
);
25811 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25812 if (!SWIG_IsOK(ecode3
)) {
25813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25815 arg3
= static_cast< wxDouble
>(val3
);
25818 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25819 if (!SWIG_IsOK(ecode4
)) {
25820 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25822 arg4
= static_cast< wxDouble
>(val4
);
25825 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25826 if (!SWIG_IsOK(ecode5
)) {
25827 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25829 arg5
= static_cast< wxDouble
>(val5
);
25832 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25833 if (!SWIG_IsOK(ecode6
)) {
25834 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25836 arg6
= static_cast< wxDouble
>(val6
);
25839 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25840 if (!SWIG_IsOK(ecode7
)) {
25841 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25843 arg7
= static_cast< wxDouble
>(val7
);
25846 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25847 if (PyErr_Occurred()) SWIG_fail
;
25849 resultobj
= SWIG_Py_Void();
25856 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25857 PyObject
*resultobj
= 0;
25858 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25859 wxDouble
*arg2
= (wxDouble
*) 0 ;
25860 wxDouble
*arg3
= (wxDouble
*) 0 ;
25861 wxDouble
*arg4
= (wxDouble
*) 0 ;
25862 wxDouble
*arg5
= (wxDouble
*) 0 ;
25863 wxDouble
*arg6
= (wxDouble
*) 0 ;
25864 wxDouble
*arg7
= (wxDouble
*) 0 ;
25868 int res2
= SWIG_TMPOBJ
;
25870 int res3
= SWIG_TMPOBJ
;
25872 int res4
= SWIG_TMPOBJ
;
25874 int res5
= SWIG_TMPOBJ
;
25876 int res6
= SWIG_TMPOBJ
;
25878 int res7
= SWIG_TMPOBJ
;
25879 PyObject
*swig_obj
[1] ;
25887 if (!args
) SWIG_fail
;
25888 swig_obj
[0] = args
;
25889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25890 if (!SWIG_IsOK(res1
)) {
25891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Get" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25893 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25895 (arg1
)->Get(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25896 if (PyErr_Occurred()) SWIG_fail
;
25898 resultobj
= SWIG_Py_Void();
25899 if (SWIG_IsTmpObj(res2
)) {
25900 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25902 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25903 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25905 if (SWIG_IsTmpObj(res3
)) {
25906 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25908 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25909 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25911 if (SWIG_IsTmpObj(res4
)) {
25912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
25914 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25915 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
25917 if (SWIG_IsTmpObj(res5
)) {
25918 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
25920 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25921 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
25923 if (SWIG_IsTmpObj(res6
)) {
25924 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
25926 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25927 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
25929 if (SWIG_IsTmpObj(res7
)) {
25930 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg7
)));
25932 int new_flags
= SWIG_IsNewObj(res7
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25933 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, new_flags
));
25941 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25942 PyObject
*resultobj
= 0;
25943 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25946 PyObject
*swig_obj
[1] ;
25948 if (!args
) SWIG_fail
;
25949 swig_obj
[0] = args
;
25950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25951 if (!SWIG_IsOK(res1
)) {
25952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25954 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25957 if (PyErr_Occurred()) SWIG_fail
;
25959 resultobj
= SWIG_Py_Void();
25966 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25967 PyObject
*resultobj
= 0;
25968 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25969 wxGraphicsMatrix
*arg2
= 0 ;
25975 PyObject
* obj0
= 0 ;
25976 PyObject
* obj1
= 0 ;
25977 char * kwnames
[] = {
25978 (char *) "self",(char *) "t", NULL
25981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25983 if (!SWIG_IsOK(res1
)) {
25984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25986 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25987 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25988 if (!SWIG_IsOK(res2
)) {
25989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25994 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25996 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25997 if (PyErr_Occurred()) SWIG_fail
;
26000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26008 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26009 PyObject
*resultobj
= 0;
26010 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26014 PyObject
*swig_obj
[1] ;
26016 if (!args
) SWIG_fail
;
26017 swig_obj
[0] = args
;
26018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26019 if (!SWIG_IsOK(res1
)) {
26020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26022 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26024 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26025 if (PyErr_Occurred()) SWIG_fail
;
26028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26036 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26037 PyObject
*resultobj
= 0;
26038 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26047 PyObject
* obj0
= 0 ;
26048 PyObject
* obj1
= 0 ;
26049 PyObject
* obj2
= 0 ;
26050 char * kwnames
[] = {
26051 (char *) "self",(char *) "dx",(char *) "dy", NULL
26054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26056 if (!SWIG_IsOK(res1
)) {
26057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26059 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26060 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26061 if (!SWIG_IsOK(ecode2
)) {
26062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26064 arg2
= static_cast< wxDouble
>(val2
);
26065 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26066 if (!SWIG_IsOK(ecode3
)) {
26067 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26069 arg3
= static_cast< wxDouble
>(val3
);
26071 (arg1
)->Translate(arg2
,arg3
);
26072 if (PyErr_Occurred()) SWIG_fail
;
26074 resultobj
= SWIG_Py_Void();
26081 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26082 PyObject
*resultobj
= 0;
26083 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26092 PyObject
* obj0
= 0 ;
26093 PyObject
* obj1
= 0 ;
26094 PyObject
* obj2
= 0 ;
26095 char * kwnames
[] = {
26096 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26101 if (!SWIG_IsOK(res1
)) {
26102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26104 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26105 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26106 if (!SWIG_IsOK(ecode2
)) {
26107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26109 arg2
= static_cast< wxDouble
>(val2
);
26110 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26111 if (!SWIG_IsOK(ecode3
)) {
26112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26114 arg3
= static_cast< wxDouble
>(val3
);
26116 (arg1
)->Scale(arg2
,arg3
);
26117 if (PyErr_Occurred()) SWIG_fail
;
26119 resultobj
= SWIG_Py_Void();
26126 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26127 PyObject
*resultobj
= 0;
26128 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26134 PyObject
* obj0
= 0 ;
26135 PyObject
* obj1
= 0 ;
26136 char * kwnames
[] = {
26137 (char *) "self",(char *) "angle", NULL
26140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26142 if (!SWIG_IsOK(res1
)) {
26143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26145 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26146 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26147 if (!SWIG_IsOK(ecode2
)) {
26148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26150 arg2
= static_cast< wxDouble
>(val2
);
26152 (arg1
)->Rotate(arg2
);
26153 if (PyErr_Occurred()) SWIG_fail
;
26155 resultobj
= SWIG_Py_Void();
26162 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26163 PyObject
*resultobj
= 0;
26164 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26165 wxDouble
*arg2
= (wxDouble
*) 0 ;
26166 wxDouble
*arg3
= (wxDouble
*) 0 ;
26173 PyObject
* obj0
= 0 ;
26174 PyObject
* obj1
= 0 ;
26175 PyObject
* obj2
= 0 ;
26176 char * kwnames
[] = {
26177 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26182 if (!SWIG_IsOK(res1
)) {
26183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26185 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26186 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26188 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26189 if (!SWIG_IsOK(ecode
)) {
26190 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26192 temp2
= static_cast< wxDouble
>(val
);
26194 res2
= SWIG_AddTmpMask(ecode
);
26196 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26198 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26199 if (!SWIG_IsOK(ecode
)) {
26200 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26202 temp3
= static_cast< wxDouble
>(val
);
26204 res3
= SWIG_AddTmpMask(ecode
);
26207 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26208 if (PyErr_Occurred()) SWIG_fail
;
26210 resultobj
= SWIG_Py_Void();
26211 if (SWIG_IsTmpObj(res2
)) {
26212 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26214 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26215 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26217 if (SWIG_IsTmpObj(res3
)) {
26218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26220 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26229 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26230 PyObject
*resultobj
= 0;
26231 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26232 wxDouble
*arg2
= (wxDouble
*) 0 ;
26233 wxDouble
*arg3
= (wxDouble
*) 0 ;
26240 PyObject
* obj0
= 0 ;
26241 PyObject
* obj1
= 0 ;
26242 PyObject
* obj2
= 0 ;
26243 char * kwnames
[] = {
26244 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26249 if (!SWIG_IsOK(res1
)) {
26250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26252 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26253 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26255 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26256 if (!SWIG_IsOK(ecode
)) {
26257 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26259 temp2
= static_cast< wxDouble
>(val
);
26261 res2
= SWIG_AddTmpMask(ecode
);
26263 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26265 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26266 if (!SWIG_IsOK(ecode
)) {
26267 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26269 temp3
= static_cast< wxDouble
>(val
);
26271 res3
= SWIG_AddTmpMask(ecode
);
26274 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26275 if (PyErr_Occurred()) SWIG_fail
;
26277 resultobj
= SWIG_Py_Void();
26278 if (SWIG_IsTmpObj(res2
)) {
26279 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26281 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26282 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26284 if (SWIG_IsTmpObj(res3
)) {
26285 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26287 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26288 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26296 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26297 PyObject
*resultobj
= 0;
26298 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26302 PyObject
*swig_obj
[1] ;
26304 if (!args
) SWIG_fail
;
26305 swig_obj
[0] = args
;
26306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26307 if (!SWIG_IsOK(res1
)) {
26308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26310 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26312 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26313 if (PyErr_Occurred()) SWIG_fail
;
26315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26322 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26325 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26326 return SWIG_Py_Void();
26329 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26330 return SWIG_Python_InitShadowInstance(args
);
26333 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26334 PyObject
*resultobj
= 0;
26335 wxGraphicsPath
*result
= 0 ;
26337 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26339 if (!wxPyCheckForApp()) SWIG_fail
;
26340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26341 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26342 wxPyEndAllowThreads(__tstate
);
26343 if (PyErr_Occurred()) SWIG_fail
;
26345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26352 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26353 PyObject
*resultobj
= 0;
26354 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26357 PyObject
*swig_obj
[1] ;
26359 if (!args
) SWIG_fail
;
26360 swig_obj
[0] = args
;
26361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26362 if (!SWIG_IsOK(res1
)) {
26363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26365 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26369 if (PyErr_Occurred()) SWIG_fail
;
26371 resultobj
= SWIG_Py_Void();
26378 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26379 PyObject
*resultobj
= 0;
26380 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26390 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26392 if (!SWIG_IsOK(res1
)) {
26393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26395 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26396 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26397 if (!SWIG_IsOK(ecode2
)) {
26398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26400 arg2
= static_cast< wxDouble
>(val2
);
26401 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26402 if (!SWIG_IsOK(ecode3
)) {
26403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26405 arg3
= static_cast< wxDouble
>(val3
);
26407 (arg1
)->MoveToPoint(arg2
,arg3
);
26408 if (PyErr_Occurred()) SWIG_fail
;
26410 resultobj
= SWIG_Py_Void();
26417 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26418 PyObject
*resultobj
= 0;
26419 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26420 wxPoint2D
*arg2
= 0 ;
26425 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26427 if (!SWIG_IsOK(res1
)) {
26428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26430 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26433 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26436 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26437 if (PyErr_Occurred()) SWIG_fail
;
26439 resultobj
= SWIG_Py_Void();
26446 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26450 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26453 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26456 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26460 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26465 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26466 PyObject
*resultobj
= 0;
26467 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26477 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26479 if (!SWIG_IsOK(res1
)) {
26480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26482 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26483 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26484 if (!SWIG_IsOK(ecode2
)) {
26485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26487 arg2
= static_cast< wxDouble
>(val2
);
26488 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26489 if (!SWIG_IsOK(ecode3
)) {
26490 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26492 arg3
= static_cast< wxDouble
>(val3
);
26494 (arg1
)->AddLineToPoint(arg2
,arg3
);
26495 if (PyErr_Occurred()) SWIG_fail
;
26497 resultobj
= SWIG_Py_Void();
26504 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26505 PyObject
*resultobj
= 0;
26506 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26507 wxPoint2D
*arg2
= 0 ;
26512 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26514 if (!SWIG_IsOK(res1
)) {
26515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26517 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26520 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26523 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26524 if (PyErr_Occurred()) SWIG_fail
;
26526 resultobj
= SWIG_Py_Void();
26533 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26537 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26540 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26543 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26547 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26552 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26553 PyObject
*resultobj
= 0;
26554 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26576 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26578 if (!SWIG_IsOK(res1
)) {
26579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26581 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26582 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26583 if (!SWIG_IsOK(ecode2
)) {
26584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26586 arg2
= static_cast< wxDouble
>(val2
);
26587 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26588 if (!SWIG_IsOK(ecode3
)) {
26589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26591 arg3
= static_cast< wxDouble
>(val3
);
26592 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26593 if (!SWIG_IsOK(ecode4
)) {
26594 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26596 arg4
= static_cast< wxDouble
>(val4
);
26597 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26598 if (!SWIG_IsOK(ecode5
)) {
26599 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26601 arg5
= static_cast< wxDouble
>(val5
);
26602 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26603 if (!SWIG_IsOK(ecode6
)) {
26604 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26606 arg6
= static_cast< wxDouble
>(val6
);
26607 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26608 if (!SWIG_IsOK(ecode7
)) {
26609 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26611 arg7
= static_cast< wxDouble
>(val7
);
26613 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26614 if (PyErr_Occurred()) SWIG_fail
;
26616 resultobj
= SWIG_Py_Void();
26623 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26624 PyObject
*resultobj
= 0;
26625 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26626 wxPoint2D
*arg2
= 0 ;
26627 wxPoint2D
*arg3
= 0 ;
26628 wxPoint2D
*arg4
= 0 ;
26635 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26637 if (!SWIG_IsOK(res1
)) {
26638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26640 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26643 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26647 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26651 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26654 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26655 if (PyErr_Occurred()) SWIG_fail
;
26657 resultobj
= SWIG_Py_Void();
26664 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26668 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26671 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26674 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26678 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26683 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26684 PyObject
*resultobj
= 0;
26685 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26686 wxGraphicsPath
*arg2
= 0 ;
26691 PyObject
* obj0
= 0 ;
26692 PyObject
* obj1
= 0 ;
26693 char * kwnames
[] = {
26694 (char *) "self",(char *) "path", NULL
26697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26699 if (!SWIG_IsOK(res1
)) {
26700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26702 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26703 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26704 if (!SWIG_IsOK(res2
)) {
26705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26710 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26712 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26713 if (PyErr_Occurred()) SWIG_fail
;
26715 resultobj
= SWIG_Py_Void();
26722 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26723 PyObject
*resultobj
= 0;
26724 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26727 PyObject
*swig_obj
[1] ;
26729 if (!args
) SWIG_fail
;
26730 swig_obj
[0] = args
;
26731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26732 if (!SWIG_IsOK(res1
)) {
26733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26735 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26737 (arg1
)->CloseSubpath();
26738 if (PyErr_Occurred()) SWIG_fail
;
26740 resultobj
= SWIG_Py_Void();
26747 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26748 PyObject
*resultobj
= 0;
26749 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26753 PyObject
*swig_obj
[1] ;
26755 if (!args
) SWIG_fail
;
26756 swig_obj
[0] = args
;
26757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26758 if (!SWIG_IsOK(res1
)) {
26759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26761 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26763 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26764 if (PyErr_Occurred()) SWIG_fail
;
26766 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26773 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26774 PyObject
*resultobj
= 0;
26775 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26781 bool arg7
= (bool) true ;
26797 if ((nobjs
< 6) || (nobjs
> 7)) SWIG_fail
;
26798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26799 if (!SWIG_IsOK(res1
)) {
26800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26802 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26803 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26804 if (!SWIG_IsOK(ecode2
)) {
26805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26807 arg2
= static_cast< wxDouble
>(val2
);
26808 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26809 if (!SWIG_IsOK(ecode3
)) {
26810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26812 arg3
= static_cast< wxDouble
>(val3
);
26813 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26814 if (!SWIG_IsOK(ecode4
)) {
26815 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26817 arg4
= static_cast< wxDouble
>(val4
);
26818 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26819 if (!SWIG_IsOK(ecode5
)) {
26820 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26822 arg5
= static_cast< wxDouble
>(val5
);
26823 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26824 if (!SWIG_IsOK(ecode6
)) {
26825 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26827 arg6
= static_cast< wxDouble
>(val6
);
26829 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26830 if (!SWIG_IsOK(ecode7
)) {
26831 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26833 arg7
= static_cast< bool >(val7
);
26836 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26839 resultobj
= SWIG_Py_Void();
26846 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26847 PyObject
*resultobj
= 0;
26848 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26849 wxPoint2D
*arg2
= 0 ;
26853 bool arg6
= (bool) true ;
26866 if ((nobjs
< 5) || (nobjs
> 6)) SWIG_fail
;
26867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26868 if (!SWIG_IsOK(res1
)) {
26869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26871 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26874 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26876 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26877 if (!SWIG_IsOK(ecode3
)) {
26878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26880 arg3
= static_cast< wxDouble
>(val3
);
26881 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26882 if (!SWIG_IsOK(ecode4
)) {
26883 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26885 arg4
= static_cast< wxDouble
>(val4
);
26886 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26887 if (!SWIG_IsOK(ecode5
)) {
26888 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26890 arg5
= static_cast< wxDouble
>(val5
);
26892 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26893 if (!SWIG_IsOK(ecode6
)) {
26894 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26896 arg6
= static_cast< bool >(val6
);
26899 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26900 if (PyErr_Occurred()) SWIG_fail
;
26902 resultobj
= SWIG_Py_Void();
26909 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26913 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26915 if ((argc
>= 5) && (argc
<= 6)) {
26919 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
26922 if (!_v
) goto check_1
;
26926 int res
= SWIG_AsVal_bool(argv
[5], NULL
);
26927 _v
= SWIG_CheckState(res
);
26930 if (!_v
) goto check_1
;
26932 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26936 if ((argc
>= 6) && (argc
<= 7)) {
26937 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26941 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26946 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26947 PyObject
*resultobj
= 0;
26948 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26963 PyObject
* obj0
= 0 ;
26964 PyObject
* obj1
= 0 ;
26965 PyObject
* obj2
= 0 ;
26966 PyObject
* obj3
= 0 ;
26967 PyObject
* obj4
= 0 ;
26968 char * kwnames
[] = {
26969 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26974 if (!SWIG_IsOK(res1
)) {
26975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26977 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26978 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26979 if (!SWIG_IsOK(ecode2
)) {
26980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26982 arg2
= static_cast< wxDouble
>(val2
);
26983 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26984 if (!SWIG_IsOK(ecode3
)) {
26985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26987 arg3
= static_cast< wxDouble
>(val3
);
26988 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26989 if (!SWIG_IsOK(ecode4
)) {
26990 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26992 arg4
= static_cast< wxDouble
>(val4
);
26993 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26994 if (!SWIG_IsOK(ecode5
)) {
26995 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26997 arg5
= static_cast< wxDouble
>(val5
);
26999 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27002 resultobj
= SWIG_Py_Void();
27009 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27010 PyObject
*resultobj
= 0;
27011 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27026 PyObject
* obj0
= 0 ;
27027 PyObject
* obj1
= 0 ;
27028 PyObject
* obj2
= 0 ;
27029 PyObject
* obj3
= 0 ;
27030 PyObject
* obj4
= 0 ;
27031 char * kwnames
[] = {
27032 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27037 if (!SWIG_IsOK(res1
)) {
27038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27040 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27041 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27042 if (!SWIG_IsOK(ecode2
)) {
27043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27045 arg2
= static_cast< wxDouble
>(val2
);
27046 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27047 if (!SWIG_IsOK(ecode3
)) {
27048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27050 arg3
= static_cast< wxDouble
>(val3
);
27051 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27052 if (!SWIG_IsOK(ecode4
)) {
27053 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27055 arg4
= static_cast< wxDouble
>(val4
);
27056 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27057 if (!SWIG_IsOK(ecode5
)) {
27058 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27060 arg5
= static_cast< wxDouble
>(val5
);
27062 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27063 if (PyErr_Occurred()) SWIG_fail
;
27065 resultobj
= SWIG_Py_Void();
27072 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27073 PyObject
*resultobj
= 0;
27074 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27086 PyObject
* obj0
= 0 ;
27087 PyObject
* obj1
= 0 ;
27088 PyObject
* obj2
= 0 ;
27089 PyObject
* obj3
= 0 ;
27090 char * kwnames
[] = {
27091 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27096 if (!SWIG_IsOK(res1
)) {
27097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27099 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27100 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27101 if (!SWIG_IsOK(ecode2
)) {
27102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27104 arg2
= static_cast< wxDouble
>(val2
);
27105 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27106 if (!SWIG_IsOK(ecode3
)) {
27107 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27109 arg3
= static_cast< wxDouble
>(val3
);
27110 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27111 if (!SWIG_IsOK(ecode4
)) {
27112 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27114 arg4
= static_cast< wxDouble
>(val4
);
27116 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27117 if (PyErr_Occurred()) SWIG_fail
;
27119 resultobj
= SWIG_Py_Void();
27126 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27127 PyObject
*resultobj
= 0;
27128 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27146 PyObject
* obj0
= 0 ;
27147 PyObject
* obj1
= 0 ;
27148 PyObject
* obj2
= 0 ;
27149 PyObject
* obj3
= 0 ;
27150 PyObject
* obj4
= 0 ;
27151 PyObject
* obj5
= 0 ;
27152 char * kwnames
[] = {
27153 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27158 if (!SWIG_IsOK(res1
)) {
27159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27161 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27162 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27163 if (!SWIG_IsOK(ecode2
)) {
27164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27166 arg2
= static_cast< wxDouble
>(val2
);
27167 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27168 if (!SWIG_IsOK(ecode3
)) {
27169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27171 arg3
= static_cast< wxDouble
>(val3
);
27172 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27173 if (!SWIG_IsOK(ecode4
)) {
27174 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27176 arg4
= static_cast< wxDouble
>(val4
);
27177 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27178 if (!SWIG_IsOK(ecode5
)) {
27179 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27181 arg5
= static_cast< wxDouble
>(val5
);
27182 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27183 if (!SWIG_IsOK(ecode6
)) {
27184 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27186 arg6
= static_cast< wxDouble
>(val6
);
27188 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27191 resultobj
= SWIG_Py_Void();
27198 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27199 PyObject
*resultobj
= 0;
27200 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27215 PyObject
* obj0
= 0 ;
27216 PyObject
* obj1
= 0 ;
27217 PyObject
* obj2
= 0 ;
27218 PyObject
* obj3
= 0 ;
27219 PyObject
* obj4
= 0 ;
27220 char * kwnames
[] = {
27221 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27226 if (!SWIG_IsOK(res1
)) {
27227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27229 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27230 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27231 if (!SWIG_IsOK(ecode2
)) {
27232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27234 arg2
= static_cast< wxDouble
>(val2
);
27235 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27236 if (!SWIG_IsOK(ecode3
)) {
27237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27239 arg3
= static_cast< wxDouble
>(val3
);
27240 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27241 if (!SWIG_IsOK(ecode4
)) {
27242 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27244 arg4
= static_cast< wxDouble
>(val4
);
27245 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27246 if (!SWIG_IsOK(ecode5
)) {
27247 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27249 arg5
= static_cast< wxDouble
>(val5
);
27251 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27252 if (PyErr_Occurred()) SWIG_fail
;
27254 resultobj
= SWIG_Py_Void();
27261 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27262 PyObject
*resultobj
= 0;
27263 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27281 PyObject
* obj0
= 0 ;
27282 PyObject
* obj1
= 0 ;
27283 PyObject
* obj2
= 0 ;
27284 PyObject
* obj3
= 0 ;
27285 PyObject
* obj4
= 0 ;
27286 PyObject
* obj5
= 0 ;
27287 char * kwnames
[] = {
27288 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27293 if (!SWIG_IsOK(res1
)) {
27294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27296 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27297 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27298 if (!SWIG_IsOK(ecode2
)) {
27299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27301 arg2
= static_cast< wxDouble
>(val2
);
27302 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27303 if (!SWIG_IsOK(ecode3
)) {
27304 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27306 arg3
= static_cast< wxDouble
>(val3
);
27307 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27308 if (!SWIG_IsOK(ecode4
)) {
27309 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27311 arg4
= static_cast< wxDouble
>(val4
);
27312 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27313 if (!SWIG_IsOK(ecode5
)) {
27314 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27316 arg5
= static_cast< wxDouble
>(val5
);
27317 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27318 if (!SWIG_IsOK(ecode6
)) {
27319 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27321 arg6
= static_cast< wxDouble
>(val6
);
27323 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27324 if (PyErr_Occurred()) SWIG_fail
;
27326 resultobj
= SWIG_Py_Void();
27333 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27334 PyObject
*resultobj
= 0;
27335 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27339 PyObject
*swig_obj
[1] ;
27341 if (!args
) SWIG_fail
;
27342 swig_obj
[0] = args
;
27343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27344 if (!SWIG_IsOK(res1
)) {
27345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27347 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27349 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27350 if (PyErr_Occurred()) SWIG_fail
;
27352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27359 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27360 PyObject
*resultobj
= 0;
27361 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27362 void *arg2
= (void *) 0 ;
27366 PyObject
* obj0
= 0 ;
27367 PyObject
* obj1
= 0 ;
27368 char * kwnames
[] = {
27369 (char *) "self",(char *) "p", NULL
27372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27374 if (!SWIG_IsOK(res1
)) {
27375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27377 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27378 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27379 if (!SWIG_IsOK(res2
)) {
27380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27383 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27384 if (PyErr_Occurred()) SWIG_fail
;
27386 resultobj
= SWIG_Py_Void();
27393 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27394 PyObject
*resultobj
= 0;
27395 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27396 wxGraphicsMatrix
*arg2
= 0 ;
27401 PyObject
* obj0
= 0 ;
27402 PyObject
* obj1
= 0 ;
27403 char * kwnames
[] = {
27404 (char *) "self",(char *) "matrix", NULL
27407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27409 if (!SWIG_IsOK(res1
)) {
27410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27412 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27413 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27414 if (!SWIG_IsOK(res2
)) {
27415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27420 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27422 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27423 if (PyErr_Occurred()) SWIG_fail
;
27425 resultobj
= SWIG_Py_Void();
27432 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27433 PyObject
*resultobj
= 0;
27434 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27438 PyObject
*swig_obj
[1] ;
27440 if (!args
) SWIG_fail
;
27441 swig_obj
[0] = args
;
27442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27443 if (!SWIG_IsOK(res1
)) {
27444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27446 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27448 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27449 if (PyErr_Occurred()) SWIG_fail
;
27451 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
27458 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27459 PyObject
*resultobj
= 0;
27460 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27463 int arg4
= (int) wxODDEVEN_RULE
;
27474 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27476 if (!SWIG_IsOK(res1
)) {
27477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27479 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27480 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27481 if (!SWIG_IsOK(ecode2
)) {
27482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27484 arg2
= static_cast< wxDouble
>(val2
);
27485 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27486 if (!SWIG_IsOK(ecode3
)) {
27487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27489 arg3
= static_cast< wxDouble
>(val3
);
27491 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27492 if (!SWIG_IsOK(ecode4
)) {
27493 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27495 arg4
= static_cast< int >(val4
);
27498 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27499 if (PyErr_Occurred()) SWIG_fail
;
27502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27510 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27511 PyObject
*resultobj
= 0;
27512 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27513 wxPoint2D
*arg2
= 0 ;
27514 int arg3
= (int) wxODDEVEN_RULE
;
27522 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27524 if (!SWIG_IsOK(res1
)) {
27525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27527 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27530 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27533 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27534 if (!SWIG_IsOK(ecode3
)) {
27535 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27537 arg3
= static_cast< int >(val3
);
27540 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2D
const &)*arg2
,arg3
);
27541 if (PyErr_Occurred()) SWIG_fail
;
27544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27552 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27556 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27558 if ((argc
>= 2) && (argc
<= 3)) {
27562 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
27565 if (!_v
) goto check_1
;
27569 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27570 _v
= SWIG_CheckState(res
);
27573 if (!_v
) goto check_1
;
27575 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27579 if ((argc
>= 3) && (argc
<= 4)) {
27580 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27584 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27589 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27591 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27592 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27593 return SWIG_Py_Void();
27596 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27597 return SWIG_Python_InitShadowInstance(args
);
27600 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27601 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27606 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27607 PyObject
*pyobj
= 0;
27609 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27614 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27615 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27620 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27621 PyObject
*pyobj
= 0;
27623 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27628 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27629 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27634 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27635 PyObject
*pyobj
= 0;
27637 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27642 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27643 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27648 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27649 PyObject
*pyobj
= 0;
27651 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27656 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27657 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27662 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27663 PyObject
*pyobj
= 0;
27665 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27670 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27671 PyObject
*resultobj
= 0;
27672 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27675 PyObject
*swig_obj
[1] ;
27677 if (!args
) SWIG_fail
;
27678 swig_obj
[0] = args
;
27679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27680 if (!SWIG_IsOK(res1
)) {
27681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27683 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27687 if (PyErr_Occurred()) SWIG_fail
;
27689 resultobj
= SWIG_Py_Void();
27696 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27697 PyObject
*resultobj
= 0;
27698 wxWindowDC
*arg1
= 0 ;
27699 wxGraphicsContext
*result
= 0 ;
27703 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27705 if (!SWIG_IsOK(res1
)) {
27706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27711 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27713 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27714 if (PyErr_Occurred()) SWIG_fail
;
27716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27723 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27724 PyObject
*resultobj
= 0;
27725 wxWindow
*arg1
= (wxWindow
*) 0 ;
27726 wxGraphicsContext
*result
= 0 ;
27730 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27732 if (!SWIG_IsOK(res1
)) {
27733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27735 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27737 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27738 if (PyErr_Occurred()) SWIG_fail
;
27740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27747 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27751 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27756 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27757 _v
= SWIG_CheckState(res
);
27759 if (!_v
) goto check_1
;
27760 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27765 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27769 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27774 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27775 PyObject
*resultobj
= 0;
27776 wxGraphicsContext
*result
= 0 ;
27778 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
27780 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
27781 if (PyErr_Occurred()) SWIG_fail
;
27783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27790 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27791 PyObject
*resultobj
= 0;
27792 void *arg1
= (void *) 0 ;
27793 wxGraphicsContext
*result
= 0 ;
27795 PyObject
* obj0
= 0 ;
27796 char * kwnames
[] = {
27797 (char *) "context", NULL
27800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27801 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27802 if (!SWIG_IsOK(res1
)) {
27803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27806 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27807 if (PyErr_Occurred()) SWIG_fail
;
27809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27816 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27817 PyObject
*resultobj
= 0;
27818 void *arg1
= (void *) 0 ;
27819 wxGraphicsContext
*result
= 0 ;
27821 PyObject
* obj0
= 0 ;
27822 char * kwnames
[] = {
27823 (char *) "window", NULL
27826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27827 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27828 if (!SWIG_IsOK(res1
)) {
27829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27832 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27833 if (PyErr_Occurred()) SWIG_fail
;
27835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27842 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27843 PyObject
*resultobj
= 0;
27844 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27845 wxGraphicsPath result
;
27848 PyObject
*swig_obj
[1] ;
27850 if (!args
) SWIG_fail
;
27851 swig_obj
[0] = args
;
27852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27853 if (!SWIG_IsOK(res1
)) {
27854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27856 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27858 result
= (arg1
)->CreatePath();
27859 if (PyErr_Occurred()) SWIG_fail
;
27861 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27868 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27869 PyObject
*resultobj
= 0;
27870 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27872 wxGraphicsPen result
;
27877 PyObject
* obj0
= 0 ;
27878 PyObject
* obj1
= 0 ;
27879 char * kwnames
[] = {
27880 (char *) "self",(char *) "pen", NULL
27883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27885 if (!SWIG_IsOK(res1
)) {
27886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27888 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27889 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27890 if (!SWIG_IsOK(res2
)) {
27891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27896 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27898 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27899 if (PyErr_Occurred()) SWIG_fail
;
27901 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27908 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27909 PyObject
*resultobj
= 0;
27910 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27911 wxBrush
*arg2
= 0 ;
27912 wxGraphicsBrush result
;
27917 PyObject
* obj0
= 0 ;
27918 PyObject
* obj1
= 0 ;
27919 char * kwnames
[] = {
27920 (char *) "self",(char *) "brush", NULL
27923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27925 if (!SWIG_IsOK(res1
)) {
27926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27928 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27929 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27930 if (!SWIG_IsOK(res2
)) {
27931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27934 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27936 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27938 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27939 if (PyErr_Occurred()) SWIG_fail
;
27941 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27948 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27949 PyObject
*resultobj
= 0;
27950 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27955 wxColour
*arg6
= 0 ;
27956 wxColour
*arg7
= 0 ;
27957 wxGraphicsBrush result
;
27970 PyObject
* obj0
= 0 ;
27971 PyObject
* obj1
= 0 ;
27972 PyObject
* obj2
= 0 ;
27973 PyObject
* obj3
= 0 ;
27974 PyObject
* obj4
= 0 ;
27975 PyObject
* obj5
= 0 ;
27976 PyObject
* obj6
= 0 ;
27977 char * kwnames
[] = {
27978 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27983 if (!SWIG_IsOK(res1
)) {
27984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27986 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27987 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27988 if (!SWIG_IsOK(ecode2
)) {
27989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27991 arg2
= static_cast< wxDouble
>(val2
);
27992 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27993 if (!SWIG_IsOK(ecode3
)) {
27994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27996 arg3
= static_cast< wxDouble
>(val3
);
27997 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27998 if (!SWIG_IsOK(ecode4
)) {
27999 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28001 arg4
= static_cast< wxDouble
>(val4
);
28002 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28003 if (!SWIG_IsOK(ecode5
)) {
28004 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28006 arg5
= static_cast< wxDouble
>(val5
);
28009 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28013 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28016 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28019 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28026 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28027 PyObject
*resultobj
= 0;
28028 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28034 wxColour
*arg7
= 0 ;
28035 wxColour
*arg8
= 0 ;
28036 wxGraphicsBrush result
;
28051 PyObject
* obj0
= 0 ;
28052 PyObject
* obj1
= 0 ;
28053 PyObject
* obj2
= 0 ;
28054 PyObject
* obj3
= 0 ;
28055 PyObject
* obj4
= 0 ;
28056 PyObject
* obj5
= 0 ;
28057 PyObject
* obj6
= 0 ;
28058 PyObject
* obj7
= 0 ;
28059 char * kwnames
[] = {
28060 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28065 if (!SWIG_IsOK(res1
)) {
28066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28068 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28069 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28070 if (!SWIG_IsOK(ecode2
)) {
28071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28073 arg2
= static_cast< wxDouble
>(val2
);
28074 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28075 if (!SWIG_IsOK(ecode3
)) {
28076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28078 arg3
= static_cast< wxDouble
>(val3
);
28079 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28080 if (!SWIG_IsOK(ecode4
)) {
28081 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28083 arg4
= static_cast< wxDouble
>(val4
);
28084 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28085 if (!SWIG_IsOK(ecode5
)) {
28086 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28088 arg5
= static_cast< wxDouble
>(val5
);
28089 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28090 if (!SWIG_IsOK(ecode6
)) {
28091 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28093 arg6
= static_cast< wxDouble
>(val6
);
28096 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28100 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28103 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28104 if (PyErr_Occurred()) SWIG_fail
;
28106 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28113 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28114 PyObject
*resultobj
= 0;
28115 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28117 wxColour
const &arg3_defvalue
= *wxBLACK
;
28118 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28119 wxGraphicsFont result
;
28125 PyObject
* obj0
= 0 ;
28126 PyObject
* obj1
= 0 ;
28127 PyObject
* obj2
= 0 ;
28128 char * kwnames
[] = {
28129 (char *) "self",(char *) "font",(char *) "col", NULL
28132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28134 if (!SWIG_IsOK(res1
)) {
28135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28137 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28138 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28139 if (!SWIG_IsOK(res2
)) {
28140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28143 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28145 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28149 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28153 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28154 if (PyErr_Occurred()) SWIG_fail
;
28156 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28163 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28164 PyObject
*resultobj
= 0;
28165 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28166 wxDouble arg2
= (wxDouble
) 1.0 ;
28167 wxDouble arg3
= (wxDouble
) 0.0 ;
28168 wxDouble arg4
= (wxDouble
) 0.0 ;
28169 wxDouble arg5
= (wxDouble
) 1.0 ;
28170 wxDouble arg6
= (wxDouble
) 0.0 ;
28171 wxDouble arg7
= (wxDouble
) 0.0 ;
28172 wxGraphicsMatrix result
;
28187 PyObject
* obj0
= 0 ;
28188 PyObject
* obj1
= 0 ;
28189 PyObject
* obj2
= 0 ;
28190 PyObject
* obj3
= 0 ;
28191 PyObject
* obj4
= 0 ;
28192 PyObject
* obj5
= 0 ;
28193 PyObject
* obj6
= 0 ;
28194 char * kwnames
[] = {
28195 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28200 if (!SWIG_IsOK(res1
)) {
28201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28203 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28205 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28206 if (!SWIG_IsOK(ecode2
)) {
28207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28209 arg2
= static_cast< wxDouble
>(val2
);
28212 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28213 if (!SWIG_IsOK(ecode3
)) {
28214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28216 arg3
= static_cast< wxDouble
>(val3
);
28219 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28220 if (!SWIG_IsOK(ecode4
)) {
28221 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28223 arg4
= static_cast< wxDouble
>(val4
);
28226 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28227 if (!SWIG_IsOK(ecode5
)) {
28228 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28230 arg5
= static_cast< wxDouble
>(val5
);
28233 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28234 if (!SWIG_IsOK(ecode6
)) {
28235 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28237 arg6
= static_cast< wxDouble
>(val6
);
28240 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28241 if (!SWIG_IsOK(ecode7
)) {
28242 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28244 arg7
= static_cast< wxDouble
>(val7
);
28247 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28248 if (PyErr_Occurred()) SWIG_fail
;
28250 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28257 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28258 PyObject
*resultobj
= 0;
28259 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28262 PyObject
*swig_obj
[1] ;
28264 if (!args
) SWIG_fail
;
28265 swig_obj
[0] = args
;
28266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28267 if (!SWIG_IsOK(res1
)) {
28268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28270 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28272 (arg1
)->PushState();
28273 if (PyErr_Occurred()) SWIG_fail
;
28275 resultobj
= SWIG_Py_Void();
28282 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28283 PyObject
*resultobj
= 0;
28284 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28287 PyObject
*swig_obj
[1] ;
28289 if (!args
) SWIG_fail
;
28290 swig_obj
[0] = args
;
28291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28292 if (!SWIG_IsOK(res1
)) {
28293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28295 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28297 (arg1
)->PopState();
28298 if (PyErr_Occurred()) SWIG_fail
;
28300 resultobj
= SWIG_Py_Void();
28307 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28308 PyObject
*resultobj
= 0;
28309 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28310 wxRegion
*arg2
= 0 ;
28315 PyObject
* obj0
= 0 ;
28316 PyObject
* obj1
= 0 ;
28317 char * kwnames
[] = {
28318 (char *) "self",(char *) "region", NULL
28321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28323 if (!SWIG_IsOK(res1
)) {
28324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28326 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28327 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28328 if (!SWIG_IsOK(res2
)) {
28329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28334 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28336 (arg1
)->Clip((wxRegion
const &)*arg2
);
28337 if (PyErr_Occurred()) SWIG_fail
;
28339 resultobj
= SWIG_Py_Void();
28346 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28347 PyObject
*resultobj
= 0;
28348 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28363 PyObject
* obj0
= 0 ;
28364 PyObject
* obj1
= 0 ;
28365 PyObject
* obj2
= 0 ;
28366 PyObject
* obj3
= 0 ;
28367 PyObject
* obj4
= 0 ;
28368 char * kwnames
[] = {
28369 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28374 if (!SWIG_IsOK(res1
)) {
28375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28377 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28378 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28379 if (!SWIG_IsOK(ecode2
)) {
28380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28382 arg2
= static_cast< wxDouble
>(val2
);
28383 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28384 if (!SWIG_IsOK(ecode3
)) {
28385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28387 arg3
= static_cast< wxDouble
>(val3
);
28388 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28389 if (!SWIG_IsOK(ecode4
)) {
28390 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28392 arg4
= static_cast< wxDouble
>(val4
);
28393 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28394 if (!SWIG_IsOK(ecode5
)) {
28395 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28397 arg5
= static_cast< wxDouble
>(val5
);
28399 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28400 if (PyErr_Occurred()) SWIG_fail
;
28402 resultobj
= SWIG_Py_Void();
28409 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28410 PyObject
*resultobj
= 0;
28411 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28414 PyObject
*swig_obj
[1] ;
28416 if (!args
) SWIG_fail
;
28417 swig_obj
[0] = args
;
28418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28419 if (!SWIG_IsOK(res1
)) {
28420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28422 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28424 (arg1
)->ResetClip();
28425 if (PyErr_Occurred()) SWIG_fail
;
28427 resultobj
= SWIG_Py_Void();
28434 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28435 PyObject
*resultobj
= 0;
28436 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28440 PyObject
*swig_obj
[1] ;
28442 if (!args
) SWIG_fail
;
28443 swig_obj
[0] = args
;
28444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28445 if (!SWIG_IsOK(res1
)) {
28446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28448 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28450 result
= (void *)(arg1
)->GetNativeContext();
28451 if (PyErr_Occurred()) SWIG_fail
;
28453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28460 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28461 PyObject
*resultobj
= 0;
28462 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28466 PyObject
*swig_obj
[1] ;
28468 if (!args
) SWIG_fail
;
28469 swig_obj
[0] = args
;
28470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28471 if (!SWIG_IsOK(res1
)) {
28472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28474 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28476 result
= (int)((wxGraphicsContext
const *)arg1
)->GetLogicalFunction();
28477 if (PyErr_Occurred()) SWIG_fail
;
28479 resultobj
= SWIG_From_int(static_cast< int >(result
));
28486 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28487 PyObject
*resultobj
= 0;
28488 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28495 PyObject
* obj0
= 0 ;
28496 PyObject
* obj1
= 0 ;
28497 char * kwnames
[] = {
28498 (char *) "self",(char *) "function", NULL
28501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28503 if (!SWIG_IsOK(res1
)) {
28504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28506 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28508 if (!SWIG_IsOK(ecode2
)) {
28509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
28511 arg2
= static_cast< int >(val2
);
28513 result
= (bool)(arg1
)->SetLogicalFunction(arg2
);
28514 if (PyErr_Occurred()) SWIG_fail
;
28517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28525 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28526 PyObject
*resultobj
= 0;
28527 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28536 PyObject
* obj0
= 0 ;
28537 PyObject
* obj1
= 0 ;
28538 PyObject
* obj2
= 0 ;
28539 char * kwnames
[] = {
28540 (char *) "self",(char *) "dx",(char *) "dy", NULL
28543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28545 if (!SWIG_IsOK(res1
)) {
28546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28548 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28549 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28550 if (!SWIG_IsOK(ecode2
)) {
28551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28553 arg2
= static_cast< wxDouble
>(val2
);
28554 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28555 if (!SWIG_IsOK(ecode3
)) {
28556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28558 arg3
= static_cast< wxDouble
>(val3
);
28560 (arg1
)->Translate(arg2
,arg3
);
28561 if (PyErr_Occurred()) SWIG_fail
;
28563 resultobj
= SWIG_Py_Void();
28570 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28571 PyObject
*resultobj
= 0;
28572 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28581 PyObject
* obj0
= 0 ;
28582 PyObject
* obj1
= 0 ;
28583 PyObject
* obj2
= 0 ;
28584 char * kwnames
[] = {
28585 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28590 if (!SWIG_IsOK(res1
)) {
28591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28593 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28594 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28595 if (!SWIG_IsOK(ecode2
)) {
28596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28598 arg2
= static_cast< wxDouble
>(val2
);
28599 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28600 if (!SWIG_IsOK(ecode3
)) {
28601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28603 arg3
= static_cast< wxDouble
>(val3
);
28605 (arg1
)->Scale(arg2
,arg3
);
28606 if (PyErr_Occurred()) SWIG_fail
;
28608 resultobj
= SWIG_Py_Void();
28615 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28616 PyObject
*resultobj
= 0;
28617 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28623 PyObject
* obj0
= 0 ;
28624 PyObject
* obj1
= 0 ;
28625 char * kwnames
[] = {
28626 (char *) "self",(char *) "angle", NULL
28629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28631 if (!SWIG_IsOK(res1
)) {
28632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28634 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28635 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28636 if (!SWIG_IsOK(ecode2
)) {
28637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28639 arg2
= static_cast< wxDouble
>(val2
);
28641 (arg1
)->Rotate(arg2
);
28642 if (PyErr_Occurred()) SWIG_fail
;
28644 resultobj
= SWIG_Py_Void();
28651 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28652 PyObject
*resultobj
= 0;
28653 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28654 wxGraphicsMatrix
*arg2
= 0 ;
28659 PyObject
* obj0
= 0 ;
28660 PyObject
* obj1
= 0 ;
28661 char * kwnames
[] = {
28662 (char *) "self",(char *) "matrix", NULL
28665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28667 if (!SWIG_IsOK(res1
)) {
28668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28670 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28671 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28672 if (!SWIG_IsOK(res2
)) {
28673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28678 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28680 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28681 if (PyErr_Occurred()) SWIG_fail
;
28683 resultobj
= SWIG_Py_Void();
28690 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28691 PyObject
*resultobj
= 0;
28692 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28693 wxGraphicsMatrix
*arg2
= 0 ;
28698 PyObject
* obj0
= 0 ;
28699 PyObject
* obj1
= 0 ;
28700 char * kwnames
[] = {
28701 (char *) "self",(char *) "matrix", NULL
28704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28706 if (!SWIG_IsOK(res1
)) {
28707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28709 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28710 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28711 if (!SWIG_IsOK(res2
)) {
28712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28717 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28719 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28720 if (PyErr_Occurred()) SWIG_fail
;
28722 resultobj
= SWIG_Py_Void();
28729 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28730 PyObject
*resultobj
= 0;
28731 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28732 wxGraphicsMatrix result
;
28735 PyObject
*swig_obj
[1] ;
28737 if (!args
) SWIG_fail
;
28738 swig_obj
[0] = args
;
28739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28740 if (!SWIG_IsOK(res1
)) {
28741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28743 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28745 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28746 if (PyErr_Occurred()) SWIG_fail
;
28748 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28755 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28756 PyObject
*resultobj
= 0;
28757 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28758 wxGraphicsPen
*arg2
= 0 ;
28764 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28766 if (!SWIG_IsOK(res1
)) {
28767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28769 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28770 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28771 if (!SWIG_IsOK(res2
)) {
28772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28777 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28779 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28780 if (PyErr_Occurred()) SWIG_fail
;
28782 resultobj
= SWIG_Py_Void();
28789 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28790 PyObject
*resultobj
= 0;
28791 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28798 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28800 if (!SWIG_IsOK(res1
)) {
28801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28803 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28804 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28805 if (!SWIG_IsOK(res2
)) {
28806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28811 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28813 (arg1
)->SetPen((wxPen
const &)*arg2
);
28814 if (PyErr_Occurred()) SWIG_fail
;
28816 resultobj
= SWIG_Py_Void();
28823 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28827 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28832 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28833 _v
= SWIG_CheckState(res
);
28835 if (!_v
) goto check_1
;
28836 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28841 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28845 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28850 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28851 PyObject
*resultobj
= 0;
28852 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28853 wxGraphicsBrush
*arg2
= 0 ;
28859 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28861 if (!SWIG_IsOK(res1
)) {
28862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28864 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28865 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28866 if (!SWIG_IsOK(res2
)) {
28867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28872 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28874 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28875 if (PyErr_Occurred()) SWIG_fail
;
28877 resultobj
= SWIG_Py_Void();
28884 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28885 PyObject
*resultobj
= 0;
28886 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28887 wxBrush
*arg2
= 0 ;
28893 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28895 if (!SWIG_IsOK(res1
)) {
28896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28898 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28899 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28900 if (!SWIG_IsOK(res2
)) {
28901 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28906 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28908 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28911 resultobj
= SWIG_Py_Void();
28918 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28922 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28927 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28928 _v
= SWIG_CheckState(res
);
28930 if (!_v
) goto check_1
;
28931 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28936 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28940 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28945 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28946 PyObject
*resultobj
= 0;
28947 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28948 wxGraphicsFont
*arg2
= 0 ;
28954 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28956 if (!SWIG_IsOK(res1
)) {
28957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28959 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28960 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28961 if (!SWIG_IsOK(res2
)) {
28962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28967 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28969 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28970 if (PyErr_Occurred()) SWIG_fail
;
28972 resultobj
= SWIG_Py_Void();
28979 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28980 PyObject
*resultobj
= 0;
28981 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28983 wxColour
const &arg3_defvalue
= *wxBLACK
;
28984 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28991 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28993 if (!SWIG_IsOK(res1
)) {
28994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28996 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28997 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28998 if (!SWIG_IsOK(res2
)) {
28999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29004 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29008 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
29012 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29013 if (PyErr_Occurred()) SWIG_fail
;
29015 resultobj
= SWIG_Py_Void();
29022 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29026 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29031 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29032 _v
= SWIG_CheckState(res
);
29034 if (!_v
) goto check_1
;
29035 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29039 if ((argc
>= 2) && (argc
<= 3)) {
29040 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29044 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29049 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29050 PyObject
*resultobj
= 0;
29051 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29052 wxGraphicsPath
*arg2
= 0 ;
29057 PyObject
* obj0
= 0 ;
29058 PyObject
* obj1
= 0 ;
29059 char * kwnames
[] = {
29060 (char *) "self",(char *) "path", NULL
29063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29065 if (!SWIG_IsOK(res1
)) {
29066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29068 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29069 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29070 if (!SWIG_IsOK(res2
)) {
29071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29076 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29078 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29079 if (PyErr_Occurred()) SWIG_fail
;
29081 resultobj
= SWIG_Py_Void();
29088 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29089 PyObject
*resultobj
= 0;
29090 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29091 wxGraphicsPath
*arg2
= 0 ;
29092 int arg3
= (int) wxODDEVEN_RULE
;
29099 PyObject
* obj0
= 0 ;
29100 PyObject
* obj1
= 0 ;
29101 PyObject
* obj2
= 0 ;
29102 char * kwnames
[] = {
29103 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29108 if (!SWIG_IsOK(res1
)) {
29109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29111 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29112 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29113 if (!SWIG_IsOK(res2
)) {
29114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29119 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29121 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29122 if (!SWIG_IsOK(ecode3
)) {
29123 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29125 arg3
= static_cast< int >(val3
);
29128 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29129 if (PyErr_Occurred()) SWIG_fail
;
29131 resultobj
= SWIG_Py_Void();
29138 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29139 PyObject
*resultobj
= 0;
29140 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29141 wxGraphicsPath
*arg2
= 0 ;
29142 int arg3
= (int) wxODDEVEN_RULE
;
29149 PyObject
* obj0
= 0 ;
29150 PyObject
* obj1
= 0 ;
29151 PyObject
* obj2
= 0 ;
29152 char * kwnames
[] = {
29153 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29158 if (!SWIG_IsOK(res1
)) {
29159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29161 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29162 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29163 if (!SWIG_IsOK(res2
)) {
29164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29169 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29171 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29172 if (!SWIG_IsOK(ecode3
)) {
29173 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29175 arg3
= static_cast< int >(val3
);
29178 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29179 if (PyErr_Occurred()) SWIG_fail
;
29181 resultobj
= SWIG_Py_Void();
29188 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29189 PyObject
*resultobj
= 0;
29190 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29191 wxString
*arg2
= 0 ;
29194 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
29195 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
29198 bool temp2
= false ;
29205 PyObject
* obj0
= 0 ;
29206 PyObject
* obj1
= 0 ;
29207 PyObject
* obj2
= 0 ;
29208 PyObject
* obj3
= 0 ;
29209 PyObject
* obj4
= 0 ;
29210 char * kwnames
[] = {
29211 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29216 if (!SWIG_IsOK(res1
)) {
29217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29219 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29221 arg2
= wxString_in_helper(obj1
);
29222 if (arg2
== NULL
) SWIG_fail
;
29225 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29226 if (!SWIG_IsOK(ecode3
)) {
29227 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29229 arg3
= static_cast< wxDouble
>(val3
);
29230 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29231 if (!SWIG_IsOK(ecode4
)) {
29232 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29234 arg4
= static_cast< wxDouble
>(val4
);
29236 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29237 if (!SWIG_IsOK(res5
)) {
29238 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29243 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29246 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29247 if (PyErr_Occurred()) SWIG_fail
;
29249 resultobj
= SWIG_Py_Void();
29264 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29265 PyObject
*resultobj
= 0;
29266 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29267 wxString
*arg2
= 0 ;
29271 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29272 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29275 bool temp2
= false ;
29284 PyObject
* obj0
= 0 ;
29285 PyObject
* obj1
= 0 ;
29286 PyObject
* obj2
= 0 ;
29287 PyObject
* obj3
= 0 ;
29288 PyObject
* obj4
= 0 ;
29289 PyObject
* obj5
= 0 ;
29290 char * kwnames
[] = {
29291 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
29294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29296 if (!SWIG_IsOK(res1
)) {
29297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29299 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29301 arg2
= wxString_in_helper(obj1
);
29302 if (arg2
== NULL
) SWIG_fail
;
29305 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29306 if (!SWIG_IsOK(ecode3
)) {
29307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29309 arg3
= static_cast< wxDouble
>(val3
);
29310 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29311 if (!SWIG_IsOK(ecode4
)) {
29312 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29314 arg4
= static_cast< wxDouble
>(val4
);
29315 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29316 if (!SWIG_IsOK(ecode5
)) {
29317 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29319 arg5
= static_cast< wxDouble
>(val5
);
29321 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29322 if (!SWIG_IsOK(res6
)) {
29323 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29328 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
29331 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
29332 if (PyErr_Occurred()) SWIG_fail
;
29334 resultobj
= SWIG_Py_Void();
29349 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29350 PyObject
*resultobj
= 0;
29351 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29352 wxString
*arg2
= 0 ;
29353 wxDouble
*arg3
= (wxDouble
*) 0 ;
29354 wxDouble
*arg4
= (wxDouble
*) 0 ;
29355 wxDouble
*arg5
= (wxDouble
*) 0 ;
29356 wxDouble
*arg6
= (wxDouble
*) 0 ;
29359 bool temp2
= false ;
29361 int res3
= SWIG_TMPOBJ
;
29363 int res4
= SWIG_TMPOBJ
;
29365 int res5
= SWIG_TMPOBJ
;
29367 int res6
= SWIG_TMPOBJ
;
29368 PyObject
* obj0
= 0 ;
29369 PyObject
* obj1
= 0 ;
29370 char * kwnames
[] = {
29371 (char *) "self",(char *) "text", NULL
29378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29380 if (!SWIG_IsOK(res1
)) {
29381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29383 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29385 arg2
= wxString_in_helper(obj1
);
29386 if (arg2
== NULL
) SWIG_fail
;
29390 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29391 if (PyErr_Occurred()) SWIG_fail
;
29393 resultobj
= SWIG_Py_Void();
29394 if (SWIG_IsTmpObj(res3
)) {
29395 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29397 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29398 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29400 if (SWIG_IsTmpObj(res4
)) {
29401 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29403 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29404 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29406 if (SWIG_IsTmpObj(res5
)) {
29407 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29409 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29410 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29412 if (SWIG_IsTmpObj(res6
)) {
29413 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29415 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29416 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29432 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29433 PyObject
*resultobj
= 0;
29434 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29435 wxString
*arg2
= 0 ;
29436 PyObject
*result
= 0 ;
29439 bool temp2
= false ;
29440 PyObject
* obj0
= 0 ;
29441 PyObject
* obj1
= 0 ;
29442 char * kwnames
[] = {
29443 (char *) "self",(char *) "text", NULL
29446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29448 if (!SWIG_IsOK(res1
)) {
29449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29451 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29453 arg2
= wxString_in_helper(obj1
);
29454 if (arg2
== NULL
) SWIG_fail
;
29458 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29459 if (PyErr_Occurred()) SWIG_fail
;
29461 resultobj
= result
;
29476 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29477 PyObject
*resultobj
= 0;
29478 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29479 wxString
*arg2
= 0 ;
29480 wxArrayDouble result
;
29483 bool temp2
= false ;
29484 PyObject
* obj0
= 0 ;
29485 PyObject
* obj1
= 0 ;
29486 char * kwnames
[] = {
29487 (char *) "self",(char *) "text", NULL
29490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29492 if (!SWIG_IsOK(res1
)) {
29493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29495 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29497 arg2
= wxString_in_helper(obj1
);
29498 if (arg2
== NULL
) SWIG_fail
;
29502 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29503 if (PyErr_Occurred()) SWIG_fail
;
29506 resultobj
= wxArrayDouble2PyList_helper(result
);
29522 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29523 PyObject
*resultobj
= 0;
29524 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29525 wxBitmap
*arg2
= 0 ;
29542 PyObject
* obj0
= 0 ;
29543 PyObject
* obj1
= 0 ;
29544 PyObject
* obj2
= 0 ;
29545 PyObject
* obj3
= 0 ;
29546 PyObject
* obj4
= 0 ;
29547 PyObject
* obj5
= 0 ;
29548 char * kwnames
[] = {
29549 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29554 if (!SWIG_IsOK(res1
)) {
29555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29557 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29558 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29559 if (!SWIG_IsOK(res2
)) {
29560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29565 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29566 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29567 if (!SWIG_IsOK(ecode3
)) {
29568 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29570 arg3
= static_cast< wxDouble
>(val3
);
29571 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29572 if (!SWIG_IsOK(ecode4
)) {
29573 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29575 arg4
= static_cast< wxDouble
>(val4
);
29576 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29577 if (!SWIG_IsOK(ecode5
)) {
29578 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29580 arg5
= static_cast< wxDouble
>(val5
);
29581 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29582 if (!SWIG_IsOK(ecode6
)) {
29583 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29585 arg6
= static_cast< wxDouble
>(val6
);
29587 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29588 if (PyErr_Occurred()) SWIG_fail
;
29590 resultobj
= SWIG_Py_Void();
29597 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29598 PyObject
*resultobj
= 0;
29599 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29617 PyObject
* obj0
= 0 ;
29618 PyObject
* obj1
= 0 ;
29619 PyObject
* obj2
= 0 ;
29620 PyObject
* obj3
= 0 ;
29621 PyObject
* obj4
= 0 ;
29622 PyObject
* obj5
= 0 ;
29623 char * kwnames
[] = {
29624 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29629 if (!SWIG_IsOK(res1
)) {
29630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29632 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29633 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29634 if (!SWIG_IsOK(res2
)) {
29635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29640 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29641 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29642 if (!SWIG_IsOK(ecode3
)) {
29643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29645 arg3
= static_cast< wxDouble
>(val3
);
29646 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29647 if (!SWIG_IsOK(ecode4
)) {
29648 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29650 arg4
= static_cast< wxDouble
>(val4
);
29651 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29652 if (!SWIG_IsOK(ecode5
)) {
29653 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29655 arg5
= static_cast< wxDouble
>(val5
);
29656 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29657 if (!SWIG_IsOK(ecode6
)) {
29658 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29660 arg6
= static_cast< wxDouble
>(val6
);
29662 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29663 if (PyErr_Occurred()) SWIG_fail
;
29665 resultobj
= SWIG_Py_Void();
29672 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29673 PyObject
*resultobj
= 0;
29674 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29689 PyObject
* obj0
= 0 ;
29690 PyObject
* obj1
= 0 ;
29691 PyObject
* obj2
= 0 ;
29692 PyObject
* obj3
= 0 ;
29693 PyObject
* obj4
= 0 ;
29694 char * kwnames
[] = {
29695 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29700 if (!SWIG_IsOK(res1
)) {
29701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29703 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29704 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29705 if (!SWIG_IsOK(ecode2
)) {
29706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29708 arg2
= static_cast< wxDouble
>(val2
);
29709 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29710 if (!SWIG_IsOK(ecode3
)) {
29711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29713 arg3
= static_cast< wxDouble
>(val3
);
29714 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29715 if (!SWIG_IsOK(ecode4
)) {
29716 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29718 arg4
= static_cast< wxDouble
>(val4
);
29719 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29720 if (!SWIG_IsOK(ecode5
)) {
29721 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29723 arg5
= static_cast< wxDouble
>(val5
);
29725 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29726 if (PyErr_Occurred()) SWIG_fail
;
29728 resultobj
= SWIG_Py_Void();
29735 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29736 PyObject
*resultobj
= 0;
29737 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29739 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29742 PyObject
* obj0
= 0 ;
29743 PyObject
* obj1
= 0 ;
29744 char * kwnames
[] = {
29745 (char *) "self",(char *) "points", NULL
29748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29750 if (!SWIG_IsOK(res1
)) {
29751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29753 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29755 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29756 if (arg3
== NULL
) SWIG_fail
;
29759 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29760 if (PyErr_Occurred()) SWIG_fail
;
29762 resultobj
= SWIG_Py_Void();
29764 if (arg3
) delete [] arg3
;
29769 if (arg3
) delete [] arg3
;
29775 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29776 PyObject
*resultobj
= 0;
29777 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29778 PyObject
*arg2
= (PyObject
*) 0 ;
29779 PyObject
*arg3
= (PyObject
*) 0 ;
29782 PyObject
* obj0
= 0 ;
29783 PyObject
* obj1
= 0 ;
29784 PyObject
* obj2
= 0 ;
29785 char * kwnames
[] = {
29786 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29791 if (!SWIG_IsOK(res1
)) {
29792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29794 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29798 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29799 if (PyErr_Occurred()) SWIG_fail
;
29801 resultobj
= SWIG_Py_Void();
29808 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29809 PyObject
*resultobj
= 0;
29810 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29812 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29813 int arg4
= (int) wxODDEVEN_RULE
;
29818 PyObject
* obj0
= 0 ;
29819 PyObject
* obj1
= 0 ;
29820 PyObject
* obj2
= 0 ;
29821 char * kwnames
[] = {
29822 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29827 if (!SWIG_IsOK(res1
)) {
29828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29830 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29832 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29833 if (arg3
== NULL
) SWIG_fail
;
29836 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29837 if (!SWIG_IsOK(ecode4
)) {
29838 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29840 arg4
= static_cast< int >(val4
);
29843 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29844 if (PyErr_Occurred()) SWIG_fail
;
29846 resultobj
= SWIG_Py_Void();
29848 if (arg3
) delete [] arg3
;
29853 if (arg3
) delete [] arg3
;
29859 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29860 PyObject
*resultobj
= 0;
29861 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29876 PyObject
* obj0
= 0 ;
29877 PyObject
* obj1
= 0 ;
29878 PyObject
* obj2
= 0 ;
29879 PyObject
* obj3
= 0 ;
29880 PyObject
* obj4
= 0 ;
29881 char * kwnames
[] = {
29882 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29887 if (!SWIG_IsOK(res1
)) {
29888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29890 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29891 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29892 if (!SWIG_IsOK(ecode2
)) {
29893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29895 arg2
= static_cast< wxDouble
>(val2
);
29896 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29897 if (!SWIG_IsOK(ecode3
)) {
29898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29900 arg3
= static_cast< wxDouble
>(val3
);
29901 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29902 if (!SWIG_IsOK(ecode4
)) {
29903 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29905 arg4
= static_cast< wxDouble
>(val4
);
29906 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29907 if (!SWIG_IsOK(ecode5
)) {
29908 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29910 arg5
= static_cast< wxDouble
>(val5
);
29912 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29913 if (PyErr_Occurred()) SWIG_fail
;
29915 resultobj
= SWIG_Py_Void();
29922 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29923 PyObject
*resultobj
= 0;
29924 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29939 PyObject
* obj0
= 0 ;
29940 PyObject
* obj1
= 0 ;
29941 PyObject
* obj2
= 0 ;
29942 PyObject
* obj3
= 0 ;
29943 PyObject
* obj4
= 0 ;
29944 char * kwnames
[] = {
29945 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29950 if (!SWIG_IsOK(res1
)) {
29951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29953 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29954 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29955 if (!SWIG_IsOK(ecode2
)) {
29956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29958 arg2
= static_cast< wxDouble
>(val2
);
29959 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29960 if (!SWIG_IsOK(ecode3
)) {
29961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29963 arg3
= static_cast< wxDouble
>(val3
);
29964 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29965 if (!SWIG_IsOK(ecode4
)) {
29966 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29968 arg4
= static_cast< wxDouble
>(val4
);
29969 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29970 if (!SWIG_IsOK(ecode5
)) {
29971 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29973 arg5
= static_cast< wxDouble
>(val5
);
29975 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29976 if (PyErr_Occurred()) SWIG_fail
;
29978 resultobj
= SWIG_Py_Void();
29985 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29986 PyObject
*resultobj
= 0;
29987 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30005 PyObject
* obj0
= 0 ;
30006 PyObject
* obj1
= 0 ;
30007 PyObject
* obj2
= 0 ;
30008 PyObject
* obj3
= 0 ;
30009 PyObject
* obj4
= 0 ;
30010 PyObject
* obj5
= 0 ;
30011 char * kwnames
[] = {
30012 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30017 if (!SWIG_IsOK(res1
)) {
30018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30020 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30021 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30022 if (!SWIG_IsOK(ecode2
)) {
30023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30025 arg2
= static_cast< wxDouble
>(val2
);
30026 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30027 if (!SWIG_IsOK(ecode3
)) {
30028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30030 arg3
= static_cast< wxDouble
>(val3
);
30031 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30032 if (!SWIG_IsOK(ecode4
)) {
30033 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30035 arg4
= static_cast< wxDouble
>(val4
);
30036 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30037 if (!SWIG_IsOK(ecode5
)) {
30038 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30040 arg5
= static_cast< wxDouble
>(val5
);
30041 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30042 if (!SWIG_IsOK(ecode6
)) {
30043 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30045 arg6
= static_cast< wxDouble
>(val6
);
30047 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30048 if (PyErr_Occurred()) SWIG_fail
;
30050 resultobj
= SWIG_Py_Void();
30057 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30058 PyObject
*resultobj
= 0;
30059 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30063 PyObject
*swig_obj
[1] ;
30065 if (!args
) SWIG_fail
;
30066 swig_obj
[0] = args
;
30067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30068 if (!SWIG_IsOK(res1
)) {
30069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30071 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30073 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30074 if (PyErr_Occurred()) SWIG_fail
;
30077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30085 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30087 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30088 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30089 return SWIG_Py_Void();
30092 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30093 PyObject
*resultobj
= 0;
30094 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30097 PyObject
*swig_obj
[1] ;
30099 if (!args
) SWIG_fail
;
30100 swig_obj
[0] = args
;
30101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30102 if (!SWIG_IsOK(res1
)) {
30103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30105 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30109 if (PyErr_Occurred()) SWIG_fail
;
30111 resultobj
= SWIG_Py_Void();
30118 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30119 PyObject
*resultobj
= 0;
30120 wxGraphicsRenderer
*result
= 0 ;
30122 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30124 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30125 if (PyErr_Occurred()) SWIG_fail
;
30127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30134 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30135 PyObject
*resultobj
= 0;
30136 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30137 wxWindowDC
*arg2
= 0 ;
30138 wxGraphicsContext
*result
= 0 ;
30144 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30146 if (!SWIG_IsOK(res1
)) {
30147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30149 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30150 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30151 if (!SWIG_IsOK(res2
)) {
30152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30157 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30159 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30160 if (PyErr_Occurred()) SWIG_fail
;
30162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30169 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30170 PyObject
*resultobj
= 0;
30171 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30172 wxWindow
*arg2
= (wxWindow
*) 0 ;
30173 wxGraphicsContext
*result
= 0 ;
30179 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30181 if (!SWIG_IsOK(res1
)) {
30182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30184 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30185 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30186 if (!SWIG_IsOK(res2
)) {
30187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30189 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30191 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30192 if (PyErr_Occurred()) SWIG_fail
;
30194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30201 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30205 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30210 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30211 _v
= SWIG_CheckState(res
);
30213 if (!_v
) goto check_1
;
30214 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30219 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30223 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30228 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30229 PyObject
*resultobj
= 0;
30230 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30231 wxGraphicsContext
*result
= 0 ;
30234 PyObject
*swig_obj
[1] ;
30236 if (!args
) SWIG_fail
;
30237 swig_obj
[0] = args
;
30238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30239 if (!SWIG_IsOK(res1
)) {
30240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30242 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30244 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30245 if (PyErr_Occurred()) SWIG_fail
;
30247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30254 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30255 PyObject
*resultobj
= 0;
30256 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30257 void *arg2
= (void *) 0 ;
30258 wxGraphicsContext
*result
= 0 ;
30262 PyObject
* obj0
= 0 ;
30263 PyObject
* obj1
= 0 ;
30264 char * kwnames
[] = {
30265 (char *) "self",(char *) "context", NULL
30268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30270 if (!SWIG_IsOK(res1
)) {
30271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30273 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30274 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30275 if (!SWIG_IsOK(res2
)) {
30276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30279 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30280 if (PyErr_Occurred()) SWIG_fail
;
30282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30289 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30290 PyObject
*resultobj
= 0;
30291 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30292 void *arg2
= (void *) 0 ;
30293 wxGraphicsContext
*result
= 0 ;
30297 PyObject
* obj0
= 0 ;
30298 PyObject
* obj1
= 0 ;
30299 char * kwnames
[] = {
30300 (char *) "self",(char *) "window", NULL
30303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30305 if (!SWIG_IsOK(res1
)) {
30306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30308 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30309 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30310 if (!SWIG_IsOK(res2
)) {
30311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30314 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30324 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30325 PyObject
*resultobj
= 0;
30326 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30327 wxGraphicsPath result
;
30330 PyObject
*swig_obj
[1] ;
30332 if (!args
) SWIG_fail
;
30333 swig_obj
[0] = args
;
30334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30335 if (!SWIG_IsOK(res1
)) {
30336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30338 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30340 result
= (arg1
)->CreatePath();
30341 if (PyErr_Occurred()) SWIG_fail
;
30343 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30350 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30351 PyObject
*resultobj
= 0;
30352 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30353 wxDouble arg2
= (wxDouble
) 1.0 ;
30354 wxDouble arg3
= (wxDouble
) 0.0 ;
30355 wxDouble arg4
= (wxDouble
) 0.0 ;
30356 wxDouble arg5
= (wxDouble
) 1.0 ;
30357 wxDouble arg6
= (wxDouble
) 0.0 ;
30358 wxDouble arg7
= (wxDouble
) 0.0 ;
30359 wxGraphicsMatrix result
;
30374 PyObject
* obj0
= 0 ;
30375 PyObject
* obj1
= 0 ;
30376 PyObject
* obj2
= 0 ;
30377 PyObject
* obj3
= 0 ;
30378 PyObject
* obj4
= 0 ;
30379 PyObject
* obj5
= 0 ;
30380 PyObject
* obj6
= 0 ;
30381 char * kwnames
[] = {
30382 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30387 if (!SWIG_IsOK(res1
)) {
30388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30390 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30392 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30393 if (!SWIG_IsOK(ecode2
)) {
30394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30396 arg2
= static_cast< wxDouble
>(val2
);
30399 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30400 if (!SWIG_IsOK(ecode3
)) {
30401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30403 arg3
= static_cast< wxDouble
>(val3
);
30406 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30407 if (!SWIG_IsOK(ecode4
)) {
30408 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30410 arg4
= static_cast< wxDouble
>(val4
);
30413 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30414 if (!SWIG_IsOK(ecode5
)) {
30415 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30417 arg5
= static_cast< wxDouble
>(val5
);
30420 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30421 if (!SWIG_IsOK(ecode6
)) {
30422 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30424 arg6
= static_cast< wxDouble
>(val6
);
30427 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30428 if (!SWIG_IsOK(ecode7
)) {
30429 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30431 arg7
= static_cast< wxDouble
>(val7
);
30434 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30435 if (PyErr_Occurred()) SWIG_fail
;
30437 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30444 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30445 PyObject
*resultobj
= 0;
30446 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30448 wxGraphicsPen result
;
30453 PyObject
* obj0
= 0 ;
30454 PyObject
* obj1
= 0 ;
30455 char * kwnames
[] = {
30456 (char *) "self",(char *) "pen", NULL
30459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30461 if (!SWIG_IsOK(res1
)) {
30462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30464 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30465 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30466 if (!SWIG_IsOK(res2
)) {
30467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30472 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30474 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30475 if (PyErr_Occurred()) SWIG_fail
;
30477 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30484 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30485 PyObject
*resultobj
= 0;
30486 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30487 wxBrush
*arg2
= 0 ;
30488 wxGraphicsBrush result
;
30493 PyObject
* obj0
= 0 ;
30494 PyObject
* obj1
= 0 ;
30495 char * kwnames
[] = {
30496 (char *) "self",(char *) "brush", NULL
30499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30501 if (!SWIG_IsOK(res1
)) {
30502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30504 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30505 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30506 if (!SWIG_IsOK(res2
)) {
30507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30512 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30514 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30515 if (PyErr_Occurred()) SWIG_fail
;
30517 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30524 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30525 PyObject
*resultobj
= 0;
30526 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30531 wxColour
*arg6
= 0 ;
30532 wxColour
*arg7
= 0 ;
30533 wxGraphicsBrush result
;
30546 PyObject
* obj0
= 0 ;
30547 PyObject
* obj1
= 0 ;
30548 PyObject
* obj2
= 0 ;
30549 PyObject
* obj3
= 0 ;
30550 PyObject
* obj4
= 0 ;
30551 PyObject
* obj5
= 0 ;
30552 PyObject
* obj6
= 0 ;
30553 char * kwnames
[] = {
30554 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30559 if (!SWIG_IsOK(res1
)) {
30560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30562 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30563 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30564 if (!SWIG_IsOK(ecode2
)) {
30565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30567 arg2
= static_cast< wxDouble
>(val2
);
30568 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30569 if (!SWIG_IsOK(ecode3
)) {
30570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30572 arg3
= static_cast< wxDouble
>(val3
);
30573 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30574 if (!SWIG_IsOK(ecode4
)) {
30575 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30577 arg4
= static_cast< wxDouble
>(val4
);
30578 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30579 if (!SWIG_IsOK(ecode5
)) {
30580 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30582 arg5
= static_cast< wxDouble
>(val5
);
30585 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30589 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30592 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30593 if (PyErr_Occurred()) SWIG_fail
;
30595 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30602 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30603 PyObject
*resultobj
= 0;
30604 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30610 wxColour
*arg7
= 0 ;
30611 wxColour
*arg8
= 0 ;
30612 wxGraphicsBrush result
;
30627 PyObject
* obj0
= 0 ;
30628 PyObject
* obj1
= 0 ;
30629 PyObject
* obj2
= 0 ;
30630 PyObject
* obj3
= 0 ;
30631 PyObject
* obj4
= 0 ;
30632 PyObject
* obj5
= 0 ;
30633 PyObject
* obj6
= 0 ;
30634 PyObject
* obj7
= 0 ;
30635 char * kwnames
[] = {
30636 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30641 if (!SWIG_IsOK(res1
)) {
30642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30644 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30645 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30646 if (!SWIG_IsOK(ecode2
)) {
30647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30649 arg2
= static_cast< wxDouble
>(val2
);
30650 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30651 if (!SWIG_IsOK(ecode3
)) {
30652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30654 arg3
= static_cast< wxDouble
>(val3
);
30655 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30656 if (!SWIG_IsOK(ecode4
)) {
30657 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30659 arg4
= static_cast< wxDouble
>(val4
);
30660 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30661 if (!SWIG_IsOK(ecode5
)) {
30662 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30664 arg5
= static_cast< wxDouble
>(val5
);
30665 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30666 if (!SWIG_IsOK(ecode6
)) {
30667 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30669 arg6
= static_cast< wxDouble
>(val6
);
30672 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30676 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30679 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30680 if (PyErr_Occurred()) SWIG_fail
;
30682 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30689 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30690 PyObject
*resultobj
= 0;
30691 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30693 wxColour
const &arg3_defvalue
= *wxBLACK
;
30694 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30695 wxGraphicsFont result
;
30701 PyObject
* obj0
= 0 ;
30702 PyObject
* obj1
= 0 ;
30703 PyObject
* obj2
= 0 ;
30704 char * kwnames
[] = {
30705 (char *) "self",(char *) "font",(char *) "col", NULL
30708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30710 if (!SWIG_IsOK(res1
)) {
30711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30713 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30714 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30715 if (!SWIG_IsOK(res2
)) {
30716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30721 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30725 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30729 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30730 if (PyErr_Occurred()) SWIG_fail
;
30732 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30739 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30741 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30742 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30743 return SWIG_Py_Void();
30746 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30747 PyObject
*resultobj
= 0;
30748 wxWindowDC
*arg1
= 0 ;
30749 wxGCDC
*result
= 0 ;
30753 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30755 if (!SWIG_IsOK(res1
)) {
30756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30761 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30763 if (!wxPyCheckForApp()) SWIG_fail
;
30764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30765 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30766 wxPyEndAllowThreads(__tstate
);
30767 if (PyErr_Occurred()) SWIG_fail
;
30769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30776 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30777 PyObject
*resultobj
= 0;
30778 wxWindow
*arg1
= (wxWindow
*) 0 ;
30779 wxGCDC
*result
= 0 ;
30783 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30785 if (!SWIG_IsOK(res1
)) {
30786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
30788 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30790 if (!wxPyCheckForApp()) SWIG_fail
;
30791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30792 result
= (wxGCDC
*)new wxGCDC(arg1
);
30793 wxPyEndAllowThreads(__tstate
);
30794 if (PyErr_Occurred()) SWIG_fail
;
30796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30803 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
30807 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
30812 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
30813 _v
= SWIG_CheckState(res
);
30815 if (!_v
) goto check_1
;
30816 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
30821 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
30825 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
30830 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30831 PyObject
*resultobj
= 0;
30832 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30835 PyObject
*swig_obj
[1] ;
30837 if (!args
) SWIG_fail
;
30838 swig_obj
[0] = args
;
30839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30840 if (!SWIG_IsOK(res1
)) {
30841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30843 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30847 if (PyErr_Occurred()) SWIG_fail
;
30849 resultobj
= SWIG_Py_Void();
30856 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30857 PyObject
*resultobj
= 0;
30858 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30859 wxGraphicsContext
*result
= 0 ;
30862 PyObject
*swig_obj
[1] ;
30864 if (!args
) SWIG_fail
;
30865 swig_obj
[0] = args
;
30866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30867 if (!SWIG_IsOK(res1
)) {
30868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30870 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30872 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30873 if (PyErr_Occurred()) SWIG_fail
;
30875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30882 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30883 PyObject
*resultobj
= 0;
30884 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30885 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30890 PyObject
* obj0
= 0 ;
30891 PyObject
* obj1
= 0 ;
30892 char * kwnames
[] = {
30893 (char *) "self",(char *) "ctx", NULL
30896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30898 if (!SWIG_IsOK(res1
)) {
30899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30901 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30902 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30903 if (!SWIG_IsOK(res2
)) {
30904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30906 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30908 (arg1
)->SetGraphicsContext(arg2
);
30909 if (PyErr_Occurred()) SWIG_fail
;
30911 resultobj
= SWIG_Py_Void();
30918 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30920 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30921 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30922 return SWIG_Py_Void();
30925 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30926 return SWIG_Python_InitShadowInstance(args
);
30929 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30930 PyObject
*resultobj
= 0;
30931 wxOverlay
*result
= 0 ;
30933 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30936 result
= (wxOverlay
*)new wxOverlay();
30937 wxPyEndAllowThreads(__tstate
);
30938 if (PyErr_Occurred()) SWIG_fail
;
30940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30947 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30948 PyObject
*resultobj
= 0;
30949 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30952 PyObject
*swig_obj
[1] ;
30954 if (!args
) SWIG_fail
;
30955 swig_obj
[0] = args
;
30956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30957 if (!SWIG_IsOK(res1
)) {
30958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30960 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30965 wxPyEndAllowThreads(__tstate
);
30966 if (PyErr_Occurred()) SWIG_fail
;
30968 resultobj
= SWIG_Py_Void();
30975 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30976 PyObject
*resultobj
= 0;
30977 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30980 PyObject
*swig_obj
[1] ;
30982 if (!args
) SWIG_fail
;
30983 swig_obj
[0] = args
;
30984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30985 if (!SWIG_IsOK(res1
)) {
30986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30988 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30992 wxPyEndAllowThreads(__tstate
);
30993 if (PyErr_Occurred()) SWIG_fail
;
30995 resultobj
= SWIG_Py_Void();
31002 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31004 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31005 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
31006 return SWIG_Py_Void();
31009 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31010 return SWIG_Python_InitShadowInstance(args
);
31013 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31014 PyObject
*resultobj
= 0;
31015 wxOverlay
*arg1
= 0 ;
31016 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31021 wxDCOverlay
*result
= 0 ;
31035 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31037 if (!SWIG_IsOK(res1
)) {
31038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31043 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31044 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31045 if (!SWIG_IsOK(res2
)) {
31046 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31048 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31049 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31050 if (!SWIG_IsOK(ecode3
)) {
31051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31053 arg3
= static_cast< int >(val3
);
31054 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31055 if (!SWIG_IsOK(ecode4
)) {
31056 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31058 arg4
= static_cast< int >(val4
);
31059 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31060 if (!SWIG_IsOK(ecode5
)) {
31061 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31063 arg5
= static_cast< int >(val5
);
31064 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31065 if (!SWIG_IsOK(ecode6
)) {
31066 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31068 arg6
= static_cast< int >(val6
);
31070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31071 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31072 wxPyEndAllowThreads(__tstate
);
31073 if (PyErr_Occurred()) SWIG_fail
;
31075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31082 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31083 PyObject
*resultobj
= 0;
31084 wxOverlay
*arg1
= 0 ;
31085 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31086 wxDCOverlay
*result
= 0 ;
31092 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31094 if (!SWIG_IsOK(res1
)) {
31095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31100 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31101 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31102 if (!SWIG_IsOK(res2
)) {
31103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31105 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31108 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31109 wxPyEndAllowThreads(__tstate
);
31110 if (PyErr_Occurred()) SWIG_fail
;
31112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31119 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31123 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31126 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31129 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31133 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31138 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31139 PyObject
*resultobj
= 0;
31140 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31143 PyObject
*swig_obj
[1] ;
31145 if (!args
) SWIG_fail
;
31146 swig_obj
[0] = args
;
31147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31148 if (!SWIG_IsOK(res1
)) {
31149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31151 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31156 wxPyEndAllowThreads(__tstate
);
31157 if (PyErr_Occurred()) SWIG_fail
;
31159 resultobj
= SWIG_Py_Void();
31166 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31167 PyObject
*resultobj
= 0;
31168 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31171 PyObject
*swig_obj
[1] ;
31173 if (!args
) SWIG_fail
;
31174 swig_obj
[0] = args
;
31175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31176 if (!SWIG_IsOK(res1
)) {
31177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31179 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31183 wxPyEndAllowThreads(__tstate
);
31184 if (PyErr_Occurred()) SWIG_fail
;
31186 resultobj
= SWIG_Py_Void();
31193 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31195 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31196 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31197 return SWIG_Py_Void();
31200 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31201 return SWIG_Python_InitShadowInstance(args
);
31204 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31205 PyObject
*resultobj
= 0;
31208 int arg3
= (int) true ;
31209 int arg4
= (int) 1 ;
31210 wxImageList
*result
= 0 ;
31219 PyObject
* obj0
= 0 ;
31220 PyObject
* obj1
= 0 ;
31221 PyObject
* obj2
= 0 ;
31222 PyObject
* obj3
= 0 ;
31223 char * kwnames
[] = {
31224 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31228 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31229 if (!SWIG_IsOK(ecode1
)) {
31230 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31232 arg1
= static_cast< int >(val1
);
31233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31234 if (!SWIG_IsOK(ecode2
)) {
31235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31237 arg2
= static_cast< int >(val2
);
31239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31240 if (!SWIG_IsOK(ecode3
)) {
31241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31243 arg3
= static_cast< int >(val3
);
31246 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31247 if (!SWIG_IsOK(ecode4
)) {
31248 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31250 arg4
= static_cast< int >(val4
);
31253 if (!wxPyCheckForApp()) SWIG_fail
;
31254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31255 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31256 wxPyEndAllowThreads(__tstate
);
31257 if (PyErr_Occurred()) SWIG_fail
;
31259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31266 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31267 PyObject
*resultobj
= 0;
31268 wxImageList
*arg1
= (wxImageList
*) 0 ;
31271 PyObject
*swig_obj
[1] ;
31273 if (!args
) SWIG_fail
;
31274 swig_obj
[0] = args
;
31275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31276 if (!SWIG_IsOK(res1
)) {
31277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31279 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31284 wxPyEndAllowThreads(__tstate
);
31285 if (PyErr_Occurred()) SWIG_fail
;
31287 resultobj
= SWIG_Py_Void();
31294 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31295 PyObject
*resultobj
= 0;
31296 wxImageList
*arg1
= (wxImageList
*) 0 ;
31297 wxBitmap
*arg2
= 0 ;
31298 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31299 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31307 PyObject
* obj0
= 0 ;
31308 PyObject
* obj1
= 0 ;
31309 PyObject
* obj2
= 0 ;
31310 char * kwnames
[] = {
31311 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31316 if (!SWIG_IsOK(res1
)) {
31317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31319 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31320 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31321 if (!SWIG_IsOK(res2
)) {
31322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31327 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31329 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31330 if (!SWIG_IsOK(res3
)) {
31331 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31334 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31336 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31340 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31341 wxPyEndAllowThreads(__tstate
);
31342 if (PyErr_Occurred()) SWIG_fail
;
31344 resultobj
= SWIG_From_int(static_cast< int >(result
));
31351 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31352 PyObject
*resultobj
= 0;
31353 wxImageList
*arg1
= (wxImageList
*) 0 ;
31354 wxBitmap
*arg2
= 0 ;
31355 wxColour
*arg3
= 0 ;
31362 PyObject
* obj0
= 0 ;
31363 PyObject
* obj1
= 0 ;
31364 PyObject
* obj2
= 0 ;
31365 char * kwnames
[] = {
31366 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31371 if (!SWIG_IsOK(res1
)) {
31372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31374 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31375 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31376 if (!SWIG_IsOK(res2
)) {
31377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31382 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31385 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31389 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31390 wxPyEndAllowThreads(__tstate
);
31391 if (PyErr_Occurred()) SWIG_fail
;
31393 resultobj
= SWIG_From_int(static_cast< int >(result
));
31400 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31401 PyObject
*resultobj
= 0;
31402 wxImageList
*arg1
= (wxImageList
*) 0 ;
31409 PyObject
* obj0
= 0 ;
31410 PyObject
* obj1
= 0 ;
31411 char * kwnames
[] = {
31412 (char *) "self",(char *) "icon", NULL
31415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31417 if (!SWIG_IsOK(res1
)) {
31418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31420 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31421 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31422 if (!SWIG_IsOK(res2
)) {
31423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31428 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31431 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31432 wxPyEndAllowThreads(__tstate
);
31433 if (PyErr_Occurred()) SWIG_fail
;
31435 resultobj
= SWIG_From_int(static_cast< int >(result
));
31442 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31443 PyObject
*resultobj
= 0;
31444 wxImageList
*arg1
= (wxImageList
*) 0 ;
31446 SwigValueWrapper
<wxBitmap
> result
;
31451 PyObject
* obj0
= 0 ;
31452 PyObject
* obj1
= 0 ;
31453 char * kwnames
[] = {
31454 (char *) "self",(char *) "index", NULL
31457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31459 if (!SWIG_IsOK(res1
)) {
31460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31462 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31464 if (!SWIG_IsOK(ecode2
)) {
31465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31467 arg2
= static_cast< int >(val2
);
31469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31470 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31471 wxPyEndAllowThreads(__tstate
);
31472 if (PyErr_Occurred()) SWIG_fail
;
31474 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31481 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31482 PyObject
*resultobj
= 0;
31483 wxImageList
*arg1
= (wxImageList
*) 0 ;
31490 PyObject
* obj0
= 0 ;
31491 PyObject
* obj1
= 0 ;
31492 char * kwnames
[] = {
31493 (char *) "self",(char *) "index", NULL
31496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31498 if (!SWIG_IsOK(res1
)) {
31499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31501 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31503 if (!SWIG_IsOK(ecode2
)) {
31504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31506 arg2
= static_cast< int >(val2
);
31508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31509 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31510 wxPyEndAllowThreads(__tstate
);
31511 if (PyErr_Occurred()) SWIG_fail
;
31513 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31520 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31521 PyObject
*resultobj
= 0;
31522 wxImageList
*arg1
= (wxImageList
*) 0 ;
31524 wxBitmap
*arg3
= 0 ;
31525 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31526 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31536 PyObject
* obj0
= 0 ;
31537 PyObject
* obj1
= 0 ;
31538 PyObject
* obj2
= 0 ;
31539 PyObject
* obj3
= 0 ;
31540 char * kwnames
[] = {
31541 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31546 if (!SWIG_IsOK(res1
)) {
31547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31549 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31551 if (!SWIG_IsOK(ecode2
)) {
31552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31554 arg2
= static_cast< int >(val2
);
31555 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31556 if (!SWIG_IsOK(res3
)) {
31557 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31562 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31564 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31565 if (!SWIG_IsOK(res4
)) {
31566 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31569 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31571 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31575 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31576 wxPyEndAllowThreads(__tstate
);
31577 if (PyErr_Occurred()) SWIG_fail
;
31580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31588 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31589 PyObject
*resultobj
= 0;
31590 wxImageList
*arg1
= (wxImageList
*) 0 ;
31595 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31596 bool arg7
= (bool) (bool)false ;
31612 PyObject
* obj0
= 0 ;
31613 PyObject
* obj1
= 0 ;
31614 PyObject
* obj2
= 0 ;
31615 PyObject
* obj3
= 0 ;
31616 PyObject
* obj4
= 0 ;
31617 PyObject
* obj5
= 0 ;
31618 PyObject
* obj6
= 0 ;
31619 char * kwnames
[] = {
31620 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31625 if (!SWIG_IsOK(res1
)) {
31626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31628 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31630 if (!SWIG_IsOK(ecode2
)) {
31631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31633 arg2
= static_cast< int >(val2
);
31634 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31635 if (!SWIG_IsOK(res3
)) {
31636 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31639 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31641 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31642 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31643 if (!SWIG_IsOK(ecode4
)) {
31644 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31646 arg4
= static_cast< int >(val4
);
31647 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31648 if (!SWIG_IsOK(ecode5
)) {
31649 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31651 arg5
= static_cast< int >(val5
);
31653 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31654 if (!SWIG_IsOK(ecode6
)) {
31655 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31657 arg6
= static_cast< int >(val6
);
31660 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31661 if (!SWIG_IsOK(ecode7
)) {
31662 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31664 arg7
= static_cast< bool >(val7
);
31667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31668 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31669 wxPyEndAllowThreads(__tstate
);
31670 if (PyErr_Occurred()) SWIG_fail
;
31673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31681 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31682 PyObject
*resultobj
= 0;
31683 wxImageList
*arg1
= (wxImageList
*) 0 ;
31687 PyObject
*swig_obj
[1] ;
31689 if (!args
) SWIG_fail
;
31690 swig_obj
[0] = args
;
31691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31692 if (!SWIG_IsOK(res1
)) {
31693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31695 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31698 result
= (int)(arg1
)->GetImageCount();
31699 wxPyEndAllowThreads(__tstate
);
31700 if (PyErr_Occurred()) SWIG_fail
;
31702 resultobj
= SWIG_From_int(static_cast< int >(result
));
31709 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31710 PyObject
*resultobj
= 0;
31711 wxImageList
*arg1
= (wxImageList
*) 0 ;
31718 PyObject
* obj0
= 0 ;
31719 PyObject
* obj1
= 0 ;
31720 char * kwnames
[] = {
31721 (char *) "self",(char *) "index", NULL
31724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31726 if (!SWIG_IsOK(res1
)) {
31727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31729 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31731 if (!SWIG_IsOK(ecode2
)) {
31732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31734 arg2
= static_cast< int >(val2
);
31736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31737 result
= (bool)(arg1
)->Remove(arg2
);
31738 wxPyEndAllowThreads(__tstate
);
31739 if (PyErr_Occurred()) SWIG_fail
;
31742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31750 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31751 PyObject
*resultobj
= 0;
31752 wxImageList
*arg1
= (wxImageList
*) 0 ;
31756 PyObject
*swig_obj
[1] ;
31758 if (!args
) SWIG_fail
;
31759 swig_obj
[0] = args
;
31760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31761 if (!SWIG_IsOK(res1
)) {
31762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31764 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31767 result
= (bool)(arg1
)->RemoveAll();
31768 wxPyEndAllowThreads(__tstate
);
31769 if (PyErr_Occurred()) SWIG_fail
;
31772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31780 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31781 PyObject
*resultobj
= 0;
31782 wxImageList
*arg1
= (wxImageList
*) 0 ;
31791 int res3
= SWIG_TMPOBJ
;
31793 int res4
= SWIG_TMPOBJ
;
31794 PyObject
* obj0
= 0 ;
31795 PyObject
* obj1
= 0 ;
31796 char * kwnames
[] = {
31797 (char *) "self",(char *) "index", NULL
31802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31804 if (!SWIG_IsOK(res1
)) {
31805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31807 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31809 if (!SWIG_IsOK(ecode2
)) {
31810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31812 arg2
= static_cast< int >(val2
);
31814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31815 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31816 wxPyEndAllowThreads(__tstate
);
31817 if (PyErr_Occurred()) SWIG_fail
;
31819 resultobj
= SWIG_Py_Void();
31820 if (SWIG_IsTmpObj(res3
)) {
31821 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31823 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31824 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31826 if (SWIG_IsTmpObj(res4
)) {
31827 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31829 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31830 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31838 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31840 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31841 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31842 return SWIG_Py_Void();
31845 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31846 return SWIG_Python_InitShadowInstance(args
);
31849 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31850 PyObject
*resultobj
= 0;
31851 wxStockGDI
*result
= 0 ;
31853 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31856 result
= (wxStockGDI
*)new wxStockGDI();
31857 wxPyEndAllowThreads(__tstate
);
31858 if (PyErr_Occurred()) SWIG_fail
;
31860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31867 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31868 PyObject
*resultobj
= 0;
31869 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31872 PyObject
*swig_obj
[1] ;
31874 if (!args
) SWIG_fail
;
31875 swig_obj
[0] = args
;
31876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31877 if (!SWIG_IsOK(res1
)) {
31878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31880 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31885 wxPyEndAllowThreads(__tstate
);
31886 if (PyErr_Occurred()) SWIG_fail
;
31888 resultobj
= SWIG_Py_Void();
31895 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31896 PyObject
*resultobj
= 0;
31898 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31901 wxStockGDI::DeleteAll();
31902 wxPyEndAllowThreads(__tstate
);
31903 if (PyErr_Occurred()) SWIG_fail
;
31905 resultobj
= SWIG_Py_Void();
31912 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31913 PyObject
*resultobj
= 0;
31914 wxStockGDI
*result
= 0 ;
31916 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31920 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31921 result
= (wxStockGDI
*) &_result_ref
;
31923 wxPyEndAllowThreads(__tstate
);
31924 if (PyErr_Occurred()) SWIG_fail
;
31926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31933 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31934 PyObject
*resultobj
= 0;
31935 wxStockGDI::Item arg1
;
31936 wxBrush
*result
= 0 ;
31939 PyObject
* obj0
= 0 ;
31940 char * kwnames
[] = {
31941 (char *) "item", NULL
31944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31945 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31946 if (!SWIG_IsOK(ecode1
)) {
31947 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31949 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31952 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31953 wxPyEndAllowThreads(__tstate
);
31954 if (PyErr_Occurred()) SWIG_fail
;
31956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31963 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31964 PyObject
*resultobj
= 0;
31965 wxStockGDI::Item arg1
;
31966 wxColour
*result
= 0 ;
31969 PyObject
* obj0
= 0 ;
31970 char * kwnames
[] = {
31971 (char *) "item", NULL
31974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31975 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31976 if (!SWIG_IsOK(ecode1
)) {
31977 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31979 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31982 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31983 wxPyEndAllowThreads(__tstate
);
31984 if (PyErr_Occurred()) SWIG_fail
;
31986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31993 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31994 PyObject
*resultobj
= 0;
31995 wxStockGDI::Item arg1
;
31996 wxCursor
*result
= 0 ;
31999 PyObject
* obj0
= 0 ;
32000 char * kwnames
[] = {
32001 (char *) "item", NULL
32004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
32005 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32006 if (!SWIG_IsOK(ecode1
)) {
32007 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32009 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32012 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
32013 wxPyEndAllowThreads(__tstate
);
32014 if (PyErr_Occurred()) SWIG_fail
;
32016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32023 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32024 PyObject
*resultobj
= 0;
32025 wxStockGDI::Item arg1
;
32026 wxPen
*result
= 0 ;
32029 PyObject
* obj0
= 0 ;
32030 char * kwnames
[] = {
32031 (char *) "item", NULL
32034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32035 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32036 if (!SWIG_IsOK(ecode1
)) {
32037 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32039 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32042 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32043 wxPyEndAllowThreads(__tstate
);
32044 if (PyErr_Occurred()) SWIG_fail
;
32046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32053 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32054 PyObject
*resultobj
= 0;
32055 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32056 wxStockGDI::Item arg2
;
32057 wxFont
*result
= 0 ;
32062 PyObject
* obj0
= 0 ;
32063 PyObject
* obj1
= 0 ;
32064 char * kwnames
[] = {
32065 (char *) "self",(char *) "item", NULL
32068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32070 if (!SWIG_IsOK(res1
)) {
32071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32073 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32075 if (!SWIG_IsOK(ecode2
)) {
32076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32078 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32081 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32082 wxPyEndAllowThreads(__tstate
);
32083 if (PyErr_Occurred()) SWIG_fail
;
32085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32092 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32094 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32095 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32096 return SWIG_Py_Void();
32099 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32100 return SWIG_Python_InitShadowInstance(args
);
32103 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32104 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32109 SWIGINTERN PyObject
*NullBitmap_get(void) {
32110 PyObject
*pyobj
= 0;
32112 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32117 SWIGINTERN
int NullIcon_set(PyObject
*) {
32118 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32123 SWIGINTERN PyObject
*NullIcon_get(void) {
32124 PyObject
*pyobj
= 0;
32126 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32131 SWIGINTERN
int NullCursor_set(PyObject
*) {
32132 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32137 SWIGINTERN PyObject
*NullCursor_get(void) {
32138 PyObject
*pyobj
= 0;
32140 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32145 SWIGINTERN
int NullPen_set(PyObject
*) {
32146 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32151 SWIGINTERN PyObject
*NullPen_get(void) {
32152 PyObject
*pyobj
= 0;
32154 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32159 SWIGINTERN
int NullBrush_set(PyObject
*) {
32160 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32165 SWIGINTERN PyObject
*NullBrush_get(void) {
32166 PyObject
*pyobj
= 0;
32168 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32173 SWIGINTERN
int NullPalette_set(PyObject
*) {
32174 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32179 SWIGINTERN PyObject
*NullPalette_get(void) {
32180 PyObject
*pyobj
= 0;
32182 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32187 SWIGINTERN
int NullFont_set(PyObject
*) {
32188 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32193 SWIGINTERN PyObject
*NullFont_get(void) {
32194 PyObject
*pyobj
= 0;
32196 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32201 SWIGINTERN
int NullColour_set(PyObject
*) {
32202 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32207 SWIGINTERN PyObject
*NullColour_get(void) {
32208 PyObject
*pyobj
= 0;
32210 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32215 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32216 PyObject
*resultobj
= 0;
32217 wxGDIObjListBase
*result
= 0 ;
32219 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32222 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32223 wxPyEndAllowThreads(__tstate
);
32224 if (PyErr_Occurred()) SWIG_fail
;
32226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32233 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32234 PyObject
*resultobj
= 0;
32235 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32238 PyObject
*swig_obj
[1] ;
32240 if (!args
) SWIG_fail
;
32241 swig_obj
[0] = args
;
32242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32243 if (!SWIG_IsOK(res1
)) {
32244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32246 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32251 wxPyEndAllowThreads(__tstate
);
32252 if (PyErr_Occurred()) SWIG_fail
;
32254 resultobj
= SWIG_Py_Void();
32261 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32263 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32264 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32265 return SWIG_Py_Void();
32268 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32269 return SWIG_Python_InitShadowInstance(args
);
32272 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32273 PyObject
*resultobj
= 0;
32274 wxPenList
*arg1
= (wxPenList
*) 0 ;
32275 wxColour
*arg2
= 0 ;
32278 wxPen
*result
= 0 ;
32286 PyObject
* obj0
= 0 ;
32287 PyObject
* obj1
= 0 ;
32288 PyObject
* obj2
= 0 ;
32289 PyObject
* obj3
= 0 ;
32290 char * kwnames
[] = {
32291 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32296 if (!SWIG_IsOK(res1
)) {
32297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32299 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32302 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32304 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32305 if (!SWIG_IsOK(ecode3
)) {
32306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32308 arg3
= static_cast< int >(val3
);
32309 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32310 if (!SWIG_IsOK(ecode4
)) {
32311 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32313 arg4
= static_cast< int >(val4
);
32315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32316 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32317 wxPyEndAllowThreads(__tstate
);
32318 if (PyErr_Occurred()) SWIG_fail
;
32320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32327 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32328 PyObject
*resultobj
= 0;
32329 wxPenList
*arg1
= (wxPenList
*) 0 ;
32330 wxPen
*arg2
= (wxPen
*) 0 ;
32335 PyObject
* obj0
= 0 ;
32336 PyObject
* obj1
= 0 ;
32337 char * kwnames
[] = {
32338 (char *) "self",(char *) "pen", NULL
32341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32343 if (!SWIG_IsOK(res1
)) {
32344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32346 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32347 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32348 if (!SWIG_IsOK(res2
)) {
32349 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32351 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32354 (arg1
)->AddPen(arg2
);
32355 wxPyEndAllowThreads(__tstate
);
32356 if (PyErr_Occurred()) SWIG_fail
;
32358 resultobj
= SWIG_Py_Void();
32365 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32366 PyObject
*resultobj
= 0;
32367 wxPenList
*arg1
= (wxPenList
*) 0 ;
32368 wxPen
*arg2
= (wxPen
*) 0 ;
32373 PyObject
* obj0
= 0 ;
32374 PyObject
* obj1
= 0 ;
32375 char * kwnames
[] = {
32376 (char *) "self",(char *) "pen", NULL
32379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32381 if (!SWIG_IsOK(res1
)) {
32382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32384 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32385 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32386 if (!SWIG_IsOK(res2
)) {
32387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32389 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32392 (arg1
)->RemovePen(arg2
);
32393 wxPyEndAllowThreads(__tstate
);
32394 if (PyErr_Occurred()) SWIG_fail
;
32396 resultobj
= SWIG_Py_Void();
32403 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32405 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32406 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32407 return SWIG_Py_Void();
32410 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32411 PyObject
*resultobj
= 0;
32412 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32413 wxColour
*arg2
= 0 ;
32414 int arg3
= (int) wxSOLID
;
32415 wxBrush
*result
= 0 ;
32421 PyObject
* obj0
= 0 ;
32422 PyObject
* obj1
= 0 ;
32423 PyObject
* obj2
= 0 ;
32424 char * kwnames
[] = {
32425 (char *) "self",(char *) "colour",(char *) "style", NULL
32428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32430 if (!SWIG_IsOK(res1
)) {
32431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32433 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32436 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32439 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32440 if (!SWIG_IsOK(ecode3
)) {
32441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32443 arg3
= static_cast< int >(val3
);
32446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32447 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32448 wxPyEndAllowThreads(__tstate
);
32449 if (PyErr_Occurred()) SWIG_fail
;
32451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32458 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32459 PyObject
*resultobj
= 0;
32460 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32461 wxBrush
*arg2
= (wxBrush
*) 0 ;
32466 PyObject
* obj0
= 0 ;
32467 PyObject
* obj1
= 0 ;
32468 char * kwnames
[] = {
32469 (char *) "self",(char *) "brush", NULL
32472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32474 if (!SWIG_IsOK(res1
)) {
32475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32477 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32478 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32479 if (!SWIG_IsOK(res2
)) {
32480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32482 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32485 (arg1
)->AddBrush(arg2
);
32486 wxPyEndAllowThreads(__tstate
);
32487 if (PyErr_Occurred()) SWIG_fail
;
32489 resultobj
= SWIG_Py_Void();
32496 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32497 PyObject
*resultobj
= 0;
32498 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32499 wxBrush
*arg2
= (wxBrush
*) 0 ;
32504 PyObject
* obj0
= 0 ;
32505 PyObject
* obj1
= 0 ;
32506 char * kwnames
[] = {
32507 (char *) "self",(char *) "brush", NULL
32510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32512 if (!SWIG_IsOK(res1
)) {
32513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32515 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32516 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32517 if (!SWIG_IsOK(res2
)) {
32518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32520 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32523 (arg1
)->RemoveBrush(arg2
);
32524 wxPyEndAllowThreads(__tstate
);
32525 if (PyErr_Occurred()) SWIG_fail
;
32527 resultobj
= SWIG_Py_Void();
32534 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32536 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32537 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32538 return SWIG_Py_Void();
32541 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32542 PyObject
*resultobj
= 0;
32543 wxFontList
*arg1
= (wxFontList
*) 0 ;
32548 bool arg6
= (bool) false ;
32549 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32550 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32551 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32552 wxFont
*result
= 0 ;
32565 bool temp7
= false ;
32568 PyObject
* obj0
= 0 ;
32569 PyObject
* obj1
= 0 ;
32570 PyObject
* obj2
= 0 ;
32571 PyObject
* obj3
= 0 ;
32572 PyObject
* obj4
= 0 ;
32573 PyObject
* obj5
= 0 ;
32574 PyObject
* obj6
= 0 ;
32575 PyObject
* obj7
= 0 ;
32576 char * kwnames
[] = {
32577 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32582 if (!SWIG_IsOK(res1
)) {
32583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32585 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32587 if (!SWIG_IsOK(ecode2
)) {
32588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32590 arg2
= static_cast< int >(val2
);
32591 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32592 if (!SWIG_IsOK(ecode3
)) {
32593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32595 arg3
= static_cast< int >(val3
);
32596 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32597 if (!SWIG_IsOK(ecode4
)) {
32598 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32600 arg4
= static_cast< int >(val4
);
32601 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32602 if (!SWIG_IsOK(ecode5
)) {
32603 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32605 arg5
= static_cast< int >(val5
);
32607 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32608 if (!SWIG_IsOK(ecode6
)) {
32609 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32611 arg6
= static_cast< bool >(val6
);
32615 arg7
= wxString_in_helper(obj6
);
32616 if (arg7
== NULL
) SWIG_fail
;
32621 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32622 if (!SWIG_IsOK(ecode8
)) {
32623 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32625 arg8
= static_cast< wxFontEncoding
>(val8
);
32628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32629 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32630 wxPyEndAllowThreads(__tstate
);
32631 if (PyErr_Occurred()) SWIG_fail
;
32633 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32648 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32649 PyObject
*resultobj
= 0;
32650 wxFontList
*arg1
= (wxFontList
*) 0 ;
32651 wxFont
*arg2
= (wxFont
*) 0 ;
32656 PyObject
* obj0
= 0 ;
32657 PyObject
* obj1
= 0 ;
32658 char * kwnames
[] = {
32659 (char *) "self",(char *) "font", NULL
32662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32664 if (!SWIG_IsOK(res1
)) {
32665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32667 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32668 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32669 if (!SWIG_IsOK(res2
)) {
32670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32672 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32675 (arg1
)->AddFont(arg2
);
32676 wxPyEndAllowThreads(__tstate
);
32677 if (PyErr_Occurred()) SWIG_fail
;
32679 resultobj
= SWIG_Py_Void();
32686 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32687 PyObject
*resultobj
= 0;
32688 wxFontList
*arg1
= (wxFontList
*) 0 ;
32689 wxFont
*arg2
= (wxFont
*) 0 ;
32694 PyObject
* obj0
= 0 ;
32695 PyObject
* obj1
= 0 ;
32696 char * kwnames
[] = {
32697 (char *) "self",(char *) "font", NULL
32700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32702 if (!SWIG_IsOK(res1
)) {
32703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32705 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32706 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32707 if (!SWIG_IsOK(res2
)) {
32708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32710 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32713 (arg1
)->RemoveFont(arg2
);
32714 wxPyEndAllowThreads(__tstate
);
32715 if (PyErr_Occurred()) SWIG_fail
;
32717 resultobj
= SWIG_Py_Void();
32724 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32727 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32728 return SWIG_Py_Void();
32731 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32732 PyObject
*resultobj
= 0;
32733 wxColourDatabase
*result
= 0 ;
32735 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32737 if (!wxPyCheckForApp()) SWIG_fail
;
32738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32739 result
= (wxColourDatabase
*)new wxColourDatabase();
32740 wxPyEndAllowThreads(__tstate
);
32741 if (PyErr_Occurred()) SWIG_fail
;
32743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32750 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32751 PyObject
*resultobj
= 0;
32752 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32755 PyObject
*swig_obj
[1] ;
32757 if (!args
) SWIG_fail
;
32758 swig_obj
[0] = args
;
32759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32760 if (!SWIG_IsOK(res1
)) {
32761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32763 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32768 wxPyEndAllowThreads(__tstate
);
32769 if (PyErr_Occurred()) SWIG_fail
;
32771 resultobj
= SWIG_Py_Void();
32778 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32779 PyObject
*resultobj
= 0;
32780 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32781 wxString
*arg2
= 0 ;
32785 bool temp2
= false ;
32786 PyObject
* obj0
= 0 ;
32787 PyObject
* obj1
= 0 ;
32788 char * kwnames
[] = {
32789 (char *) "self",(char *) "name", NULL
32792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32794 if (!SWIG_IsOK(res1
)) {
32795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32797 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32799 arg2
= wxString_in_helper(obj1
);
32800 if (arg2
== NULL
) SWIG_fail
;
32804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32805 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32806 wxPyEndAllowThreads(__tstate
);
32807 if (PyErr_Occurred()) SWIG_fail
;
32809 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32824 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32825 PyObject
*resultobj
= 0;
32826 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32827 wxColour
*arg2
= 0 ;
32832 PyObject
* obj0
= 0 ;
32833 PyObject
* obj1
= 0 ;
32834 char * kwnames
[] = {
32835 (char *) "self",(char *) "colour", NULL
32838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32840 if (!SWIG_IsOK(res1
)) {
32841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32843 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32846 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32850 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32851 wxPyEndAllowThreads(__tstate
);
32852 if (PyErr_Occurred()) SWIG_fail
;
32856 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32858 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32867 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32868 PyObject
*resultobj
= 0;
32869 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32870 wxString
*arg2
= 0 ;
32871 wxColour
*arg3
= 0 ;
32874 bool temp2
= false ;
32876 PyObject
* obj0
= 0 ;
32877 PyObject
* obj1
= 0 ;
32878 PyObject
* obj2
= 0 ;
32879 char * kwnames
[] = {
32880 (char *) "self",(char *) "name",(char *) "colour", NULL
32883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32885 if (!SWIG_IsOK(res1
)) {
32886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32888 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32890 arg2
= wxString_in_helper(obj1
);
32891 if (arg2
== NULL
) SWIG_fail
;
32896 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32900 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32901 wxPyEndAllowThreads(__tstate
);
32902 if (PyErr_Occurred()) SWIG_fail
;
32904 resultobj
= SWIG_Py_Void();
32919 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32920 PyObject
*resultobj
= 0;
32921 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32922 wxString
*arg2
= 0 ;
32928 bool temp2
= false ;
32935 PyObject
* obj0
= 0 ;
32936 PyObject
* obj1
= 0 ;
32937 PyObject
* obj2
= 0 ;
32938 PyObject
* obj3
= 0 ;
32939 PyObject
* obj4
= 0 ;
32940 char * kwnames
[] = {
32941 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32946 if (!SWIG_IsOK(res1
)) {
32947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32949 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32951 arg2
= wxString_in_helper(obj1
);
32952 if (arg2
== NULL
) SWIG_fail
;
32955 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32956 if (!SWIG_IsOK(ecode3
)) {
32957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32959 arg3
= static_cast< int >(val3
);
32960 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32961 if (!SWIG_IsOK(ecode4
)) {
32962 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32964 arg4
= static_cast< int >(val4
);
32965 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32966 if (!SWIG_IsOK(ecode5
)) {
32967 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32969 arg5
= static_cast< int >(val5
);
32971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32972 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32973 wxPyEndAllowThreads(__tstate
);
32974 if (PyErr_Occurred()) SWIG_fail
;
32976 resultobj
= SWIG_Py_Void();
32991 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32993 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32994 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32995 return SWIG_Py_Void();
32998 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32999 return SWIG_Python_InitShadowInstance(args
);
33002 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33003 PyObject
*resultobj
= 0;
33004 wxFontList
*result
= 0 ;
33006 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33009 result
= (wxFontList
*)_wxPyInitTheFontList();
33010 wxPyEndAllowThreads(__tstate
);
33011 if (PyErr_Occurred()) SWIG_fail
;
33013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33020 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33021 PyObject
*resultobj
= 0;
33022 wxPenList
*result
= 0 ;
33024 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33027 result
= (wxPenList
*)_wxPyInitThePenList();
33028 wxPyEndAllowThreads(__tstate
);
33029 if (PyErr_Occurred()) SWIG_fail
;
33031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33038 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33039 PyObject
*resultobj
= 0;
33040 wxBrushList
*result
= 0 ;
33042 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33045 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33046 wxPyEndAllowThreads(__tstate
);
33047 if (PyErr_Occurred()) SWIG_fail
;
33049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33056 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33057 PyObject
*resultobj
= 0;
33058 wxColourDatabase
*result
= 0 ;
33060 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33063 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33064 wxPyEndAllowThreads(__tstate
);
33065 if (PyErr_Occurred()) SWIG_fail
;
33067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33074 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33075 PyObject
*resultobj
= 0;
33076 wxEffects
*result
= 0 ;
33078 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33081 result
= (wxEffects
*)new wxEffects();
33082 wxPyEndAllowThreads(__tstate
);
33083 if (PyErr_Occurred()) SWIG_fail
;
33085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33092 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33093 PyObject
*resultobj
= 0;
33094 wxEffects
*arg1
= (wxEffects
*) 0 ;
33098 PyObject
*swig_obj
[1] ;
33100 if (!args
) SWIG_fail
;
33101 swig_obj
[0] = args
;
33102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33103 if (!SWIG_IsOK(res1
)) {
33104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33106 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33109 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33110 wxPyEndAllowThreads(__tstate
);
33111 if (PyErr_Occurred()) SWIG_fail
;
33113 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33120 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33121 PyObject
*resultobj
= 0;
33122 wxEffects
*arg1
= (wxEffects
*) 0 ;
33126 PyObject
*swig_obj
[1] ;
33128 if (!args
) SWIG_fail
;
33129 swig_obj
[0] = args
;
33130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33131 if (!SWIG_IsOK(res1
)) {
33132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33134 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33137 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33138 wxPyEndAllowThreads(__tstate
);
33139 if (PyErr_Occurred()) SWIG_fail
;
33141 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33148 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33149 PyObject
*resultobj
= 0;
33150 wxEffects
*arg1
= (wxEffects
*) 0 ;
33154 PyObject
*swig_obj
[1] ;
33156 if (!args
) SWIG_fail
;
33157 swig_obj
[0] = args
;
33158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33159 if (!SWIG_IsOK(res1
)) {
33160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33162 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33165 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33166 wxPyEndAllowThreads(__tstate
);
33167 if (PyErr_Occurred()) SWIG_fail
;
33169 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33176 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33177 PyObject
*resultobj
= 0;
33178 wxEffects
*arg1
= (wxEffects
*) 0 ;
33182 PyObject
*swig_obj
[1] ;
33184 if (!args
) SWIG_fail
;
33185 swig_obj
[0] = args
;
33186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33187 if (!SWIG_IsOK(res1
)) {
33188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33190 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33193 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33194 wxPyEndAllowThreads(__tstate
);
33195 if (PyErr_Occurred()) SWIG_fail
;
33197 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33204 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33205 PyObject
*resultobj
= 0;
33206 wxEffects
*arg1
= (wxEffects
*) 0 ;
33210 PyObject
*swig_obj
[1] ;
33212 if (!args
) SWIG_fail
;
33213 swig_obj
[0] = args
;
33214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33215 if (!SWIG_IsOK(res1
)) {
33216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33218 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33221 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33222 wxPyEndAllowThreads(__tstate
);
33223 if (PyErr_Occurred()) SWIG_fail
;
33225 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33232 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33233 PyObject
*resultobj
= 0;
33234 wxEffects
*arg1
= (wxEffects
*) 0 ;
33235 wxColour
*arg2
= 0 ;
33239 PyObject
* obj0
= 0 ;
33240 PyObject
* obj1
= 0 ;
33241 char * kwnames
[] = {
33242 (char *) "self",(char *) "c", NULL
33245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33247 if (!SWIG_IsOK(res1
)) {
33248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33250 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33253 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33257 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33258 wxPyEndAllowThreads(__tstate
);
33259 if (PyErr_Occurred()) SWIG_fail
;
33261 resultobj
= SWIG_Py_Void();
33268 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33269 PyObject
*resultobj
= 0;
33270 wxEffects
*arg1
= (wxEffects
*) 0 ;
33271 wxColour
*arg2
= 0 ;
33275 PyObject
* obj0
= 0 ;
33276 PyObject
* obj1
= 0 ;
33277 char * kwnames
[] = {
33278 (char *) "self",(char *) "c", NULL
33281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33283 if (!SWIG_IsOK(res1
)) {
33284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33286 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33289 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33293 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33294 wxPyEndAllowThreads(__tstate
);
33295 if (PyErr_Occurred()) SWIG_fail
;
33297 resultobj
= SWIG_Py_Void();
33304 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33305 PyObject
*resultobj
= 0;
33306 wxEffects
*arg1
= (wxEffects
*) 0 ;
33307 wxColour
*arg2
= 0 ;
33311 PyObject
* obj0
= 0 ;
33312 PyObject
* obj1
= 0 ;
33313 char * kwnames
[] = {
33314 (char *) "self",(char *) "c", NULL
33317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33319 if (!SWIG_IsOK(res1
)) {
33320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33322 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33325 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33329 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33330 wxPyEndAllowThreads(__tstate
);
33331 if (PyErr_Occurred()) SWIG_fail
;
33333 resultobj
= SWIG_Py_Void();
33340 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33341 PyObject
*resultobj
= 0;
33342 wxEffects
*arg1
= (wxEffects
*) 0 ;
33343 wxColour
*arg2
= 0 ;
33347 PyObject
* obj0
= 0 ;
33348 PyObject
* obj1
= 0 ;
33349 char * kwnames
[] = {
33350 (char *) "self",(char *) "c", NULL
33353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33355 if (!SWIG_IsOK(res1
)) {
33356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33358 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33361 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33365 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33366 wxPyEndAllowThreads(__tstate
);
33367 if (PyErr_Occurred()) SWIG_fail
;
33369 resultobj
= SWIG_Py_Void();
33376 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33377 PyObject
*resultobj
= 0;
33378 wxEffects
*arg1
= (wxEffects
*) 0 ;
33379 wxColour
*arg2
= 0 ;
33383 PyObject
* obj0
= 0 ;
33384 PyObject
* obj1
= 0 ;
33385 char * kwnames
[] = {
33386 (char *) "self",(char *) "c", NULL
33389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33391 if (!SWIG_IsOK(res1
)) {
33392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33394 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33397 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33401 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33402 wxPyEndAllowThreads(__tstate
);
33403 if (PyErr_Occurred()) SWIG_fail
;
33405 resultobj
= SWIG_Py_Void();
33412 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33413 PyObject
*resultobj
= 0;
33414 wxEffects
*arg1
= (wxEffects
*) 0 ;
33415 wxColour
*arg2
= 0 ;
33416 wxColour
*arg3
= 0 ;
33417 wxColour
*arg4
= 0 ;
33418 wxColour
*arg5
= 0 ;
33419 wxColour
*arg6
= 0 ;
33427 PyObject
* obj0
= 0 ;
33428 PyObject
* obj1
= 0 ;
33429 PyObject
* obj2
= 0 ;
33430 PyObject
* obj3
= 0 ;
33431 PyObject
* obj4
= 0 ;
33432 PyObject
* obj5
= 0 ;
33433 char * kwnames
[] = {
33434 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33439 if (!SWIG_IsOK(res1
)) {
33440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33442 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33445 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33449 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33453 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33457 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33461 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33465 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33466 wxPyEndAllowThreads(__tstate
);
33467 if (PyErr_Occurred()) SWIG_fail
;
33469 resultobj
= SWIG_Py_Void();
33476 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33477 PyObject
*resultobj
= 0;
33478 wxEffects
*arg1
= (wxEffects
*) 0 ;
33481 int arg4
= (int) 1 ;
33489 PyObject
* obj0
= 0 ;
33490 PyObject
* obj1
= 0 ;
33491 PyObject
* obj2
= 0 ;
33492 PyObject
* obj3
= 0 ;
33493 char * kwnames
[] = {
33494 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33499 if (!SWIG_IsOK(res1
)) {
33500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33502 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33503 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33504 if (!SWIG_IsOK(res2
)) {
33505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33510 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33513 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33516 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33517 if (!SWIG_IsOK(ecode4
)) {
33518 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33520 arg4
= static_cast< int >(val4
);
33523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33524 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33525 wxPyEndAllowThreads(__tstate
);
33526 if (PyErr_Occurred()) SWIG_fail
;
33528 resultobj
= SWIG_Py_Void();
33535 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33536 PyObject
*resultobj
= 0;
33537 wxEffects
*arg1
= (wxEffects
*) 0 ;
33540 wxBitmap
*arg4
= 0 ;
33549 PyObject
* obj0
= 0 ;
33550 PyObject
* obj1
= 0 ;
33551 PyObject
* obj2
= 0 ;
33552 PyObject
* obj3
= 0 ;
33553 char * kwnames
[] = {
33554 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33559 if (!SWIG_IsOK(res1
)) {
33560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33562 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33565 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33567 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33568 if (!SWIG_IsOK(res3
)) {
33569 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33572 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33574 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33575 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33576 if (!SWIG_IsOK(res4
)) {
33577 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33582 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33585 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33586 wxPyEndAllowThreads(__tstate
);
33587 if (PyErr_Occurred()) SWIG_fail
;
33590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33598 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33600 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33601 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33602 return SWIG_Py_Void();
33605 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33606 return SWIG_Python_InitShadowInstance(args
);
33609 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33610 PyObject
*resultobj
= 0;
33614 wxSplitterRenderParams
*result
= 0 ;
33621 PyObject
* obj0
= 0 ;
33622 PyObject
* obj1
= 0 ;
33623 PyObject
* obj2
= 0 ;
33624 char * kwnames
[] = {
33625 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33629 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33630 if (!SWIG_IsOK(ecode1
)) {
33631 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33633 arg1
= static_cast< int >(val1
);
33634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33635 if (!SWIG_IsOK(ecode2
)) {
33636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33638 arg2
= static_cast< int >(val2
);
33639 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33640 if (!SWIG_IsOK(ecode3
)) {
33641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33643 arg3
= static_cast< bool >(val3
);
33645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33646 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33647 wxPyEndAllowThreads(__tstate
);
33648 if (PyErr_Occurred()) SWIG_fail
;
33650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33657 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33658 PyObject
*resultobj
= 0;
33659 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33662 PyObject
*swig_obj
[1] ;
33664 if (!args
) SWIG_fail
;
33665 swig_obj
[0] = args
;
33666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33667 if (!SWIG_IsOK(res1
)) {
33668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33670 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33675 wxPyEndAllowThreads(__tstate
);
33676 if (PyErr_Occurred()) SWIG_fail
;
33678 resultobj
= SWIG_Py_Void();
33685 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33686 PyObject
*resultobj
= 0;
33687 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33691 PyObject
*swig_obj
[1] ;
33693 if (!args
) SWIG_fail
;
33694 swig_obj
[0] = args
;
33695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33696 if (!SWIG_IsOK(res1
)) {
33697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33699 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33700 result
= (int)(int) ((arg1
)->widthSash
);
33701 resultobj
= SWIG_From_int(static_cast< int >(result
));
33708 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33709 PyObject
*resultobj
= 0;
33710 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33714 PyObject
*swig_obj
[1] ;
33716 if (!args
) SWIG_fail
;
33717 swig_obj
[0] = args
;
33718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33719 if (!SWIG_IsOK(res1
)) {
33720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33722 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33723 result
= (int)(int) ((arg1
)->border
);
33724 resultobj
= SWIG_From_int(static_cast< int >(result
));
33731 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33732 PyObject
*resultobj
= 0;
33733 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33737 PyObject
*swig_obj
[1] ;
33739 if (!args
) SWIG_fail
;
33740 swig_obj
[0] = args
;
33741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33742 if (!SWIG_IsOK(res1
)) {
33743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33745 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33746 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33747 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33754 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33756 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33757 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33758 return SWIG_Py_Void();
33761 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33762 return SWIG_Python_InitShadowInstance(args
);
33765 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33766 PyObject
*resultobj
= 0;
33767 wxHeaderButtonParams
*result
= 0 ;
33769 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33772 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33773 wxPyEndAllowThreads(__tstate
);
33774 if (PyErr_Occurred()) SWIG_fail
;
33776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33783 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33784 PyObject
*resultobj
= 0;
33785 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33788 PyObject
*swig_obj
[1] ;
33790 if (!args
) SWIG_fail
;
33791 swig_obj
[0] = args
;
33792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33793 if (!SWIG_IsOK(res1
)) {
33794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33796 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33801 wxPyEndAllowThreads(__tstate
);
33802 if (PyErr_Occurred()) SWIG_fail
;
33804 resultobj
= SWIG_Py_Void();
33811 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33812 PyObject
*resultobj
= 0;
33813 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33814 wxColour
*arg2
= (wxColour
*) 0 ;
33818 PyObject
*swig_obj
[2] ;
33820 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33822 if (!SWIG_IsOK(res1
)) {
33823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33825 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33828 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33830 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33832 resultobj
= SWIG_Py_Void();
33839 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33840 PyObject
*resultobj
= 0;
33841 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33842 wxColour
*result
= 0 ;
33845 PyObject
*swig_obj
[1] ;
33847 if (!args
) SWIG_fail
;
33848 swig_obj
[0] = args
;
33849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33850 if (!SWIG_IsOK(res1
)) {
33851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33853 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33854 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33862 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33863 PyObject
*resultobj
= 0;
33864 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33865 wxColour
*arg2
= (wxColour
*) 0 ;
33869 PyObject
*swig_obj
[2] ;
33871 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33873 if (!SWIG_IsOK(res1
)) {
33874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33876 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33879 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33881 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33883 resultobj
= SWIG_Py_Void();
33890 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33891 PyObject
*resultobj
= 0;
33892 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33893 wxColour
*result
= 0 ;
33896 PyObject
*swig_obj
[1] ;
33898 if (!args
) SWIG_fail
;
33899 swig_obj
[0] = args
;
33900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33901 if (!SWIG_IsOK(res1
)) {
33902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33904 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33905 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33913 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33914 PyObject
*resultobj
= 0;
33915 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33916 wxString
*arg2
= (wxString
*) 0 ;
33919 bool temp2
= false ;
33920 PyObject
*swig_obj
[2] ;
33922 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33924 if (!SWIG_IsOK(res1
)) {
33925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33927 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33929 arg2
= wxString_in_helper(swig_obj
[1]);
33930 if (arg2
== NULL
) SWIG_fail
;
33933 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33935 resultobj
= SWIG_Py_Void();
33950 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33951 PyObject
*resultobj
= 0;
33952 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33953 wxString
*result
= 0 ;
33956 PyObject
*swig_obj
[1] ;
33958 if (!args
) SWIG_fail
;
33959 swig_obj
[0] = args
;
33960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33961 if (!SWIG_IsOK(res1
)) {
33962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33964 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33965 result
= (wxString
*)& ((arg1
)->m_labelText
);
33968 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33970 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33979 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33980 PyObject
*resultobj
= 0;
33981 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33982 wxFont
*arg2
= (wxFont
*) 0 ;
33987 PyObject
*swig_obj
[2] ;
33989 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33991 if (!SWIG_IsOK(res1
)) {
33992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33994 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33995 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33996 if (!SWIG_IsOK(res2
)) {
33997 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33999 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34000 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34002 resultobj
= SWIG_Py_Void();
34009 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34010 PyObject
*resultobj
= 0;
34011 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34012 wxFont
*result
= 0 ;
34015 PyObject
*swig_obj
[1] ;
34017 if (!args
) SWIG_fail
;
34018 swig_obj
[0] = args
;
34019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34020 if (!SWIG_IsOK(res1
)) {
34021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34023 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34024 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34032 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34033 PyObject
*resultobj
= 0;
34034 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34035 wxColour
*arg2
= (wxColour
*) 0 ;
34039 PyObject
*swig_obj
[2] ;
34041 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34043 if (!SWIG_IsOK(res1
)) {
34044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34046 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34049 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34051 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34053 resultobj
= SWIG_Py_Void();
34060 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34061 PyObject
*resultobj
= 0;
34062 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34063 wxColour
*result
= 0 ;
34066 PyObject
*swig_obj
[1] ;
34068 if (!args
) SWIG_fail
;
34069 swig_obj
[0] = args
;
34070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34071 if (!SWIG_IsOK(res1
)) {
34072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34074 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34075 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34083 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34084 PyObject
*resultobj
= 0;
34085 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34086 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34091 PyObject
*swig_obj
[2] ;
34093 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34095 if (!SWIG_IsOK(res1
)) {
34096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34098 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34099 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34100 if (!SWIG_IsOK(res2
)) {
34101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34103 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34104 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34106 resultobj
= SWIG_Py_Void();
34113 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34114 PyObject
*resultobj
= 0;
34115 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34116 wxBitmap
*result
= 0 ;
34119 PyObject
*swig_obj
[1] ;
34121 if (!args
) SWIG_fail
;
34122 swig_obj
[0] = args
;
34123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34124 if (!SWIG_IsOK(res1
)) {
34125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34127 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34128 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34136 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34137 PyObject
*resultobj
= 0;
34138 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34144 PyObject
*swig_obj
[2] ;
34146 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34148 if (!SWIG_IsOK(res1
)) {
34149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34151 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34152 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34153 if (!SWIG_IsOK(ecode2
)) {
34154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34156 arg2
= static_cast< int >(val2
);
34157 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34159 resultobj
= SWIG_Py_Void();
34166 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34167 PyObject
*resultobj
= 0;
34168 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34172 PyObject
*swig_obj
[1] ;
34174 if (!args
) SWIG_fail
;
34175 swig_obj
[0] = args
;
34176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34177 if (!SWIG_IsOK(res1
)) {
34178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34180 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34181 result
= (int) ((arg1
)->m_labelAlignment
);
34182 resultobj
= SWIG_From_int(static_cast< int >(result
));
34189 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34191 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34192 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34193 return SWIG_Py_Void();
34196 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34197 return SWIG_Python_InitShadowInstance(args
);
34200 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34201 PyObject
*resultobj
= 0;
34204 wxRendererVersion
*result
= 0 ;
34209 PyObject
* obj0
= 0 ;
34210 PyObject
* obj1
= 0 ;
34211 char * kwnames
[] = {
34212 (char *) "version_",(char *) "age_", NULL
34215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34216 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34217 if (!SWIG_IsOK(ecode1
)) {
34218 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34220 arg1
= static_cast< int >(val1
);
34221 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34222 if (!SWIG_IsOK(ecode2
)) {
34223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34225 arg2
= static_cast< int >(val2
);
34227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34228 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34229 wxPyEndAllowThreads(__tstate
);
34230 if (PyErr_Occurred()) SWIG_fail
;
34232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34239 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34240 PyObject
*resultobj
= 0;
34241 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34244 PyObject
*swig_obj
[1] ;
34246 if (!args
) SWIG_fail
;
34247 swig_obj
[0] = args
;
34248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34249 if (!SWIG_IsOK(res1
)) {
34250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34252 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34257 wxPyEndAllowThreads(__tstate
);
34258 if (PyErr_Occurred()) SWIG_fail
;
34260 resultobj
= SWIG_Py_Void();
34267 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34268 PyObject
*resultobj
= 0;
34269 wxRendererVersion
*arg1
= 0 ;
34273 PyObject
* obj0
= 0 ;
34274 char * kwnames
[] = {
34275 (char *) "ver", NULL
34278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34279 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34280 if (!SWIG_IsOK(res1
)) {
34281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34286 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34289 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34290 wxPyEndAllowThreads(__tstate
);
34291 if (PyErr_Occurred()) SWIG_fail
;
34294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34302 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34303 PyObject
*resultobj
= 0;
34304 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34308 PyObject
*swig_obj
[1] ;
34310 if (!args
) SWIG_fail
;
34311 swig_obj
[0] = args
;
34312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34313 if (!SWIG_IsOK(res1
)) {
34314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34316 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34317 result
= (int)(int) ((arg1
)->version
);
34318 resultobj
= SWIG_From_int(static_cast< int >(result
));
34325 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34326 PyObject
*resultobj
= 0;
34327 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34331 PyObject
*swig_obj
[1] ;
34333 if (!args
) SWIG_fail
;
34334 swig_obj
[0] = args
;
34335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34336 if (!SWIG_IsOK(res1
)) {
34337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34339 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34340 result
= (int)(int) ((arg1
)->age
);
34341 resultobj
= SWIG_From_int(static_cast< int >(result
));
34348 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34350 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34351 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34352 return SWIG_Py_Void();
34355 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34356 return SWIG_Python_InitShadowInstance(args
);
34359 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34360 PyObject
*resultobj
= 0;
34361 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34362 wxWindow
*arg2
= (wxWindow
*) 0 ;
34365 int arg5
= (int) 0 ;
34366 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34367 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34382 PyObject
* obj0
= 0 ;
34383 PyObject
* obj1
= 0 ;
34384 PyObject
* obj2
= 0 ;
34385 PyObject
* obj3
= 0 ;
34386 PyObject
* obj4
= 0 ;
34387 PyObject
* obj5
= 0 ;
34388 PyObject
* obj6
= 0 ;
34389 char * kwnames
[] = {
34390 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34395 if (!SWIG_IsOK(res1
)) {
34396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34398 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34399 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34400 if (!SWIG_IsOK(res2
)) {
34401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34403 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34404 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34405 if (!SWIG_IsOK(res3
)) {
34406 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34411 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34414 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34417 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34418 if (!SWIG_IsOK(ecode5
)) {
34419 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34421 arg5
= static_cast< int >(val5
);
34424 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34425 if (!SWIG_IsOK(ecode6
)) {
34426 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34428 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34431 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34432 if (!SWIG_IsOK(res7
)) {
34433 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34435 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34439 result
= (int)(arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34440 wxPyEndAllowThreads(__tstate
);
34441 if (PyErr_Occurred()) SWIG_fail
;
34443 resultobj
= SWIG_From_int(static_cast< int >(result
));
34450 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34451 PyObject
*resultobj
= 0;
34452 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34453 wxWindow
*arg2
= (wxWindow
*) 0 ;
34456 int arg5
= (int) 0 ;
34457 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34458 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34473 PyObject
* obj0
= 0 ;
34474 PyObject
* obj1
= 0 ;
34475 PyObject
* obj2
= 0 ;
34476 PyObject
* obj3
= 0 ;
34477 PyObject
* obj4
= 0 ;
34478 PyObject
* obj5
= 0 ;
34479 PyObject
* obj6
= 0 ;
34480 char * kwnames
[] = {
34481 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34486 if (!SWIG_IsOK(res1
)) {
34487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34489 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34490 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34491 if (!SWIG_IsOK(res2
)) {
34492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34494 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34495 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34496 if (!SWIG_IsOK(res3
)) {
34497 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34502 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34505 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34508 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34509 if (!SWIG_IsOK(ecode5
)) {
34510 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34512 arg5
= static_cast< int >(val5
);
34515 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34516 if (!SWIG_IsOK(ecode6
)) {
34517 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34519 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34522 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34523 if (!SWIG_IsOK(res7
)) {
34524 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34526 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34530 result
= (int)(arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34531 wxPyEndAllowThreads(__tstate
);
34532 if (PyErr_Occurred()) SWIG_fail
;
34534 resultobj
= SWIG_From_int(static_cast< int >(result
));
34541 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34542 PyObject
*resultobj
= 0;
34543 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34544 wxWindow
*arg2
= (wxWindow
*) 0 ;
34550 PyObject
* obj0
= 0 ;
34551 PyObject
* obj1
= 0 ;
34552 char * kwnames
[] = {
34553 (char *) "self",(char *) "win", NULL
34556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34558 if (!SWIG_IsOK(res1
)) {
34559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34561 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34562 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34563 if (!SWIG_IsOK(res2
)) {
34564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34566 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34569 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34570 wxPyEndAllowThreads(__tstate
);
34571 if (PyErr_Occurred()) SWIG_fail
;
34573 resultobj
= SWIG_From_int(static_cast< int >(result
));
34580 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34581 PyObject
*resultobj
= 0;
34582 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34583 wxWindow
*arg2
= (wxWindow
*) 0 ;
34586 int arg5
= (int) 0 ;
34596 PyObject
* obj0
= 0 ;
34597 PyObject
* obj1
= 0 ;
34598 PyObject
* obj2
= 0 ;
34599 PyObject
* obj3
= 0 ;
34600 PyObject
* obj4
= 0 ;
34601 char * kwnames
[] = {
34602 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34607 if (!SWIG_IsOK(res1
)) {
34608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34610 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34611 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34612 if (!SWIG_IsOK(res2
)) {
34613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34615 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34616 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34617 if (!SWIG_IsOK(res3
)) {
34618 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34623 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34626 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34629 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34630 if (!SWIG_IsOK(ecode5
)) {
34631 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34633 arg5
= static_cast< int >(val5
);
34636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34637 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34638 wxPyEndAllowThreads(__tstate
);
34639 if (PyErr_Occurred()) SWIG_fail
;
34641 resultobj
= SWIG_Py_Void();
34648 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34649 PyObject
*resultobj
= 0;
34650 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34651 wxWindow
*arg2
= (wxWindow
*) 0 ;
34654 int arg5
= (int) 0 ;
34664 PyObject
* obj0
= 0 ;
34665 PyObject
* obj1
= 0 ;
34666 PyObject
* obj2
= 0 ;
34667 PyObject
* obj3
= 0 ;
34668 PyObject
* obj4
= 0 ;
34669 char * kwnames
[] = {
34670 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34675 if (!SWIG_IsOK(res1
)) {
34676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34678 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34679 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34680 if (!SWIG_IsOK(res2
)) {
34681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34683 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34684 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34685 if (!SWIG_IsOK(res3
)) {
34686 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34691 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34694 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34697 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34698 if (!SWIG_IsOK(ecode5
)) {
34699 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34701 arg5
= static_cast< int >(val5
);
34704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34705 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34706 wxPyEndAllowThreads(__tstate
);
34707 if (PyErr_Occurred()) SWIG_fail
;
34709 resultobj
= SWIG_Py_Void();
34716 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34717 PyObject
*resultobj
= 0;
34718 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34719 wxWindow
*arg2
= (wxWindow
*) 0 ;
34723 wxOrientation arg6
;
34724 int arg7
= (int) 0 ;
34738 PyObject
* obj0
= 0 ;
34739 PyObject
* obj1
= 0 ;
34740 PyObject
* obj2
= 0 ;
34741 PyObject
* obj3
= 0 ;
34742 PyObject
* obj4
= 0 ;
34743 PyObject
* obj5
= 0 ;
34744 PyObject
* obj6
= 0 ;
34745 char * kwnames
[] = {
34746 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34751 if (!SWIG_IsOK(res1
)) {
34752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34754 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34755 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34756 if (!SWIG_IsOK(res2
)) {
34757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34759 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34760 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34761 if (!SWIG_IsOK(res3
)) {
34762 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34767 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34770 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34772 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34773 if (!SWIG_IsOK(ecode5
)) {
34774 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34776 arg5
= static_cast< int >(val5
);
34777 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34778 if (!SWIG_IsOK(ecode6
)) {
34779 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34781 arg6
= static_cast< wxOrientation
>(val6
);
34783 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34784 if (!SWIG_IsOK(ecode7
)) {
34785 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34787 arg7
= static_cast< int >(val7
);
34790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34791 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34792 wxPyEndAllowThreads(__tstate
);
34793 if (PyErr_Occurred()) SWIG_fail
;
34795 resultobj
= SWIG_Py_Void();
34802 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34803 PyObject
*resultobj
= 0;
34804 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34805 wxWindow
*arg2
= (wxWindow
*) 0 ;
34808 int arg5
= (int) 0 ;
34818 PyObject
* obj0
= 0 ;
34819 PyObject
* obj1
= 0 ;
34820 PyObject
* obj2
= 0 ;
34821 PyObject
* obj3
= 0 ;
34822 PyObject
* obj4
= 0 ;
34823 char * kwnames
[] = {
34824 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34829 if (!SWIG_IsOK(res1
)) {
34830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34832 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34833 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34834 if (!SWIG_IsOK(res2
)) {
34835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34837 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34838 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34839 if (!SWIG_IsOK(res3
)) {
34840 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34843 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34845 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34848 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34851 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34852 if (!SWIG_IsOK(ecode5
)) {
34853 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34855 arg5
= static_cast< int >(val5
);
34858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34859 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34860 wxPyEndAllowThreads(__tstate
);
34861 if (PyErr_Occurred()) SWIG_fail
;
34863 resultobj
= SWIG_Py_Void();
34870 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34871 PyObject
*resultobj
= 0;
34872 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34873 wxWindow
*arg2
= (wxWindow
*) 0 ;
34876 int arg5
= (int) 0 ;
34886 PyObject
* obj0
= 0 ;
34887 PyObject
* obj1
= 0 ;
34888 PyObject
* obj2
= 0 ;
34889 PyObject
* obj3
= 0 ;
34890 PyObject
* obj4
= 0 ;
34891 char * kwnames
[] = {
34892 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34897 if (!SWIG_IsOK(res1
)) {
34898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34900 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34901 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34902 if (!SWIG_IsOK(res2
)) {
34903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34905 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34906 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34907 if (!SWIG_IsOK(res3
)) {
34908 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34913 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34916 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34919 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34920 if (!SWIG_IsOK(ecode5
)) {
34921 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34923 arg5
= static_cast< int >(val5
);
34926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34927 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34928 wxPyEndAllowThreads(__tstate
);
34929 if (PyErr_Occurred()) SWIG_fail
;
34931 resultobj
= SWIG_Py_Void();
34938 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34939 PyObject
*resultobj
= 0;
34940 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34941 wxWindow
*arg2
= (wxWindow
*) 0 ;
34944 int arg5
= (int) 0 ;
34954 PyObject
* obj0
= 0 ;
34955 PyObject
* obj1
= 0 ;
34956 PyObject
* obj2
= 0 ;
34957 PyObject
* obj3
= 0 ;
34958 PyObject
* obj4
= 0 ;
34959 char * kwnames
[] = {
34960 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34965 if (!SWIG_IsOK(res1
)) {
34966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34968 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34969 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34970 if (!SWIG_IsOK(res2
)) {
34971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34973 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34974 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34975 if (!SWIG_IsOK(res3
)) {
34976 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34979 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34981 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34984 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34987 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34988 if (!SWIG_IsOK(ecode5
)) {
34989 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34991 arg5
= static_cast< int >(val5
);
34994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34995 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34996 wxPyEndAllowThreads(__tstate
);
34997 if (PyErr_Occurred()) SWIG_fail
;
34999 resultobj
= SWIG_Py_Void();
35006 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35007 PyObject
*resultobj
= 0;
35008 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35009 wxWindow
*arg2
= (wxWindow
*) 0 ;
35012 int arg5
= (int) 0 ;
35022 PyObject
* obj0
= 0 ;
35023 PyObject
* obj1
= 0 ;
35024 PyObject
* obj2
= 0 ;
35025 PyObject
* obj3
= 0 ;
35026 PyObject
* obj4
= 0 ;
35027 char * kwnames
[] = {
35028 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35033 if (!SWIG_IsOK(res1
)) {
35034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35036 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35037 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35038 if (!SWIG_IsOK(res2
)) {
35039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35041 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35042 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35043 if (!SWIG_IsOK(res3
)) {
35044 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35049 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35052 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35055 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35056 if (!SWIG_IsOK(ecode5
)) {
35057 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35059 arg5
= static_cast< int >(val5
);
35062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35063 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35064 wxPyEndAllowThreads(__tstate
);
35065 if (PyErr_Occurred()) SWIG_fail
;
35067 resultobj
= SWIG_Py_Void();
35074 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35075 PyObject
*resultobj
= 0;
35076 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35077 wxWindow
*arg2
= (wxWindow
*) 0 ;
35080 int arg5
= (int) 0 ;
35090 PyObject
* obj0
= 0 ;
35091 PyObject
* obj1
= 0 ;
35092 PyObject
* obj2
= 0 ;
35093 PyObject
* obj3
= 0 ;
35094 PyObject
* obj4
= 0 ;
35095 char * kwnames
[] = {
35096 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35101 if (!SWIG_IsOK(res1
)) {
35102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35104 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35105 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35106 if (!SWIG_IsOK(res2
)) {
35107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35109 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35110 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35111 if (!SWIG_IsOK(res3
)) {
35112 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35115 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35117 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35120 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35123 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35124 if (!SWIG_IsOK(ecode5
)) {
35125 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35127 arg5
= static_cast< int >(val5
);
35130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35131 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35132 wxPyEndAllowThreads(__tstate
);
35133 if (PyErr_Occurred()) SWIG_fail
;
35135 resultobj
= SWIG_Py_Void();
35142 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35143 PyObject
*resultobj
= 0;
35144 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35145 wxWindow
*arg2
= (wxWindow
*) 0 ;
35146 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35151 PyObject
* obj0
= 0 ;
35152 PyObject
* obj1
= 0 ;
35153 char * kwnames
[] = {
35154 (char *) "self",(char *) "win", NULL
35157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35159 if (!SWIG_IsOK(res1
)) {
35160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35162 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35163 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35164 if (!SWIG_IsOK(res2
)) {
35165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35167 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35170 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35171 wxPyEndAllowThreads(__tstate
);
35172 if (PyErr_Occurred()) SWIG_fail
;
35174 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35181 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35182 PyObject
*resultobj
= 0;
35183 wxRendererNative
*result
= 0 ;
35185 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35187 if (!wxPyCheckForApp()) SWIG_fail
;
35188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35190 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35191 result
= (wxRendererNative
*) &_result_ref
;
35193 wxPyEndAllowThreads(__tstate
);
35194 if (PyErr_Occurred()) SWIG_fail
;
35196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35203 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35204 PyObject
*resultobj
= 0;
35205 wxRendererNative
*result
= 0 ;
35207 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35209 if (!wxPyCheckForApp()) SWIG_fail
;
35210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35212 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35213 result
= (wxRendererNative
*) &_result_ref
;
35215 wxPyEndAllowThreads(__tstate
);
35216 if (PyErr_Occurred()) SWIG_fail
;
35218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35225 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35226 PyObject
*resultobj
= 0;
35227 wxRendererNative
*result
= 0 ;
35229 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35231 if (!wxPyCheckForApp()) SWIG_fail
;
35232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35234 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35235 result
= (wxRendererNative
*) &_result_ref
;
35237 wxPyEndAllowThreads(__tstate
);
35238 if (PyErr_Occurred()) SWIG_fail
;
35240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35247 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35248 PyObject
*resultobj
= 0;
35249 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35250 wxRendererNative
*result
= 0 ;
35253 PyObject
* obj0
= 0 ;
35254 char * kwnames
[] = {
35255 (char *) "renderer", NULL
35258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35260 if (!SWIG_IsOK(res1
)) {
35261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35263 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35265 if (!wxPyCheckForApp()) SWIG_fail
;
35266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35267 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35268 wxPyEndAllowThreads(__tstate
);
35269 if (PyErr_Occurred()) SWIG_fail
;
35271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35278 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35279 PyObject
*resultobj
= 0;
35280 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35281 SwigValueWrapper
<wxRendererVersion
> result
;
35284 PyObject
*swig_obj
[1] ;
35286 if (!args
) SWIG_fail
;
35287 swig_obj
[0] = args
;
35288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35289 if (!SWIG_IsOK(res1
)) {
35290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35292 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35295 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35296 wxPyEndAllowThreads(__tstate
);
35297 if (PyErr_Occurred()) SWIG_fail
;
35299 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35306 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35309 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35310 return SWIG_Py_Void();
35313 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35314 PyObject
*resultobj
= 0;
35315 wxPseudoDC
*result
= 0 ;
35317 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35320 result
= (wxPseudoDC
*)new wxPseudoDC();
35321 wxPyEndAllowThreads(__tstate
);
35322 if (PyErr_Occurred()) SWIG_fail
;
35324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35331 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35332 PyObject
*resultobj
= 0;
35333 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35336 PyObject
*swig_obj
[1] ;
35338 if (!args
) SWIG_fail
;
35339 swig_obj
[0] = args
;
35340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35341 if (!SWIG_IsOK(res1
)) {
35342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35344 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35347 (arg1
)->BeginDrawing();
35348 wxPyEndAllowThreads(__tstate
);
35349 if (PyErr_Occurred()) SWIG_fail
;
35351 resultobj
= SWIG_Py_Void();
35358 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35359 PyObject
*resultobj
= 0;
35360 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35363 PyObject
*swig_obj
[1] ;
35365 if (!args
) SWIG_fail
;
35366 swig_obj
[0] = args
;
35367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35368 if (!SWIG_IsOK(res1
)) {
35369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35371 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35374 (arg1
)->EndDrawing();
35375 wxPyEndAllowThreads(__tstate
);
35376 if (PyErr_Occurred()) SWIG_fail
;
35378 resultobj
= SWIG_Py_Void();
35385 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35386 PyObject
*resultobj
= 0;
35387 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35390 PyObject
*swig_obj
[1] ;
35392 if (!args
) SWIG_fail
;
35393 swig_obj
[0] = args
;
35394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35395 if (!SWIG_IsOK(res1
)) {
35396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35398 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35403 wxPyEndAllowThreads(__tstate
);
35404 if (PyErr_Occurred()) SWIG_fail
;
35406 resultobj
= SWIG_Py_Void();
35413 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35414 PyObject
*resultobj
= 0;
35415 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35418 PyObject
*swig_obj
[1] ;
35420 if (!args
) SWIG_fail
;
35421 swig_obj
[0] = args
;
35422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35423 if (!SWIG_IsOK(res1
)) {
35424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35426 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35429 (arg1
)->RemoveAll();
35430 wxPyEndAllowThreads(__tstate
);
35431 if (PyErr_Occurred()) SWIG_fail
;
35433 resultobj
= SWIG_Py_Void();
35440 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35441 PyObject
*resultobj
= 0;
35442 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35446 PyObject
*swig_obj
[1] ;
35448 if (!args
) SWIG_fail
;
35449 swig_obj
[0] = args
;
35450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35451 if (!SWIG_IsOK(res1
)) {
35452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35454 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35457 result
= (int)(arg1
)->GetLen();
35458 wxPyEndAllowThreads(__tstate
);
35459 if (PyErr_Occurred()) SWIG_fail
;
35461 resultobj
= SWIG_From_int(static_cast< int >(result
));
35468 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35469 PyObject
*resultobj
= 0;
35470 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35476 PyObject
* obj0
= 0 ;
35477 PyObject
* obj1
= 0 ;
35478 char * kwnames
[] = {
35479 (char *) "self",(char *) "id", NULL
35482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35484 if (!SWIG_IsOK(res1
)) {
35485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35487 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35489 if (!SWIG_IsOK(ecode2
)) {
35490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35492 arg2
= static_cast< int >(val2
);
35494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35495 (arg1
)->SetId(arg2
);
35496 wxPyEndAllowThreads(__tstate
);
35497 if (PyErr_Occurred()) SWIG_fail
;
35499 resultobj
= SWIG_Py_Void();
35506 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35507 PyObject
*resultobj
= 0;
35508 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35514 PyObject
* obj0
= 0 ;
35515 PyObject
* obj1
= 0 ;
35516 char * kwnames
[] = {
35517 (char *) "self",(char *) "id", NULL
35520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35522 if (!SWIG_IsOK(res1
)) {
35523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35525 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35527 if (!SWIG_IsOK(ecode2
)) {
35528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35530 arg2
= static_cast< int >(val2
);
35532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35533 (arg1
)->ClearId(arg2
);
35534 wxPyEndAllowThreads(__tstate
);
35535 if (PyErr_Occurred()) SWIG_fail
;
35537 resultobj
= SWIG_Py_Void();
35544 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35545 PyObject
*resultobj
= 0;
35546 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35552 PyObject
* obj0
= 0 ;
35553 PyObject
* obj1
= 0 ;
35554 char * kwnames
[] = {
35555 (char *) "self",(char *) "id", NULL
35558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35560 if (!SWIG_IsOK(res1
)) {
35561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35563 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35565 if (!SWIG_IsOK(ecode2
)) {
35566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35568 arg2
= static_cast< int >(val2
);
35570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35571 (arg1
)->RemoveId(arg2
);
35572 wxPyEndAllowThreads(__tstate
);
35573 if (PyErr_Occurred()) SWIG_fail
;
35575 resultobj
= SWIG_Py_Void();
35582 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35583 PyObject
*resultobj
= 0;
35584 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35596 PyObject
* obj0
= 0 ;
35597 PyObject
* obj1
= 0 ;
35598 PyObject
* obj2
= 0 ;
35599 PyObject
* obj3
= 0 ;
35600 char * kwnames
[] = {
35601 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35606 if (!SWIG_IsOK(res1
)) {
35607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35609 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35611 if (!SWIG_IsOK(ecode2
)) {
35612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35614 arg2
= static_cast< int >(val2
);
35615 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35616 if (!SWIG_IsOK(ecode3
)) {
35617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35619 arg3
= static_cast< int >(val3
);
35620 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35621 if (!SWIG_IsOK(ecode4
)) {
35622 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35624 arg4
= static_cast< int >(val4
);
35626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35627 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35628 wxPyEndAllowThreads(__tstate
);
35629 if (PyErr_Occurred()) SWIG_fail
;
35631 resultobj
= SWIG_Py_Void();
35638 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35639 PyObject
*resultobj
= 0;
35640 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35642 bool arg3
= (bool) true ;
35649 PyObject
* obj0
= 0 ;
35650 PyObject
* obj1
= 0 ;
35651 PyObject
* obj2
= 0 ;
35652 char * kwnames
[] = {
35653 (char *) "self",(char *) "id",(char *) "greyout", NULL
35656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35658 if (!SWIG_IsOK(res1
)) {
35659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35661 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35663 if (!SWIG_IsOK(ecode2
)) {
35664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35666 arg2
= static_cast< int >(val2
);
35668 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35669 if (!SWIG_IsOK(ecode3
)) {
35670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35672 arg3
= static_cast< bool >(val3
);
35675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35676 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35677 wxPyEndAllowThreads(__tstate
);
35678 if (PyErr_Occurred()) SWIG_fail
;
35680 resultobj
= SWIG_Py_Void();
35687 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35688 PyObject
*resultobj
= 0;
35689 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35696 PyObject
* obj0
= 0 ;
35697 PyObject
* obj1
= 0 ;
35698 char * kwnames
[] = {
35699 (char *) "self",(char *) "id", NULL
35702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35704 if (!SWIG_IsOK(res1
)) {
35705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35707 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35709 if (!SWIG_IsOK(ecode2
)) {
35710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35712 arg2
= static_cast< int >(val2
);
35714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35715 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35716 wxPyEndAllowThreads(__tstate
);
35717 if (PyErr_Occurred()) SWIG_fail
;
35720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35728 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35729 PyObject
*resultobj
= 0;
35730 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35733 int arg4
= (int) 1 ;
35734 wxColour
const &arg5_defvalue
= *wxWHITE
;
35735 wxColour
*arg5
= (wxColour
*) &arg5_defvalue
;
35736 PyObject
*result
= 0 ;
35746 PyObject
* obj0
= 0 ;
35747 PyObject
* obj1
= 0 ;
35748 PyObject
* obj2
= 0 ;
35749 PyObject
* obj3
= 0 ;
35750 PyObject
* obj4
= 0 ;
35751 char * kwnames
[] = {
35752 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35757 if (!SWIG_IsOK(res1
)) {
35758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35760 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35762 if (!SWIG_IsOK(ecode2
)) {
35763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35765 arg2
= static_cast< int >(val2
);
35766 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35767 if (!SWIG_IsOK(ecode3
)) {
35768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35770 arg3
= static_cast< int >(val3
);
35772 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35773 if (!SWIG_IsOK(ecode4
)) {
35774 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35776 arg4
= static_cast< int >(val4
);
35781 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
35785 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColour
const &)*arg5
);
35786 if (PyErr_Occurred()) SWIG_fail
;
35788 resultobj
= result
;
35795 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35796 PyObject
*resultobj
= 0;
35797 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35800 PyObject
*result
= 0 ;
35807 PyObject
* obj0
= 0 ;
35808 PyObject
* obj1
= 0 ;
35809 PyObject
* obj2
= 0 ;
35810 char * kwnames
[] = {
35811 (char *) "self",(char *) "x",(char *) "y", NULL
35814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35816 if (!SWIG_IsOK(res1
)) {
35817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35819 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35821 if (!SWIG_IsOK(ecode2
)) {
35822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35824 arg2
= static_cast< int >(val2
);
35825 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35826 if (!SWIG_IsOK(ecode3
)) {
35827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35829 arg3
= static_cast< int >(val3
);
35831 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35832 if (PyErr_Occurred()) SWIG_fail
;
35834 resultobj
= result
;
35841 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35842 PyObject
*resultobj
= 0;
35843 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35845 wxDC
*arg3
= (wxDC
*) 0 ;
35852 PyObject
* obj0
= 0 ;
35853 PyObject
* obj1
= 0 ;
35854 PyObject
* obj2
= 0 ;
35855 char * kwnames
[] = {
35856 (char *) "self",(char *) "id",(char *) "dc", NULL
35859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35861 if (!SWIG_IsOK(res1
)) {
35862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35864 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35866 if (!SWIG_IsOK(ecode2
)) {
35867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35869 arg2
= static_cast< int >(val2
);
35870 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35871 if (!SWIG_IsOK(res3
)) {
35872 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35874 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35877 (arg1
)->DrawIdToDC(arg2
,arg3
);
35878 wxPyEndAllowThreads(__tstate
);
35879 if (PyErr_Occurred()) SWIG_fail
;
35881 resultobj
= SWIG_Py_Void();
35888 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35889 PyObject
*resultobj
= 0;
35890 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35898 PyObject
* obj0
= 0 ;
35899 PyObject
* obj1
= 0 ;
35900 PyObject
* obj2
= 0 ;
35901 char * kwnames
[] = {
35902 (char *) "self",(char *) "id",(char *) "rect", NULL
35905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35907 if (!SWIG_IsOK(res1
)) {
35908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35910 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35912 if (!SWIG_IsOK(ecode2
)) {
35913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35915 arg2
= static_cast< int >(val2
);
35918 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35922 (arg1
)->SetIdBounds(arg2
,*arg3
);
35923 wxPyEndAllowThreads(__tstate
);
35924 if (PyErr_Occurred()) SWIG_fail
;
35926 resultobj
= SWIG_Py_Void();
35933 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35934 PyObject
*resultobj
= 0;
35935 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35942 PyObject
* obj0
= 0 ;
35943 PyObject
* obj1
= 0 ;
35944 char * kwnames
[] = {
35945 (char *) "self",(char *) "id", NULL
35948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35950 if (!SWIG_IsOK(res1
)) {
35951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35953 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35955 if (!SWIG_IsOK(ecode2
)) {
35956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35958 arg2
= static_cast< int >(val2
);
35960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35961 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35962 wxPyEndAllowThreads(__tstate
);
35963 if (PyErr_Occurred()) SWIG_fail
;
35965 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35972 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35973 PyObject
*resultobj
= 0;
35974 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35975 wxDC
*arg2
= (wxDC
*) 0 ;
35982 PyObject
* obj0
= 0 ;
35983 PyObject
* obj1
= 0 ;
35984 PyObject
* obj2
= 0 ;
35985 char * kwnames
[] = {
35986 (char *) "self",(char *) "dc",(char *) "rect", NULL
35989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35991 if (!SWIG_IsOK(res1
)) {
35992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35994 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35995 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35996 if (!SWIG_IsOK(res2
)) {
35997 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35999 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36002 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36006 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36007 wxPyEndAllowThreads(__tstate
);
36008 if (PyErr_Occurred()) SWIG_fail
;
36010 resultobj
= SWIG_Py_Void();
36017 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36018 PyObject
*resultobj
= 0;
36019 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36020 wxDC
*arg2
= (wxDC
*) 0 ;
36021 wxRegion
*arg3
= 0 ;
36028 PyObject
* obj0
= 0 ;
36029 PyObject
* obj1
= 0 ;
36030 PyObject
* obj2
= 0 ;
36031 char * kwnames
[] = {
36032 (char *) "self",(char *) "dc",(char *) "region", NULL
36035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36037 if (!SWIG_IsOK(res1
)) {
36038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36040 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36041 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36042 if (!SWIG_IsOK(res2
)) {
36043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36045 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36046 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36047 if (!SWIG_IsOK(res3
)) {
36048 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36053 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36056 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36057 wxPyEndAllowThreads(__tstate
);
36058 if (PyErr_Occurred()) SWIG_fail
;
36060 resultobj
= SWIG_Py_Void();
36067 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36068 PyObject
*resultobj
= 0;
36069 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36070 wxDC
*arg2
= (wxDC
*) 0 ;
36075 PyObject
* obj0
= 0 ;
36076 PyObject
* obj1
= 0 ;
36077 char * kwnames
[] = {
36078 (char *) "self",(char *) "dc", NULL
36081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36083 if (!SWIG_IsOK(res1
)) {
36084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36086 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36087 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36088 if (!SWIG_IsOK(res2
)) {
36089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36091 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36094 (arg1
)->DrawToDC(arg2
);
36095 wxPyEndAllowThreads(__tstate
);
36096 if (PyErr_Occurred()) SWIG_fail
;
36098 resultobj
= SWIG_Py_Void();
36105 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36106 PyObject
*resultobj
= 0;
36107 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36110 wxColour
*arg4
= 0 ;
36111 int arg5
= (int) wxFLOOD_SURFACE
;
36121 PyObject
* obj0
= 0 ;
36122 PyObject
* obj1
= 0 ;
36123 PyObject
* obj2
= 0 ;
36124 PyObject
* obj3
= 0 ;
36125 PyObject
* obj4
= 0 ;
36126 char * kwnames
[] = {
36127 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36132 if (!SWIG_IsOK(res1
)) {
36133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36135 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36137 if (!SWIG_IsOK(ecode2
)) {
36138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36140 arg2
= static_cast< int >(val2
);
36141 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36142 if (!SWIG_IsOK(ecode3
)) {
36143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36145 arg3
= static_cast< int >(val3
);
36148 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36151 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36152 if (!SWIG_IsOK(ecode5
)) {
36153 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36155 arg5
= static_cast< int >(val5
);
36158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36159 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36160 wxPyEndAllowThreads(__tstate
);
36161 if (PyErr_Occurred()) SWIG_fail
;
36163 resultobj
= SWIG_Py_Void();
36170 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36171 PyObject
*resultobj
= 0;
36172 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36173 wxPoint
*arg2
= 0 ;
36174 wxColour
*arg3
= 0 ;
36175 int arg4
= (int) wxFLOOD_SURFACE
;
36182 PyObject
* obj0
= 0 ;
36183 PyObject
* obj1
= 0 ;
36184 PyObject
* obj2
= 0 ;
36185 PyObject
* obj3
= 0 ;
36186 char * kwnames
[] = {
36187 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36192 if (!SWIG_IsOK(res1
)) {
36193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36195 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36198 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36202 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36205 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36206 if (!SWIG_IsOK(ecode4
)) {
36207 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36209 arg4
= static_cast< int >(val4
);
36212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36213 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36214 wxPyEndAllowThreads(__tstate
);
36215 if (PyErr_Occurred()) SWIG_fail
;
36217 resultobj
= SWIG_Py_Void();
36224 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36225 PyObject
*resultobj
= 0;
36226 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36241 PyObject
* obj0
= 0 ;
36242 PyObject
* obj1
= 0 ;
36243 PyObject
* obj2
= 0 ;
36244 PyObject
* obj3
= 0 ;
36245 PyObject
* obj4
= 0 ;
36246 char * kwnames
[] = {
36247 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36252 if (!SWIG_IsOK(res1
)) {
36253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36255 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36257 if (!SWIG_IsOK(ecode2
)) {
36258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36260 arg2
= static_cast< int >(val2
);
36261 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36262 if (!SWIG_IsOK(ecode3
)) {
36263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36265 arg3
= static_cast< int >(val3
);
36266 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36267 if (!SWIG_IsOK(ecode4
)) {
36268 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36270 arg4
= static_cast< int >(val4
);
36271 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36272 if (!SWIG_IsOK(ecode5
)) {
36273 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36275 arg5
= static_cast< int >(val5
);
36277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36278 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36279 wxPyEndAllowThreads(__tstate
);
36280 if (PyErr_Occurred()) SWIG_fail
;
36282 resultobj
= SWIG_Py_Void();
36289 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36290 PyObject
*resultobj
= 0;
36291 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36292 wxPoint
*arg2
= 0 ;
36293 wxPoint
*arg3
= 0 ;
36298 PyObject
* obj0
= 0 ;
36299 PyObject
* obj1
= 0 ;
36300 PyObject
* obj2
= 0 ;
36301 char * kwnames
[] = {
36302 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36307 if (!SWIG_IsOK(res1
)) {
36308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36310 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36313 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36317 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36321 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36322 wxPyEndAllowThreads(__tstate
);
36323 if (PyErr_Occurred()) SWIG_fail
;
36325 resultobj
= SWIG_Py_Void();
36332 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36333 PyObject
*resultobj
= 0;
36334 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36343 PyObject
* obj0
= 0 ;
36344 PyObject
* obj1
= 0 ;
36345 PyObject
* obj2
= 0 ;
36346 char * kwnames
[] = {
36347 (char *) "self",(char *) "x",(char *) "y", NULL
36350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36352 if (!SWIG_IsOK(res1
)) {
36353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36355 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36357 if (!SWIG_IsOK(ecode2
)) {
36358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36360 arg2
= static_cast< int >(val2
);
36361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36362 if (!SWIG_IsOK(ecode3
)) {
36363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36365 arg3
= static_cast< int >(val3
);
36367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36368 (arg1
)->CrossHair(arg2
,arg3
);
36369 wxPyEndAllowThreads(__tstate
);
36370 if (PyErr_Occurred()) SWIG_fail
;
36372 resultobj
= SWIG_Py_Void();
36379 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36380 PyObject
*resultobj
= 0;
36381 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36382 wxPoint
*arg2
= 0 ;
36386 PyObject
* obj0
= 0 ;
36387 PyObject
* obj1
= 0 ;
36388 char * kwnames
[] = {
36389 (char *) "self",(char *) "pt", NULL
36392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36394 if (!SWIG_IsOK(res1
)) {
36395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36397 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36400 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36404 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36405 wxPyEndAllowThreads(__tstate
);
36406 if (PyErr_Occurred()) SWIG_fail
;
36408 resultobj
= SWIG_Py_Void();
36415 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36416 PyObject
*resultobj
= 0;
36417 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36438 PyObject
* obj0
= 0 ;
36439 PyObject
* obj1
= 0 ;
36440 PyObject
* obj2
= 0 ;
36441 PyObject
* obj3
= 0 ;
36442 PyObject
* obj4
= 0 ;
36443 PyObject
* obj5
= 0 ;
36444 PyObject
* obj6
= 0 ;
36445 char * kwnames
[] = {
36446 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36451 if (!SWIG_IsOK(res1
)) {
36452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36454 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36456 if (!SWIG_IsOK(ecode2
)) {
36457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36459 arg2
= static_cast< int >(val2
);
36460 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36461 if (!SWIG_IsOK(ecode3
)) {
36462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36464 arg3
= static_cast< int >(val3
);
36465 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36466 if (!SWIG_IsOK(ecode4
)) {
36467 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36469 arg4
= static_cast< int >(val4
);
36470 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36471 if (!SWIG_IsOK(ecode5
)) {
36472 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36474 arg5
= static_cast< int >(val5
);
36475 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36476 if (!SWIG_IsOK(ecode6
)) {
36477 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36479 arg6
= static_cast< int >(val6
);
36480 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36481 if (!SWIG_IsOK(ecode7
)) {
36482 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36484 arg7
= static_cast< int >(val7
);
36486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36487 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36488 wxPyEndAllowThreads(__tstate
);
36489 if (PyErr_Occurred()) SWIG_fail
;
36491 resultobj
= SWIG_Py_Void();
36498 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36499 PyObject
*resultobj
= 0;
36500 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36501 wxPoint
*arg2
= 0 ;
36502 wxPoint
*arg3
= 0 ;
36503 wxPoint
*arg4
= 0 ;
36509 PyObject
* obj0
= 0 ;
36510 PyObject
* obj1
= 0 ;
36511 PyObject
* obj2
= 0 ;
36512 PyObject
* obj3
= 0 ;
36513 char * kwnames
[] = {
36514 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36519 if (!SWIG_IsOK(res1
)) {
36520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36522 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36525 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36529 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36533 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36537 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36538 wxPyEndAllowThreads(__tstate
);
36539 if (PyErr_Occurred()) SWIG_fail
;
36541 resultobj
= SWIG_Py_Void();
36548 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36549 PyObject
*resultobj
= 0;
36550 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36565 PyObject
* obj0
= 0 ;
36566 PyObject
* obj1
= 0 ;
36567 PyObject
* obj2
= 0 ;
36568 PyObject
* obj3
= 0 ;
36569 PyObject
* obj4
= 0 ;
36570 char * kwnames
[] = {
36571 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36576 if (!SWIG_IsOK(res1
)) {
36577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36579 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36581 if (!SWIG_IsOK(ecode2
)) {
36582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36584 arg2
= static_cast< int >(val2
);
36585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36586 if (!SWIG_IsOK(ecode3
)) {
36587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36589 arg3
= static_cast< int >(val3
);
36590 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36591 if (!SWIG_IsOK(ecode4
)) {
36592 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36594 arg4
= static_cast< int >(val4
);
36595 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36596 if (!SWIG_IsOK(ecode5
)) {
36597 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36599 arg5
= static_cast< int >(val5
);
36601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36602 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36603 wxPyEndAllowThreads(__tstate
);
36604 if (PyErr_Occurred()) SWIG_fail
;
36606 resultobj
= SWIG_Py_Void();
36613 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36614 PyObject
*resultobj
= 0;
36615 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36620 PyObject
* obj0
= 0 ;
36621 PyObject
* obj1
= 0 ;
36622 char * kwnames
[] = {
36623 (char *) "self",(char *) "rect", NULL
36626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36628 if (!SWIG_IsOK(res1
)) {
36629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36631 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36634 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36638 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36639 wxPyEndAllowThreads(__tstate
);
36640 if (PyErr_Occurred()) SWIG_fail
;
36642 resultobj
= SWIG_Py_Void();
36649 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36650 PyObject
*resultobj
= 0;
36651 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36672 PyObject
* obj0
= 0 ;
36673 PyObject
* obj1
= 0 ;
36674 PyObject
* obj2
= 0 ;
36675 PyObject
* obj3
= 0 ;
36676 PyObject
* obj4
= 0 ;
36677 PyObject
* obj5
= 0 ;
36678 PyObject
* obj6
= 0 ;
36679 char * kwnames
[] = {
36680 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36685 if (!SWIG_IsOK(res1
)) {
36686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36688 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36690 if (!SWIG_IsOK(ecode2
)) {
36691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36693 arg2
= static_cast< int >(val2
);
36694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36695 if (!SWIG_IsOK(ecode3
)) {
36696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36698 arg3
= static_cast< int >(val3
);
36699 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36700 if (!SWIG_IsOK(ecode4
)) {
36701 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36703 arg4
= static_cast< int >(val4
);
36704 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36705 if (!SWIG_IsOK(ecode5
)) {
36706 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36708 arg5
= static_cast< int >(val5
);
36709 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36710 if (!SWIG_IsOK(ecode6
)) {
36711 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36713 arg6
= static_cast< double >(val6
);
36714 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36715 if (!SWIG_IsOK(ecode7
)) {
36716 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36718 arg7
= static_cast< double >(val7
);
36720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36721 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36722 wxPyEndAllowThreads(__tstate
);
36723 if (PyErr_Occurred()) SWIG_fail
;
36725 resultobj
= SWIG_Py_Void();
36732 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36733 PyObject
*resultobj
= 0;
36734 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36735 wxPoint
*arg2
= 0 ;
36747 PyObject
* obj0
= 0 ;
36748 PyObject
* obj1
= 0 ;
36749 PyObject
* obj2
= 0 ;
36750 PyObject
* obj3
= 0 ;
36751 PyObject
* obj4
= 0 ;
36752 char * kwnames
[] = {
36753 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36758 if (!SWIG_IsOK(res1
)) {
36759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36761 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36764 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36768 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36770 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36771 if (!SWIG_IsOK(ecode4
)) {
36772 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36774 arg4
= static_cast< double >(val4
);
36775 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36776 if (!SWIG_IsOK(ecode5
)) {
36777 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36779 arg5
= static_cast< double >(val5
);
36781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36782 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36783 wxPyEndAllowThreads(__tstate
);
36784 if (PyErr_Occurred()) SWIG_fail
;
36786 resultobj
= SWIG_Py_Void();
36793 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36794 PyObject
*resultobj
= 0;
36795 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36804 PyObject
* obj0
= 0 ;
36805 PyObject
* obj1
= 0 ;
36806 PyObject
* obj2
= 0 ;
36807 char * kwnames
[] = {
36808 (char *) "self",(char *) "x",(char *) "y", NULL
36811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36813 if (!SWIG_IsOK(res1
)) {
36814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36816 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36818 if (!SWIG_IsOK(ecode2
)) {
36819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36821 arg2
= static_cast< int >(val2
);
36822 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36823 if (!SWIG_IsOK(ecode3
)) {
36824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36826 arg3
= static_cast< int >(val3
);
36828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36829 (arg1
)->DrawPoint(arg2
,arg3
);
36830 wxPyEndAllowThreads(__tstate
);
36831 if (PyErr_Occurred()) SWIG_fail
;
36833 resultobj
= SWIG_Py_Void();
36840 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36841 PyObject
*resultobj
= 0;
36842 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36843 wxPoint
*arg2
= 0 ;
36847 PyObject
* obj0
= 0 ;
36848 PyObject
* obj1
= 0 ;
36849 char * kwnames
[] = {
36850 (char *) "self",(char *) "pt", NULL
36853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36855 if (!SWIG_IsOK(res1
)) {
36856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36858 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36861 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36865 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36866 wxPyEndAllowThreads(__tstate
);
36867 if (PyErr_Occurred()) SWIG_fail
;
36869 resultobj
= SWIG_Py_Void();
36876 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36877 PyObject
*resultobj
= 0;
36878 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36893 PyObject
* obj0
= 0 ;
36894 PyObject
* obj1
= 0 ;
36895 PyObject
* obj2
= 0 ;
36896 PyObject
* obj3
= 0 ;
36897 PyObject
* obj4
= 0 ;
36898 char * kwnames
[] = {
36899 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36904 if (!SWIG_IsOK(res1
)) {
36905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36907 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36909 if (!SWIG_IsOK(ecode2
)) {
36910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36912 arg2
= static_cast< int >(val2
);
36913 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36914 if (!SWIG_IsOK(ecode3
)) {
36915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36917 arg3
= static_cast< int >(val3
);
36918 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36919 if (!SWIG_IsOK(ecode4
)) {
36920 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36922 arg4
= static_cast< int >(val4
);
36923 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36924 if (!SWIG_IsOK(ecode5
)) {
36925 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36927 arg5
= static_cast< int >(val5
);
36929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36930 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36931 wxPyEndAllowThreads(__tstate
);
36932 if (PyErr_Occurred()) SWIG_fail
;
36934 resultobj
= SWIG_Py_Void();
36941 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36942 PyObject
*resultobj
= 0;
36943 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36948 PyObject
* obj0
= 0 ;
36949 PyObject
* obj1
= 0 ;
36950 char * kwnames
[] = {
36951 (char *) "self",(char *) "rect", NULL
36954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36956 if (!SWIG_IsOK(res1
)) {
36957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36959 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36962 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36966 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36967 wxPyEndAllowThreads(__tstate
);
36968 if (PyErr_Occurred()) SWIG_fail
;
36970 resultobj
= SWIG_Py_Void();
36977 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36978 PyObject
*resultobj
= 0;
36979 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36980 wxPoint
*arg2
= 0 ;
36986 PyObject
* obj0
= 0 ;
36987 PyObject
* obj1
= 0 ;
36988 PyObject
* obj2
= 0 ;
36989 char * kwnames
[] = {
36990 (char *) "self",(char *) "pt",(char *) "sz", NULL
36993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36995 if (!SWIG_IsOK(res1
)) {
36996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36998 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37001 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37005 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37009 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37010 wxPyEndAllowThreads(__tstate
);
37011 if (PyErr_Occurred()) SWIG_fail
;
37013 resultobj
= SWIG_Py_Void();
37020 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37021 PyObject
*resultobj
= 0;
37022 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37040 PyObject
* obj0
= 0 ;
37041 PyObject
* obj1
= 0 ;
37042 PyObject
* obj2
= 0 ;
37043 PyObject
* obj3
= 0 ;
37044 PyObject
* obj4
= 0 ;
37045 PyObject
* obj5
= 0 ;
37046 char * kwnames
[] = {
37047 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37052 if (!SWIG_IsOK(res1
)) {
37053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37055 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37057 if (!SWIG_IsOK(ecode2
)) {
37058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37060 arg2
= static_cast< int >(val2
);
37061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37062 if (!SWIG_IsOK(ecode3
)) {
37063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37065 arg3
= static_cast< int >(val3
);
37066 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37067 if (!SWIG_IsOK(ecode4
)) {
37068 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37070 arg4
= static_cast< int >(val4
);
37071 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37072 if (!SWIG_IsOK(ecode5
)) {
37073 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37075 arg5
= static_cast< int >(val5
);
37076 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37077 if (!SWIG_IsOK(ecode6
)) {
37078 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37080 arg6
= static_cast< double >(val6
);
37082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37083 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37084 wxPyEndAllowThreads(__tstate
);
37085 if (PyErr_Occurred()) SWIG_fail
;
37087 resultobj
= SWIG_Py_Void();
37094 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37095 PyObject
*resultobj
= 0;
37096 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37104 PyObject
* obj0
= 0 ;
37105 PyObject
* obj1
= 0 ;
37106 PyObject
* obj2
= 0 ;
37107 char * kwnames
[] = {
37108 (char *) "self",(char *) "r",(char *) "radius", NULL
37111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37113 if (!SWIG_IsOK(res1
)) {
37114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37116 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37119 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37121 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37122 if (!SWIG_IsOK(ecode3
)) {
37123 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37125 arg3
= static_cast< double >(val3
);
37127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37128 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37129 wxPyEndAllowThreads(__tstate
);
37130 if (PyErr_Occurred()) SWIG_fail
;
37132 resultobj
= SWIG_Py_Void();
37139 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37140 PyObject
*resultobj
= 0;
37141 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37142 wxPoint
*arg2
= 0 ;
37151 PyObject
* obj0
= 0 ;
37152 PyObject
* obj1
= 0 ;
37153 PyObject
* obj2
= 0 ;
37154 PyObject
* obj3
= 0 ;
37155 char * kwnames
[] = {
37156 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37161 if (!SWIG_IsOK(res1
)) {
37162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37164 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37167 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37171 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37173 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37174 if (!SWIG_IsOK(ecode4
)) {
37175 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37177 arg4
= static_cast< double >(val4
);
37179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37180 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37181 wxPyEndAllowThreads(__tstate
);
37182 if (PyErr_Occurred()) SWIG_fail
;
37184 resultobj
= SWIG_Py_Void();
37191 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37192 PyObject
*resultobj
= 0;
37193 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37205 PyObject
* obj0
= 0 ;
37206 PyObject
* obj1
= 0 ;
37207 PyObject
* obj2
= 0 ;
37208 PyObject
* obj3
= 0 ;
37209 char * kwnames
[] = {
37210 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_DrawCircle" "', 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_DrawCircle" "', 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_DrawCircle" "', 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_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37233 arg4
= static_cast< int >(val4
);
37235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37236 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37237 wxPyEndAllowThreads(__tstate
);
37238 if (PyErr_Occurred()) SWIG_fail
;
37240 resultobj
= SWIG_Py_Void();
37247 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37248 PyObject
*resultobj
= 0;
37249 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37250 wxPoint
*arg2
= 0 ;
37257 PyObject
* obj0
= 0 ;
37258 PyObject
* obj1
= 0 ;
37259 PyObject
* obj2
= 0 ;
37260 char * kwnames
[] = {
37261 (char *) "self",(char *) "pt",(char *) "radius", NULL
37264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37266 if (!SWIG_IsOK(res1
)) {
37267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37269 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37272 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37274 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37275 if (!SWIG_IsOK(ecode3
)) {
37276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37278 arg3
= static_cast< int >(val3
);
37280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37281 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37282 wxPyEndAllowThreads(__tstate
);
37283 if (PyErr_Occurred()) SWIG_fail
;
37285 resultobj
= SWIG_Py_Void();
37292 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37293 PyObject
*resultobj
= 0;
37294 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37309 PyObject
* obj0
= 0 ;
37310 PyObject
* obj1
= 0 ;
37311 PyObject
* obj2
= 0 ;
37312 PyObject
* obj3
= 0 ;
37313 PyObject
* obj4
= 0 ;
37314 char * kwnames
[] = {
37315 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37320 if (!SWIG_IsOK(res1
)) {
37321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37323 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37325 if (!SWIG_IsOK(ecode2
)) {
37326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37328 arg2
= static_cast< int >(val2
);
37329 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37330 if (!SWIG_IsOK(ecode3
)) {
37331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37333 arg3
= static_cast< int >(val3
);
37334 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37335 if (!SWIG_IsOK(ecode4
)) {
37336 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37338 arg4
= static_cast< int >(val4
);
37339 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37340 if (!SWIG_IsOK(ecode5
)) {
37341 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37343 arg5
= static_cast< int >(val5
);
37345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37346 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37347 wxPyEndAllowThreads(__tstate
);
37348 if (PyErr_Occurred()) SWIG_fail
;
37350 resultobj
= SWIG_Py_Void();
37357 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37358 PyObject
*resultobj
= 0;
37359 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37364 PyObject
* obj0
= 0 ;
37365 PyObject
* obj1
= 0 ;
37366 char * kwnames
[] = {
37367 (char *) "self",(char *) "rect", NULL
37370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37372 if (!SWIG_IsOK(res1
)) {
37373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37375 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37378 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37382 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37383 wxPyEndAllowThreads(__tstate
);
37384 if (PyErr_Occurred()) SWIG_fail
;
37386 resultobj
= SWIG_Py_Void();
37393 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37394 PyObject
*resultobj
= 0;
37395 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37396 wxPoint
*arg2
= 0 ;
37402 PyObject
* obj0
= 0 ;
37403 PyObject
* obj1
= 0 ;
37404 PyObject
* obj2
= 0 ;
37405 char * kwnames
[] = {
37406 (char *) "self",(char *) "pt",(char *) "sz", NULL
37409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37411 if (!SWIG_IsOK(res1
)) {
37412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37414 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37417 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37421 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37425 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37426 wxPyEndAllowThreads(__tstate
);
37427 if (PyErr_Occurred()) SWIG_fail
;
37429 resultobj
= SWIG_Py_Void();
37436 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37437 PyObject
*resultobj
= 0;
37438 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37450 PyObject
* obj0
= 0 ;
37451 PyObject
* obj1
= 0 ;
37452 PyObject
* obj2
= 0 ;
37453 PyObject
* obj3
= 0 ;
37454 char * kwnames
[] = {
37455 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37460 if (!SWIG_IsOK(res1
)) {
37461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37463 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37464 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37465 if (!SWIG_IsOK(res2
)) {
37466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37471 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37472 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37473 if (!SWIG_IsOK(ecode3
)) {
37474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37476 arg3
= static_cast< int >(val3
);
37477 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37478 if (!SWIG_IsOK(ecode4
)) {
37479 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37481 arg4
= static_cast< int >(val4
);
37483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37484 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37485 wxPyEndAllowThreads(__tstate
);
37486 if (PyErr_Occurred()) SWIG_fail
;
37488 resultobj
= SWIG_Py_Void();
37495 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37496 PyObject
*resultobj
= 0;
37497 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37499 wxPoint
*arg3
= 0 ;
37505 PyObject
* obj0
= 0 ;
37506 PyObject
* obj1
= 0 ;
37507 PyObject
* obj2
= 0 ;
37508 char * kwnames
[] = {
37509 (char *) "self",(char *) "icon",(char *) "pt", NULL
37512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37514 if (!SWIG_IsOK(res1
)) {
37515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37517 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37518 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37519 if (!SWIG_IsOK(res2
)) {
37520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37525 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37528 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37532 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37533 wxPyEndAllowThreads(__tstate
);
37534 if (PyErr_Occurred()) SWIG_fail
;
37536 resultobj
= SWIG_Py_Void();
37543 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37544 PyObject
*resultobj
= 0;
37545 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37546 wxBitmap
*arg2
= 0 ;
37549 bool arg5
= (bool) false ;
37560 PyObject
* obj0
= 0 ;
37561 PyObject
* obj1
= 0 ;
37562 PyObject
* obj2
= 0 ;
37563 PyObject
* obj3
= 0 ;
37564 PyObject
* obj4
= 0 ;
37565 char * kwnames
[] = {
37566 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37571 if (!SWIG_IsOK(res1
)) {
37572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37574 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37575 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37576 if (!SWIG_IsOK(res2
)) {
37577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37582 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37583 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37584 if (!SWIG_IsOK(ecode3
)) {
37585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37587 arg3
= static_cast< int >(val3
);
37588 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37589 if (!SWIG_IsOK(ecode4
)) {
37590 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37592 arg4
= static_cast< int >(val4
);
37594 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37595 if (!SWIG_IsOK(ecode5
)) {
37596 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37598 arg5
= static_cast< bool >(val5
);
37601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37602 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37603 wxPyEndAllowThreads(__tstate
);
37604 if (PyErr_Occurred()) SWIG_fail
;
37606 resultobj
= SWIG_Py_Void();
37613 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37614 PyObject
*resultobj
= 0;
37615 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37616 wxBitmap
*arg2
= 0 ;
37617 wxPoint
*arg3
= 0 ;
37618 bool arg4
= (bool) false ;
37626 PyObject
* obj0
= 0 ;
37627 PyObject
* obj1
= 0 ;
37628 PyObject
* obj2
= 0 ;
37629 PyObject
* obj3
= 0 ;
37630 char * kwnames
[] = {
37631 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37636 if (!SWIG_IsOK(res1
)) {
37637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37639 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37640 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37641 if (!SWIG_IsOK(res2
)) {
37642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37647 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37650 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37653 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37654 if (!SWIG_IsOK(ecode4
)) {
37655 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37657 arg4
= static_cast< bool >(val4
);
37660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37661 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37662 wxPyEndAllowThreads(__tstate
);
37663 if (PyErr_Occurred()) SWIG_fail
;
37665 resultobj
= SWIG_Py_Void();
37672 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37673 PyObject
*resultobj
= 0;
37674 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37675 wxString
*arg2
= 0 ;
37680 bool temp2
= false ;
37685 PyObject
* obj0
= 0 ;
37686 PyObject
* obj1
= 0 ;
37687 PyObject
* obj2
= 0 ;
37688 PyObject
* obj3
= 0 ;
37689 char * kwnames
[] = {
37690 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37695 if (!SWIG_IsOK(res1
)) {
37696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37698 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37700 arg2
= wxString_in_helper(obj1
);
37701 if (arg2
== NULL
) SWIG_fail
;
37704 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37705 if (!SWIG_IsOK(ecode3
)) {
37706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37708 arg3
= static_cast< int >(val3
);
37709 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37710 if (!SWIG_IsOK(ecode4
)) {
37711 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37713 arg4
= static_cast< int >(val4
);
37715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37716 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37717 wxPyEndAllowThreads(__tstate
);
37718 if (PyErr_Occurred()) SWIG_fail
;
37720 resultobj
= SWIG_Py_Void();
37735 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37736 PyObject
*resultobj
= 0;
37737 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37738 wxString
*arg2
= 0 ;
37739 wxPoint
*arg3
= 0 ;
37742 bool temp2
= false ;
37744 PyObject
* obj0
= 0 ;
37745 PyObject
* obj1
= 0 ;
37746 PyObject
* obj2
= 0 ;
37747 char * kwnames
[] = {
37748 (char *) "self",(char *) "text",(char *) "pt", NULL
37751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37753 if (!SWIG_IsOK(res1
)) {
37754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37756 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37758 arg2
= wxString_in_helper(obj1
);
37759 if (arg2
== NULL
) SWIG_fail
;
37764 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37768 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37769 wxPyEndAllowThreads(__tstate
);
37770 if (PyErr_Occurred()) SWIG_fail
;
37772 resultobj
= SWIG_Py_Void();
37787 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37788 PyObject
*resultobj
= 0;
37789 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37790 wxString
*arg2
= 0 ;
37796 bool temp2
= false ;
37803 PyObject
* obj0
= 0 ;
37804 PyObject
* obj1
= 0 ;
37805 PyObject
* obj2
= 0 ;
37806 PyObject
* obj3
= 0 ;
37807 PyObject
* obj4
= 0 ;
37808 char * kwnames
[] = {
37809 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37814 if (!SWIG_IsOK(res1
)) {
37815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37817 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37819 arg2
= wxString_in_helper(obj1
);
37820 if (arg2
== NULL
) SWIG_fail
;
37823 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37824 if (!SWIG_IsOK(ecode3
)) {
37825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37827 arg3
= static_cast< int >(val3
);
37828 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37829 if (!SWIG_IsOK(ecode4
)) {
37830 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37832 arg4
= static_cast< int >(val4
);
37833 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37834 if (!SWIG_IsOK(ecode5
)) {
37835 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37837 arg5
= static_cast< double >(val5
);
37839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37840 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37841 wxPyEndAllowThreads(__tstate
);
37842 if (PyErr_Occurred()) SWIG_fail
;
37844 resultobj
= SWIG_Py_Void();
37859 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37860 PyObject
*resultobj
= 0;
37861 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37862 wxString
*arg2
= 0 ;
37863 wxPoint
*arg3
= 0 ;
37867 bool temp2
= false ;
37871 PyObject
* obj0
= 0 ;
37872 PyObject
* obj1
= 0 ;
37873 PyObject
* obj2
= 0 ;
37874 PyObject
* obj3
= 0 ;
37875 char * kwnames
[] = {
37876 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37881 if (!SWIG_IsOK(res1
)) {
37882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37884 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37886 arg2
= wxString_in_helper(obj1
);
37887 if (arg2
== NULL
) SWIG_fail
;
37892 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37894 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37895 if (!SWIG_IsOK(ecode4
)) {
37896 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37898 arg4
= static_cast< double >(val4
);
37900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37901 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37902 wxPyEndAllowThreads(__tstate
);
37903 if (PyErr_Occurred()) SWIG_fail
;
37905 resultobj
= SWIG_Py_Void();
37920 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37921 PyObject
*resultobj
= 0;
37922 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37924 wxPoint
*arg3
= (wxPoint
*) 0 ;
37925 int arg4
= (int) 0 ;
37926 int arg5
= (int) 0 ;
37933 PyObject
* obj0
= 0 ;
37934 PyObject
* obj1
= 0 ;
37935 PyObject
* obj2
= 0 ;
37936 PyObject
* obj3
= 0 ;
37937 char * kwnames
[] = {
37938 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37943 if (!SWIG_IsOK(res1
)) {
37944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37946 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37948 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37949 if (arg3
== NULL
) SWIG_fail
;
37952 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37953 if (!SWIG_IsOK(ecode4
)) {
37954 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37956 arg4
= static_cast< int >(val4
);
37959 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37960 if (!SWIG_IsOK(ecode5
)) {
37961 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37963 arg5
= static_cast< int >(val5
);
37966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37967 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37968 wxPyEndAllowThreads(__tstate
);
37969 if (PyErr_Occurred()) SWIG_fail
;
37971 resultobj
= SWIG_Py_Void();
37973 if (arg3
) delete [] arg3
;
37978 if (arg3
) delete [] arg3
;
37984 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37985 PyObject
*resultobj
= 0;
37986 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37988 wxPoint
*arg3
= (wxPoint
*) 0 ;
37989 int arg4
= (int) 0 ;
37990 int arg5
= (int) 0 ;
37991 int arg6
= (int) wxODDEVEN_RULE
;
38000 PyObject
* obj0
= 0 ;
38001 PyObject
* obj1
= 0 ;
38002 PyObject
* obj2
= 0 ;
38003 PyObject
* obj3
= 0 ;
38004 PyObject
* obj4
= 0 ;
38005 char * kwnames
[] = {
38006 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38011 if (!SWIG_IsOK(res1
)) {
38012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38014 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38016 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38017 if (arg3
== NULL
) SWIG_fail
;
38020 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38021 if (!SWIG_IsOK(ecode4
)) {
38022 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38024 arg4
= static_cast< int >(val4
);
38027 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38028 if (!SWIG_IsOK(ecode5
)) {
38029 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38031 arg5
= static_cast< int >(val5
);
38034 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38035 if (!SWIG_IsOK(ecode6
)) {
38036 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38038 arg6
= static_cast< int >(val6
);
38041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38042 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38043 wxPyEndAllowThreads(__tstate
);
38044 if (PyErr_Occurred()) SWIG_fail
;
38046 resultobj
= SWIG_Py_Void();
38048 if (arg3
) delete [] arg3
;
38053 if (arg3
) delete [] arg3
;
38059 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38060 PyObject
*resultobj
= 0;
38061 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38062 wxString
*arg2
= 0 ;
38064 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38065 int arg5
= (int) -1 ;
38068 bool temp2
= false ;
38074 PyObject
* obj0
= 0 ;
38075 PyObject
* obj1
= 0 ;
38076 PyObject
* obj2
= 0 ;
38077 PyObject
* obj3
= 0 ;
38078 PyObject
* obj4
= 0 ;
38079 char * kwnames
[] = {
38080 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38085 if (!SWIG_IsOK(res1
)) {
38086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38088 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38090 arg2
= wxString_in_helper(obj1
);
38091 if (arg2
== NULL
) SWIG_fail
;
38096 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38099 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38100 if (!SWIG_IsOK(ecode4
)) {
38101 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38103 arg4
= static_cast< int >(val4
);
38106 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38107 if (!SWIG_IsOK(ecode5
)) {
38108 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38110 arg5
= static_cast< int >(val5
);
38113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38114 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38115 wxPyEndAllowThreads(__tstate
);
38116 if (PyErr_Occurred()) SWIG_fail
;
38118 resultobj
= SWIG_Py_Void();
38133 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38134 PyObject
*resultobj
= 0;
38135 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38136 wxString
*arg2
= 0 ;
38137 wxBitmap
*arg3
= 0 ;
38139 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38140 int arg6
= (int) -1 ;
38143 bool temp2
= false ;
38151 PyObject
* obj0
= 0 ;
38152 PyObject
* obj1
= 0 ;
38153 PyObject
* obj2
= 0 ;
38154 PyObject
* obj3
= 0 ;
38155 PyObject
* obj4
= 0 ;
38156 PyObject
* obj5
= 0 ;
38157 char * kwnames
[] = {
38158 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38163 if (!SWIG_IsOK(res1
)) {
38164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38166 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38168 arg2
= wxString_in_helper(obj1
);
38169 if (arg2
== NULL
) SWIG_fail
;
38172 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38173 if (!SWIG_IsOK(res3
)) {
38174 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38179 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38182 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38185 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38186 if (!SWIG_IsOK(ecode5
)) {
38187 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38189 arg5
= static_cast< int >(val5
);
38192 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38193 if (!SWIG_IsOK(ecode6
)) {
38194 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38196 arg6
= static_cast< int >(val6
);
38199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38200 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38201 wxPyEndAllowThreads(__tstate
);
38202 if (PyErr_Occurred()) SWIG_fail
;
38204 resultobj
= SWIG_Py_Void();
38219 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38220 PyObject
*resultobj
= 0;
38221 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38223 wxPoint
*arg3
= (wxPoint
*) 0 ;
38226 PyObject
* obj0
= 0 ;
38227 PyObject
* obj1
= 0 ;
38228 char * kwnames
[] = {
38229 (char *) "self",(char *) "points", NULL
38232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38234 if (!SWIG_IsOK(res1
)) {
38235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38237 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38239 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38240 if (arg3
== NULL
) SWIG_fail
;
38243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38244 (arg1
)->DrawSpline(arg2
,arg3
);
38245 wxPyEndAllowThreads(__tstate
);
38246 if (PyErr_Occurred()) SWIG_fail
;
38248 resultobj
= SWIG_Py_Void();
38250 if (arg3
) delete [] arg3
;
38255 if (arg3
) delete [] arg3
;
38261 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38262 PyObject
*resultobj
= 0;
38263 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38266 PyObject
*swig_obj
[1] ;
38268 if (!args
) SWIG_fail
;
38269 swig_obj
[0] = args
;
38270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38271 if (!SWIG_IsOK(res1
)) {
38272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38274 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38278 wxPyEndAllowThreads(__tstate
);
38279 if (PyErr_Occurred()) SWIG_fail
;
38281 resultobj
= SWIG_Py_Void();
38288 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38289 PyObject
*resultobj
= 0;
38290 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38296 PyObject
* obj0
= 0 ;
38297 PyObject
* obj1
= 0 ;
38298 char * kwnames
[] = {
38299 (char *) "self",(char *) "font", NULL
38302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38304 if (!SWIG_IsOK(res1
)) {
38305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38307 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38308 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38309 if (!SWIG_IsOK(res2
)) {
38310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38315 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38318 (arg1
)->SetFont((wxFont
const &)*arg2
);
38319 wxPyEndAllowThreads(__tstate
);
38320 if (PyErr_Occurred()) SWIG_fail
;
38322 resultobj
= SWIG_Py_Void();
38329 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38330 PyObject
*resultobj
= 0;
38331 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38337 PyObject
* obj0
= 0 ;
38338 PyObject
* obj1
= 0 ;
38339 char * kwnames
[] = {
38340 (char *) "self",(char *) "pen", NULL
38343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38345 if (!SWIG_IsOK(res1
)) {
38346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38348 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38349 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38350 if (!SWIG_IsOK(res2
)) {
38351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38356 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38359 (arg1
)->SetPen((wxPen
const &)*arg2
);
38360 wxPyEndAllowThreads(__tstate
);
38361 if (PyErr_Occurred()) SWIG_fail
;
38363 resultobj
= SWIG_Py_Void();
38370 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38371 PyObject
*resultobj
= 0;
38372 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38373 wxBrush
*arg2
= 0 ;
38378 PyObject
* obj0
= 0 ;
38379 PyObject
* obj1
= 0 ;
38380 char * kwnames
[] = {
38381 (char *) "self",(char *) "brush", NULL
38384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38386 if (!SWIG_IsOK(res1
)) {
38387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38389 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38390 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38391 if (!SWIG_IsOK(res2
)) {
38392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38395 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38397 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38400 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38401 wxPyEndAllowThreads(__tstate
);
38402 if (PyErr_Occurred()) SWIG_fail
;
38404 resultobj
= SWIG_Py_Void();
38411 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38412 PyObject
*resultobj
= 0;
38413 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38414 wxBrush
*arg2
= 0 ;
38419 PyObject
* obj0
= 0 ;
38420 PyObject
* obj1
= 0 ;
38421 char * kwnames
[] = {
38422 (char *) "self",(char *) "brush", NULL
38425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38427 if (!SWIG_IsOK(res1
)) {
38428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38430 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38431 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38432 if (!SWIG_IsOK(res2
)) {
38433 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38436 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38438 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38441 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38442 wxPyEndAllowThreads(__tstate
);
38443 if (PyErr_Occurred()) SWIG_fail
;
38445 resultobj
= SWIG_Py_Void();
38452 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38453 PyObject
*resultobj
= 0;
38454 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38460 PyObject
* obj0
= 0 ;
38461 PyObject
* obj1
= 0 ;
38462 char * kwnames
[] = {
38463 (char *) "self",(char *) "mode", NULL
38466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38468 if (!SWIG_IsOK(res1
)) {
38469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38471 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38473 if (!SWIG_IsOK(ecode2
)) {
38474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38476 arg2
= static_cast< int >(val2
);
38478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38479 (arg1
)->SetBackgroundMode(arg2
);
38480 wxPyEndAllowThreads(__tstate
);
38481 if (PyErr_Occurred()) SWIG_fail
;
38483 resultobj
= SWIG_Py_Void();
38490 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38491 PyObject
*resultobj
= 0;
38492 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38493 wxPalette
*arg2
= 0 ;
38498 PyObject
* obj0
= 0 ;
38499 PyObject
* obj1
= 0 ;
38500 char * kwnames
[] = {
38501 (char *) "self",(char *) "palette", NULL
38504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38506 if (!SWIG_IsOK(res1
)) {
38507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38509 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38510 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38511 if (!SWIG_IsOK(res2
)) {
38512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38517 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38520 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38521 wxPyEndAllowThreads(__tstate
);
38522 if (PyErr_Occurred()) SWIG_fail
;
38524 resultobj
= SWIG_Py_Void();
38531 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38532 PyObject
*resultobj
= 0;
38533 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38534 wxColour
*arg2
= 0 ;
38538 PyObject
* obj0
= 0 ;
38539 PyObject
* obj1
= 0 ;
38540 char * kwnames
[] = {
38541 (char *) "self",(char *) "colour", NULL
38544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38546 if (!SWIG_IsOK(res1
)) {
38547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38549 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38552 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38556 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38557 wxPyEndAllowThreads(__tstate
);
38558 if (PyErr_Occurred()) SWIG_fail
;
38560 resultobj
= SWIG_Py_Void();
38567 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38568 PyObject
*resultobj
= 0;
38569 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38570 wxColour
*arg2
= 0 ;
38574 PyObject
* obj0
= 0 ;
38575 PyObject
* obj1
= 0 ;
38576 char * kwnames
[] = {
38577 (char *) "self",(char *) "colour", NULL
38580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38582 if (!SWIG_IsOK(res1
)) {
38583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38585 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38588 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38592 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38593 wxPyEndAllowThreads(__tstate
);
38594 if (PyErr_Occurred()) SWIG_fail
;
38596 resultobj
= SWIG_Py_Void();
38603 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38604 PyObject
*resultobj
= 0;
38605 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38611 PyObject
* obj0
= 0 ;
38612 PyObject
* obj1
= 0 ;
38613 char * kwnames
[] = {
38614 (char *) "self",(char *) "function", NULL
38617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38619 if (!SWIG_IsOK(res1
)) {
38620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38622 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38624 if (!SWIG_IsOK(ecode2
)) {
38625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38627 arg2
= static_cast< int >(val2
);
38629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38630 (arg1
)->SetLogicalFunction(arg2
);
38631 wxPyEndAllowThreads(__tstate
);
38632 if (PyErr_Occurred()) SWIG_fail
;
38634 resultobj
= SWIG_Py_Void();
38641 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38643 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38644 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38645 return SWIG_Py_Void();
38648 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38649 return SWIG_Python_InitShadowInstance(args
);
38652 static PyMethodDef SwigMethods
[] = {
38653 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38654 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38655 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38656 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38657 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38658 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38659 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38660 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38661 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38662 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38663 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38664 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38665 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38666 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38667 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38668 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38669 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38670 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38671 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38672 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38673 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38674 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38675 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38676 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38677 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38678 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38679 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38680 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38681 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38682 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38683 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38684 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38685 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38686 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38687 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38688 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38689 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38690 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38691 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38692 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38693 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38694 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38695 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38696 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38697 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38698 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38699 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38700 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38701 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38702 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38703 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38704 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38705 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38706 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38707 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38708 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38709 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38710 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38711 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38712 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38713 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38714 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38715 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38716 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38717 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
38718 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38719 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38720 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38721 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38722 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38723 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38724 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38725 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38726 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38727 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38728 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38729 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38730 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38731 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38732 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38733 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38734 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38735 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38736 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38737 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38738 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38739 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38740 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38741 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38742 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38743 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38744 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38745 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38746 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38747 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38748 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38749 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38750 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38751 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38752 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38753 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38754 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38755 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38756 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38757 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38758 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38759 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38760 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38761 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38762 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38763 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38764 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38765 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38766 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38767 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38768 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38769 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38770 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38771 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38772 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38773 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38774 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38775 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38776 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38777 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38778 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38779 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38780 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38781 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38782 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38783 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38784 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38785 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38786 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38787 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38788 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38789 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38790 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38791 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38792 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38793 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38794 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38795 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38796 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38797 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38798 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38799 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38800 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38801 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38802 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38803 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38804 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38805 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38806 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38807 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38808 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38809 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38810 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38811 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38812 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38813 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38814 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38815 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38816 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38817 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38818 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38819 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38820 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38821 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38822 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38823 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38824 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38825 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38826 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38827 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38828 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38829 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38830 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38831 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38832 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38833 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38834 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38835 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38836 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38837 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38838 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38839 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38840 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38841 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38842 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38843 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38844 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38845 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38846 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38847 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38848 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38849 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38850 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38851 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38852 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38853 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38854 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38855 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38856 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38857 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38858 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38859 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38860 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38861 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38862 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38863 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38864 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38865 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38866 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38867 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38868 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38869 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38870 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38871 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38872 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38873 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38874 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38875 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38876 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38877 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38878 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38879 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38880 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38881 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38882 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38883 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38884 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38885 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38886 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38887 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38888 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38889 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38890 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38891 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38892 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38893 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38894 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38895 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38896 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38897 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38898 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38899 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38900 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38901 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38902 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38903 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38904 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38905 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38906 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38907 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38908 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38909 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38910 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38911 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38912 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38913 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38914 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38915 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38916 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38917 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38918 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38919 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38920 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38921 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38922 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38923 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38924 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38925 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38926 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38927 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38928 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38929 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38930 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38931 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38932 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38933 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38934 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38935 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38936 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38937 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38938 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38939 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38940 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38941 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38942 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38943 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38944 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38945 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38946 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38947 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38948 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38949 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38950 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38951 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38952 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38953 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38954 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38955 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38956 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38957 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38958 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38959 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38960 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38961 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38962 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38963 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38964 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38965 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38966 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38967 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38968 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38969 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38970 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38971 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38972 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38973 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38974 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38975 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38976 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38977 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38978 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38979 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38980 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38981 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38982 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38983 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38984 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38985 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38986 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38987 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38988 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38989 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38990 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38991 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38992 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38993 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38994 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38995 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38996 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38997 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38998 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38999 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39000 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
39001 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
39002 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
39003 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
39004 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
39005 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
39006 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
39007 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39008 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
39009 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39010 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39011 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
39012 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
39013 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
39014 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39015 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39016 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39017 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39018 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39019 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39020 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39021 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39022 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39023 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39024 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39025 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39026 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39027 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39028 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39029 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39030 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39031 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39032 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39033 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39034 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39035 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39036 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39037 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39038 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39039 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39040 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39041 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39042 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39043 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39044 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39045 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39046 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39047 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39048 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39049 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39050 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39051 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39052 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39054 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39055 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39056 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39057 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39058 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39059 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39060 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39061 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39062 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39063 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39064 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39065 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39066 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39067 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39068 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39069 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39070 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39071 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39072 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39073 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39074 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39075 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39076 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39077 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39078 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39079 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39080 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39081 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39082 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39083 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39084 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39085 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39086 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39087 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39088 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39089 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39090 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39091 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39092 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39093 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39094 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39095 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39096 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39097 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39098 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39099 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39100 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39101 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39102 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39103 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39104 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39105 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39106 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39107 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39108 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39109 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39110 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39111 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39112 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39113 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39114 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39115 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39116 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39117 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39118 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39119 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39120 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39121 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39122 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39123 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39124 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39125 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39126 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39127 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39128 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39129 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39130 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39131 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39132 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39133 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39134 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39135 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39136 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39137 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39138 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39139 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39140 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39141 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39142 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39143 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39144 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39145 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39146 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39147 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39148 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39149 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39150 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39151 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39152 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39153 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39154 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39155 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39156 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39157 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39158 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39159 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39160 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39161 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39162 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39163 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39166 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39167 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39168 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39169 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39170 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39171 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39172 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39173 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39174 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39175 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39176 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39177 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39178 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39179 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39180 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39182 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39183 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39184 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39185 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39186 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39187 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39188 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39189 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39190 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39191 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39192 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39193 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39194 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39195 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39196 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39197 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39198 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39199 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39200 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39201 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39202 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39203 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39204 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39205 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39207 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39208 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39209 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39210 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39211 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39212 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39213 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39214 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39215 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39216 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39217 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39218 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39219 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39220 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39221 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39222 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39223 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39224 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39225 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39226 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39227 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39228 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39229 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39230 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39231 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39232 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39233 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39234 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39235 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39236 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39237 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39238 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39239 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39240 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39241 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39242 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
39243 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
39244 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39245 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
39246 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
39247 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
39248 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39249 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39250 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39251 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
39252 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39253 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39254 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39255 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39256 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39257 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39258 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39259 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39260 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39261 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39262 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39263 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39264 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39265 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39266 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39267 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39268 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39269 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39270 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39271 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39272 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39273 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39274 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39275 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
39276 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39277 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39278 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39279 { (char *)"GraphicsMatrix_Get", (PyCFunction
)_wrap_GraphicsMatrix_Get
, METH_O
, NULL
},
39280 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39281 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39282 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39283 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39284 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39285 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39286 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39287 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39288 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39289 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39290 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
39291 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
39292 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39293 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39294 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39295 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39296 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39297 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39298 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39299 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39300 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39301 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39302 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39303 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39304 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39305 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39306 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39307 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39308 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39310 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39311 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39312 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
39313 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39314 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39315 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
39316 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39317 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39319 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39321 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39326 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39327 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39329 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39330 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39331 { (char *)"GraphicsContext_GetLogicalFunction", (PyCFunction
)_wrap_GraphicsContext_GetLogicalFunction
, METH_O
, NULL
},
39332 { (char *)"GraphicsContext_SetLogicalFunction", (PyCFunction
) _wrap_GraphicsContext_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39335 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39336 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39337 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39338 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39339 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39340 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39341 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39342 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39344 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39345 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39346 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39349 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39350 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39351 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39352 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39353 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39354 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39355 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39357 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39360 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39361 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39362 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39363 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39364 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
39365 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39366 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39367 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39368 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39369 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39370 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39371 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39372 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39373 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39374 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39375 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
39376 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39377 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39378 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39380 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39381 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39382 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39383 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39384 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39385 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39386 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39387 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39388 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39389 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39390 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39391 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39392 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39393 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39394 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39395 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39396 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39397 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39398 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39399 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39400 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39401 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39402 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39403 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39404 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39405 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39406 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39407 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39408 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39409 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39410 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39411 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39412 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39413 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39414 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39415 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39416 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39417 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39418 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39419 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39420 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39421 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39422 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39423 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39424 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39425 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39426 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39427 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39428 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39429 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39430 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39431 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39432 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39433 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39434 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39435 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39436 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39437 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39438 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39439 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39440 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39441 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39442 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39443 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39444 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39445 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39446 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39447 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39448 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39449 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39450 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39451 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39452 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39453 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39454 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39455 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39456 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39457 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39458 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39459 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39460 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39461 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39462 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39463 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39464 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39465 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39466 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39467 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39468 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39469 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39470 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39471 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39472 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39473 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39474 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39475 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39476 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39477 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39478 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39479 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39480 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39481 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39482 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39483 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39484 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39485 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39486 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39487 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39488 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39489 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39490 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39491 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39492 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39493 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39494 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39495 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39496 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39497 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39498 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39499 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39500 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39501 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39502 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39503 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39504 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39505 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39506 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39507 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39508 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39509 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39510 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39511 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39512 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39513 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39514 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39515 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39516 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39517 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39518 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39519 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39520 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39521 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39522 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39523 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39524 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39525 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39526 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39527 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39528 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39529 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39530 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39531 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39532 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39533 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39534 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39537 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39538 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39539 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39540 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39541 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39542 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39543 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39544 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39545 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39546 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39547 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39548 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39549 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39550 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39551 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39552 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39553 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39554 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39555 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39556 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39557 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39558 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39559 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39560 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39562 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39563 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39564 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39565 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39567 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39568 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39570 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39571 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39572 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39573 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39574 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39575 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39576 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39577 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39578 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39579 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39580 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39581 { NULL
, NULL
, 0, NULL
}
39585 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39587 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39588 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39590 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39591 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39593 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39594 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39596 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39597 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39599 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39600 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39602 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39603 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39605 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39606 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39608 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39609 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39611 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39612 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39614 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39615 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39617 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39618 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39620 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39621 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39623 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39624 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39626 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39627 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39629 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39630 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39632 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39633 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39635 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39636 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39638 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39639 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39641 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39642 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39644 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39645 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39647 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39648 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39650 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39651 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39653 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39654 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39656 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39657 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39659 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39660 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39662 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39663 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39665 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39666 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39668 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39669 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39671 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39672 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39674 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39675 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39677 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39678 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39680 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39681 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39683 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39684 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39686 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39687 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39689 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39690 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39692 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39693 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39695 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39696 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39698 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39699 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39701 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39702 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39704 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39705 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39707 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39708 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39710 static void *_p_wxPenTo_p_wxObject(void *x
) {
39711 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39713 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39714 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39716 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39717 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39719 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39720 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39722 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39723 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39725 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39726 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39728 static void *_p_wxIconTo_p_wxObject(void *x
) {
39729 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39731 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39732 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39734 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39735 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39737 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39738 return (void *)((wxObject
*) ((wxSizer
*) x
));
39740 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39741 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39743 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39744 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39746 static void *_p_wxEventTo_p_wxObject(void *x
) {
39747 return (void *)((wxObject
*) ((wxEvent
*) x
));
39749 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39750 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39752 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39753 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39755 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39756 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39758 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39759 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39761 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39762 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39764 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39765 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39767 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39768 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39770 static void *_p_wxDCTo_p_wxObject(void *x
) {
39771 return (void *)((wxObject
*) ((wxDC
*) x
));
39773 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39774 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39776 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39777 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39779 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39780 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39782 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39783 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39785 static void *_p_wxControlTo_p_wxObject(void *x
) {
39786 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39788 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39789 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39791 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39792 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39794 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39795 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39797 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39798 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39800 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39801 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
39803 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39804 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39806 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39807 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39809 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39810 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39812 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39813 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39815 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39816 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39818 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39819 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39821 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39822 return (void *)((wxObject
*) ((wxEffects
*) x
));
39824 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39825 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39827 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39828 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39830 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39831 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39833 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39834 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39836 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39837 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39839 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39840 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39842 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39843 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39845 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39846 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39848 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39849 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39851 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39852 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39854 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39855 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39857 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39858 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39860 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39861 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39863 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39864 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39866 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39867 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39869 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39870 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39872 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39873 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39875 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39876 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39878 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39879 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39881 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39882 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39884 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39885 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39887 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39888 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39890 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39891 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39893 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39894 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39896 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39897 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39899 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39900 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39902 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39903 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39905 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39906 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39908 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39909 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39911 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39912 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39914 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39915 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39917 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39918 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39920 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39921 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39923 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39924 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39926 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39927 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39929 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39930 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39932 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39933 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39935 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39936 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39938 static void *_p_wxImageTo_p_wxObject(void *x
) {
39939 return (void *)((wxObject
*) ((wxImage
*) x
));
39941 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39942 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39944 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39945 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39947 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39948 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39950 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39951 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39953 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39954 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39956 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39957 return (void *)((wxObject
*) ((wxImageList
*) x
));
39959 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39960 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39962 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39963 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39965 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39966 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39968 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39969 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39971 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39972 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39974 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39975 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39977 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39978 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39980 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39981 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39983 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39984 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39986 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39987 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39989 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39990 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39992 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39993 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39995 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39996 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39998 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39999 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
40001 static void *_p_wxMaskTo_p_wxObject(void *x
) {
40002 return (void *)((wxObject
*) ((wxMask
*) x
));
40004 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
40005 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40007 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40008 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40010 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40011 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40013 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40014 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40016 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40017 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40019 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40020 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40022 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40023 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40025 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40026 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40028 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40029 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40031 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40032 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40034 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40035 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40037 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40038 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40040 static void *_p_wxFontTo_p_wxObject(void *x
) {
40041 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40043 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40044 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40046 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40047 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40049 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40052 static void *_p_wxColourTo_p_wxObject(void *x
) {
40053 return (void *)((wxObject
*) ((wxColour
*) x
));
40055 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40056 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40058 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40059 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40061 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40062 return (void *)((wxWindow
*) ((wxControl
*) x
));
40064 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40065 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40067 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40068 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40070 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40071 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40073 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40074 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40076 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40077 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40078 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40079 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};
40080 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40081 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40082 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40083 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40084 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40085 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40086 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40087 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40088 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40089 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40090 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40091 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40092 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40093 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40094 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40095 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40096 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40097 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40098 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40099 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40100 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40101 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40102 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40103 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40104 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40105 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40106 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40107 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40108 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40109 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40110 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40111 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40112 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40113 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40114 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40115 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40116 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40117 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40118 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40119 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40120 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40121 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40122 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40123 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40124 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40125 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40126 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40127 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40128 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40129 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40130 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40131 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40132 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40133 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40134 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40135 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40136 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40137 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40138 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40139 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40140 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40141 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40142 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40143 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40144 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40145 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40146 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40147 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40148 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40149 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40150 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40151 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40152 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40153 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40154 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40155 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40156 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40157 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40158 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40159 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40160 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40161 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40162 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40163 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40164 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40165 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40166 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40167 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40168 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40169 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40170 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40171 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40172 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40173 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40174 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40175 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40176 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40177 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40178 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40179 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40180 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40181 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40182 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40183 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40184 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40185 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40186 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40187 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40188 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40189 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40190 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40191 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40192 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40193 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40194 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40195 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40196 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40197 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40198 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40199 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40200 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40201 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40202 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40203 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40204 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40205 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40206 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40207 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40208 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40209 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40210 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40211 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40212 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40213 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40214 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40215 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40216 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40217 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40218 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40219 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40220 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40221 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40222 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40223 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40224 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40225 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40226 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40227 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40228 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40229 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40230 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40231 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40232 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40233 static swig_type_info _swigt__p_wxRect2D
= {"_p_wxRect2D", "wxRect2D *", 0, 0, (void*)0, 0};
40234 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40235 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40236 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40237 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40238 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40239 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40240 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40241 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40242 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40243 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40244 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40246 static swig_type_info
*swig_type_initial
[] = {
40250 &_swigt__p_form_ops_t
,
40252 &_swigt__p_unsigned_char
,
40253 &_swigt__p_unsigned_int
,
40254 &_swigt__p_unsigned_long
,
40256 &_swigt__p_wxANIHandler
,
40257 &_swigt__p_wxAcceleratorTable
,
40258 &_swigt__p_wxActivateEvent
,
40259 &_swigt__p_wxAlphaPixelData
,
40260 &_swigt__p_wxAlphaPixelData_Accessor
,
40261 &_swigt__p_wxAutoBufferedPaintDC
,
40262 &_swigt__p_wxBMPHandler
,
40263 &_swigt__p_wxBitmap
,
40264 &_swigt__p_wxBoxSizer
,
40265 &_swigt__p_wxBrush
,
40266 &_swigt__p_wxBrushList
,
40267 &_swigt__p_wxBufferedDC
,
40268 &_swigt__p_wxBufferedPaintDC
,
40269 &_swigt__p_wxCURHandler
,
40271 &_swigt__p_wxChildFocusEvent
,
40272 &_swigt__p_wxClientDC
,
40273 &_swigt__p_wxClipboardTextEvent
,
40274 &_swigt__p_wxCloseEvent
,
40275 &_swigt__p_wxColour
,
40276 &_swigt__p_wxColourDatabase
,
40277 &_swigt__p_wxCommandEvent
,
40278 &_swigt__p_wxContextMenuEvent
,
40279 &_swigt__p_wxControl
,
40280 &_swigt__p_wxControlWithItems
,
40281 &_swigt__p_wxCursor
,
40283 &_swigt__p_wxDCBrushChanger
,
40284 &_swigt__p_wxDCClipper
,
40285 &_swigt__p_wxDCOverlay
,
40286 &_swigt__p_wxDCPenChanger
,
40287 &_swigt__p_wxDCTextColourChanger
,
40289 &_swigt__p_wxDateEvent
,
40290 &_swigt__p_wxDisplayChangedEvent
,
40291 &_swigt__p_wxDropFilesEvent
,
40292 &_swigt__p_wxDuplexMode
,
40293 &_swigt__p_wxEffects
,
40294 &_swigt__p_wxEncodingConverter
,
40295 &_swigt__p_wxEraseEvent
,
40296 &_swigt__p_wxEvent
,
40297 &_swigt__p_wxEvtHandler
,
40298 &_swigt__p_wxFSFile
,
40299 &_swigt__p_wxFileSystem
,
40300 &_swigt__p_wxFlexGridSizer
,
40301 &_swigt__p_wxFocusEvent
,
40303 &_swigt__p_wxFontList
,
40304 &_swigt__p_wxFontMapper
,
40305 &_swigt__p_wxGBSizerItem
,
40307 &_swigt__p_wxGDIObjListBase
,
40308 &_swigt__p_wxGDIObject
,
40309 &_swigt__p_wxGIFHandler
,
40310 &_swigt__p_wxGraphicsBrush
,
40311 &_swigt__p_wxGraphicsContext
,
40312 &_swigt__p_wxGraphicsFont
,
40313 &_swigt__p_wxGraphicsMatrix
,
40314 &_swigt__p_wxGraphicsObject
,
40315 &_swigt__p_wxGraphicsPath
,
40316 &_swigt__p_wxGraphicsPen
,
40317 &_swigt__p_wxGraphicsRenderer
,
40318 &_swigt__p_wxGridBagSizer
,
40319 &_swigt__p_wxGridSizer
,
40320 &_swigt__p_wxHeaderButtonParams
,
40321 &_swigt__p_wxICOHandler
,
40323 &_swigt__p_wxIconBundle
,
40324 &_swigt__p_wxIconLocation
,
40325 &_swigt__p_wxIconizeEvent
,
40326 &_swigt__p_wxIdleEvent
,
40327 &_swigt__p_wxImage
,
40328 &_swigt__p_wxImageHandler
,
40329 &_swigt__p_wxImageList
,
40330 &_swigt__p_wxIndividualLayoutConstraint
,
40331 &_swigt__p_wxInitDialogEvent
,
40332 &_swigt__p_wxJPEGHandler
,
40333 &_swigt__p_wxKeyEvent
,
40334 &_swigt__p_wxLanguageInfo
,
40335 &_swigt__p_wxLayoutConstraints
,
40336 &_swigt__p_wxLocale
,
40338 &_swigt__p_wxMaximizeEvent
,
40339 &_swigt__p_wxMemoryDC
,
40341 &_swigt__p_wxMenuBar
,
40342 &_swigt__p_wxMenuEvent
,
40343 &_swigt__p_wxMenuItem
,
40344 &_swigt__p_wxMetaFile
,
40345 &_swigt__p_wxMetaFileDC
,
40346 &_swigt__p_wxMirrorDC
,
40347 &_swigt__p_wxMouseCaptureChangedEvent
,
40348 &_swigt__p_wxMouseCaptureLostEvent
,
40349 &_swigt__p_wxMouseEvent
,
40350 &_swigt__p_wxMoveEvent
,
40351 &_swigt__p_wxNativeEncodingInfo
,
40352 &_swigt__p_wxNativeFontInfo
,
40353 &_swigt__p_wxNativePixelData
,
40354 &_swigt__p_wxNativePixelData_Accessor
,
40355 &_swigt__p_wxNavigationKeyEvent
,
40356 &_swigt__p_wxNcPaintEvent
,
40357 &_swigt__p_wxNotifyEvent
,
40358 &_swigt__p_wxObject
,
40359 &_swigt__p_wxOverlay
,
40360 &_swigt__p_wxPCXHandler
,
40361 &_swigt__p_wxPNGHandler
,
40362 &_swigt__p_wxPNMHandler
,
40363 &_swigt__p_wxPaintDC
,
40364 &_swigt__p_wxPaintEvent
,
40365 &_swigt__p_wxPalette
,
40366 &_swigt__p_wxPaletteChangedEvent
,
40367 &_swigt__p_wxPaperSize
,
40369 &_swigt__p_wxPenList
,
40370 &_swigt__p_wxPixelDataBase
,
40371 &_swigt__p_wxPoint
,
40372 &_swigt__p_wxPoint2D
,
40373 &_swigt__p_wxPostScriptDC
,
40374 &_swigt__p_wxPrintData
,
40375 &_swigt__p_wxPrinterDC
,
40376 &_swigt__p_wxPseudoDC
,
40377 &_swigt__p_wxPyApp
,
40378 &_swigt__p_wxPyCommandEvent
,
40379 &_swigt__p_wxPyEvent
,
40380 &_swigt__p_wxPyFontEnumerator
,
40381 &_swigt__p_wxPyImageHandler
,
40382 &_swigt__p_wxPyLocale
,
40383 &_swigt__p_wxPySizer
,
40384 &_swigt__p_wxPyValidator
,
40385 &_swigt__p_wxQueryNewPaletteEvent
,
40387 &_swigt__p_wxRect2D
,
40388 &_swigt__p_wxRegion
,
40389 &_swigt__p_wxRegionIterator
,
40390 &_swigt__p_wxRendererNative
,
40391 &_swigt__p_wxRendererVersion
,
40392 &_swigt__p_wxScreenDC
,
40393 &_swigt__p_wxScrollEvent
,
40394 &_swigt__p_wxScrollWinEvent
,
40395 &_swigt__p_wxSetCursorEvent
,
40396 &_swigt__p_wxShowEvent
,
40398 &_swigt__p_wxSizeEvent
,
40399 &_swigt__p_wxSizer
,
40400 &_swigt__p_wxSizerItem
,
40401 &_swigt__p_wxSplitterRenderParams
,
40402 &_swigt__p_wxStaticBoxSizer
,
40403 &_swigt__p_wxStdDialogButtonSizer
,
40404 &_swigt__p_wxStockGDI
,
40405 &_swigt__p_wxString
,
40406 &_swigt__p_wxSysColourChangedEvent
,
40407 &_swigt__p_wxTGAHandler
,
40408 &_swigt__p_wxTIFFHandler
,
40409 &_swigt__p_wxUpdateUIEvent
,
40410 &_swigt__p_wxValidator
,
40411 &_swigt__p_wxWindow
,
40412 &_swigt__p_wxWindowCreateEvent
,
40413 &_swigt__p_wxWindowDC
,
40414 &_swigt__p_wxWindowDestroyEvent
,
40415 &_swigt__p_wxXPMHandler
,
40418 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40419 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40420 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40421 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40422 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40423 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40424 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40425 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40426 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40427 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40428 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40429 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40430 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40431 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40432 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40433 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}};
40434 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40435 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40436 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}};
40437 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40438 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40439 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40440 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}};
40441 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40442 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40443 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40444 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40445 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40446 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40447 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40448 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40449 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40450 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40451 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40452 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40453 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40454 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}};
40455 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}};
40456 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40457 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40458 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40459 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40460 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}};
40461 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40462 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40463 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40464 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40465 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40466 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40467 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40468 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40469 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40470 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40471 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}};
40472 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40473 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}};
40474 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40475 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40476 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40477 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40478 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40479 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40480 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40481 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40482 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40483 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40484 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40485 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40486 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40487 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40488 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40489 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40490 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40491 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40492 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40493 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40494 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40495 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40496 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40497 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40498 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40499 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40500 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40501 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40502 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40503 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40504 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40505 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40506 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40507 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40508 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40509 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40510 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40511 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40512 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40513 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40514 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40515 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40516 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40517 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40518 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40519 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40520 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40521 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40522 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40523 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40524 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40525 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40526 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40527 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40528 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40529 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40530 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40531 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40532 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40533 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40534 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40535 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40536 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40537 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40538 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40539 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40540 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40541 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40542 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40543 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40544 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40545 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40546 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40547 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40548 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40549 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40550 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40551 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40552 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40553 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40554 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40555 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40556 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40557 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40558 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPseudoDC
, _p_wxPseudoDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPen
, _p_wxGraphicsPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsObject
, _p_wxGraphicsObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPath
, _p_wxGraphicsPathTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsContext
, _p_wxGraphicsContextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsBrush
, _p_wxGraphicsBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsRenderer
, _p_wxGraphicsRendererTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxGraphicsFont
, _p_wxGraphicsFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsMatrix
, _p_wxGraphicsMatrixTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
40559 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40560 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40561 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40562 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40563 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40564 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40565 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}};
40566 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40567 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40568 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40569 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40570 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40571 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40572 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40573 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40574 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40575 static swig_cast_info _swigc__p_wxRect2D
[] = { {&_swigt__p_wxRect2D
, 0, 0, 0},{0, 0, 0, 0}};
40576 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40577 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40578 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40579 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40580 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40581 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40582 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40583 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40584 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40585 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}};
40586 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}};
40588 static swig_cast_info
*swig_cast_initial
[] = {
40592 _swigc__p_form_ops_t
,
40594 _swigc__p_unsigned_char
,
40595 _swigc__p_unsigned_int
,
40596 _swigc__p_unsigned_long
,
40598 _swigc__p_wxANIHandler
,
40599 _swigc__p_wxAcceleratorTable
,
40600 _swigc__p_wxActivateEvent
,
40601 _swigc__p_wxAlphaPixelData
,
40602 _swigc__p_wxAlphaPixelData_Accessor
,
40603 _swigc__p_wxAutoBufferedPaintDC
,
40604 _swigc__p_wxBMPHandler
,
40605 _swigc__p_wxBitmap
,
40606 _swigc__p_wxBoxSizer
,
40608 _swigc__p_wxBrushList
,
40609 _swigc__p_wxBufferedDC
,
40610 _swigc__p_wxBufferedPaintDC
,
40611 _swigc__p_wxCURHandler
,
40613 _swigc__p_wxChildFocusEvent
,
40614 _swigc__p_wxClientDC
,
40615 _swigc__p_wxClipboardTextEvent
,
40616 _swigc__p_wxCloseEvent
,
40617 _swigc__p_wxColour
,
40618 _swigc__p_wxColourDatabase
,
40619 _swigc__p_wxCommandEvent
,
40620 _swigc__p_wxContextMenuEvent
,
40621 _swigc__p_wxControl
,
40622 _swigc__p_wxControlWithItems
,
40623 _swigc__p_wxCursor
,
40625 _swigc__p_wxDCBrushChanger
,
40626 _swigc__p_wxDCClipper
,
40627 _swigc__p_wxDCOverlay
,
40628 _swigc__p_wxDCPenChanger
,
40629 _swigc__p_wxDCTextColourChanger
,
40631 _swigc__p_wxDateEvent
,
40632 _swigc__p_wxDisplayChangedEvent
,
40633 _swigc__p_wxDropFilesEvent
,
40634 _swigc__p_wxDuplexMode
,
40635 _swigc__p_wxEffects
,
40636 _swigc__p_wxEncodingConverter
,
40637 _swigc__p_wxEraseEvent
,
40639 _swigc__p_wxEvtHandler
,
40640 _swigc__p_wxFSFile
,
40641 _swigc__p_wxFileSystem
,
40642 _swigc__p_wxFlexGridSizer
,
40643 _swigc__p_wxFocusEvent
,
40645 _swigc__p_wxFontList
,
40646 _swigc__p_wxFontMapper
,
40647 _swigc__p_wxGBSizerItem
,
40649 _swigc__p_wxGDIObjListBase
,
40650 _swigc__p_wxGDIObject
,
40651 _swigc__p_wxGIFHandler
,
40652 _swigc__p_wxGraphicsBrush
,
40653 _swigc__p_wxGraphicsContext
,
40654 _swigc__p_wxGraphicsFont
,
40655 _swigc__p_wxGraphicsMatrix
,
40656 _swigc__p_wxGraphicsObject
,
40657 _swigc__p_wxGraphicsPath
,
40658 _swigc__p_wxGraphicsPen
,
40659 _swigc__p_wxGraphicsRenderer
,
40660 _swigc__p_wxGridBagSizer
,
40661 _swigc__p_wxGridSizer
,
40662 _swigc__p_wxHeaderButtonParams
,
40663 _swigc__p_wxICOHandler
,
40665 _swigc__p_wxIconBundle
,
40666 _swigc__p_wxIconLocation
,
40667 _swigc__p_wxIconizeEvent
,
40668 _swigc__p_wxIdleEvent
,
40670 _swigc__p_wxImageHandler
,
40671 _swigc__p_wxImageList
,
40672 _swigc__p_wxIndividualLayoutConstraint
,
40673 _swigc__p_wxInitDialogEvent
,
40674 _swigc__p_wxJPEGHandler
,
40675 _swigc__p_wxKeyEvent
,
40676 _swigc__p_wxLanguageInfo
,
40677 _swigc__p_wxLayoutConstraints
,
40678 _swigc__p_wxLocale
,
40680 _swigc__p_wxMaximizeEvent
,
40681 _swigc__p_wxMemoryDC
,
40683 _swigc__p_wxMenuBar
,
40684 _swigc__p_wxMenuEvent
,
40685 _swigc__p_wxMenuItem
,
40686 _swigc__p_wxMetaFile
,
40687 _swigc__p_wxMetaFileDC
,
40688 _swigc__p_wxMirrorDC
,
40689 _swigc__p_wxMouseCaptureChangedEvent
,
40690 _swigc__p_wxMouseCaptureLostEvent
,
40691 _swigc__p_wxMouseEvent
,
40692 _swigc__p_wxMoveEvent
,
40693 _swigc__p_wxNativeEncodingInfo
,
40694 _swigc__p_wxNativeFontInfo
,
40695 _swigc__p_wxNativePixelData
,
40696 _swigc__p_wxNativePixelData_Accessor
,
40697 _swigc__p_wxNavigationKeyEvent
,
40698 _swigc__p_wxNcPaintEvent
,
40699 _swigc__p_wxNotifyEvent
,
40700 _swigc__p_wxObject
,
40701 _swigc__p_wxOverlay
,
40702 _swigc__p_wxPCXHandler
,
40703 _swigc__p_wxPNGHandler
,
40704 _swigc__p_wxPNMHandler
,
40705 _swigc__p_wxPaintDC
,
40706 _swigc__p_wxPaintEvent
,
40707 _swigc__p_wxPalette
,
40708 _swigc__p_wxPaletteChangedEvent
,
40709 _swigc__p_wxPaperSize
,
40711 _swigc__p_wxPenList
,
40712 _swigc__p_wxPixelDataBase
,
40714 _swigc__p_wxPoint2D
,
40715 _swigc__p_wxPostScriptDC
,
40716 _swigc__p_wxPrintData
,
40717 _swigc__p_wxPrinterDC
,
40718 _swigc__p_wxPseudoDC
,
40720 _swigc__p_wxPyCommandEvent
,
40721 _swigc__p_wxPyEvent
,
40722 _swigc__p_wxPyFontEnumerator
,
40723 _swigc__p_wxPyImageHandler
,
40724 _swigc__p_wxPyLocale
,
40725 _swigc__p_wxPySizer
,
40726 _swigc__p_wxPyValidator
,
40727 _swigc__p_wxQueryNewPaletteEvent
,
40729 _swigc__p_wxRect2D
,
40730 _swigc__p_wxRegion
,
40731 _swigc__p_wxRegionIterator
,
40732 _swigc__p_wxRendererNative
,
40733 _swigc__p_wxRendererVersion
,
40734 _swigc__p_wxScreenDC
,
40735 _swigc__p_wxScrollEvent
,
40736 _swigc__p_wxScrollWinEvent
,
40737 _swigc__p_wxSetCursorEvent
,
40738 _swigc__p_wxShowEvent
,
40740 _swigc__p_wxSizeEvent
,
40742 _swigc__p_wxSizerItem
,
40743 _swigc__p_wxSplitterRenderParams
,
40744 _swigc__p_wxStaticBoxSizer
,
40745 _swigc__p_wxStdDialogButtonSizer
,
40746 _swigc__p_wxStockGDI
,
40747 _swigc__p_wxString
,
40748 _swigc__p_wxSysColourChangedEvent
,
40749 _swigc__p_wxTGAHandler
,
40750 _swigc__p_wxTIFFHandler
,
40751 _swigc__p_wxUpdateUIEvent
,
40752 _swigc__p_wxValidator
,
40753 _swigc__p_wxWindow
,
40754 _swigc__p_wxWindowCreateEvent
,
40755 _swigc__p_wxWindowDC
,
40756 _swigc__p_wxWindowDestroyEvent
,
40757 _swigc__p_wxXPMHandler
,
40761 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40763 static swig_const_info swig_const_table
[] = {
40764 {0, 0, 0, 0.0, 0, 0}};
40769 /* -----------------------------------------------------------------------------
40770 * Type initialization:
40771 * This problem is tough by the requirement that no dynamic
40772 * memory is used. Also, since swig_type_info structures store pointers to
40773 * swig_cast_info structures and swig_cast_info structures store pointers back
40774 * to swig_type_info structures, we need some lookup code at initialization.
40775 * The idea is that swig generates all the structures that are needed.
40776 * The runtime then collects these partially filled structures.
40777 * The SWIG_InitializeModule function takes these initial arrays out of
40778 * swig_module, and does all the lookup, filling in the swig_module.types
40779 * array with the correct data and linking the correct swig_cast_info
40780 * structures together.
40782 * The generated swig_type_info structures are assigned staticly to an initial
40783 * array. We just loop though that array, and handle each type individually.
40784 * First we lookup if this type has been already loaded, and if so, use the
40785 * loaded structure instead of the generated one. Then we have to fill in the
40786 * cast linked list. The cast data is initially stored in something like a
40787 * two-dimensional array. Each row corresponds to a type (there are the same
40788 * number of rows as there are in the swig_type_initial array). Each entry in
40789 * a column is one of the swig_cast_info structures for that type.
40790 * The cast_initial array is actually an array of arrays, because each row has
40791 * a variable number of columns. So to actually build the cast linked list,
40792 * we find the array of casts associated with the type, and loop through it
40793 * adding the casts to the list. The one last trick we need to do is making
40794 * sure the type pointer in the swig_cast_info struct is correct.
40796 * First off, we lookup the cast->type name to see if it is already loaded.
40797 * There are three cases to handle:
40798 * 1) If the cast->type has already been loaded AND the type we are adding
40799 * casting info to has not been loaded (it is in this module), THEN we
40800 * replace the cast->type pointer with the type pointer that has already
40802 * 2) If BOTH types (the one we are adding casting info to, and the
40803 * cast->type) are loaded, THEN the cast info has already been loaded by
40804 * the previous module so we just ignore it.
40805 * 3) Finally, if cast->type has not already been loaded, then we add that
40806 * swig_cast_info to the linked list (because the cast->type) pointer will
40808 * ----------------------------------------------------------------------------- */
40818 #define SWIGRUNTIME_DEBUG
40822 SWIG_InitializeModule(void *clientdata
) {
40824 swig_module_info
*module_head
;
40825 static int init_run
= 0;
40827 clientdata
= clientdata
;
40829 if (init_run
) return;
40832 /* Initialize the swig_module */
40833 swig_module
.type_initial
= swig_type_initial
;
40834 swig_module
.cast_initial
= swig_cast_initial
;
40836 /* Try and load any already created modules */
40837 module_head
= SWIG_GetModule(clientdata
);
40839 swig_module
.next
= module_head
->next
;
40840 module_head
->next
= &swig_module
;
40842 /* This is the first module loaded */
40843 swig_module
.next
= &swig_module
;
40844 SWIG_SetModule(clientdata
, &swig_module
);
40847 /* Now work on filling in swig_module.types */
40848 #ifdef SWIGRUNTIME_DEBUG
40849 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40851 for (i
= 0; i
< swig_module
.size
; ++i
) {
40852 swig_type_info
*type
= 0;
40853 swig_type_info
*ret
;
40854 swig_cast_info
*cast
;
40856 #ifdef SWIGRUNTIME_DEBUG
40857 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40860 /* if there is another module already loaded */
40861 if (swig_module
.next
!= &swig_module
) {
40862 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40865 /* Overwrite clientdata field */
40866 #ifdef SWIGRUNTIME_DEBUG
40867 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40869 if (swig_module
.type_initial
[i
]->clientdata
) {
40870 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40871 #ifdef SWIGRUNTIME_DEBUG
40872 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40876 type
= swig_module
.type_initial
[i
];
40879 /* Insert casting types */
40880 cast
= swig_module
.cast_initial
[i
];
40881 while (cast
->type
) {
40882 /* Don't need to add information already in the list */
40884 #ifdef SWIGRUNTIME_DEBUG
40885 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40887 if (swig_module
.next
!= &swig_module
) {
40888 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40889 #ifdef SWIGRUNTIME_DEBUG
40890 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40894 if (type
== swig_module
.type_initial
[i
]) {
40895 #ifdef SWIGRUNTIME_DEBUG
40896 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40901 /* Check for casting already in the list */
40902 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40903 #ifdef SWIGRUNTIME_DEBUG
40904 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40906 if (!ocast
) ret
= 0;
40911 #ifdef SWIGRUNTIME_DEBUG
40912 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40915 type
->cast
->prev
= cast
;
40916 cast
->next
= type
->cast
;
40922 /* Set entry in modules->types array equal to the type */
40923 swig_module
.types
[i
] = type
;
40925 swig_module
.types
[i
] = 0;
40927 #ifdef SWIGRUNTIME_DEBUG
40928 printf("**** SWIG_InitializeModule: Cast List ******\n");
40929 for (i
= 0; i
< swig_module
.size
; ++i
) {
40931 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40932 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40933 while (cast
->type
) {
40934 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40938 printf("---- Total casts: %d\n",j
);
40940 printf("**** SWIG_InitializeModule: Cast List ******\n");
40944 /* This function will propagate the clientdata field of type to
40945 * any new swig_type_info structures that have been added into the list
40946 * of equivalent types. It is like calling
40947 * SWIG_TypeClientData(type, clientdata) a second time.
40950 SWIG_PropagateClientData(void) {
40952 swig_cast_info
*equiv
;
40953 static int init_run
= 0;
40955 if (init_run
) return;
40958 for (i
= 0; i
< swig_module
.size
; i
++) {
40959 if (swig_module
.types
[i
]->clientdata
) {
40960 equiv
= swig_module
.types
[i
]->cast
;
40962 if (!equiv
->converter
) {
40963 if (equiv
->type
&& !equiv
->type
->clientdata
)
40964 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40966 equiv
= equiv
->next
;
40986 /* Python-specific SWIG API */
40987 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40988 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40989 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40991 /* -----------------------------------------------------------------------------
40992 * global variable support code.
40993 * ----------------------------------------------------------------------------- */
40995 typedef struct swig_globalvar
{
40996 char *name
; /* Name of global variable */
40997 PyObject
*(*get_attr
)(void); /* Return the current value */
40998 int (*set_attr
)(PyObject
*); /* Set the value */
40999 struct swig_globalvar
*next
;
41002 typedef struct swig_varlinkobject
{
41004 swig_globalvar
*vars
;
41005 } swig_varlinkobject
;
41007 SWIGINTERN PyObject
*
41008 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41009 return PyString_FromString("<Swig global variables>");
41012 SWIGINTERN PyObject
*
41013 swig_varlink_str(swig_varlinkobject
*v
) {
41014 PyObject
*str
= PyString_FromString("(");
41015 swig_globalvar
*var
;
41016 for (var
= v
->vars
; var
; var
=var
->next
) {
41017 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41018 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41020 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41025 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41026 PyObject
*str
= swig_varlink_str(v
);
41027 fprintf(fp
,"Swig global variables ");
41028 fprintf(fp
,"%s\n", PyString_AsString(str
));
41034 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41035 swig_globalvar
*var
= v
->vars
;
41037 swig_globalvar
*n
= var
->next
;
41044 SWIGINTERN PyObject
*
41045 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41046 PyObject
*res
= NULL
;
41047 swig_globalvar
*var
= v
->vars
;
41049 if (strcmp(var
->name
,n
) == 0) {
41050 res
= (*var
->get_attr
)();
41055 if (res
== NULL
&& !PyErr_Occurred()) {
41056 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41062 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41064 swig_globalvar
*var
= v
->vars
;
41066 if (strcmp(var
->name
,n
) == 0) {
41067 res
= (*var
->set_attr
)(p
);
41072 if (res
== 1 && !PyErr_Occurred()) {
41073 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41078 SWIGINTERN PyTypeObject
*
41079 swig_varlink_type(void) {
41080 static char varlink__doc__
[] = "Swig var link object";
41081 static PyTypeObject varlink_type
;
41082 static int type_init
= 0;
41084 const PyTypeObject tmp
41086 PyObject_HEAD_INIT(NULL
)
41087 0, /* Number of items in variable part (ob_size) */
41088 (char *)"swigvarlink", /* Type name (tp_name) */
41089 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41090 0, /* Itemsize (tp_itemsize) */
41091 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41092 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41093 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41094 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41095 0, /* tp_compare */
41096 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41097 0, /* tp_as_number */
41098 0, /* tp_as_sequence */
41099 0, /* tp_as_mapping */
41102 (reprfunc
)swig_varlink_str
, /* tp_str */
41103 0, /* tp_getattro */
41104 0, /* tp_setattro */
41105 0, /* tp_as_buffer */
41107 varlink__doc__
, /* tp_doc */
41108 0, /* tp_traverse */
41110 0, /* tp_richcompare */
41111 0, /* tp_weaklistoffset */
41112 #if PY_VERSION_HEX >= 0x02020000
41113 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41115 #if PY_VERSION_HEX >= 0x02030000
41118 #ifdef COUNT_ALLOCS
41119 0,0,0,0 /* tp_alloc -> tp_next */
41122 varlink_type
= tmp
;
41123 varlink_type
.ob_type
= &PyType_Type
;
41126 return &varlink_type
;
41129 /* Create a variable linking object for use later */
41130 SWIGINTERN PyObject
*
41131 SWIG_Python_newvarlink(void) {
41132 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41136 return ((PyObject
*) result
);
41140 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41141 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41142 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41144 size_t size
= strlen(name
)+1;
41145 gv
->name
= (char *)malloc(size
);
41147 strncpy(gv
->name
,name
,size
);
41148 gv
->get_attr
= get_attr
;
41149 gv
->set_attr
= set_attr
;
41150 gv
->next
= v
->vars
;
41156 SWIGINTERN PyObject
*
41158 static PyObject
*_SWIG_globals
= 0;
41159 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41160 return _SWIG_globals
;
41163 /* -----------------------------------------------------------------------------
41164 * constants/methods manipulation
41165 * ----------------------------------------------------------------------------- */
41167 /* Install Constants */
41169 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41172 for (i
= 0; constants
[i
].type
; ++i
) {
41173 switch(constants
[i
].type
) {
41174 case SWIG_PY_POINTER
:
41175 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41177 case SWIG_PY_BINARY
:
41178 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41185 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41191 /* -----------------------------------------------------------------------------*/
41192 /* Fix SwigMethods to carry the callback ptrs when needed */
41193 /* -----------------------------------------------------------------------------*/
41196 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41197 swig_const_info
*const_table
,
41198 swig_type_info
**types
,
41199 swig_type_info
**types_initial
) {
41201 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41202 const char *c
= methods
[i
].ml_doc
;
41203 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41205 swig_const_info
*ci
= 0;
41206 const char *name
= c
+ 10;
41207 for (j
= 0; const_table
[j
].type
; ++j
) {
41208 if (strncmp(const_table
[j
].name
, name
,
41209 strlen(const_table
[j
].name
)) == 0) {
41210 ci
= &(const_table
[j
]);
41215 size_t shift
= (ci
->ptype
) - types
;
41216 swig_type_info
*ty
= types_initial
[shift
];
41217 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41218 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41219 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41222 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41224 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41226 strncpy(buff
, "swig_ptr: ", 10);
41228 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41229 methods
[i
].ml_doc
= ndoc
;
41241 /* -----------------------------------------------------------------------------*
41242 * Partial Init method
41243 * -----------------------------------------------------------------------------*/
41248 SWIGEXPORT
void SWIG_init(void) {
41251 /* Fix SwigMethods to carry the callback ptrs when needed */
41252 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41254 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41255 d
= PyModule_GetDict(m
);
41257 SWIG_InitializeModule(0);
41258 SWIG_InstallConstants(d
,swig_const_table
);
41261 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41262 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41263 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41264 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41265 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41266 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41267 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41268 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41269 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41270 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41271 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41272 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41273 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41274 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41275 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41276 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41277 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41278 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41279 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41280 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41281 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41282 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41283 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41284 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41285 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41286 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41287 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41288 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41289 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41290 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41291 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41292 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41293 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41294 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41295 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41296 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41297 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41298 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41299 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41300 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41301 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41302 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41303 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41304 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41305 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41306 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41307 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41308 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41309 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41310 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41311 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41312 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41313 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41314 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41315 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41316 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41317 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41318 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41319 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41320 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41321 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41322 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41323 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41324 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41325 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41326 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41327 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41328 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41329 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41330 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41331 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41332 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41333 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41334 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41335 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41336 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41337 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41338 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41339 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41340 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41341 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41342 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41343 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41344 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41345 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41346 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41347 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41348 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41349 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41350 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41351 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41352 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41353 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41354 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41355 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41356 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41357 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41358 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41359 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41360 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41361 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41362 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41363 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41364 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41365 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41366 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41367 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41368 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41369 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41370 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41371 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41372 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41373 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41374 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41375 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41376 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41377 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41378 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41379 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41380 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41381 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41382 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41383 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41384 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41385 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41386 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41387 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41388 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41389 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41390 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41391 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41392 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41394 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41396 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41397 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41398 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41399 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41400 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41401 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41402 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41403 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41404 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41405 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41406 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41407 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41408 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41409 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41410 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41411 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41412 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41413 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41414 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41415 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41416 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41417 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41418 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41419 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41420 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41421 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41422 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41423 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41424 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41425 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41426 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41427 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41428 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41429 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41430 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41431 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41432 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41433 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41434 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41435 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41436 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41437 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41438 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41439 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41440 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41441 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41442 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41443 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41444 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41445 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41446 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41447 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41448 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41449 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41450 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41451 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41452 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41453 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41454 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41455 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41456 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41457 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41458 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41459 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41460 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41461 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41462 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41463 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41464 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41465 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41466 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41467 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41468 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41469 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41470 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41471 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41472 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41473 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41474 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41475 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41476 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41477 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41478 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41479 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41480 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41481 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41482 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41483 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41484 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41485 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41486 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41487 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41488 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41489 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41490 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41491 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41492 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41493 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41494 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41495 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41496 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41497 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41498 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41499 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41500 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41501 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41502 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41503 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41504 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41505 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41506 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41507 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41508 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41509 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41510 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41511 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41512 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41513 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41514 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41515 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41516 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41517 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41518 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41519 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41520 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41521 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41522 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41523 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41524 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41525 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41526 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41527 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41528 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41529 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41530 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41531 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41532 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41533 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41534 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41535 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41536 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41537 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41538 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41539 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41540 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41541 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41542 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41543 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41544 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41545 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41546 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41547 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41548 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41549 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41550 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41551 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41552 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41553 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41554 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41555 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41556 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41557 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41558 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41559 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41560 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41561 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41562 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41563 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41564 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41565 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41566 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41567 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41568 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41569 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41570 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41571 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41572 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41573 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41574 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41575 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41576 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41577 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41578 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41579 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41580 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41581 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41582 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41583 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41584 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41585 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41586 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41587 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41588 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41589 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41590 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41591 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41592 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41593 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41594 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41595 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41596 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41597 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41598 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41599 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41600 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41601 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41602 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41603 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41604 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41605 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41606 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41607 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41608 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41609 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41610 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41611 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41612 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41613 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41614 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41615 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41616 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41617 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41618 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41619 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41620 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41621 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41622 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41623 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41624 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41625 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41626 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41627 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41628 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41629 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41630 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41631 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41632 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41633 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41634 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41635 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41636 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41637 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41638 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41639 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41640 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41641 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41642 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41643 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41644 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41645 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41646 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41647 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41648 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41649 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41650 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41651 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41652 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41653 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41654 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41655 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41656 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41657 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41658 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41659 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41660 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41661 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41662 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41663 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41664 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41665 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41666 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41667 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41668 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41669 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41670 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41671 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41672 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41673 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41674 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41675 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41676 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41677 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41678 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41679 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41680 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41681 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41682 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41683 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41684 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41685 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41686 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41687 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41688 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41689 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41690 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41691 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41692 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41693 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41694 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41695 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41696 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41697 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41698 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41699 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41700 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41701 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41702 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41703 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41704 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41705 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41706 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41707 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41708 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41709 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41710 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41711 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41712 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41713 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41714 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41715 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41716 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41717 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41718 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41719 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41721 // Work around a chicken/egg problem in drawlist.cpp
41722 wxPyDrawList_SetAPIPtr();