1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCBrushChanger swig_types[37]
2504 #define SWIGTYPE_p_wxDCClipper swig_types[38]
2505 #define SWIGTYPE_p_wxDCOverlay swig_types[39]
2506 #define SWIGTYPE_p_wxDCPenChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[41]
2508 #define SWIGTYPE_p_wxDash swig_types[42]
2509 #define SWIGTYPE_p_wxDateEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2513 #define SWIGTYPE_p_wxEffects swig_types[47]
2514 #define SWIGTYPE_p_wxEncodingConverter swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileSystem swig_types[53]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[55]
2522 #define SWIGTYPE_p_wxFont swig_types[56]
2523 #define SWIGTYPE_p_wxFontList swig_types[57]
2524 #define SWIGTYPE_p_wxFontMapper swig_types[58]
2525 #define SWIGTYPE_p_wxGBSizerItem swig_types[59]
2526 #define SWIGTYPE_p_wxGCDC swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObjListBase swig_types[61]
2528 #define SWIGTYPE_p_wxGDIObject swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsBrush swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsContext swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsFont swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsObject swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPath swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsPen swig_types[70]
2537 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[71]
2538 #define SWIGTYPE_p_wxGridBagSizer swig_types[72]
2539 #define SWIGTYPE_p_wxGridSizer swig_types[73]
2540 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconBundle swig_types[77]
2544 #define SWIGTYPE_p_wxIconLocation swig_types[78]
2545 #define SWIGTYPE_p_wxIconizeEvent swig_types[79]
2546 #define SWIGTYPE_p_wxIdleEvent swig_types[80]
2547 #define SWIGTYPE_p_wxImage swig_types[81]
2548 #define SWIGTYPE_p_wxImageHandler swig_types[82]
2549 #define SWIGTYPE_p_wxImageList swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLanguageInfo swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxLocale swig_types[90]
2557 #define SWIGTYPE_p_wxMask swig_types[91]
2558 #define SWIGTYPE_p_wxMaximizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMemoryDC swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFile swig_types[98]
2565 #define SWIGTYPE_p_wxMetaFileDC swig_types[99]
2566 #define SWIGTYPE_p_wxMirrorDC swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativeFontInfo swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData swig_types[107]
2574 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[108]
2575 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNcPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxNotifyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxObject swig_types[112]
2579 #define SWIGTYPE_p_wxOverlay swig_types[113]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPaintDC swig_types[117]
2584 #define SWIGTYPE_p_wxPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPalette swig_types[119]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPaperSize swig_types[121]
2588 #define SWIGTYPE_p_wxPen swig_types[122]
2589 #define SWIGTYPE_p_wxPenList swig_types[123]
2590 #define SWIGTYPE_p_wxPixelDataBase swig_types[124]
2591 #define SWIGTYPE_p_wxPoint swig_types[125]
2592 #define SWIGTYPE_p_wxPoint2D swig_types[126]
2593 #define SWIGTYPE_p_wxPoint2DDouble swig_types[127]
2594 #define SWIGTYPE_p_wxPostScriptDC swig_types[128]
2595 #define SWIGTYPE_p_wxPrintData swig_types[129]
2596 #define SWIGTYPE_p_wxPrinterDC swig_types[130]
2597 #define SWIGTYPE_p_wxPseudoDC swig_types[131]
2598 #define SWIGTYPE_p_wxPyApp swig_types[132]
2599 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyEvent swig_types[134]
2601 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[135]
2602 #define SWIGTYPE_p_wxPyImageHandler swig_types[136]
2603 #define SWIGTYPE_p_wxPyLocale swig_types[137]
2604 #define SWIGTYPE_p_wxPySizer swig_types[138]
2605 #define SWIGTYPE_p_wxPyValidator swig_types[139]
2606 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[140]
2607 #define SWIGTYPE_p_wxRect swig_types[141]
2608 #define SWIGTYPE_p_wxRect2DDouble swig_types[142]
2609 #define SWIGTYPE_p_wxRegion swig_types[143]
2610 #define SWIGTYPE_p_wxRegionIterator swig_types[144]
2611 #define SWIGTYPE_p_wxRendererNative swig_types[145]
2612 #define SWIGTYPE_p_wxRendererVersion swig_types[146]
2613 #define SWIGTYPE_p_wxScreenDC swig_types[147]
2614 #define SWIGTYPE_p_wxScrollEvent swig_types[148]
2615 #define SWIGTYPE_p_wxScrollWinEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSetCursorEvent swig_types[150]
2617 #define SWIGTYPE_p_wxShowEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSize swig_types[152]
2619 #define SWIGTYPE_p_wxSizeEvent swig_types[153]
2620 #define SWIGTYPE_p_wxSizer swig_types[154]
2621 #define SWIGTYPE_p_wxSizerItem swig_types[155]
2622 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[156]
2623 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[158]
2625 #define SWIGTYPE_p_wxStockGDI swig_types[159]
2626 #define SWIGTYPE_p_wxString swig_types[160]
2627 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTGAHandler swig_types[162]
2629 #define SWIGTYPE_p_wxTIFFHandler swig_types[163]
2630 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[164]
2631 #define SWIGTYPE_p_wxValidator swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDC swig_types[168]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[169]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[170]
2637 static swig_type_info
*swig_types
[172];
2638 static swig_module_info swig_module
= {swig_types
, 171, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _gdi_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_gdi_
2664 #define SWIG_name "_gdi_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2742 #define SWIG_From_long PyInt_FromLong
2745 SWIGINTERNINLINE PyObject
*
2746 SWIG_From_int (int value
)
2748 return SWIG_From_long (value
);
2754 # define LLONG_MIN LONG_LONG_MIN
2757 # define LLONG_MAX LONG_LONG_MAX
2760 # define ULLONG_MAX ULONG_LONG_MAX
2765 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2767 if (PyNumber_Check(obj
)) {
2768 if (val
) *val
= PyInt_AsLong(obj
);
2771 return SWIG_TypeError
;
2776 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2779 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2780 return SWIG_TypeError
;
2783 *val
= (unsigned long)v
;
2789 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2792 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
> UCHAR_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< unsigned char >(v
);
2804 SWIGINTERNINLINE PyObject
*
2805 SWIG_From_unsigned_SS_long (unsigned long value
)
2807 return (value
> LONG_MAX
) ?
2808 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2812 SWIGINTERNINLINE PyObject
*
2813 SWIG_From_unsigned_SS_char (unsigned char value
)
2815 return SWIG_From_unsigned_SS_long (value
);
2818 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2819 wxColour temp
, *obj
= &temp
;
2820 if ( other
== Py_None
) return false;
2821 if ( ! wxColour_helper(other
, &obj
) ) {
2825 return self
->operator==(*obj
);
2827 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2828 wxColour temp
, *obj
= &temp
;
2829 if ( other
== Py_None
) return true;
2830 if ( ! wxColour_helper(other
, &obj
)) {
2834 return self
->operator!=(*obj
);
2838 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2840 if (obj
== Py_True
) {
2841 if (val
) *val
= true;
2843 } else if (obj
== Py_False
) {
2844 if (val
) *val
= false;
2848 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2849 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2854 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2855 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2859 int alpha
= wxALPHA_OPAQUE
;
2862 green
= self
->Green();
2863 blue
= self
->Blue();
2864 alpha
= self
->Alpha();
2866 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2867 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2868 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2870 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2873 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2874 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2878 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2881 int res
= SWIG_AsVal_long (obj
, &v
);
2882 if (SWIG_IsOK(res
)) {
2883 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2884 return SWIG_OverflowError
;
2886 if (val
) *val
= static_cast< int >(v
);
2892 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2894 int count
= self
->GetDashes(&dashes
);
2895 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2896 PyObject
* retval
= PyList_New(0);
2897 for (int x
=0; x
<count
; x
++) {
2898 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2899 PyList_Append(retval
, pyint
);
2902 wxPyEndBlockThreads(blocked
);
2905 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2906 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2907 int size
= PyList_Size(pyDashes
);
2908 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2910 // black magic warning! The array of wxDashes needs to exist as
2911 // long as the pen does because wxPen does not copy the array. So
2912 // stick a copy in a Python string object and attach it to _self,
2913 // and then call SetDashes with a pointer to that array. Then
2914 // when the Python pen object is destroyed the array will be
2916 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2917 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2919 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2921 Py_DECREF(strDashes
);
2922 wxPyEndBlockThreads(blocked
);
2924 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2925 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2927 #include <wx/rawbmp.h>
2930 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2931 // appears to me that the other platforms are already doing it, so I'll just
2932 // automatically do it for wxMSW here.
2934 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2935 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2937 #define wxPy_premultiply(p, a) (p)
2938 #define wxPy_unpremultiply(p, a) (p)
2942 #include <wx/image.h>
2944 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2945 char** cArray
= NULL
;
2948 if (!PyList_Check(listOfStrings
)) {
2949 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2952 count
= PyList_Size(listOfStrings
);
2953 cArray
= new char*[count
];
2955 for(int x
=0; x
<count
; x
++) {
2956 // TODO: Need some validation and error checking here
2957 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2963 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2964 char** cArray
= NULL
;
2967 cArray
= ConvertListOfStrings(listOfStrings
);
2970 bmp
= new wxBitmap(cArray
);
2974 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2977 PyString_AsStringAndSize(bits
, &buf
, &length
);
2978 return new wxBitmap(buf
, width
, height
, depth
);
2980 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2981 wxSize
size(self
->GetWidth(), self
->GetHeight());
2984 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2985 wxMask
*mask
= new wxMask(*self
, colour
);
2986 self
->SetMask(mask
);
2988 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2989 self
->SetWidth(size
.x
);
2990 self
->SetHeight(size
.y
);
2992 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2993 int height
=self
->GetHeight();
2994 int width
=self
->GetWidth();
2996 if (DATASIZE
!= width
* height
* 3) {
2997 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2999 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3001 // raise an exception...
3002 wxPyErr_SetString(PyExc_RuntimeError
,
3003 "Failed to gain raw access to bitmap data.");
3007 wxNativePixelData::Iterator
p(pixData
);
3008 for (int y
=0; y
<height
; y
++) {
3009 wxNativePixelData::Iterator rowStart
= p
;
3010 for (int x
=0; x
<width
; x
++) {
3011 p
.Red() = *(data
++);
3012 p
.Green() = *(data
++);
3013 p
.Blue() = *(data
++);
3017 p
.OffsetY(pixData
, 1);
3020 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3021 int height
=self
->GetHeight();
3022 int width
=self
->GetWidth();
3024 if (DATASIZE
!= width
* height
* 4) {
3025 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3027 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3029 // raise an exception...
3030 wxPyErr_SetString(PyExc_RuntimeError
,
3031 "Failed to gain raw access to bitmap data.");
3036 wxAlphaPixelData::Iterator
p(pixData
);
3037 for (int y
=0; y
<height
; y
++) {
3038 wxAlphaPixelData::Iterator rowStart
= p
;
3039 for (int x
=0; x
<width
; x
++) {
3041 p
.Red() = wxPy_premultiply(*(data
++), a
);
3042 p
.Green() = wxPy_premultiply(*(data
++), a
);
3043 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3044 p
.Alpha() = a
; data
++;
3048 p
.OffsetY(pixData
, 1);
3051 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3052 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3054 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3055 buffer data
, int DATASIZE
,
3056 buffer alpha
, int ALPHASIZE
)
3058 if (DATASIZE
!= width
*height
*3) {
3059 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3063 if (ALPHASIZE
!= width
*height
) {
3064 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3068 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3069 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3071 // raise an exception...
3072 wxPyErr_SetString(PyExc_RuntimeError
,
3073 "Failed to gain raw access to bitmap data.");
3078 wxAlphaPixelData::Iterator
p(pixData
);
3079 for (int y
=0; y
<height
; y
++) {
3080 wxAlphaPixelData::Iterator rowStart
= p
;
3081 for (int x
=0; x
<width
; x
++) {
3082 byte a
= *(alpha
++);
3083 p
.Red() = wxPy_premultiply(*(data
++), a
);
3084 p
.Green() = wxPy_premultiply(*(data
++), a
);
3085 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3090 p
.OffsetY(pixData
, 1);
3095 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3097 if (DATASIZE
!= width
*height
*3) {
3098 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3102 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3103 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3105 // raise an exception...
3106 wxPyErr_SetString(PyExc_RuntimeError
,
3107 "Failed to gain raw access to bitmap data.");
3111 wxNativePixelData::Iterator
p(pixData
);
3112 for (int y
=0; y
<height
; y
++) {
3113 wxNativePixelData::Iterator rowStart
= p
;
3114 for (int x
=0; x
<width
; x
++) {
3115 p
.Red() = *(data
++);
3116 p
.Green() = *(data
++);
3117 p
.Blue() = *(data
++);
3121 p
.OffsetY(pixData
, 1);
3127 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3129 if (DATASIZE
!= width
*height
*4) {
3130 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3134 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3135 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3137 // raise an exception...
3138 wxPyErr_SetString(PyExc_RuntimeError
,
3139 "Failed to gain raw access to bitmap data.");
3144 wxAlphaPixelData::Iterator
p(pixData
);
3145 for (int y
=0; y
<height
; y
++) {
3146 wxAlphaPixelData::Iterator rowStart
= p
;
3147 for (int x
=0; x
<width
; x
++) {
3149 p
.Red() = wxPy_premultiply(*(data
++), a
);
3150 p
.Green() = wxPy_premultiply(*(data
++), a
);
3151 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3152 p
.Alpha() = a
; data
++;
3156 p
.OffsetY(pixData
, 1);
3162 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3164 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3165 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3166 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3168 self
->Green() = green
;
3169 self
->Blue() = blue
;
3171 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3172 PyObject
* rv
= PyTuple_New(3);
3173 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3174 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3175 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3179 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3181 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3182 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3183 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3184 self
->Red() = wxPy_premultiply(red
, alpha
);
3185 self
->Green() = wxPy_premultiply(green
, alpha
);
3186 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3187 self
->Alpha() = alpha
;
3189 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3190 PyObject
* rv
= PyTuple_New(4);
3191 int red
= self
->Red();
3192 int green
= self
->Green();
3193 int blue
= self
->Blue();
3194 int alpha
= self
->Alpha();
3196 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3197 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3198 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3199 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3202 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3203 if ( !colour
.IsOk() )
3204 return new wxMask(bitmap
, *wxBLACK
);
3206 return new wxMask(bitmap
, colour
);
3209 #include <wx/iconbndl.h>
3211 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3212 wxIcon
* icon
= new wxIcon();
3213 icon
->CopyFromBitmap(bmp
);
3216 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3217 char** cArray
= NULL
;
3220 cArray
= ConvertListOfStrings(listOfStrings
);
3223 icon
= new wxIcon(cArray
);
3227 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3231 return new wxIconLocation(*filename
);
3234 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3241 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3248 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3250 wxImage
img(cursorName
, type
);
3251 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3252 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3253 return new wxCursor(img
);
3255 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3260 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3263 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3264 return self
->operator bool();
3267 #include <wx/fontutil.h>
3268 #include <wx/fontmap.h>
3269 #include <wx/fontenum.h>
3271 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3272 return self
->ToString();
3275 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3276 static wxNativeEncodingInfo info
;
3277 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3284 SWIGINTERNINLINE PyObject
*
3285 SWIG_From_size_t (size_t value
)
3287 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3291 SWIGINTERNINLINE
int
3292 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3295 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3296 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3300 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3301 wxFontEncoding alt_enc
;
3302 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3303 return PyInt_FromLong(alt_enc
);
3309 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3310 wxNativeFontInfo nfi
;
3311 nfi
.FromString(info
);
3312 return new wxFont(nfi
);
3314 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3315 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3317 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3318 return wxFontBase::New(pixelSize
, family
,
3319 style
, weight
, underlined
,
3322 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3323 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3325 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3326 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3328 class wxPyFontEnumerator
: public wxFontEnumerator
{
3330 wxPyFontEnumerator() {}
3331 ~wxPyFontEnumerator() {}
3333 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3334 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3339 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3340 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3343 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3345 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3346 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3347 ret
= wxArrayString2PyList_helper(arr
);
3348 wxPyEndBlockThreads(blocked
);
3351 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3353 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3354 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3355 ret
= wxArrayString2PyList_helper(arr
);
3356 wxPyEndBlockThreads(blocked
);
3362 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3365 loc
= new wxLocale();
3367 loc
= new wxLocale(language
, flags
);
3368 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3369 // for the floating point conversions and such to work right.
3370 #if PY_VERSION_HEX < 0x02040000
3371 setlocale(LC_NUMERIC
, "C");
3375 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3376 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3377 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3378 // for the floating point conversions and such to work right.
3379 #if PY_VERSION_HEX < 0x02040000
3380 setlocale(LC_NUMERIC
, "C");
3384 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3385 bool rc
= self
->Init(language
, flags
);
3386 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3387 // for the floating point conversions and such to work right.
3388 #if PY_VERSION_HEX < 0x02040000
3389 setlocale(LC_NUMERIC
, "C");
3394 class wxPyLocale
: public wxLocale
3399 wxPyLocale(const wxChar
*szName
, // name (for messages)
3400 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3401 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3402 bool bLoadDefault
= true, // preload wxstd.mo?
3403 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3405 wxPyLocale(int language
, // wxLanguage id or custom language
3406 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3410 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3411 const wxChar
*szDomain
= NULL
) const;
3412 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3413 const wxChar
*szOrigString2
, size_t n
,
3414 const wxChar
*szDomain
= NULL
) const;
3416 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3417 const wxChar
*szDomain
= NULL
) const;
3418 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3419 const wxChar
*szOrigString2
, size_t n
,
3420 const wxChar
*szDomain
= NULL
) const;
3424 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3427 wxPyLocale::wxPyLocale() : wxLocale()
3431 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3432 const wxChar
*szShort
, // dir prefix (for msg files)
3433 const wxChar
*szLocale
, // locale (for setlocale)
3434 bool bLoadDefault
, // preload wxstd.mo?
3435 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3436 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3440 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3441 int flags
) : wxLocale(language
, flags
)
3445 wxPyLocale::~wxPyLocale()
3449 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3450 const wxChar
*szDomain
) const
3452 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3453 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3456 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3457 const wxChar
*szOrigString2
, size_t n
,
3458 const wxChar
*szDomain
) const
3460 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3461 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3464 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3465 const wxChar
*szDomain
) const
3468 static wxString str
;
3469 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3470 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3471 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3472 PyObject
* param1
= wx2PyString(szOrigString
);
3473 PyObject
* param2
= wx2PyString(szDomain
);
3474 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3478 str
= Py2wxString(ret
);
3482 wxPyEndBlockThreads(blocked
);
3483 return (found
? (wxChar
*)str
.c_str() : NULL
);
3486 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3487 const wxChar
*szOrigString2
, size_t n
,
3488 const wxChar
*szDomain
) const
3491 static wxString str
;
3492 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3493 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3494 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3495 PyObject
* param1
= wx2PyString(szOrigString
);
3496 PyObject
* param2
= wx2PyString(szOrigString2
);
3497 PyObject
* param4
= wx2PyString(szDomain
);
3498 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3503 str
= Py2wxString(ret
);
3507 wxPyEndBlockThreads(blocked
);
3508 return (found
? (wxChar
*)str
.c_str() : NULL
);
3511 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3514 loc
= new wxPyLocale();
3516 loc
= new wxPyLocale(language
, flags
);
3517 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3518 // for the floating point conversions and such to work right.
3519 #if PY_VERSION_HEX < 0x02040000
3520 setlocale(LC_NUMERIC
, "C");
3525 #include "wx/wxPython/pydrawxxx.h"
3527 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3529 self
->GetPixel(x
, y
, &col
);
3532 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3534 self
->GetPixel(pt
, &col
);
3539 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3541 if (PyNumber_Check(obj
)) {
3542 if (val
) *val
= PyFloat_AsDouble(obj
);
3545 return SWIG_TypeError
;
3548 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3550 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3553 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3555 self
->GetClippingBox(rect
);
3558 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3560 self
->GetPartialTextExtents(text
, widths
);
3564 #define SWIG_From_double PyFloat_FromDouble
3566 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3567 self
->SetLogicalOrigin(point
.x
, point
.y
);
3569 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3570 self
->SetDeviceOrigin(point
.x
, point
.y
);
3572 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3573 self
->CalcBoundingBox(point
.x
, point
.y
);
3575 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3576 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3578 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3579 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3581 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3582 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3584 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3585 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3587 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3588 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3590 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3591 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3594 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3602 #include <wx/dcbuffer.h>
3605 #include <wx/dcps.h>
3608 class wxMetaFile
: public wxObject
{
3610 wxMetaFile(const wxString
&)
3611 { wxPyRaiseNotImplemented(); }
3614 class wxMetaFileDC
: public wxClientDC
{
3616 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3617 { wxPyRaiseNotImplemented(); }
3622 class wxPrinterDC
: public wxClientDC
{
3624 wxPrinterDC(const wxPrintData
&)
3625 { wxPyRaiseNotImplemented(); }
3630 #include <wx/graphics.h>
3633 #if !wxUSE_GRAPHICS_CONTEXT
3634 // C++ stub classes for platforms or build configurations that don't have
3635 // wxGraphicsContext yet.
3638 class wxGraphicsObject
: public wxObject
3641 wxGraphicsObject( wxGraphicsRenderer
* ) {
3642 PyErr_SetString(PyExc_NotImplementedError
,
3643 "wx.GraphicsObject is not available on this platform.");
3645 wxGraphicsObject( const wxGraphicsObject
& ) {}
3646 virtual ~wxGraphicsObject() {}
3647 bool IsNull() const { return false; }
3648 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3653 class wxGraphicsPen
: public wxGraphicsObject
3656 virtual ~wxGraphicsPen() {}
3658 wxGraphicsPen wxNullGraphicsPen
;
3662 class wxGraphicsBrush
: public wxGraphicsObject
3665 wxGraphicsBrush() {}
3666 virtual ~wxGraphicsBrush() {}
3668 wxGraphicsBrush wxNullGraphicsBrush
;
3672 class wxGraphicsFont
: public wxGraphicsObject
3676 virtual ~wxGraphicsFont() {}
3678 wxGraphicsFont wxNullGraphicsFont
;
3682 class wxGraphicsPath
: public wxGraphicsObject
3685 wxGraphicsPath(wxGraphicsRenderer
* ) {
3686 PyErr_SetString(PyExc_NotImplementedError
,
3687 "wx.GraphicsPath is not available on this platform.");
3689 virtual ~wxGraphicsPath() {}
3691 void MoveToPoint( wxDouble
, wxDouble
) {}
3692 void MoveToPoint( const wxPoint2DDouble
& ) {}
3693 void AddLineToPoint( wxDouble
, wxDouble
) {}
3694 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3695 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3696 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3697 void AddPath( const wxGraphicsPath
* ) {}
3698 void CloseSubpath() {}
3699 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3700 wxPoint2DDouble
GetCurrentPoint() { reutrn
wxPoint2D(0,0); }
3701 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3702 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3704 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3705 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3706 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3707 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3709 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3710 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3711 void * GetNativePath() const { return NULL
; }
3712 void UnGetNativePath(void *) {}
3713 void Transform( wxGraphicsMatrix
* ) {}
3714 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) {}
3715 wxRect2D
GetBox() { return wxRect2D(0,0,0,0); }
3717 bool Contains( wxDouble
, wxDouble
, int ) { return false; }
3718 bool Contains( const wxPoint2DDouble
& , int ) { return false; }
3720 wxGraphicsPath wxNullGraphicsPath
;
3723 class wxGraphicsMatrix
: public wxGraphicsObject
3726 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3727 PyErr_SetString(PyExc_NotImplementedError
,
3728 "wx.GraphicsMatrix is not available on this platform.");
3730 virtual ~wxGraphicsMatrix() {}
3731 virtual void Concat( const wxGraphicsMatrix
* ) {}
3732 virtual void Copy( const wxGraphicsMatrix
* ) {}
3733 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3734 wxDouble
, wxDouble
) {}
3735 virtual void Invert() {}
3736 virtual bool IsEqual( const wxGraphicsMatrix
* t
) const {}
3737 virtual bool IsIdentity() { return false; }
3738 virtual void Translate( wxDouble
, wxDouble
) {}
3739 virtual void Scale( wxDouble
, wxDouble
) {}
3740 virtual void Rotate( wxDouble
) {}
3741 virtual void TransformPoint( wxDouble
*, wxDouble
* ) {}
3742 virtual void TransformDistance( wxDouble
*, wxDouble
* ) {}
3743 virtual void * GetNativeMatrix() const { return NULL
; }
3745 wxGraphicsMatrix wxNullGraphicsMatrix
;
3748 class wxGraphicsContext
: public wxGraphicsObject
3752 wxGraphicsContext(wxGraphicsRenderer
* ) {
3753 PyErr_SetString(PyExc_NotImplementedError
,
3754 "wx.GraphicsContext is not available on this platform.");
3757 virtual ~wxGraphicsContext() {}
3759 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3760 PyErr_SetString(PyExc_NotImplementedError
,
3761 "wx.GraphicsContext is not available on this platform.");
3764 static wxGraphicsContext
* CreateFromNative( void * ) {
3765 PyErr_SetString(PyExc_NotImplementedError
,
3766 "wx.GraphicsContext is not available on this platform.");
3769 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3770 PyErr_SetString(PyExc_NotImplementedError
,
3771 "wx.GraphicsContext is not available on this platform.");
3774 static wxGraphicsContext
* Create( wxWindow
* ) {
3775 PyErr_SetString(PyExc_NotImplementedError
,
3776 "wx.GraphicsContext is not available on this platform.");
3779 wxGraphicsPath
* CreatePath() { return NULL
; }
3781 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return NULL
; }
3783 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return NULL
; }
3785 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3786 const wxColour
&, const wxColour
&) { return NULL
; }
3788 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3789 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3790 const wxColour
&oColor
, const wxColour
&cColor
) { return NULL
; }
3792 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return NULL
; }
3794 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3795 wxDouble
, wxDouble
) { return NULL
; }
3797 virtual void PushState() {}
3798 virtual void PopState() {}
3799 virtual void Clip( const wxRegion
& ) {}
3800 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3801 virtual void ResetClip() {}
3802 virtual void * GetNativeContext() { return NULL
; }
3803 virtual void Translate( wxDouble
, wxDouble
) {}
3804 virtual void Scale( wxDouble
, wxDouble
) {}
3805 virtual void Rotate( wxDouble
) {}
3806 virtual void ConcatTransform( const wxGraphicsMatrix
* ) {}
3807 virtual void SetTransform( const wxGraphicsMatrix
* ) {}
3808 virtual void GetTransform( wxGraphicsMatrix
* ) {}
3810 virtual void SetPen( const wxGraphicsPen
& ) {}
3811 void SetPen( const wxPen
& ) {}
3813 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3814 void SetBrush( const wxBrush
& ) {}
3816 virtual void SetFont( const wxGraphicsFont
& ) {}
3817 void SetFont( const wxFont
&, const wxColour
& ) {}
3819 virtual void StrokePath( const wxGraphicsPath
* ) {}
3820 virtual void FillPath( const wxGraphicsPath
*, int ) {}
3821 virtual void DrawPath( const wxGraphicsPath
*, int ) {}
3823 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3824 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3825 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3826 wxDouble
*, wxDouble
* ) const {}
3827 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3829 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3830 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3832 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3833 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3834 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3835 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3836 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3837 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3838 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3839 virtual bool ShouldOffset() const { return false; }
3843 class wxGraphicsRenderer
: public wxObject
3846 wxGraphicsRenderer() {
3847 PyErr_SetString(PyExc_NotImplementedError
,
3848 "wx.GraphicsRenderer is not available on this platform.");
3851 virtual ~wxGraphicsRenderer() {}
3853 static wxGraphicsRenderer
* GetDefaultRenderer(
3854 PyErr_SetString(PyExc_NotImplementedError
,
3855 "wx.GraphicsRenderer is not available on this platform.");
3858 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3859 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3860 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3861 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3863 virtual wxGraphicsPath
* CreatePath() { return NULL
; }
3865 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3866 wxDouble
, wxDouble
) { return NULL
; }
3868 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGaphicsPen
; }
3869 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGaphicsBrush
; }
3870 virtual wxGraphicsBrush
CreateLinearGradientBrush(xDouble
, wxDouble
, wxDouble
, wxDouble
,
3871 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3872 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3873 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3874 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGaphicsFont
; }
3879 class wxGCDC
: public wxWindowDC
3882 wxGCDC(const wxWindowDC
&) {
3883 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3884 PyErr_SetString(PyExc_NotImplementedError
,
3885 "wxGCDC is not available on this platform.");
3886 wxPyEndBlockThreads(blocked
);
3889 wxGCDC(const wxWindow
*) {
3890 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3891 PyErr_SetString(PyExc_NotImplementedError
,
3892 "wxGCDC is not available on this platform.");
3893 wxPyEndBlockThreads(blocked
);
3897 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3898 PyErr_SetString(PyExc_NotImplementedError
,
3899 "wxGCDC is not available on this platform.");
3900 wxPyEndBlockThreads(blocked
);
3903 virtual ~wxGCDC() {}
3905 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3906 void SetGraphicsContext( wxGraphicsContext
* ) {}
3911 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3912 if ( !backgroundBrush
.IsNull() )
3913 self
->DrawText(str
, x
, y
, backgroundBrush
);
3915 self
->DrawText(str
, x
, y
);
3917 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3918 if ( !backgroundBrush
.IsNull() )
3919 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3921 self
->DrawText(str
, x
, y
, angle
);
3923 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3924 wxDouble width
= 0.0,
3926 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3927 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3928 PyObject
* rv
= PyTuple_New(2);
3929 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3930 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3933 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3934 wxArrayDouble widths
;
3935 self
->GetPartialTextExtents(text
, widths
);
3938 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3939 size_t c1
, c2
, count
;
3940 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3941 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3943 if ( beginP
!= NULL
&& endP
!= NULL
)
3945 count
= wxMin(c1
, c2
);
3946 self
->StrokeLines(count
, beginP
, endP
);
3952 #include "wx/dcgraph.h"
3955 #include <wx/overlay.h>
3959 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3960 self
->AddColour(name
, wxColour(red
, green
, blue
));
3963 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3964 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3965 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3966 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3969 #include <wx/effects.h>
3972 #include "wx/renderer.h"
3975 SWIGINTERNINLINE PyObject
*
3976 SWIG_From_bool (bool value
)
3978 return PyBool_FromLong(value
? 1 : 0);
3982 #include "wx/wxPython/pseudodc.h"
3984 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3986 self
->GetIdBounds(id
, rect
);
3992 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3993 PyObject
*resultobj
= 0;
3994 wxGDIObject
*result
= 0 ;
3996 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3998 if (!wxPyCheckForApp()) SWIG_fail
;
3999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4000 result
= (wxGDIObject
*)new wxGDIObject();
4001 wxPyEndAllowThreads(__tstate
);
4002 if (PyErr_Occurred()) SWIG_fail
;
4004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4011 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4012 PyObject
*resultobj
= 0;
4013 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4016 PyObject
*swig_obj
[1] ;
4018 if (!args
) SWIG_fail
;
4020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4021 if (!SWIG_IsOK(res1
)) {
4022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4024 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) SWIG_fail
;
4032 resultobj
= SWIG_Py_Void();
4039 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4040 PyObject
*resultobj
= 0;
4041 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4045 PyObject
*swig_obj
[1] ;
4047 if (!args
) SWIG_fail
;
4049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4050 if (!SWIG_IsOK(res1
)) {
4051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4053 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 result
= (bool)(arg1
)->IsNull();
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4069 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4071 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4072 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4073 return SWIG_Py_Void();
4076 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4077 return SWIG_Python_InitShadowInstance(args
);
4080 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
*resultobj
= 0;
4082 byte arg1
= (byte
) 0 ;
4083 byte arg2
= (byte
) 0 ;
4084 byte arg3
= (byte
) 0 ;
4085 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4086 wxColour
*result
= 0 ;
4087 unsigned char val1
;
4089 unsigned char val2
;
4091 unsigned char val3
;
4093 unsigned char val4
;
4095 PyObject
* obj0
= 0 ;
4096 PyObject
* obj1
= 0 ;
4097 PyObject
* obj2
= 0 ;
4098 PyObject
* obj3
= 0 ;
4099 char * kwnames
[] = {
4100 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4105 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4106 if (!SWIG_IsOK(ecode1
)) {
4107 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4109 arg1
= static_cast< byte
>(val1
);
4112 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4113 if (!SWIG_IsOK(ecode2
)) {
4114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4116 arg2
= static_cast< byte
>(val2
);
4119 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4120 if (!SWIG_IsOK(ecode3
)) {
4121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4123 arg3
= static_cast< byte
>(val3
);
4126 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4127 if (!SWIG_IsOK(ecode4
)) {
4128 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4130 arg4
= static_cast< byte
>(val4
);
4133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4134 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4135 wxPyEndAllowThreads(__tstate
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4145 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4146 PyObject
*resultobj
= 0;
4147 wxString
*arg1
= 0 ;
4148 wxColour
*result
= 0 ;
4149 bool temp1
= false ;
4150 PyObject
* obj0
= 0 ;
4151 char * kwnames
[] = {
4152 (char *) "colorName", NULL
4155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4157 arg1
= wxString_in_helper(obj0
);
4158 if (arg1
== NULL
) SWIG_fail
;
4162 if (!wxPyCheckForApp()) SWIG_fail
;
4163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4164 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4165 wxPyEndAllowThreads(__tstate
);
4166 if (PyErr_Occurred()) SWIG_fail
;
4168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4183 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
*resultobj
= 0;
4185 unsigned long arg1
;
4186 wxColour
*result
= 0 ;
4187 unsigned long val1
;
4189 PyObject
* obj0
= 0 ;
4190 char * kwnames
[] = {
4191 (char *) "colRGB", NULL
4194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4195 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4196 if (!SWIG_IsOK(ecode1
)) {
4197 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4199 arg1
= static_cast< unsigned long >(val1
);
4201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4202 result
= (wxColour
*)new wxColour(arg1
);
4203 wxPyEndAllowThreads(__tstate
);
4204 if (PyErr_Occurred()) SWIG_fail
;
4206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4213 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4214 PyObject
*resultobj
= 0;
4215 wxColour
*arg1
= (wxColour
*) 0 ;
4218 PyObject
*swig_obj
[1] ;
4220 if (!args
) SWIG_fail
;
4222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4223 if (!SWIG_IsOK(res1
)) {
4224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4226 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= SWIG_Py_Void();
4241 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4242 PyObject
*resultobj
= 0;
4243 wxColour
*arg1
= (wxColour
*) 0 ;
4247 PyObject
*swig_obj
[1] ;
4249 if (!args
) SWIG_fail
;
4251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4252 if (!SWIG_IsOK(res1
)) {
4253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4255 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 result
= (byte
)(arg1
)->Red();
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4262 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4269 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4270 PyObject
*resultobj
= 0;
4271 wxColour
*arg1
= (wxColour
*) 0 ;
4275 PyObject
*swig_obj
[1] ;
4277 if (!args
) SWIG_fail
;
4279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4280 if (!SWIG_IsOK(res1
)) {
4281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4283 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4286 result
= (byte
)(arg1
)->Green();
4287 wxPyEndAllowThreads(__tstate
);
4288 if (PyErr_Occurred()) SWIG_fail
;
4290 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4297 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4298 PyObject
*resultobj
= 0;
4299 wxColour
*arg1
= (wxColour
*) 0 ;
4303 PyObject
*swig_obj
[1] ;
4305 if (!args
) SWIG_fail
;
4307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4308 if (!SWIG_IsOK(res1
)) {
4309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4311 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 result
= (byte
)(arg1
)->Blue();
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4318 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4325 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4326 PyObject
*resultobj
= 0;
4327 wxColour
*arg1
= (wxColour
*) 0 ;
4331 PyObject
*swig_obj
[1] ;
4333 if (!args
) SWIG_fail
;
4335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4336 if (!SWIG_IsOK(res1
)) {
4337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4339 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4342 result
= (byte
)(arg1
)->Alpha();
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4353 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4354 PyObject
*resultobj
= 0;
4355 wxColour
*arg1
= (wxColour
*) 0 ;
4359 PyObject
*swig_obj
[1] ;
4361 if (!args
) SWIG_fail
;
4363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4364 if (!SWIG_IsOK(res1
)) {
4365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4367 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4370 result
= (bool)(arg1
)->IsOk();
4371 wxPyEndAllowThreads(__tstate
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4383 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
*resultobj
= 0;
4385 wxColour
*arg1
= (wxColour
*) 0 ;
4389 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4392 unsigned char val2
;
4394 unsigned char val3
;
4396 unsigned char val4
;
4398 unsigned char val5
;
4400 PyObject
* obj0
= 0 ;
4401 PyObject
* obj1
= 0 ;
4402 PyObject
* obj2
= 0 ;
4403 PyObject
* obj3
= 0 ;
4404 PyObject
* obj4
= 0 ;
4405 char * kwnames
[] = {
4406 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4411 if (!SWIG_IsOK(res1
)) {
4412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4414 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4415 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4416 if (!SWIG_IsOK(ecode2
)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4419 arg2
= static_cast< byte
>(val2
);
4420 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4421 if (!SWIG_IsOK(ecode3
)) {
4422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4424 arg3
= static_cast< byte
>(val3
);
4425 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4426 if (!SWIG_IsOK(ecode4
)) {
4427 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4429 arg4
= static_cast< byte
>(val4
);
4431 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4432 if (!SWIG_IsOK(ecode5
)) {
4433 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4435 arg5
= static_cast< byte
>(val5
);
4438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4439 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4443 resultobj
= SWIG_Py_Void();
4450 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
*resultobj
= 0;
4452 wxColour
*arg1
= (wxColour
*) 0 ;
4453 unsigned long arg2
;
4456 unsigned long val2
;
4458 PyObject
* obj0
= 0 ;
4459 PyObject
* obj1
= 0 ;
4460 char * kwnames
[] = {
4461 (char *) "self",(char *) "colRGB", NULL
4464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4466 if (!SWIG_IsOK(res1
)) {
4467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4469 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4470 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4471 if (!SWIG_IsOK(ecode2
)) {
4472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4474 arg2
= static_cast< unsigned long >(val2
);
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 resultobj
= SWIG_Py_Void();
4488 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
= 0;
4490 wxColour
*arg1
= (wxColour
*) 0 ;
4491 wxString
*arg2
= 0 ;
4494 bool temp2
= false ;
4495 PyObject
* obj0
= 0 ;
4496 PyObject
* obj1
= 0 ;
4497 char * kwnames
[] = {
4498 (char *) "self",(char *) "colourName", NULL
4501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4503 if (!SWIG_IsOK(res1
)) {
4504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4506 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4508 arg2
= wxString_in_helper(obj1
);
4509 if (arg2
== NULL
) SWIG_fail
;
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4514 (arg1
)->Set((wxString
const &)*arg2
);
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4518 resultobj
= SWIG_Py_Void();
4533 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
*resultobj
= 0;
4535 wxColour
*arg1
= (wxColour
*) 0 ;
4536 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4542 PyObject
* obj0
= 0 ;
4543 PyObject
* obj1
= 0 ;
4544 char * kwnames
[] = {
4545 (char *) "self",(char *) "flags", NULL
4548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4550 if (!SWIG_IsOK(res1
)) {
4551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4553 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4555 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4556 if (!SWIG_IsOK(ecode2
)) {
4557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4559 arg2
= static_cast< long >(val2
);
4562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4564 wxPyEndAllowThreads(__tstate
);
4565 if (PyErr_Occurred()) SWIG_fail
;
4569 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4571 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4580 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4581 PyObject
*resultobj
= 0;
4582 wxColour
*arg1
= (wxColour
*) 0 ;
4586 PyObject
*swig_obj
[1] ;
4588 if (!args
) SWIG_fail
;
4590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4591 if (!SWIG_IsOK(res1
)) {
4592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4594 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4597 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4601 resultobj
= SWIG_From_long(static_cast< long >(result
));
4608 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
*resultobj
= 0;
4610 wxColour
*arg1
= (wxColour
*) 0 ;
4611 PyObject
*arg2
= (PyObject
*) 0 ;
4615 PyObject
* obj0
= 0 ;
4616 PyObject
* obj1
= 0 ;
4617 char * kwnames
[] = {
4618 (char *) "self",(char *) "other", NULL
4621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4623 if (!SWIG_IsOK(res1
)) {
4624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4626 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4629 result
= (bool)wxColour___eq__(arg1
,arg2
);
4630 if (PyErr_Occurred()) SWIG_fail
;
4633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4641 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4642 PyObject
*resultobj
= 0;
4643 wxColour
*arg1
= (wxColour
*) 0 ;
4644 PyObject
*arg2
= (PyObject
*) 0 ;
4648 PyObject
* obj0
= 0 ;
4649 PyObject
* obj1
= 0 ;
4650 char * kwnames
[] = {
4651 (char *) "self",(char *) "other", NULL
4654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4656 if (!SWIG_IsOK(res1
)) {
4657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4659 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4662 result
= (bool)wxColour___ne__(arg1
,arg2
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4674 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
= 0;
4676 wxColour
*arg1
= (wxColour
*) 0 ;
4677 bool arg2
= (bool) false ;
4678 PyObject
*result
= 0 ;
4683 PyObject
* obj0
= 0 ;
4684 PyObject
* obj1
= 0 ;
4685 char * kwnames
[] = {
4686 (char *) "self",(char *) "includeAlpha", NULL
4689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4691 if (!SWIG_IsOK(res1
)) {
4692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4694 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4696 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4697 if (!SWIG_IsOK(ecode2
)) {
4698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4700 arg2
= static_cast< bool >(val2
);
4703 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4713 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4714 PyObject
*resultobj
= 0;
4715 wxColour
*arg1
= (wxColour
*) 0 ;
4716 unsigned long result
;
4719 PyObject
*swig_obj
[1] ;
4721 if (!args
) SWIG_fail
;
4723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4724 if (!SWIG_IsOK(res1
)) {
4725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4727 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4729 result
= (unsigned long)wxColour_GetRGB(arg1
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4732 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4739 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4741 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4742 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4743 return SWIG_Py_Void();
4746 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4747 return SWIG_Python_InitShadowInstance(args
);
4750 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
*resultobj
= 0;
4753 unsigned char *arg2
= (unsigned char *) 0 ;
4754 unsigned char *arg3
= (unsigned char *) 0 ;
4755 unsigned char *arg4
= (unsigned char *) 0 ;
4756 wxPalette
*result
= 0 ;
4765 PyObject
* obj0
= 0 ;
4766 PyObject
* obj1
= 0 ;
4767 PyObject
* obj2
= 0 ;
4768 PyObject
* obj3
= 0 ;
4769 char * kwnames
[] = {
4770 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4774 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4775 if (!SWIG_IsOK(ecode1
)) {
4776 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4778 arg1
= static_cast< int >(val1
);
4779 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4780 if (!SWIG_IsOK(res2
)) {
4781 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4783 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4784 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4785 if (!SWIG_IsOK(res3
)) {
4786 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4788 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4789 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4790 if (!SWIG_IsOK(res4
)) {
4791 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4793 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4795 if (!wxPyCheckForApp()) SWIG_fail
;
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4808 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4809 PyObject
*resultobj
= 0;
4810 wxPalette
*arg1
= (wxPalette
*) 0 ;
4813 PyObject
*swig_obj
[1] ;
4815 if (!args
) SWIG_fail
;
4817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4818 if (!SWIG_IsOK(res1
)) {
4819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4821 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 wxPyEndAllowThreads(__tstate
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4829 resultobj
= SWIG_Py_Void();
4836 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4837 PyObject
*resultobj
= 0;
4838 wxPalette
*arg1
= (wxPalette
*) 0 ;
4845 unsigned char val2
;
4847 unsigned char val3
;
4849 unsigned char val4
;
4851 PyObject
* obj0
= 0 ;
4852 PyObject
* obj1
= 0 ;
4853 PyObject
* obj2
= 0 ;
4854 PyObject
* obj3
= 0 ;
4855 char * kwnames
[] = {
4856 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4861 if (!SWIG_IsOK(res1
)) {
4862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4864 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4865 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4866 if (!SWIG_IsOK(ecode2
)) {
4867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4869 arg2
= static_cast< byte
>(val2
);
4870 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4871 if (!SWIG_IsOK(ecode3
)) {
4872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4874 arg3
= static_cast< byte
>(val3
);
4875 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4876 if (!SWIG_IsOK(ecode4
)) {
4877 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4879 arg4
= static_cast< byte
>(val4
);
4881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4882 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4883 wxPyEndAllowThreads(__tstate
);
4884 if (PyErr_Occurred()) SWIG_fail
;
4886 resultobj
= SWIG_From_int(static_cast< int >(result
));
4893 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4894 PyObject
*resultobj
= 0;
4895 wxPalette
*arg1
= (wxPalette
*) 0 ;
4897 byte
*arg3
= (byte
*) 0 ;
4898 byte
*arg4
= (byte
*) 0 ;
4899 byte
*arg5
= (byte
*) 0 ;
4906 int res3
= SWIG_TMPOBJ
;
4908 int res4
= SWIG_TMPOBJ
;
4910 int res5
= SWIG_TMPOBJ
;
4911 PyObject
* obj0
= 0 ;
4912 PyObject
* obj1
= 0 ;
4913 char * kwnames
[] = {
4914 (char *) "self",(char *) "pixel", NULL
4920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4922 if (!SWIG_IsOK(res1
)) {
4923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4925 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4927 if (!SWIG_IsOK(ecode2
)) {
4928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4930 arg2
= static_cast< int >(val2
);
4932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4933 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4934 wxPyEndAllowThreads(__tstate
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4940 if (SWIG_IsTmpObj(res3
)) {
4941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4943 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4944 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4946 if (SWIG_IsTmpObj(res4
)) {
4947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4949 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4952 if (SWIG_IsTmpObj(res5
)) {
4953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4955 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4964 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4965 PyObject
*resultobj
= 0;
4966 wxPalette
*arg1
= (wxPalette
*) 0 ;
4970 PyObject
*swig_obj
[1] ;
4972 if (!args
) SWIG_fail
;
4974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4975 if (!SWIG_IsOK(res1
)) {
4976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4978 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4985 resultobj
= SWIG_From_int(static_cast< int >(result
));
4992 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4993 PyObject
*resultobj
= 0;
4994 wxPalette
*arg1
= (wxPalette
*) 0 ;
4998 PyObject
*swig_obj
[1] ;
5000 if (!args
) SWIG_fail
;
5002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5003 if (!SWIG_IsOK(res1
)) {
5004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5006 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 result
= (bool)(arg1
)->IsOk();
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5022 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5024 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5025 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5026 return SWIG_Py_Void();
5029 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5030 return SWIG_Python_InitShadowInstance(args
);
5033 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
*resultobj
= 0;
5035 wxColour
*arg1
= 0 ;
5036 int arg2
= (int) 1 ;
5037 int arg3
= (int) wxSOLID
;
5044 PyObject
* obj0
= 0 ;
5045 PyObject
* obj1
= 0 ;
5046 PyObject
* obj2
= 0 ;
5047 char * kwnames
[] = {
5048 (char *) "colour",(char *) "width",(char *) "style", NULL
5051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5054 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5058 if (!SWIG_IsOK(ecode2
)) {
5059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5061 arg2
= static_cast< int >(val2
);
5064 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5065 if (!SWIG_IsOK(ecode3
)) {
5066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5068 arg3
= static_cast< int >(val3
);
5071 if (!wxPyCheckForApp()) SWIG_fail
;
5072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5073 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5074 wxPyEndAllowThreads(__tstate
);
5075 if (PyErr_Occurred()) SWIG_fail
;
5077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5084 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5085 PyObject
*resultobj
= 0;
5086 wxPen
*arg1
= (wxPen
*) 0 ;
5089 PyObject
*swig_obj
[1] ;
5091 if (!args
) SWIG_fail
;
5093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5094 if (!SWIG_IsOK(res1
)) {
5095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5097 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 wxPyEndAllowThreads(__tstate
);
5103 if (PyErr_Occurred()) SWIG_fail
;
5105 resultobj
= SWIG_Py_Void();
5112 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5113 PyObject
*resultobj
= 0;
5114 wxPen
*arg1
= (wxPen
*) 0 ;
5118 PyObject
*swig_obj
[1] ;
5120 if (!args
) SWIG_fail
;
5122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5123 if (!SWIG_IsOK(res1
)) {
5124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5126 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 result
= (int)(arg1
)->GetCap();
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5133 resultobj
= SWIG_From_int(static_cast< int >(result
));
5140 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5141 PyObject
*resultobj
= 0;
5142 wxPen
*arg1
= (wxPen
*) 0 ;
5146 PyObject
*swig_obj
[1] ;
5148 if (!args
) SWIG_fail
;
5150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5151 if (!SWIG_IsOK(res1
)) {
5152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5154 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 result
= (arg1
)->GetColour();
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5161 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5168 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5169 PyObject
*resultobj
= 0;
5170 wxPen
*arg1
= (wxPen
*) 0 ;
5174 PyObject
*swig_obj
[1] ;
5176 if (!args
) SWIG_fail
;
5178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5179 if (!SWIG_IsOK(res1
)) {
5180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5182 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 result
= (int)(arg1
)->GetJoin();
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5189 resultobj
= SWIG_From_int(static_cast< int >(result
));
5196 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5197 PyObject
*resultobj
= 0;
5198 wxPen
*arg1
= (wxPen
*) 0 ;
5202 PyObject
*swig_obj
[1] ;
5204 if (!args
) SWIG_fail
;
5206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5207 if (!SWIG_IsOK(res1
)) {
5208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5210 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5213 result
= (int)(arg1
)->GetStyle();
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= SWIG_From_int(static_cast< int >(result
));
5224 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5225 PyObject
*resultobj
= 0;
5226 wxPen
*arg1
= (wxPen
*) 0 ;
5230 PyObject
*swig_obj
[1] ;
5232 if (!args
) SWIG_fail
;
5234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5235 if (!SWIG_IsOK(res1
)) {
5236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5238 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5241 result
= (int)(arg1
)->GetWidth();
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5245 resultobj
= SWIG_From_int(static_cast< int >(result
));
5252 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5253 PyObject
*resultobj
= 0;
5254 wxPen
*arg1
= (wxPen
*) 0 ;
5258 PyObject
*swig_obj
[1] ;
5260 if (!args
) SWIG_fail
;
5262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5263 if (!SWIG_IsOK(res1
)) {
5264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5266 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 result
= (bool)(arg1
)->IsOk();
5270 wxPyEndAllowThreads(__tstate
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5282 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
*resultobj
= 0;
5284 wxPen
*arg1
= (wxPen
*) 0 ;
5290 PyObject
* obj0
= 0 ;
5291 PyObject
* obj1
= 0 ;
5292 char * kwnames
[] = {
5293 (char *) "self",(char *) "cap_style", NULL
5296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5298 if (!SWIG_IsOK(res1
)) {
5299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5301 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5303 if (!SWIG_IsOK(ecode2
)) {
5304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5306 arg2
= static_cast< int >(val2
);
5308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5309 (arg1
)->SetCap(arg2
);
5310 wxPyEndAllowThreads(__tstate
);
5311 if (PyErr_Occurred()) SWIG_fail
;
5313 resultobj
= SWIG_Py_Void();
5320 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
*resultobj
= 0;
5322 wxPen
*arg1
= (wxPen
*) 0 ;
5323 wxColour
*arg2
= 0 ;
5327 PyObject
* obj0
= 0 ;
5328 PyObject
* obj1
= 0 ;
5329 char * kwnames
[] = {
5330 (char *) "self",(char *) "colour", NULL
5333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5335 if (!SWIG_IsOK(res1
)) {
5336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5338 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5341 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5345 (arg1
)->SetColour(*arg2
);
5346 wxPyEndAllowThreads(__tstate
);
5347 if (PyErr_Occurred()) SWIG_fail
;
5349 resultobj
= SWIG_Py_Void();
5356 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
*resultobj
= 0;
5358 wxPen
*arg1
= (wxPen
*) 0 ;
5364 PyObject
* obj0
= 0 ;
5365 PyObject
* obj1
= 0 ;
5366 char * kwnames
[] = {
5367 (char *) "self",(char *) "join_style", NULL
5370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5372 if (!SWIG_IsOK(res1
)) {
5373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5375 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5377 if (!SWIG_IsOK(ecode2
)) {
5378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5380 arg2
= static_cast< int >(val2
);
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 (arg1
)->SetJoin(arg2
);
5384 wxPyEndAllowThreads(__tstate
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5387 resultobj
= SWIG_Py_Void();
5394 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5395 PyObject
*resultobj
= 0;
5396 wxPen
*arg1
= (wxPen
*) 0 ;
5402 PyObject
* obj0
= 0 ;
5403 PyObject
* obj1
= 0 ;
5404 char * kwnames
[] = {
5405 (char *) "self",(char *) "style", NULL
5408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5410 if (!SWIG_IsOK(res1
)) {
5411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5413 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5415 if (!SWIG_IsOK(ecode2
)) {
5416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5418 arg2
= static_cast< int >(val2
);
5420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5421 (arg1
)->SetStyle(arg2
);
5422 wxPyEndAllowThreads(__tstate
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5425 resultobj
= SWIG_Py_Void();
5432 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
*resultobj
= 0;
5434 wxPen
*arg1
= (wxPen
*) 0 ;
5440 PyObject
* obj0
= 0 ;
5441 PyObject
* obj1
= 0 ;
5442 char * kwnames
[] = {
5443 (char *) "self",(char *) "width", NULL
5446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5448 if (!SWIG_IsOK(res1
)) {
5449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5451 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5453 if (!SWIG_IsOK(ecode2
)) {
5454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5456 arg2
= static_cast< int >(val2
);
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 (arg1
)->SetWidth(arg2
);
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5463 resultobj
= SWIG_Py_Void();
5470 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5471 PyObject
*resultobj
= 0;
5472 wxPen
*arg1
= (wxPen
*) 0 ;
5474 wxDash
*arg3
= (wxDash
*) 0 ;
5477 PyObject
* obj0
= 0 ;
5478 PyObject
* obj1
= 0 ;
5479 char * kwnames
[] = {
5480 (char *) "self",(char *) "dashes", NULL
5483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5485 if (!SWIG_IsOK(res1
)) {
5486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5488 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5490 arg2
= PyList_Size(obj1
);
5491 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5492 if (arg3
== NULL
) SWIG_fail
;
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 (arg1
)->SetDashes(arg2
,arg3
);
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5500 resultobj
= SWIG_Py_Void();
5502 if (arg3
) delete [] arg3
;
5507 if (arg3
) delete [] arg3
;
5513 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5514 PyObject
*resultobj
= 0;
5515 wxPen
*arg1
= (wxPen
*) 0 ;
5516 PyObject
*result
= 0 ;
5519 PyObject
*swig_obj
[1] ;
5521 if (!args
) SWIG_fail
;
5523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5524 if (!SWIG_IsOK(res1
)) {
5525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5527 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5530 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5541 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
*resultobj
= 0;
5543 wxPen
*arg1
= (wxPen
*) 0 ;
5544 PyObject
*arg2
= (PyObject
*) 0 ;
5545 PyObject
*arg3
= (PyObject
*) 0 ;
5548 PyObject
* obj0
= 0 ;
5549 PyObject
* obj1
= 0 ;
5550 PyObject
* obj2
= 0 ;
5551 char * kwnames
[] = {
5552 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5557 if (!SWIG_IsOK(res1
)) {
5558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5560 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5565 wxPen__SetDashes(arg1
,arg2
,arg3
);
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5569 resultobj
= SWIG_Py_Void();
5576 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5577 PyObject
*resultobj
= 0;
5578 wxPen
*arg1
= (wxPen
*) 0 ;
5582 PyObject
*swig_obj
[1] ;
5584 if (!args
) SWIG_fail
;
5586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5587 if (!SWIG_IsOK(res1
)) {
5588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5590 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5597 resultobj
= SWIG_From_int(static_cast< int >(result
));
5604 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
*resultobj
= 0;
5606 wxPen
*arg1
= (wxPen
*) 0 ;
5607 wxPen
*arg2
= (wxPen
*) 0 ;
5613 PyObject
* obj0
= 0 ;
5614 PyObject
* obj1
= 0 ;
5615 char * kwnames
[] = {
5616 (char *) "self",(char *) "other", NULL
5619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5621 if (!SWIG_IsOK(res1
)) {
5622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5624 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5625 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5626 if (!SWIG_IsOK(res2
)) {
5627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5629 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5632 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5633 wxPyEndAllowThreads(__tstate
);
5634 if (PyErr_Occurred()) SWIG_fail
;
5637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5645 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
*resultobj
= 0;
5647 wxPen
*arg1
= (wxPen
*) 0 ;
5648 wxPen
*arg2
= (wxPen
*) 0 ;
5654 PyObject
* obj0
= 0 ;
5655 PyObject
* obj1
= 0 ;
5656 char * kwnames
[] = {
5657 (char *) "self",(char *) "other", NULL
5660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5662 if (!SWIG_IsOK(res1
)) {
5663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5665 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5666 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5667 if (!SWIG_IsOK(res2
)) {
5668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5670 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5673 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5674 wxPyEndAllowThreads(__tstate
);
5675 if (PyErr_Occurred()) SWIG_fail
;
5678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5686 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5689 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5690 return SWIG_Py_Void();
5693 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5694 return SWIG_Python_InitShadowInstance(args
);
5697 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
*resultobj
= 0;
5699 wxColour
*arg1
= 0 ;
5700 int arg2
= (int) wxSOLID
;
5701 wxBrush
*result
= 0 ;
5705 PyObject
* obj0
= 0 ;
5706 PyObject
* obj1
= 0 ;
5707 char * kwnames
[] = {
5708 (char *) "colour",(char *) "style", NULL
5711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5714 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5718 if (!SWIG_IsOK(ecode2
)) {
5719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5721 arg2
= static_cast< int >(val2
);
5724 if (!wxPyCheckForApp()) SWIG_fail
;
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5727 wxPyEndAllowThreads(__tstate
);
5728 if (PyErr_Occurred()) SWIG_fail
;
5730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5737 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
*resultobj
= 0;
5739 wxBitmap
*arg1
= 0 ;
5740 wxBrush
*result
= 0 ;
5743 PyObject
* obj0
= 0 ;
5744 char * kwnames
[] = {
5745 (char *) "stippleBitmap", NULL
5748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5749 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5750 if (!SWIG_IsOK(res1
)) {
5751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5754 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5756 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5758 if (!wxPyCheckForApp()) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5771 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5772 PyObject
*resultobj
= 0;
5773 wxBrush
*arg1
= (wxBrush
*) 0 ;
5776 PyObject
*swig_obj
[1] ;
5778 if (!args
) SWIG_fail
;
5780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5781 if (!SWIG_IsOK(res1
)) {
5782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5784 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5792 resultobj
= SWIG_Py_Void();
5799 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5800 PyObject
*resultobj
= 0;
5801 wxBrush
*arg1
= (wxBrush
*) 0 ;
5802 wxColour
*arg2
= 0 ;
5806 PyObject
* obj0
= 0 ;
5807 PyObject
* obj1
= 0 ;
5808 char * kwnames
[] = {
5809 (char *) "self",(char *) "col", NULL
5812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5814 if (!SWIG_IsOK(res1
)) {
5815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5817 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5820 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 (arg1
)->SetColour((wxColour
const &)*arg2
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5828 resultobj
= SWIG_Py_Void();
5835 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
= 0;
5837 wxBrush
*arg1
= (wxBrush
*) 0 ;
5843 PyObject
* obj0
= 0 ;
5844 PyObject
* obj1
= 0 ;
5845 char * kwnames
[] = {
5846 (char *) "self",(char *) "style", NULL
5849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5851 if (!SWIG_IsOK(res1
)) {
5852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5854 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5856 if (!SWIG_IsOK(ecode2
)) {
5857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5859 arg2
= static_cast< int >(val2
);
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 (arg1
)->SetStyle(arg2
);
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5866 resultobj
= SWIG_Py_Void();
5873 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
= 0;
5875 wxBrush
*arg1
= (wxBrush
*) 0 ;
5876 wxBitmap
*arg2
= 0 ;
5881 PyObject
* obj0
= 0 ;
5882 PyObject
* obj1
= 0 ;
5883 char * kwnames
[] = {
5884 (char *) "self",(char *) "stipple", NULL
5887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5889 if (!SWIG_IsOK(res1
)) {
5890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5892 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5893 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5894 if (!SWIG_IsOK(res2
)) {
5895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5900 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5904 wxPyEndAllowThreads(__tstate
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5907 resultobj
= SWIG_Py_Void();
5914 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5915 PyObject
*resultobj
= 0;
5916 wxBrush
*arg1
= (wxBrush
*) 0 ;
5920 PyObject
*swig_obj
[1] ;
5922 if (!args
) SWIG_fail
;
5924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5925 if (!SWIG_IsOK(res1
)) {
5926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5928 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 result
= ((wxBrush
const *)arg1
)->GetColour();
5932 wxPyEndAllowThreads(__tstate
);
5933 if (PyErr_Occurred()) SWIG_fail
;
5935 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5942 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5943 PyObject
*resultobj
= 0;
5944 wxBrush
*arg1
= (wxBrush
*) 0 ;
5948 PyObject
*swig_obj
[1] ;
5950 if (!args
) SWIG_fail
;
5952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5953 if (!SWIG_IsOK(res1
)) {
5954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5956 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5959 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5963 resultobj
= SWIG_From_int(static_cast< int >(result
));
5970 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5971 PyObject
*resultobj
= 0;
5972 wxBrush
*arg1
= (wxBrush
*) 0 ;
5973 wxBitmap
*result
= 0 ;
5976 PyObject
*swig_obj
[1] ;
5978 if (!args
) SWIG_fail
;
5980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5981 if (!SWIG_IsOK(res1
)) {
5982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5984 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5987 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5998 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5999 PyObject
*resultobj
= 0;
6000 wxBrush
*arg1
= (wxBrush
*) 0 ;
6004 PyObject
*swig_obj
[1] ;
6006 if (!args
) SWIG_fail
;
6008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6009 if (!SWIG_IsOK(res1
)) {
6010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6012 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6015 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6016 wxPyEndAllowThreads(__tstate
);
6017 if (PyErr_Occurred()) SWIG_fail
;
6020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6028 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6029 PyObject
*resultobj
= 0;
6030 wxBrush
*arg1
= (wxBrush
*) 0 ;
6034 PyObject
*swig_obj
[1] ;
6036 if (!args
) SWIG_fail
;
6038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6039 if (!SWIG_IsOK(res1
)) {
6040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6042 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6045 result
= (bool)(arg1
)->IsOk();
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6058 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6061 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6062 return SWIG_Py_Void();
6065 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6066 return SWIG_Python_InitShadowInstance(args
);
6069 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6070 PyObject
*resultobj
= 0;
6071 wxString
*arg1
= 0 ;
6072 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6073 wxBitmap
*result
= 0 ;
6074 bool temp1
= false ;
6077 PyObject
* obj0
= 0 ;
6078 PyObject
* obj1
= 0 ;
6079 char * kwnames
[] = {
6080 (char *) "name",(char *) "type", NULL
6083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6085 arg1
= wxString_in_helper(obj0
);
6086 if (arg1
== NULL
) SWIG_fail
;
6090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6091 if (!SWIG_IsOK(ecode2
)) {
6092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6094 arg2
= static_cast< wxBitmapType
>(val2
);
6097 if (!wxPyCheckForApp()) SWIG_fail
;
6098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6099 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6100 wxPyEndAllowThreads(__tstate
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6118 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6119 PyObject
*resultobj
= 0;
6120 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6123 PyObject
*swig_obj
[1] ;
6125 if (!args
) SWIG_fail
;
6127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6128 if (!SWIG_IsOK(res1
)) {
6129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6131 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6137 resultobj
= SWIG_Py_Void();
6144 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
= 0;
6148 int arg3
= (int) -1 ;
6149 wxBitmap
*result
= 0 ;
6156 PyObject
* obj0
= 0 ;
6157 PyObject
* obj1
= 0 ;
6158 PyObject
* obj2
= 0 ;
6159 char * kwnames
[] = {
6160 (char *) "width",(char *) "height",(char *) "depth", NULL
6163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6164 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6165 if (!SWIG_IsOK(ecode1
)) {
6166 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6168 arg1
= static_cast< int >(val1
);
6169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6170 if (!SWIG_IsOK(ecode2
)) {
6171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6173 arg2
= static_cast< int >(val2
);
6175 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6176 if (!SWIG_IsOK(ecode3
)) {
6177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6179 arg3
= static_cast< int >(val3
);
6182 if (!wxPyCheckForApp()) SWIG_fail
;
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6185 wxPyEndAllowThreads(__tstate
);
6186 if (PyErr_Occurred()) SWIG_fail
;
6188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6195 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
= 0;
6198 wxBitmap
*result
= 0 ;
6201 PyObject
* obj0
= 0 ;
6202 char * kwnames
[] = {
6203 (char *) "icon", NULL
6206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6207 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6208 if (!SWIG_IsOK(res1
)) {
6209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6214 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6216 if (!wxPyCheckForApp()) SWIG_fail
;
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6229 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
*resultobj
= 0;
6232 int arg2
= (int) -1 ;
6233 wxBitmap
*result
= 0 ;
6238 PyObject
* obj0
= 0 ;
6239 PyObject
* obj1
= 0 ;
6240 char * kwnames
[] = {
6241 (char *) "image",(char *) "depth", NULL
6244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6245 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6246 if (!SWIG_IsOK(res1
)) {
6247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6252 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6255 if (!SWIG_IsOK(ecode2
)) {
6256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6258 arg2
= static_cast< int >(val2
);
6261 if (!wxPyCheckForApp()) SWIG_fail
;
6262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6263 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6274 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6275 PyObject
*resultobj
= 0;
6276 PyObject
*arg1
= (PyObject
*) 0 ;
6277 wxBitmap
*result
= 0 ;
6278 PyObject
* obj0
= 0 ;
6279 char * kwnames
[] = {
6280 (char *) "listOfStrings", NULL
6283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6286 if (!wxPyCheckForApp()) SWIG_fail
;
6287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6299 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
= 0;
6301 PyObject
*arg1
= (PyObject
*) 0 ;
6304 int arg4
= (int) 1 ;
6305 wxBitmap
*result
= 0 ;
6312 PyObject
* obj0
= 0 ;
6313 PyObject
* obj1
= 0 ;
6314 PyObject
* obj2
= 0 ;
6315 PyObject
* obj3
= 0 ;
6316 char * kwnames
[] = {
6317 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6322 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6323 if (!SWIG_IsOK(ecode2
)) {
6324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6326 arg2
= static_cast< int >(val2
);
6327 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6328 if (!SWIG_IsOK(ecode3
)) {
6329 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6331 arg3
= static_cast< int >(val3
);
6333 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6334 if (!SWIG_IsOK(ecode4
)) {
6335 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6337 arg4
= static_cast< int >(val4
);
6340 if (!wxPyCheckForApp()) SWIG_fail
;
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6353 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6354 PyObject
*resultobj
= 0;
6355 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6359 PyObject
*swig_obj
[1] ;
6361 if (!args
) SWIG_fail
;
6363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6364 if (!SWIG_IsOK(res1
)) {
6365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6367 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6369 result
= (bool)(arg1
)->IsOk();
6370 if (PyErr_Occurred()) SWIG_fail
;
6373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6381 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6382 PyObject
*resultobj
= 0;
6383 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6387 PyObject
*swig_obj
[1] ;
6389 if (!args
) SWIG_fail
;
6391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6392 if (!SWIG_IsOK(res1
)) {
6393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6395 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6397 result
= (int)(arg1
)->GetWidth();
6398 if (PyErr_Occurred()) SWIG_fail
;
6400 resultobj
= SWIG_From_int(static_cast< int >(result
));
6407 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6408 PyObject
*resultobj
= 0;
6409 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6413 PyObject
*swig_obj
[1] ;
6415 if (!args
) SWIG_fail
;
6417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6418 if (!SWIG_IsOK(res1
)) {
6419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6421 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6423 result
= (int)(arg1
)->GetHeight();
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= SWIG_From_int(static_cast< int >(result
));
6433 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6434 PyObject
*resultobj
= 0;
6435 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6439 PyObject
*swig_obj
[1] ;
6441 if (!args
) SWIG_fail
;
6443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6444 if (!SWIG_IsOK(res1
)) {
6445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6447 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6449 result
= (int)(arg1
)->GetDepth();
6450 if (PyErr_Occurred()) SWIG_fail
;
6452 resultobj
= SWIG_From_int(static_cast< int >(result
));
6459 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6460 PyObject
*resultobj
= 0;
6461 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6465 PyObject
*swig_obj
[1] ;
6467 if (!args
) SWIG_fail
;
6469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6470 if (!SWIG_IsOK(res1
)) {
6471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6473 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6475 result
= wxBitmap_GetSize(arg1
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6478 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6485 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6486 PyObject
*resultobj
= 0;
6487 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6488 SwigValueWrapper
<wxImage
> result
;
6491 PyObject
*swig_obj
[1] ;
6493 if (!args
) SWIG_fail
;
6495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6496 if (!SWIG_IsOK(res1
)) {
6497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6499 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6501 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6511 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6512 PyObject
*resultobj
= 0;
6513 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6514 wxMask
*result
= 0 ;
6517 PyObject
*swig_obj
[1] ;
6519 if (!args
) SWIG_fail
;
6521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6522 if (!SWIG_IsOK(res1
)) {
6523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6525 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6527 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6528 if (PyErr_Occurred()) SWIG_fail
;
6530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6537 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6538 PyObject
*resultobj
= 0;
6539 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6540 wxMask
*arg2
= (wxMask
*) 0 ;
6544 PyObject
* obj0
= 0 ;
6545 PyObject
* obj1
= 0 ;
6546 char * kwnames
[] = {
6547 (char *) "self",(char *) "mask", NULL
6550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6552 if (!SWIG_IsOK(res1
)) {
6553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6555 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6556 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6557 if (!SWIG_IsOK(res2
)) {
6558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6561 (arg1
)->SetMask(arg2
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6564 resultobj
= SWIG_Py_Void();
6571 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
*resultobj
= 0;
6573 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6574 wxColour
*arg2
= 0 ;
6578 PyObject
* obj0
= 0 ;
6579 PyObject
* obj1
= 0 ;
6580 char * kwnames
[] = {
6581 (char *) "self",(char *) "colour", NULL
6584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6586 if (!SWIG_IsOK(res1
)) {
6587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6589 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6592 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6595 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6598 resultobj
= SWIG_Py_Void();
6605 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
*resultobj
= 0;
6607 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6609 SwigValueWrapper
<wxBitmap
> result
;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6615 char * kwnames
[] = {
6616 (char *) "self",(char *) "rect", NULL
6619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6621 if (!SWIG_IsOK(res1
)) {
6622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6624 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6627 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6630 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6633 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6640 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
= 0;
6642 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6643 wxString
*arg2
= 0 ;
6645 wxPalette
*arg4
= (wxPalette
*) NULL
;
6649 bool temp2
= false ;
6654 PyObject
* obj0
= 0 ;
6655 PyObject
* obj1
= 0 ;
6656 PyObject
* obj2
= 0 ;
6657 PyObject
* obj3
= 0 ;
6658 char * kwnames
[] = {
6659 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6664 if (!SWIG_IsOK(res1
)) {
6665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6667 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6669 arg2
= wxString_in_helper(obj1
);
6670 if (arg2
== NULL
) SWIG_fail
;
6673 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6674 if (!SWIG_IsOK(ecode3
)) {
6675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6677 arg3
= static_cast< wxBitmapType
>(val3
);
6679 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6680 if (!SWIG_IsOK(res4
)) {
6681 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6683 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6686 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6687 if (PyErr_Occurred()) SWIG_fail
;
6690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6706 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
*resultobj
= 0;
6708 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6709 wxString
*arg2
= 0 ;
6714 bool temp2
= false ;
6717 PyObject
* obj0
= 0 ;
6718 PyObject
* obj1
= 0 ;
6719 PyObject
* obj2
= 0 ;
6720 char * kwnames
[] = {
6721 (char *) "self",(char *) "name",(char *) "type", NULL
6724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6726 if (!SWIG_IsOK(res1
)) {
6727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6729 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6731 arg2
= wxString_in_helper(obj1
);
6732 if (arg2
== NULL
) SWIG_fail
;
6735 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6736 if (!SWIG_IsOK(ecode3
)) {
6737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6739 arg3
= static_cast< wxBitmapType
>(val3
);
6741 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6761 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6762 PyObject
*resultobj
= 0;
6763 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6764 wxPalette
*result
= 0 ;
6767 PyObject
*swig_obj
[1] ;
6769 if (!args
) SWIG_fail
;
6771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6772 if (!SWIG_IsOK(res1
)) {
6773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6775 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6777 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6778 if (PyErr_Occurred()) SWIG_fail
;
6780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6787 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6788 PyObject
*resultobj
= 0;
6789 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6796 PyObject
* obj0
= 0 ;
6797 PyObject
* obj1
= 0 ;
6798 char * kwnames
[] = {
6799 (char *) "self",(char *) "icon", NULL
6802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6804 if (!SWIG_IsOK(res1
)) {
6805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6807 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6808 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6809 if (!SWIG_IsOK(res2
)) {
6810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6813 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6815 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6817 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6829 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
*resultobj
= 0;
6831 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6837 PyObject
* obj0
= 0 ;
6838 PyObject
* obj1
= 0 ;
6839 char * kwnames
[] = {
6840 (char *) "self",(char *) "height", NULL
6843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6845 if (!SWIG_IsOK(res1
)) {
6846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6848 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6850 if (!SWIG_IsOK(ecode2
)) {
6851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6853 arg2
= static_cast< int >(val2
);
6855 (arg1
)->SetHeight(arg2
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6858 resultobj
= SWIG_Py_Void();
6865 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6866 PyObject
*resultobj
= 0;
6867 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6873 PyObject
* obj0
= 0 ;
6874 PyObject
* obj1
= 0 ;
6875 char * kwnames
[] = {
6876 (char *) "self",(char *) "width", NULL
6879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6881 if (!SWIG_IsOK(res1
)) {
6882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6884 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6886 if (!SWIG_IsOK(ecode2
)) {
6887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6889 arg2
= static_cast< int >(val2
);
6891 (arg1
)->SetWidth(arg2
);
6892 if (PyErr_Occurred()) SWIG_fail
;
6894 resultobj
= SWIG_Py_Void();
6901 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6902 PyObject
*resultobj
= 0;
6903 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6909 PyObject
* obj0
= 0 ;
6910 PyObject
* obj1
= 0 ;
6911 char * kwnames
[] = {
6912 (char *) "self",(char *) "depth", NULL
6915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6917 if (!SWIG_IsOK(res1
)) {
6918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6920 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6922 if (!SWIG_IsOK(ecode2
)) {
6923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6925 arg2
= static_cast< int >(val2
);
6927 (arg1
)->SetDepth(arg2
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6930 resultobj
= SWIG_Py_Void();
6937 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
*resultobj
= 0;
6939 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6944 PyObject
* obj0
= 0 ;
6945 PyObject
* obj1
= 0 ;
6946 char * kwnames
[] = {
6947 (char *) "self",(char *) "size", NULL
6950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6952 if (!SWIG_IsOK(res1
)) {
6953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6955 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6958 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6961 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6962 if (PyErr_Occurred()) SWIG_fail
;
6964 resultobj
= SWIG_Py_Void();
6971 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6972 PyObject
*resultobj
= 0;
6973 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6979 PyObject
* obj0
= 0 ;
6980 PyObject
* obj1
= 0 ;
6981 char * kwnames
[] = {
6982 (char *) "self",(char *) "data", NULL
6985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6987 if (!SWIG_IsOK(res1
)) {
6988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
6990 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6992 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
6996 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
6997 if (PyErr_Occurred()) SWIG_fail
;
6999 resultobj
= SWIG_Py_Void();
7006 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7007 PyObject
*resultobj
= 0;
7008 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7014 PyObject
* obj0
= 0 ;
7015 PyObject
* obj1
= 0 ;
7016 char * kwnames
[] = {
7017 (char *) "self",(char *) "data", NULL
7020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7022 if (!SWIG_IsOK(res1
)) {
7023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7025 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7027 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7031 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= SWIG_Py_Void();
7041 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
= 0;
7043 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7044 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7050 PyObject
* obj0
= 0 ;
7051 PyObject
* obj1
= 0 ;
7052 char * kwnames
[] = {
7053 (char *) "self",(char *) "other", NULL
7056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7058 if (!SWIG_IsOK(res1
)) {
7059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7061 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7062 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7063 if (!SWIG_IsOK(res2
)) {
7064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7066 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7068 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7069 if (PyErr_Occurred()) SWIG_fail
;
7072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7080 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7081 PyObject
*resultobj
= 0;
7082 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7083 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7089 PyObject
* obj0
= 0 ;
7090 PyObject
* obj1
= 0 ;
7091 char * kwnames
[] = {
7092 (char *) "self",(char *) "other", NULL
7095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7097 if (!SWIG_IsOK(res1
)) {
7098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7100 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7101 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7102 if (!SWIG_IsOK(res2
)) {
7103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7105 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7107 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7119 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7121 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7122 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7123 return SWIG_Py_Void();
7126 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7127 return SWIG_Python_InitShadowInstance(args
);
7130 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
*resultobj
= 0;
7138 wxBitmap
*result
= 0 ;
7145 PyObject
* obj0
= 0 ;
7146 PyObject
* obj1
= 0 ;
7147 PyObject
* obj2
= 0 ;
7148 PyObject
* obj3
= 0 ;
7149 char * kwnames
[] = {
7150 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7154 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7155 if (!SWIG_IsOK(ecode1
)) {
7156 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7158 arg1
= static_cast< int >(val1
);
7159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7160 if (!SWIG_IsOK(ecode2
)) {
7161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7163 arg2
= static_cast< int >(val2
);
7165 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7169 if (obj3
!= Py_None
) {
7170 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7175 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7185 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7186 PyObject
*resultobj
= 0;
7191 wxBitmap
*result
= 0 ;
7197 PyObject
* obj0
= 0 ;
7198 PyObject
* obj1
= 0 ;
7199 PyObject
* obj2
= 0 ;
7200 char * kwnames
[] = {
7201 (char *) "width",(char *) "height",(char *) "data", NULL
7204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7205 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7206 if (!SWIG_IsOK(ecode1
)) {
7207 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7209 arg1
= static_cast< int >(val1
);
7210 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7211 if (!SWIG_IsOK(ecode2
)) {
7212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7214 arg2
= static_cast< int >(val2
);
7216 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7220 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7230 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
*resultobj
= 0;
7236 wxBitmap
*result
= 0 ;
7242 PyObject
* obj0
= 0 ;
7243 PyObject
* obj1
= 0 ;
7244 PyObject
* obj2
= 0 ;
7245 char * kwnames
[] = {
7246 (char *) "width",(char *) "height",(char *) "data", NULL
7249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7250 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7251 if (!SWIG_IsOK(ecode1
)) {
7252 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7254 arg1
= static_cast< int >(val1
);
7255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7256 if (!SWIG_IsOK(ecode2
)) {
7257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7259 arg2
= static_cast< int >(val2
);
7261 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7265 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7275 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7276 PyObject
*resultobj
= 0;
7277 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7281 PyObject
*swig_obj
[1] ;
7283 if (!args
) SWIG_fail
;
7285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7286 if (!SWIG_IsOK(res1
)) {
7287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7289 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7291 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7292 if (PyErr_Occurred()) SWIG_fail
;
7294 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7301 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7302 PyObject
*resultobj
= 0;
7303 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7307 PyObject
*swig_obj
[1] ;
7309 if (!args
) SWIG_fail
;
7311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7312 if (!SWIG_IsOK(res1
)) {
7313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7315 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7317 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7318 if (PyErr_Occurred()) SWIG_fail
;
7320 resultobj
= SWIG_From_int(static_cast< int >(result
));
7327 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7328 PyObject
*resultobj
= 0;
7329 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7333 PyObject
*swig_obj
[1] ;
7335 if (!args
) SWIG_fail
;
7337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7338 if (!SWIG_IsOK(res1
)) {
7339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7341 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7343 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7344 if (PyErr_Occurred()) SWIG_fail
;
7346 resultobj
= SWIG_From_int(static_cast< int >(result
));
7353 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7354 PyObject
*resultobj
= 0;
7355 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7359 PyObject
*swig_obj
[1] ;
7361 if (!args
) SWIG_fail
;
7363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7364 if (!SWIG_IsOK(res1
)) {
7365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7367 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7369 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7379 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7380 PyObject
*resultobj
= 0;
7381 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7385 PyObject
*swig_obj
[1] ;
7387 if (!args
) SWIG_fail
;
7389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7390 if (!SWIG_IsOK(res1
)) {
7391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7393 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7395 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7396 if (PyErr_Occurred()) SWIG_fail
;
7398 resultobj
= SWIG_From_int(static_cast< int >(result
));
7405 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7408 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7409 return SWIG_Py_Void();
7412 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7413 PyObject
*resultobj
= 0;
7414 wxBitmap
*arg1
= 0 ;
7415 wxNativePixelData
*result
= 0 ;
7419 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7421 if (!SWIG_IsOK(res1
)) {
7422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7425 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7427 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7429 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7430 if (PyErr_Occurred()) SWIG_fail
;
7432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7439 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7440 PyObject
*resultobj
= 0;
7441 wxBitmap
*arg1
= 0 ;
7443 wxNativePixelData
*result
= 0 ;
7448 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7450 if (!SWIG_IsOK(res1
)) {
7451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7454 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7456 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7459 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7462 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7472 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7473 PyObject
*resultobj
= 0;
7474 wxBitmap
*arg1
= 0 ;
7477 wxNativePixelData
*result
= 0 ;
7483 if ((nobjs
< 3) || (nobjs
> 3)) 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
);
7494 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7498 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7501 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7502 if (PyErr_Occurred()) SWIG_fail
;
7504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7511 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7515 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7518 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7521 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7524 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7528 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7533 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7534 PyObject
*resultobj
= 0;
7535 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7538 PyObject
*swig_obj
[1] ;
7540 if (!args
) SWIG_fail
;
7542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7543 if (!SWIG_IsOK(res1
)) {
7544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7546 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7552 resultobj
= SWIG_Py_Void();
7559 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7560 PyObject
*resultobj
= 0;
7561 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7562 wxNativePixelData_Accessor result
;
7565 PyObject
*swig_obj
[1] ;
7567 if (!args
) SWIG_fail
;
7569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7570 if (!SWIG_IsOK(res1
)) {
7571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7573 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7575 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7576 if (PyErr_Occurred()) SWIG_fail
;
7578 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7585 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7586 PyObject
*resultobj
= 0;
7587 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7590 PyObject
*swig_obj
[1] ;
7592 if (!args
) SWIG_fail
;
7594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7595 if (!SWIG_IsOK(res1
)) {
7596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7598 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7601 if (PyErr_Occurred()) SWIG_fail
;
7603 resultobj
= SWIG_Py_Void();
7610 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7611 PyObject
*resultobj
= 0;
7612 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7616 PyObject
*swig_obj
[1] ;
7618 if (!args
) SWIG_fail
;
7620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7621 if (!SWIG_IsOK(res1
)) {
7622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7624 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7626 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7638 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7640 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7641 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7642 return SWIG_Py_Void();
7645 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7646 return SWIG_Python_InitShadowInstance(args
);
7649 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7650 PyObject
*resultobj
= 0;
7651 wxNativePixelData
*arg1
= 0 ;
7652 wxNativePixelData_Accessor
*result
= 0 ;
7656 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7658 if (!SWIG_IsOK(res1
)) {
7659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7662 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7664 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7666 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7676 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7677 PyObject
*resultobj
= 0;
7678 wxBitmap
*arg1
= 0 ;
7679 wxNativePixelData
*arg2
= 0 ;
7680 wxNativePixelData_Accessor
*result
= 0 ;
7686 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7688 if (!SWIG_IsOK(res1
)) {
7689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7694 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7695 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7696 if (!SWIG_IsOK(res2
)) {
7697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7700 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7702 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7704 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7705 if (PyErr_Occurred()) SWIG_fail
;
7707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7714 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7715 PyObject
*resultobj
= 0;
7716 wxNativePixelData_Accessor
*result
= 0 ;
7718 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7720 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7721 if (PyErr_Occurred()) SWIG_fail
;
7723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7730 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7734 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7737 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7740 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7743 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7747 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7752 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7753 PyObject
*resultobj
= 0;
7754 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7757 PyObject
*swig_obj
[1] ;
7759 if (!args
) SWIG_fail
;
7761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7762 if (!SWIG_IsOK(res1
)) {
7763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7765 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7771 resultobj
= SWIG_Py_Void();
7778 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
*resultobj
= 0;
7780 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7781 wxNativePixelData
*arg2
= 0 ;
7786 PyObject
* obj0
= 0 ;
7787 PyObject
* obj1
= 0 ;
7788 char * kwnames
[] = {
7789 (char *) "self",(char *) "data", NULL
7792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7794 if (!SWIG_IsOK(res1
)) {
7795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7797 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7798 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7799 if (!SWIG_IsOK(res2
)) {
7800 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7803 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7805 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7807 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7808 if (PyErr_Occurred()) SWIG_fail
;
7810 resultobj
= SWIG_Py_Void();
7817 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7818 PyObject
*resultobj
= 0;
7819 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7823 PyObject
*swig_obj
[1] ;
7825 if (!args
) SWIG_fail
;
7827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7828 if (!SWIG_IsOK(res1
)) {
7829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7831 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7833 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7834 if (PyErr_Occurred()) SWIG_fail
;
7837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7845 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7846 PyObject
*resultobj
= 0;
7847 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7850 PyObject
*swig_obj
[1] ;
7852 if (!args
) SWIG_fail
;
7854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7855 if (!SWIG_IsOK(res1
)) {
7856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7858 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7860 wxNativePixelData_Accessor_nextPixel(arg1
);
7861 if (PyErr_Occurred()) SWIG_fail
;
7863 resultobj
= SWIG_Py_Void();
7870 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
*resultobj
= 0;
7872 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7873 wxNativePixelData
*arg2
= 0 ;
7884 PyObject
* obj0
= 0 ;
7885 PyObject
* obj1
= 0 ;
7886 PyObject
* obj2
= 0 ;
7887 PyObject
* obj3
= 0 ;
7888 char * kwnames
[] = {
7889 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7894 if (!SWIG_IsOK(res1
)) {
7895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7897 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7898 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7899 if (!SWIG_IsOK(res2
)) {
7900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7905 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7906 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7907 if (!SWIG_IsOK(ecode3
)) {
7908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7910 arg3
= static_cast< int >(val3
);
7911 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7912 if (!SWIG_IsOK(ecode4
)) {
7913 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7915 arg4
= static_cast< int >(val4
);
7917 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7918 if (PyErr_Occurred()) SWIG_fail
;
7920 resultobj
= SWIG_Py_Void();
7927 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
= 0;
7929 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7930 wxNativePixelData
*arg2
= 0 ;
7938 PyObject
* obj0
= 0 ;
7939 PyObject
* obj1
= 0 ;
7940 PyObject
* obj2
= 0 ;
7941 char * kwnames
[] = {
7942 (char *) "self",(char *) "data",(char *) "x", NULL
7945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7947 if (!SWIG_IsOK(res1
)) {
7948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7950 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7951 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7952 if (!SWIG_IsOK(res2
)) {
7953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7958 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7960 if (!SWIG_IsOK(ecode3
)) {
7961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7963 arg3
= static_cast< int >(val3
);
7965 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7968 resultobj
= SWIG_Py_Void();
7975 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7976 PyObject
*resultobj
= 0;
7977 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7978 wxNativePixelData
*arg2
= 0 ;
7986 PyObject
* obj0
= 0 ;
7987 PyObject
* obj1
= 0 ;
7988 PyObject
* obj2
= 0 ;
7989 char * kwnames
[] = {
7990 (char *) "self",(char *) "data",(char *) "y", NULL
7993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7995 if (!SWIG_IsOK(res1
)) {
7996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7998 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7999 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8000 if (!SWIG_IsOK(res2
)) {
8001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8006 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8007 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8008 if (!SWIG_IsOK(ecode3
)) {
8009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8011 arg3
= static_cast< int >(val3
);
8013 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8016 resultobj
= SWIG_Py_Void();
8023 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8024 PyObject
*resultobj
= 0;
8025 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8026 wxNativePixelData
*arg2
= 0 ;
8037 PyObject
* obj0
= 0 ;
8038 PyObject
* obj1
= 0 ;
8039 PyObject
* obj2
= 0 ;
8040 PyObject
* obj3
= 0 ;
8041 char * kwnames
[] = {
8042 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8047 if (!SWIG_IsOK(res1
)) {
8048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8050 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8051 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8052 if (!SWIG_IsOK(res2
)) {
8053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8056 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8058 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8059 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8060 if (!SWIG_IsOK(ecode3
)) {
8061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8063 arg3
= static_cast< int >(val3
);
8064 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8065 if (!SWIG_IsOK(ecode4
)) {
8066 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8068 arg4
= static_cast< int >(val4
);
8070 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8073 resultobj
= SWIG_Py_Void();
8080 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
*resultobj
= 0;
8082 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8088 unsigned char val2
;
8090 unsigned char val3
;
8092 unsigned char val4
;
8094 PyObject
* obj0
= 0 ;
8095 PyObject
* obj1
= 0 ;
8096 PyObject
* obj2
= 0 ;
8097 PyObject
* obj3
= 0 ;
8098 char * kwnames
[] = {
8099 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8104 if (!SWIG_IsOK(res1
)) {
8105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8107 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8108 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8109 if (!SWIG_IsOK(ecode2
)) {
8110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8112 arg2
= static_cast< byte
>(val2
);
8113 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8114 if (!SWIG_IsOK(ecode3
)) {
8115 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8117 arg3
= static_cast< byte
>(val3
);
8118 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8119 if (!SWIG_IsOK(ecode4
)) {
8120 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8122 arg4
= static_cast< byte
>(val4
);
8124 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8127 resultobj
= SWIG_Py_Void();
8134 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8135 PyObject
*resultobj
= 0;
8136 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8137 PyObject
*result
= 0 ;
8140 PyObject
*swig_obj
[1] ;
8142 if (!args
) SWIG_fail
;
8144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8145 if (!SWIG_IsOK(res1
)) {
8146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8148 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8150 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8151 if (PyErr_Occurred()) SWIG_fail
;
8160 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8162 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8163 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8164 return SWIG_Py_Void();
8167 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8168 return SWIG_Python_InitShadowInstance(args
);
8171 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8172 PyObject
*resultobj
= 0;
8173 wxBitmap
*arg1
= 0 ;
8174 wxAlphaPixelData
*result
= 0 ;
8178 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8180 if (!SWIG_IsOK(res1
)) {
8181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8184 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8186 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8188 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8198 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8199 PyObject
*resultobj
= 0;
8200 wxBitmap
*arg1
= 0 ;
8202 wxAlphaPixelData
*result
= 0 ;
8207 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8209 if (!SWIG_IsOK(res1
)) {
8210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8215 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8218 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8221 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8231 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8232 PyObject
*resultobj
= 0;
8233 wxBitmap
*arg1
= 0 ;
8236 wxAlphaPixelData
*result
= 0 ;
8242 if ((nobjs
< 3) || (nobjs
> 3)) 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
);
8253 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8257 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8260 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8261 if (PyErr_Occurred()) SWIG_fail
;
8263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8270 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8274 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8277 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8280 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8283 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8287 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8292 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8293 PyObject
*resultobj
= 0;
8294 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8297 PyObject
*swig_obj
[1] ;
8299 if (!args
) SWIG_fail
;
8301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8302 if (!SWIG_IsOK(res1
)) {
8303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8305 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8311 resultobj
= SWIG_Py_Void();
8318 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8319 PyObject
*resultobj
= 0;
8320 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8321 wxAlphaPixelData_Accessor result
;
8324 PyObject
*swig_obj
[1] ;
8326 if (!args
) SWIG_fail
;
8328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8329 if (!SWIG_IsOK(res1
)) {
8330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8332 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8334 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8335 if (PyErr_Occurred()) SWIG_fail
;
8337 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8344 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8345 PyObject
*resultobj
= 0;
8346 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8349 PyObject
*swig_obj
[1] ;
8351 if (!args
) SWIG_fail
;
8353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8354 if (!SWIG_IsOK(res1
)) {
8355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8357 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8360 if (PyErr_Occurred()) SWIG_fail
;
8362 resultobj
= SWIG_Py_Void();
8369 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8370 PyObject
*resultobj
= 0;
8371 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8375 PyObject
*swig_obj
[1] ;
8377 if (!args
) SWIG_fail
;
8379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8380 if (!SWIG_IsOK(res1
)) {
8381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8383 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8385 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8397 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8399 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8400 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8401 return SWIG_Py_Void();
8404 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8405 return SWIG_Python_InitShadowInstance(args
);
8408 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8409 PyObject
*resultobj
= 0;
8410 wxAlphaPixelData
*arg1
= 0 ;
8411 wxAlphaPixelData_Accessor
*result
= 0 ;
8415 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8417 if (!SWIG_IsOK(res1
)) {
8418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8423 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8425 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8435 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8436 PyObject
*resultobj
= 0;
8437 wxBitmap
*arg1
= 0 ;
8438 wxAlphaPixelData
*arg2
= 0 ;
8439 wxAlphaPixelData_Accessor
*result
= 0 ;
8445 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8447 if (!SWIG_IsOK(res1
)) {
8448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8453 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8454 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8455 if (!SWIG_IsOK(res2
)) {
8456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8459 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8461 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8463 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8464 if (PyErr_Occurred()) SWIG_fail
;
8466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8473 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8474 PyObject
*resultobj
= 0;
8475 wxAlphaPixelData_Accessor
*result
= 0 ;
8477 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8479 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8480 if (PyErr_Occurred()) SWIG_fail
;
8482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8489 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8493 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8496 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8499 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8502 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8506 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8511 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8512 PyObject
*resultobj
= 0;
8513 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8516 PyObject
*swig_obj
[1] ;
8518 if (!args
) SWIG_fail
;
8520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8521 if (!SWIG_IsOK(res1
)) {
8522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8524 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8530 resultobj
= SWIG_Py_Void();
8537 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8538 PyObject
*resultobj
= 0;
8539 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8540 wxAlphaPixelData
*arg2
= 0 ;
8545 PyObject
* obj0
= 0 ;
8546 PyObject
* obj1
= 0 ;
8547 char * kwnames
[] = {
8548 (char *) "self",(char *) "data", NULL
8551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8553 if (!SWIG_IsOK(res1
)) {
8554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8556 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8557 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8558 if (!SWIG_IsOK(res2
)) {
8559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8564 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8566 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8569 resultobj
= SWIG_Py_Void();
8576 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8577 PyObject
*resultobj
= 0;
8578 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8582 PyObject
*swig_obj
[1] ;
8584 if (!args
) SWIG_fail
;
8586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8587 if (!SWIG_IsOK(res1
)) {
8588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8590 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8592 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8593 if (PyErr_Occurred()) SWIG_fail
;
8596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8604 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8605 PyObject
*resultobj
= 0;
8606 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8609 PyObject
*swig_obj
[1] ;
8611 if (!args
) SWIG_fail
;
8613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8614 if (!SWIG_IsOK(res1
)) {
8615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8617 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8619 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8622 resultobj
= SWIG_Py_Void();
8629 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8630 PyObject
*resultobj
= 0;
8631 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8632 wxAlphaPixelData
*arg2
= 0 ;
8643 PyObject
* obj0
= 0 ;
8644 PyObject
* obj1
= 0 ;
8645 PyObject
* obj2
= 0 ;
8646 PyObject
* obj3
= 0 ;
8647 char * kwnames
[] = {
8648 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8653 if (!SWIG_IsOK(res1
)) {
8654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8656 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8657 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8658 if (!SWIG_IsOK(res2
)) {
8659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8662 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8664 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8665 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8666 if (!SWIG_IsOK(ecode3
)) {
8667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8669 arg3
= static_cast< int >(val3
);
8670 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8671 if (!SWIG_IsOK(ecode4
)) {
8672 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8674 arg4
= static_cast< int >(val4
);
8676 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8679 resultobj
= SWIG_Py_Void();
8686 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8687 PyObject
*resultobj
= 0;
8688 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8689 wxAlphaPixelData
*arg2
= 0 ;
8697 PyObject
* obj0
= 0 ;
8698 PyObject
* obj1
= 0 ;
8699 PyObject
* obj2
= 0 ;
8700 char * kwnames
[] = {
8701 (char *) "self",(char *) "data",(char *) "x", NULL
8704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8706 if (!SWIG_IsOK(res1
)) {
8707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8709 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8710 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8711 if (!SWIG_IsOK(res2
)) {
8712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8717 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8718 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8719 if (!SWIG_IsOK(ecode3
)) {
8720 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8722 arg3
= static_cast< int >(val3
);
8724 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8727 resultobj
= SWIG_Py_Void();
8734 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
*resultobj
= 0;
8736 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8737 wxAlphaPixelData
*arg2
= 0 ;
8745 PyObject
* obj0
= 0 ;
8746 PyObject
* obj1
= 0 ;
8747 PyObject
* obj2
= 0 ;
8748 char * kwnames
[] = {
8749 (char *) "self",(char *) "data",(char *) "y", NULL
8752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8754 if (!SWIG_IsOK(res1
)) {
8755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8757 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8758 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8759 if (!SWIG_IsOK(res2
)) {
8760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8765 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8766 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8767 if (!SWIG_IsOK(ecode3
)) {
8768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8770 arg3
= static_cast< int >(val3
);
8772 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 resultobj
= SWIG_Py_Void();
8782 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
= 0;
8784 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8785 wxAlphaPixelData
*arg2
= 0 ;
8796 PyObject
* obj0
= 0 ;
8797 PyObject
* obj1
= 0 ;
8798 PyObject
* obj2
= 0 ;
8799 PyObject
* obj3
= 0 ;
8800 char * kwnames
[] = {
8801 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8806 if (!SWIG_IsOK(res1
)) {
8807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8809 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8810 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8811 if (!SWIG_IsOK(res2
)) {
8812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8817 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8818 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8819 if (!SWIG_IsOK(ecode3
)) {
8820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8822 arg3
= static_cast< int >(val3
);
8823 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8824 if (!SWIG_IsOK(ecode4
)) {
8825 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8827 arg4
= static_cast< int >(val4
);
8829 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8832 resultobj
= SWIG_Py_Void();
8839 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
*resultobj
= 0;
8841 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8848 unsigned char val2
;
8850 unsigned char val3
;
8852 unsigned char val4
;
8854 unsigned char val5
;
8856 PyObject
* obj0
= 0 ;
8857 PyObject
* obj1
= 0 ;
8858 PyObject
* obj2
= 0 ;
8859 PyObject
* obj3
= 0 ;
8860 PyObject
* obj4
= 0 ;
8861 char * kwnames
[] = {
8862 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8867 if (!SWIG_IsOK(res1
)) {
8868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8870 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8871 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8872 if (!SWIG_IsOK(ecode2
)) {
8873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8875 arg2
= static_cast< byte
>(val2
);
8876 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8877 if (!SWIG_IsOK(ecode3
)) {
8878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8880 arg3
= static_cast< byte
>(val3
);
8881 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8882 if (!SWIG_IsOK(ecode4
)) {
8883 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8885 arg4
= static_cast< byte
>(val4
);
8886 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8887 if (!SWIG_IsOK(ecode5
)) {
8888 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8890 arg5
= static_cast< byte
>(val5
);
8892 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8895 resultobj
= SWIG_Py_Void();
8902 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8903 PyObject
*resultobj
= 0;
8904 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8905 PyObject
*result
= 0 ;
8908 PyObject
*swig_obj
[1] ;
8910 if (!args
) SWIG_fail
;
8912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8913 if (!SWIG_IsOK(res1
)) {
8914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8916 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8918 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8928 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8930 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8931 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8932 return SWIG_Py_Void();
8935 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8936 return SWIG_Python_InitShadowInstance(args
);
8939 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8940 PyObject
*resultobj
= 0;
8941 wxBitmap
*arg1
= 0 ;
8942 wxColour
const &arg2_defvalue
= wxNullColour
;
8943 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8944 wxMask
*result
= 0 ;
8948 PyObject
* obj0
= 0 ;
8949 PyObject
* obj1
= 0 ;
8950 char * kwnames
[] = {
8951 (char *) "bitmap",(char *) "colour", NULL
8954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8955 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8956 if (!SWIG_IsOK(res1
)) {
8957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8960 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8962 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8966 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8970 if (!wxPyCheckForApp()) SWIG_fail
;
8971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8972 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8973 wxPyEndAllowThreads(__tstate
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8983 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8984 PyObject
*resultobj
= 0;
8985 wxMask
*arg1
= (wxMask
*) 0 ;
8988 PyObject
*swig_obj
[1] ;
8990 if (!args
) SWIG_fail
;
8992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8993 if (!SWIG_IsOK(res1
)) {
8994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8996 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9000 if (PyErr_Occurred()) SWIG_fail
;
9002 resultobj
= SWIG_Py_Void();
9009 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9011 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9012 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9013 return SWIG_Py_Void();
9016 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9017 return SWIG_Python_InitShadowInstance(args
);
9020 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9021 PyObject
*resultobj
= 0;
9022 wxString
*arg1
= 0 ;
9024 int arg3
= (int) -1 ;
9025 int arg4
= (int) -1 ;
9026 wxIcon
*result
= 0 ;
9027 bool temp1
= false ;
9034 PyObject
* obj0
= 0 ;
9035 PyObject
* obj1
= 0 ;
9036 PyObject
* obj2
= 0 ;
9037 PyObject
* obj3
= 0 ;
9038 char * kwnames
[] = {
9039 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9044 arg1
= wxString_in_helper(obj0
);
9045 if (arg1
== NULL
) SWIG_fail
;
9048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9049 if (!SWIG_IsOK(ecode2
)) {
9050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9052 arg2
= static_cast< wxBitmapType
>(val2
);
9054 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9055 if (!SWIG_IsOK(ecode3
)) {
9056 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9058 arg3
= static_cast< int >(val3
);
9061 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9062 if (!SWIG_IsOK(ecode4
)) {
9063 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9065 arg4
= static_cast< int >(val4
);
9068 if (!wxPyCheckForApp()) SWIG_fail
;
9069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9070 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9089 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9090 PyObject
*resultobj
= 0;
9091 wxIcon
*arg1
= (wxIcon
*) 0 ;
9094 PyObject
*swig_obj
[1] ;
9096 if (!args
) SWIG_fail
;
9098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9099 if (!SWIG_IsOK(res1
)) {
9100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9102 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9107 wxPyEndAllowThreads(__tstate
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9110 resultobj
= SWIG_Py_Void();
9117 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9118 PyObject
*resultobj
= 0;
9119 wxIcon
*result
= 0 ;
9121 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9123 if (!wxPyCheckForApp()) SWIG_fail
;
9124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9125 result
= (wxIcon
*)new wxIcon();
9126 wxPyEndAllowThreads(__tstate
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9136 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9137 PyObject
*resultobj
= 0;
9138 wxIconLocation
*arg1
= 0 ;
9139 wxIcon
*result
= 0 ;
9142 PyObject
* obj0
= 0 ;
9143 char * kwnames
[] = {
9144 (char *) "loc", NULL
9147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9148 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9149 if (!SWIG_IsOK(res1
)) {
9150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9155 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9157 if (!wxPyCheckForApp()) SWIG_fail
;
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9170 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
*resultobj
= 0;
9172 wxBitmap
*arg1
= 0 ;
9173 wxIcon
*result
= 0 ;
9176 PyObject
* obj0
= 0 ;
9177 char * kwnames
[] = {
9178 (char *) "bmp", NULL
9181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9182 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9183 if (!SWIG_IsOK(res1
)) {
9184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9187 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9189 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9191 if (!wxPyCheckForApp()) SWIG_fail
;
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9193 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9204 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9205 PyObject
*resultobj
= 0;
9206 PyObject
*arg1
= (PyObject
*) 0 ;
9207 wxIcon
*result
= 0 ;
9208 PyObject
* obj0
= 0 ;
9209 char * kwnames
[] = {
9210 (char *) "listOfStrings", NULL
9213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9216 if (!wxPyCheckForApp()) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 result
= (wxIcon
*)new_wxIcon(arg1
);
9219 wxPyEndAllowThreads(__tstate
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9229 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
*resultobj
= 0;
9231 wxIcon
*arg1
= (wxIcon
*) 0 ;
9232 wxString
*arg2
= 0 ;
9237 bool temp2
= false ;
9240 PyObject
* obj0
= 0 ;
9241 PyObject
* obj1
= 0 ;
9242 PyObject
* obj2
= 0 ;
9243 char * kwnames
[] = {
9244 (char *) "self",(char *) "name",(char *) "type", NULL
9247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9249 if (!SWIG_IsOK(res1
)) {
9250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9252 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9254 arg2
= wxString_in_helper(obj1
);
9255 if (arg2
== NULL
) SWIG_fail
;
9258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9259 if (!SWIG_IsOK(ecode3
)) {
9260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9262 arg3
= static_cast< wxBitmapType
>(val3
);
9264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9265 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9266 wxPyEndAllowThreads(__tstate
);
9267 if (PyErr_Occurred()) SWIG_fail
;
9270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9286 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9287 PyObject
*resultobj
= 0;
9288 wxIcon
*arg1
= (wxIcon
*) 0 ;
9292 PyObject
*swig_obj
[1] ;
9294 if (!args
) SWIG_fail
;
9296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9297 if (!SWIG_IsOK(res1
)) {
9298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9300 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 result
= (bool)(arg1
)->IsOk();
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9316 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9317 PyObject
*resultobj
= 0;
9318 wxIcon
*arg1
= (wxIcon
*) 0 ;
9322 PyObject
*swig_obj
[1] ;
9324 if (!args
) SWIG_fail
;
9326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9327 if (!SWIG_IsOK(res1
)) {
9328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9330 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9333 result
= (int)(arg1
)->GetWidth();
9334 wxPyEndAllowThreads(__tstate
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9337 resultobj
= SWIG_From_int(static_cast< int >(result
));
9344 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9345 PyObject
*resultobj
= 0;
9346 wxIcon
*arg1
= (wxIcon
*) 0 ;
9350 PyObject
*swig_obj
[1] ;
9352 if (!args
) SWIG_fail
;
9354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9355 if (!SWIG_IsOK(res1
)) {
9356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9358 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 result
= (int)(arg1
)->GetHeight();
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= SWIG_From_int(static_cast< int >(result
));
9372 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9373 PyObject
*resultobj
= 0;
9374 wxIcon
*arg1
= (wxIcon
*) 0 ;
9378 PyObject
*swig_obj
[1] ;
9380 if (!args
) SWIG_fail
;
9382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9383 if (!SWIG_IsOK(res1
)) {
9384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9386 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9389 result
= (int)(arg1
)->GetDepth();
9390 wxPyEndAllowThreads(__tstate
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9393 resultobj
= SWIG_From_int(static_cast< int >(result
));
9400 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
*resultobj
= 0;
9402 wxIcon
*arg1
= (wxIcon
*) 0 ;
9408 PyObject
* obj0
= 0 ;
9409 PyObject
* obj1
= 0 ;
9410 char * kwnames
[] = {
9411 (char *) "self",(char *) "w", NULL
9414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9416 if (!SWIG_IsOK(res1
)) {
9417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9419 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9421 if (!SWIG_IsOK(ecode2
)) {
9422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9424 arg2
= static_cast< int >(val2
);
9426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9427 (arg1
)->SetWidth(arg2
);
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= SWIG_Py_Void();
9438 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
= 0;
9440 wxIcon
*arg1
= (wxIcon
*) 0 ;
9446 PyObject
* obj0
= 0 ;
9447 PyObject
* obj1
= 0 ;
9448 char * kwnames
[] = {
9449 (char *) "self",(char *) "h", NULL
9452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9454 if (!SWIG_IsOK(res1
)) {
9455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9457 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9459 if (!SWIG_IsOK(ecode2
)) {
9460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9462 arg2
= static_cast< int >(val2
);
9464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9465 (arg1
)->SetHeight(arg2
);
9466 wxPyEndAllowThreads(__tstate
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9469 resultobj
= SWIG_Py_Void();
9476 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9477 PyObject
*resultobj
= 0;
9478 wxIcon
*arg1
= (wxIcon
*) 0 ;
9484 PyObject
* obj0
= 0 ;
9485 PyObject
* obj1
= 0 ;
9486 char * kwnames
[] = {
9487 (char *) "self",(char *) "d", NULL
9490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9492 if (!SWIG_IsOK(res1
)) {
9493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9495 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9497 if (!SWIG_IsOK(ecode2
)) {
9498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9500 arg2
= static_cast< int >(val2
);
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9503 (arg1
)->SetDepth(arg2
);
9504 wxPyEndAllowThreads(__tstate
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9507 resultobj
= SWIG_Py_Void();
9514 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9515 PyObject
*resultobj
= 0;
9516 wxIcon
*arg1
= (wxIcon
*) 0 ;
9517 wxBitmap
*arg2
= 0 ;
9522 PyObject
* obj0
= 0 ;
9523 PyObject
* obj1
= 0 ;
9524 char * kwnames
[] = {
9525 (char *) "self",(char *) "bmp", NULL
9528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9530 if (!SWIG_IsOK(res1
)) {
9531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9533 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9534 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9535 if (!SWIG_IsOK(res2
)) {
9536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9541 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9544 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9545 wxPyEndAllowThreads(__tstate
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9548 resultobj
= SWIG_Py_Void();
9555 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9557 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9558 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9559 return SWIG_Py_Void();
9562 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9563 return SWIG_Python_InitShadowInstance(args
);
9566 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
*resultobj
= 0;
9568 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9569 int arg2
= (int) 0 ;
9570 wxIconLocation
*result
= 0 ;
9571 bool temp1
= false ;
9574 PyObject
* obj0
= 0 ;
9575 PyObject
* obj1
= 0 ;
9576 char * kwnames
[] = {
9577 (char *) "filename",(char *) "num", NULL
9580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9583 arg1
= wxString_in_helper(obj0
);
9584 if (arg1
== NULL
) SWIG_fail
;
9589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9590 if (!SWIG_IsOK(ecode2
)) {
9591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9593 arg2
= static_cast< int >(val2
);
9596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9597 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9598 wxPyEndAllowThreads(__tstate
);
9599 if (PyErr_Occurred()) SWIG_fail
;
9601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9616 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9617 PyObject
*resultobj
= 0;
9618 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9621 PyObject
*swig_obj
[1] ;
9623 if (!args
) SWIG_fail
;
9625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9626 if (!SWIG_IsOK(res1
)) {
9627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9629 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9637 resultobj
= SWIG_Py_Void();
9644 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9645 PyObject
*resultobj
= 0;
9646 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9650 PyObject
*swig_obj
[1] ;
9652 if (!args
) SWIG_fail
;
9654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9655 if (!SWIG_IsOK(res1
)) {
9656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9658 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9661 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9662 wxPyEndAllowThreads(__tstate
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9674 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9675 PyObject
*resultobj
= 0;
9676 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9677 wxString
*arg2
= 0 ;
9680 bool temp2
= false ;
9681 PyObject
* obj0
= 0 ;
9682 PyObject
* obj1
= 0 ;
9683 char * kwnames
[] = {
9684 (char *) "self",(char *) "filename", NULL
9687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9689 if (!SWIG_IsOK(res1
)) {
9690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9692 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9694 arg2
= wxString_in_helper(obj1
);
9695 if (arg2
== NULL
) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 (arg1
)->SetFileName((wxString
const &)*arg2
);
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 resultobj
= SWIG_Py_Void();
9719 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9720 PyObject
*resultobj
= 0;
9721 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9722 wxString
*result
= 0 ;
9725 PyObject
*swig_obj
[1] ;
9727 if (!args
) SWIG_fail
;
9729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9730 if (!SWIG_IsOK(res1
)) {
9731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9733 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9738 result
= (wxString
*) &_result_ref
;
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9745 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9747 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9756 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9757 PyObject
*resultobj
= 0;
9758 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9764 PyObject
* obj0
= 0 ;
9765 PyObject
* obj1
= 0 ;
9766 char * kwnames
[] = {
9767 (char *) "self",(char *) "num", NULL
9770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9772 if (!SWIG_IsOK(res1
)) {
9773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9775 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9777 if (!SWIG_IsOK(ecode2
)) {
9778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9780 arg2
= static_cast< int >(val2
);
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 wxIconLocation_SetIndex(arg1
,arg2
);
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9787 resultobj
= SWIG_Py_Void();
9794 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9795 PyObject
*resultobj
= 0;
9796 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9800 PyObject
*swig_obj
[1] ;
9802 if (!args
) SWIG_fail
;
9804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9805 if (!SWIG_IsOK(res1
)) {
9806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9808 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 result
= (int)wxIconLocation_GetIndex(arg1
);
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) SWIG_fail
;
9815 resultobj
= SWIG_From_int(static_cast< int >(result
));
9822 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9824 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9825 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9826 return SWIG_Py_Void();
9829 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9830 return SWIG_Python_InitShadowInstance(args
);
9833 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9834 PyObject
*resultobj
= 0;
9835 wxIconBundle
*result
= 0 ;
9837 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9840 result
= (wxIconBundle
*)new wxIconBundle();
9841 wxPyEndAllowThreads(__tstate
);
9842 if (PyErr_Occurred()) SWIG_fail
;
9844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9851 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9852 PyObject
*resultobj
= 0;
9853 wxString
*arg1
= 0 ;
9855 wxIconBundle
*result
= 0 ;
9856 bool temp1
= false ;
9859 PyObject
* obj0
= 0 ;
9860 PyObject
* obj1
= 0 ;
9861 char * kwnames
[] = {
9862 (char *) "file",(char *) "type", NULL
9865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9867 arg1
= wxString_in_helper(obj0
);
9868 if (arg1
== NULL
) SWIG_fail
;
9871 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9872 if (!SWIG_IsOK(ecode2
)) {
9873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9875 arg2
= static_cast< long >(val2
);
9877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9878 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9897 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
*resultobj
= 0;
9900 wxIconBundle
*result
= 0 ;
9903 PyObject
* obj0
= 0 ;
9904 char * kwnames
[] = {
9905 (char *) "icon", NULL
9908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9909 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9910 if (!SWIG_IsOK(res1
)) {
9911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9916 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9919 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9930 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9931 PyObject
*resultobj
= 0;
9932 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9935 PyObject
*swig_obj
[1] ;
9937 if (!args
) SWIG_fail
;
9939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9940 if (!SWIG_IsOK(res1
)) {
9941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9943 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9951 resultobj
= SWIG_Py_Void();
9958 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
*resultobj
= 0;
9960 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9966 PyObject
* obj0
= 0 ;
9967 PyObject
* obj1
= 0 ;
9968 char * kwnames
[] = {
9969 (char *) "self",(char *) "icon", NULL
9972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9974 if (!SWIG_IsOK(res1
)) {
9975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9977 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9978 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9979 if (!SWIG_IsOK(res2
)) {
9980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9985 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9988 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9989 wxPyEndAllowThreads(__tstate
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9992 resultobj
= SWIG_Py_Void();
9999 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
*resultobj
= 0;
10001 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10002 wxString
*arg2
= 0 ;
10006 bool temp2
= false ;
10009 PyObject
* obj0
= 0 ;
10010 PyObject
* obj1
= 0 ;
10011 PyObject
* obj2
= 0 ;
10012 char * kwnames
[] = {
10013 (char *) "self",(char *) "file",(char *) "type", NULL
10016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10018 if (!SWIG_IsOK(res1
)) {
10019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10021 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10023 arg2
= wxString_in_helper(obj1
);
10024 if (arg2
== NULL
) SWIG_fail
;
10027 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10028 if (!SWIG_IsOK(ecode3
)) {
10029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10031 arg3
= static_cast< long >(val3
);
10033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10034 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10035 wxPyEndAllowThreads(__tstate
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10038 resultobj
= SWIG_Py_Void();
10053 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10054 PyObject
*resultobj
= 0;
10055 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10057 wxIcon
*result
= 0 ;
10061 PyObject
* obj0
= 0 ;
10062 PyObject
* obj1
= 0 ;
10063 char * kwnames
[] = {
10064 (char *) "self",(char *) "size", NULL
10067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10069 if (!SWIG_IsOK(res1
)) {
10070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10072 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10075 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10080 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10081 result
= (wxIcon
*) &_result_ref
;
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10087 wxIcon
* resultptr
= new wxIcon(*result
);
10088 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10096 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10098 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10099 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10100 return SWIG_Py_Void();
10103 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10104 return SWIG_Python_InitShadowInstance(args
);
10107 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10108 PyObject
*resultobj
= 0;
10109 wxString
*arg1
= 0 ;
10111 int arg3
= (int) 0 ;
10112 int arg4
= (int) 0 ;
10113 wxCursor
*result
= 0 ;
10114 bool temp1
= false ;
10121 PyObject
* obj0
= 0 ;
10122 PyObject
* obj1
= 0 ;
10123 PyObject
* obj2
= 0 ;
10124 PyObject
* obj3
= 0 ;
10125 char * kwnames
[] = {
10126 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10131 arg1
= wxString_in_helper(obj0
);
10132 if (arg1
== NULL
) SWIG_fail
;
10135 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10136 if (!SWIG_IsOK(ecode2
)) {
10137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10139 arg2
= static_cast< long >(val2
);
10141 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10142 if (!SWIG_IsOK(ecode3
)) {
10143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10145 arg3
= static_cast< int >(val3
);
10148 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10149 if (!SWIG_IsOK(ecode4
)) {
10150 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10152 arg4
= static_cast< int >(val4
);
10155 if (!wxPyCheckForApp()) SWIG_fail
;
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10176 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10177 PyObject
*resultobj
= 0;
10178 wxCursor
*arg1
= (wxCursor
*) 0 ;
10181 PyObject
*swig_obj
[1] ;
10183 if (!args
) SWIG_fail
;
10184 swig_obj
[0] = args
;
10185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10186 if (!SWIG_IsOK(res1
)) {
10187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10189 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10197 resultobj
= SWIG_Py_Void();
10204 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
= 0;
10207 wxCursor
*result
= 0 ;
10210 PyObject
* obj0
= 0 ;
10211 char * kwnames
[] = {
10212 (char *) "id", NULL
10215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10216 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10217 if (!SWIG_IsOK(ecode1
)) {
10218 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10220 arg1
= static_cast< int >(val1
);
10222 if (!wxPyCheckForApp()) SWIG_fail
;
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 result
= (wxCursor
*)new wxCursor(arg1
);
10225 wxPyEndAllowThreads(__tstate
);
10226 if (PyErr_Occurred()) SWIG_fail
;
10228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10235 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10236 PyObject
*resultobj
= 0;
10237 wxImage
*arg1
= 0 ;
10238 wxCursor
*result
= 0 ;
10241 PyObject
* obj0
= 0 ;
10242 char * kwnames
[] = {
10243 (char *) "image", NULL
10246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10247 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10248 if (!SWIG_IsOK(res1
)) {
10249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10254 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10256 if (!wxPyCheckForApp()) SWIG_fail
;
10257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10258 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10269 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10270 PyObject
*resultobj
= 0;
10271 wxCursor
*arg1
= (wxCursor
*) 0 ;
10275 PyObject
*swig_obj
[1] ;
10277 if (!args
) SWIG_fail
;
10278 swig_obj
[0] = args
;
10279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10280 if (!SWIG_IsOK(res1
)) {
10281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10283 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10286 result
= (bool)(arg1
)->IsOk();
10287 wxPyEndAllowThreads(__tstate
);
10288 if (PyErr_Occurred()) SWIG_fail
;
10291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10299 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10301 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10302 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10303 return SWIG_Py_Void();
10306 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10307 return SWIG_Python_InitShadowInstance(args
);
10310 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10311 PyObject
*resultobj
= 0;
10312 int arg1
= (int) 0 ;
10313 int arg2
= (int) 0 ;
10314 int arg3
= (int) 0 ;
10315 int arg4
= (int) 0 ;
10316 wxRegion
*result
= 0 ;
10325 PyObject
* obj0
= 0 ;
10326 PyObject
* obj1
= 0 ;
10327 PyObject
* obj2
= 0 ;
10328 PyObject
* obj3
= 0 ;
10329 char * kwnames
[] = {
10330 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10335 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10336 if (!SWIG_IsOK(ecode1
)) {
10337 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10339 arg1
= static_cast< int >(val1
);
10342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10343 if (!SWIG_IsOK(ecode2
)) {
10344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10346 arg2
= static_cast< int >(val2
);
10349 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10350 if (!SWIG_IsOK(ecode3
)) {
10351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10353 arg3
= static_cast< int >(val3
);
10356 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10357 if (!SWIG_IsOK(ecode4
)) {
10358 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10360 arg4
= static_cast< int >(val4
);
10363 if (!wxPyCheckForApp()) SWIG_fail
;
10364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10365 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10376 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
= 0;
10378 wxBitmap
*arg1
= 0 ;
10379 wxRegion
*result
= 0 ;
10382 PyObject
* obj0
= 0 ;
10383 char * kwnames
[] = {
10384 (char *) "bmp", NULL
10387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10388 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10389 if (!SWIG_IsOK(res1
)) {
10390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10393 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10395 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10397 if (!wxPyCheckForApp()) SWIG_fail
;
10398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10410 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10411 PyObject
*resultobj
= 0;
10412 wxBitmap
*arg1
= 0 ;
10413 wxColour
*arg2
= 0 ;
10414 int arg3
= (int) 0 ;
10415 wxRegion
*result
= 0 ;
10421 PyObject
* obj0
= 0 ;
10422 PyObject
* obj1
= 0 ;
10423 PyObject
* obj2
= 0 ;
10424 char * kwnames
[] = {
10425 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10429 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10430 if (!SWIG_IsOK(res1
)) {
10431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10434 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10436 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10439 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10442 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10443 if (!SWIG_IsOK(ecode3
)) {
10444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10446 arg3
= static_cast< int >(val3
);
10449 if (!wxPyCheckForApp()) SWIG_fail
;
10450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10451 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) SWIG_fail
;
10455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10462 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10463 PyObject
*resultobj
= 0;
10465 wxPoint
*arg2
= (wxPoint
*) 0 ;
10466 int arg3
= (int) wxWINDING_RULE
;
10467 wxRegion
*result
= 0 ;
10470 PyObject
* obj0
= 0 ;
10471 PyObject
* obj1
= 0 ;
10472 char * kwnames
[] = {
10473 (char *) "points",(char *) "fillStyle", NULL
10476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10478 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10479 if (arg2
== NULL
) SWIG_fail
;
10482 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10483 if (!SWIG_IsOK(ecode3
)) {
10484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10486 arg3
= static_cast< int >(val3
);
10489 if (!wxPyCheckForApp()) SWIG_fail
;
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10497 if (arg2
) delete [] arg2
;
10502 if (arg2
) delete [] arg2
;
10508 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10509 PyObject
*resultobj
= 0;
10510 wxRegion
*arg1
= (wxRegion
*) 0 ;
10513 PyObject
*swig_obj
[1] ;
10515 if (!args
) SWIG_fail
;
10516 swig_obj
[0] = args
;
10517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10518 if (!SWIG_IsOK(res1
)) {
10519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10521 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10526 wxPyEndAllowThreads(__tstate
);
10527 if (PyErr_Occurred()) SWIG_fail
;
10529 resultobj
= SWIG_Py_Void();
10536 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10537 PyObject
*resultobj
= 0;
10538 wxRegion
*arg1
= (wxRegion
*) 0 ;
10541 PyObject
*swig_obj
[1] ;
10543 if (!args
) SWIG_fail
;
10544 swig_obj
[0] = args
;
10545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10546 if (!SWIG_IsOK(res1
)) {
10547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10549 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10553 wxPyEndAllowThreads(__tstate
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10556 resultobj
= SWIG_Py_Void();
10563 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10564 PyObject
*resultobj
= 0;
10565 wxRegion
*arg1
= (wxRegion
*) 0 ;
10575 PyObject
* obj0
= 0 ;
10576 PyObject
* obj1
= 0 ;
10577 PyObject
* obj2
= 0 ;
10578 char * kwnames
[] = {
10579 (char *) "self",(char *) "x",(char *) "y", NULL
10582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10584 if (!SWIG_IsOK(res1
)) {
10585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10587 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10589 if (!SWIG_IsOK(ecode2
)) {
10590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10592 arg2
= static_cast< int >(val2
);
10593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10594 if (!SWIG_IsOK(ecode3
)) {
10595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10597 arg3
= static_cast< int >(val3
);
10599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10600 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10601 wxPyEndAllowThreads(__tstate
);
10602 if (PyErr_Occurred()) SWIG_fail
;
10605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10613 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
= 0;
10615 wxRegion
*arg1
= (wxRegion
*) 0 ;
10618 wxRegionContain result
;
10625 PyObject
* obj0
= 0 ;
10626 PyObject
* obj1
= 0 ;
10627 PyObject
* obj2
= 0 ;
10628 char * kwnames
[] = {
10629 (char *) "self",(char *) "x",(char *) "y", NULL
10632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10634 if (!SWIG_IsOK(res1
)) {
10635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10637 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10639 if (!SWIG_IsOK(ecode2
)) {
10640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10642 arg2
= static_cast< int >(val2
);
10643 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10644 if (!SWIG_IsOK(ecode3
)) {
10645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10647 arg3
= static_cast< int >(val3
);
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10651 wxPyEndAllowThreads(__tstate
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10654 resultobj
= SWIG_From_int(static_cast< int >(result
));
10661 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10662 PyObject
*resultobj
= 0;
10663 wxRegion
*arg1
= (wxRegion
*) 0 ;
10664 wxPoint
*arg2
= 0 ;
10665 wxRegionContain result
;
10669 PyObject
* obj0
= 0 ;
10670 PyObject
* obj1
= 0 ;
10671 char * kwnames
[] = {
10672 (char *) "self",(char *) "pt", NULL
10675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10677 if (!SWIG_IsOK(res1
)) {
10678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10680 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10683 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10688 wxPyEndAllowThreads(__tstate
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10691 resultobj
= SWIG_From_int(static_cast< int >(result
));
10698 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10699 PyObject
*resultobj
= 0;
10700 wxRegion
*arg1
= (wxRegion
*) 0 ;
10702 wxRegionContain result
;
10706 PyObject
* obj0
= 0 ;
10707 PyObject
* obj1
= 0 ;
10708 char * kwnames
[] = {
10709 (char *) "self",(char *) "rect", NULL
10712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10714 if (!SWIG_IsOK(res1
)) {
10715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10717 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10720 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10724 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10725 wxPyEndAllowThreads(__tstate
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10728 resultobj
= SWIG_From_int(static_cast< int >(result
));
10735 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
*resultobj
= 0;
10737 wxRegion
*arg1
= (wxRegion
*) 0 ;
10742 wxRegionContain result
;
10753 PyObject
* obj0
= 0 ;
10754 PyObject
* obj1
= 0 ;
10755 PyObject
* obj2
= 0 ;
10756 PyObject
* obj3
= 0 ;
10757 PyObject
* obj4
= 0 ;
10758 char * kwnames
[] = {
10759 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10764 if (!SWIG_IsOK(res1
)) {
10765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10767 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10769 if (!SWIG_IsOK(ecode2
)) {
10770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10772 arg2
= static_cast< int >(val2
);
10773 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10774 if (!SWIG_IsOK(ecode3
)) {
10775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10777 arg3
= static_cast< int >(val3
);
10778 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10779 if (!SWIG_IsOK(ecode4
)) {
10780 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10782 arg4
= static_cast< int >(val4
);
10783 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10784 if (!SWIG_IsOK(ecode5
)) {
10785 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10787 arg5
= static_cast< int >(val5
);
10789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10790 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10791 wxPyEndAllowThreads(__tstate
);
10792 if (PyErr_Occurred()) SWIG_fail
;
10794 resultobj
= SWIG_From_int(static_cast< int >(result
));
10801 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10802 PyObject
*resultobj
= 0;
10803 wxRegion
*arg1
= (wxRegion
*) 0 ;
10807 PyObject
*swig_obj
[1] ;
10809 if (!args
) SWIG_fail
;
10810 swig_obj
[0] = args
;
10811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10812 if (!SWIG_IsOK(res1
)) {
10813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10815 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 result
= (arg1
)->GetBox();
10819 wxPyEndAllowThreads(__tstate
);
10820 if (PyErr_Occurred()) SWIG_fail
;
10822 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10829 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10830 PyObject
*resultobj
= 0;
10831 wxRegion
*arg1
= (wxRegion
*) 0 ;
10847 PyObject
* obj0
= 0 ;
10848 PyObject
* obj1
= 0 ;
10849 PyObject
* obj2
= 0 ;
10850 PyObject
* obj3
= 0 ;
10851 PyObject
* obj4
= 0 ;
10852 char * kwnames
[] = {
10853 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10858 if (!SWIG_IsOK(res1
)) {
10859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10861 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10863 if (!SWIG_IsOK(ecode2
)) {
10864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10866 arg2
= static_cast< int >(val2
);
10867 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10868 if (!SWIG_IsOK(ecode3
)) {
10869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10871 arg3
= static_cast< int >(val3
);
10872 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10873 if (!SWIG_IsOK(ecode4
)) {
10874 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10876 arg4
= static_cast< int >(val4
);
10877 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10878 if (!SWIG_IsOK(ecode5
)) {
10879 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10881 arg5
= static_cast< int >(val5
);
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10897 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10898 PyObject
*resultobj
= 0;
10899 wxRegion
*arg1
= (wxRegion
*) 0 ;
10905 PyObject
* obj0
= 0 ;
10906 PyObject
* obj1
= 0 ;
10907 char * kwnames
[] = {
10908 (char *) "self",(char *) "rect", NULL
10911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10913 if (!SWIG_IsOK(res1
)) {
10914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10916 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10919 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10923 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10924 wxPyEndAllowThreads(__tstate
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10936 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10937 PyObject
*resultobj
= 0;
10938 wxRegion
*arg1
= (wxRegion
*) 0 ;
10939 wxRegion
*arg2
= 0 ;
10945 PyObject
* obj0
= 0 ;
10946 PyObject
* obj1
= 0 ;
10947 char * kwnames
[] = {
10948 (char *) "self",(char *) "region", NULL
10951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10953 if (!SWIG_IsOK(res1
)) {
10954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10956 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10957 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10958 if (!SWIG_IsOK(res2
)) {
10959 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10962 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10964 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10967 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10968 wxPyEndAllowThreads(__tstate
);
10969 if (PyErr_Occurred()) SWIG_fail
;
10972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10980 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10981 PyObject
*resultobj
= 0;
10982 wxRegion
*arg1
= (wxRegion
*) 0 ;
10986 PyObject
*swig_obj
[1] ;
10988 if (!args
) SWIG_fail
;
10989 swig_obj
[0] = args
;
10990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10991 if (!SWIG_IsOK(res1
)) {
10992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10994 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 result
= (bool)(arg1
)->IsEmpty();
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11010 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
= 0;
11012 wxRegion
*arg1
= (wxRegion
*) 0 ;
11013 wxRegion
*arg2
= 0 ;
11019 PyObject
* obj0
= 0 ;
11020 PyObject
* obj1
= 0 ;
11021 char * kwnames
[] = {
11022 (char *) "self",(char *) "region", NULL
11025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11027 if (!SWIG_IsOK(res1
)) {
11028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11030 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11031 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11032 if (!SWIG_IsOK(res2
)) {
11033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11038 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11041 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11042 wxPyEndAllowThreads(__tstate
);
11043 if (PyErr_Occurred()) SWIG_fail
;
11046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11054 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11055 PyObject
*resultobj
= 0;
11056 wxRegion
*arg1
= (wxRegion
*) 0 ;
11072 PyObject
* obj0
= 0 ;
11073 PyObject
* obj1
= 0 ;
11074 PyObject
* obj2
= 0 ;
11075 PyObject
* obj3
= 0 ;
11076 PyObject
* obj4
= 0 ;
11077 char * kwnames
[] = {
11078 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11083 if (!SWIG_IsOK(res1
)) {
11084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11086 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11088 if (!SWIG_IsOK(ecode2
)) {
11089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11091 arg2
= static_cast< int >(val2
);
11092 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11093 if (!SWIG_IsOK(ecode3
)) {
11094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11096 arg3
= static_cast< int >(val3
);
11097 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11098 if (!SWIG_IsOK(ecode4
)) {
11099 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11101 arg4
= static_cast< int >(val4
);
11102 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11103 if (!SWIG_IsOK(ecode5
)) {
11104 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11106 arg5
= static_cast< int >(val5
);
11108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11109 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11110 wxPyEndAllowThreads(__tstate
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11122 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11123 PyObject
*resultobj
= 0;
11124 wxRegion
*arg1
= (wxRegion
*) 0 ;
11130 PyObject
* obj0
= 0 ;
11131 PyObject
* obj1
= 0 ;
11132 char * kwnames
[] = {
11133 (char *) "self",(char *) "rect", NULL
11136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11138 if (!SWIG_IsOK(res1
)) {
11139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11141 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11144 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11148 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11149 wxPyEndAllowThreads(__tstate
);
11150 if (PyErr_Occurred()) SWIG_fail
;
11153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11161 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11162 PyObject
*resultobj
= 0;
11163 wxRegion
*arg1
= (wxRegion
*) 0 ;
11164 wxRegion
*arg2
= 0 ;
11170 PyObject
* obj0
= 0 ;
11171 PyObject
* obj1
= 0 ;
11172 char * kwnames
[] = {
11173 (char *) "self",(char *) "region", NULL
11176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11178 if (!SWIG_IsOK(res1
)) {
11179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11181 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11182 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11183 if (!SWIG_IsOK(res2
)) {
11184 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11187 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11189 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11192 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11193 wxPyEndAllowThreads(__tstate
);
11194 if (PyErr_Occurred()) SWIG_fail
;
11197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11205 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11206 PyObject
*resultobj
= 0;
11207 wxRegion
*arg1
= (wxRegion
*) 0 ;
11223 PyObject
* obj0
= 0 ;
11224 PyObject
* obj1
= 0 ;
11225 PyObject
* obj2
= 0 ;
11226 PyObject
* obj3
= 0 ;
11227 PyObject
* obj4
= 0 ;
11228 char * kwnames
[] = {
11229 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11234 if (!SWIG_IsOK(res1
)) {
11235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11237 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11239 if (!SWIG_IsOK(ecode2
)) {
11240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11242 arg2
= static_cast< int >(val2
);
11243 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11244 if (!SWIG_IsOK(ecode3
)) {
11245 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11247 arg3
= static_cast< int >(val3
);
11248 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11249 if (!SWIG_IsOK(ecode4
)) {
11250 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11252 arg4
= static_cast< int >(val4
);
11253 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11254 if (!SWIG_IsOK(ecode5
)) {
11255 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11257 arg5
= static_cast< int >(val5
);
11259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11261 wxPyEndAllowThreads(__tstate
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11273 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
*resultobj
= 0;
11275 wxRegion
*arg1
= (wxRegion
*) 0 ;
11281 PyObject
* obj0
= 0 ;
11282 PyObject
* obj1
= 0 ;
11283 char * kwnames
[] = {
11284 (char *) "self",(char *) "rect", NULL
11287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11289 if (!SWIG_IsOK(res1
)) {
11290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11292 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11295 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11299 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11312 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11313 PyObject
*resultobj
= 0;
11314 wxRegion
*arg1
= (wxRegion
*) 0 ;
11315 wxRegion
*arg2
= 0 ;
11321 PyObject
* obj0
= 0 ;
11322 PyObject
* obj1
= 0 ;
11323 char * kwnames
[] = {
11324 (char *) "self",(char *) "region", NULL
11327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11329 if (!SWIG_IsOK(res1
)) {
11330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11332 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11333 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11334 if (!SWIG_IsOK(res2
)) {
11335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11340 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11356 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11357 PyObject
*resultobj
= 0;
11358 wxRegion
*arg1
= (wxRegion
*) 0 ;
11374 PyObject
* obj0
= 0 ;
11375 PyObject
* obj1
= 0 ;
11376 PyObject
* obj2
= 0 ;
11377 PyObject
* obj3
= 0 ;
11378 PyObject
* obj4
= 0 ;
11379 char * kwnames
[] = {
11380 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11385 if (!SWIG_IsOK(res1
)) {
11386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11388 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11390 if (!SWIG_IsOK(ecode2
)) {
11391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11393 arg2
= static_cast< int >(val2
);
11394 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11395 if (!SWIG_IsOK(ecode3
)) {
11396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11398 arg3
= static_cast< int >(val3
);
11399 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11400 if (!SWIG_IsOK(ecode4
)) {
11401 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11403 arg4
= static_cast< int >(val4
);
11404 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11405 if (!SWIG_IsOK(ecode5
)) {
11406 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11408 arg5
= static_cast< int >(val5
);
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11412 wxPyEndAllowThreads(__tstate
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11424 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11425 PyObject
*resultobj
= 0;
11426 wxRegion
*arg1
= (wxRegion
*) 0 ;
11432 PyObject
* obj0
= 0 ;
11433 PyObject
* obj1
= 0 ;
11434 char * kwnames
[] = {
11435 (char *) "self",(char *) "rect", NULL
11438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11440 if (!SWIG_IsOK(res1
)) {
11441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11443 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11446 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11450 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11451 wxPyEndAllowThreads(__tstate
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11463 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11464 PyObject
*resultobj
= 0;
11465 wxRegion
*arg1
= (wxRegion
*) 0 ;
11466 wxRegion
*arg2
= 0 ;
11472 PyObject
* obj0
= 0 ;
11473 PyObject
* obj1
= 0 ;
11474 char * kwnames
[] = {
11475 (char *) "self",(char *) "region", NULL
11478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11480 if (!SWIG_IsOK(res1
)) {
11481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11483 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11484 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11485 if (!SWIG_IsOK(res2
)) {
11486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11491 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11494 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11495 wxPyEndAllowThreads(__tstate
);
11496 if (PyErr_Occurred()) SWIG_fail
;
11499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11507 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11508 PyObject
*resultobj
= 0;
11509 wxRegion
*arg1
= (wxRegion
*) 0 ;
11510 SwigValueWrapper
<wxBitmap
> result
;
11513 PyObject
*swig_obj
[1] ;
11515 if (!args
) SWIG_fail
;
11516 swig_obj
[0] = args
;
11517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11518 if (!SWIG_IsOK(res1
)) {
11519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11521 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11524 result
= (arg1
)->ConvertToBitmap();
11525 wxPyEndAllowThreads(__tstate
);
11526 if (PyErr_Occurred()) SWIG_fail
;
11528 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11535 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11536 PyObject
*resultobj
= 0;
11537 wxRegion
*arg1
= (wxRegion
*) 0 ;
11538 wxBitmap
*arg2
= 0 ;
11544 PyObject
* obj0
= 0 ;
11545 PyObject
* obj1
= 0 ;
11546 char * kwnames
[] = {
11547 (char *) "self",(char *) "bmp", NULL
11550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11552 if (!SWIG_IsOK(res1
)) {
11553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11555 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11556 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11557 if (!SWIG_IsOK(res2
)) {
11558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11563 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11566 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11567 wxPyEndAllowThreads(__tstate
);
11568 if (PyErr_Occurred()) SWIG_fail
;
11571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11579 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11580 PyObject
*resultobj
= 0;
11581 wxRegion
*arg1
= (wxRegion
*) 0 ;
11582 wxBitmap
*arg2
= 0 ;
11583 wxColour
*arg3
= 0 ;
11584 int arg4
= (int) 0 ;
11593 PyObject
* obj0
= 0 ;
11594 PyObject
* obj1
= 0 ;
11595 PyObject
* obj2
= 0 ;
11596 PyObject
* obj3
= 0 ;
11597 char * kwnames
[] = {
11598 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11603 if (!SWIG_IsOK(res1
)) {
11604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11606 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11607 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11608 if (!SWIG_IsOK(res2
)) {
11609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11614 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11617 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11620 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11621 if (!SWIG_IsOK(ecode4
)) {
11622 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11624 arg4
= static_cast< int >(val4
);
11627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11628 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11629 wxPyEndAllowThreads(__tstate
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11641 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11643 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11644 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11645 return SWIG_Py_Void();
11648 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11649 return SWIG_Python_InitShadowInstance(args
);
11652 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11653 PyObject
*resultobj
= 0;
11654 wxRegion
*arg1
= 0 ;
11655 wxRegionIterator
*result
= 0 ;
11658 PyObject
* obj0
= 0 ;
11659 char * kwnames
[] = {
11660 (char *) "region", NULL
11663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11664 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11665 if (!SWIG_IsOK(res1
)) {
11666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11671 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11673 if (!wxPyCheckForApp()) SWIG_fail
;
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11676 wxPyEndAllowThreads(__tstate
);
11677 if (PyErr_Occurred()) SWIG_fail
;
11679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11686 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11687 PyObject
*resultobj
= 0;
11688 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11691 PyObject
*swig_obj
[1] ;
11693 if (!args
) SWIG_fail
;
11694 swig_obj
[0] = args
;
11695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11696 if (!SWIG_IsOK(res1
)) {
11697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11699 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11707 resultobj
= SWIG_Py_Void();
11714 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11715 PyObject
*resultobj
= 0;
11716 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11720 PyObject
*swig_obj
[1] ;
11722 if (!args
) SWIG_fail
;
11723 swig_obj
[0] = args
;
11724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11725 if (!SWIG_IsOK(res1
)) {
11726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11728 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 result
= (int)(arg1
)->GetX();
11732 wxPyEndAllowThreads(__tstate
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11735 resultobj
= SWIG_From_int(static_cast< int >(result
));
11742 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11743 PyObject
*resultobj
= 0;
11744 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11748 PyObject
*swig_obj
[1] ;
11750 if (!args
) SWIG_fail
;
11751 swig_obj
[0] = args
;
11752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11753 if (!SWIG_IsOK(res1
)) {
11754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11756 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11759 result
= (int)(arg1
)->GetY();
11760 wxPyEndAllowThreads(__tstate
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11763 resultobj
= SWIG_From_int(static_cast< int >(result
));
11770 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11771 PyObject
*resultobj
= 0;
11772 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11776 PyObject
*swig_obj
[1] ;
11778 if (!args
) SWIG_fail
;
11779 swig_obj
[0] = args
;
11780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11781 if (!SWIG_IsOK(res1
)) {
11782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11784 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11787 result
= (int)(arg1
)->GetW();
11788 wxPyEndAllowThreads(__tstate
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11791 resultobj
= SWIG_From_int(static_cast< int >(result
));
11798 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11799 PyObject
*resultobj
= 0;
11800 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11804 PyObject
*swig_obj
[1] ;
11806 if (!args
) SWIG_fail
;
11807 swig_obj
[0] = args
;
11808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11809 if (!SWIG_IsOK(res1
)) {
11810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11812 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11815 result
= (int)(arg1
)->GetWidth();
11816 wxPyEndAllowThreads(__tstate
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11819 resultobj
= SWIG_From_int(static_cast< int >(result
));
11826 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11827 PyObject
*resultobj
= 0;
11828 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11832 PyObject
*swig_obj
[1] ;
11834 if (!args
) SWIG_fail
;
11835 swig_obj
[0] = args
;
11836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11837 if (!SWIG_IsOK(res1
)) {
11838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11840 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11843 result
= (int)(arg1
)->GetH();
11844 wxPyEndAllowThreads(__tstate
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11847 resultobj
= SWIG_From_int(static_cast< int >(result
));
11854 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11855 PyObject
*resultobj
= 0;
11856 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11860 PyObject
*swig_obj
[1] ;
11862 if (!args
) SWIG_fail
;
11863 swig_obj
[0] = args
;
11864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11865 if (!SWIG_IsOK(res1
)) {
11866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11868 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11871 result
= (int)(arg1
)->GetHeight();
11872 wxPyEndAllowThreads(__tstate
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11875 resultobj
= SWIG_From_int(static_cast< int >(result
));
11882 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11883 PyObject
*resultobj
= 0;
11884 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11888 PyObject
*swig_obj
[1] ;
11890 if (!args
) SWIG_fail
;
11891 swig_obj
[0] = args
;
11892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11893 if (!SWIG_IsOK(res1
)) {
11894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11896 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11899 result
= (arg1
)->GetRect();
11900 wxPyEndAllowThreads(__tstate
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11903 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11910 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11911 PyObject
*resultobj
= 0;
11912 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11916 PyObject
*swig_obj
[1] ;
11918 if (!args
) SWIG_fail
;
11919 swig_obj
[0] = args
;
11920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11921 if (!SWIG_IsOK(res1
)) {
11922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11924 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 result
= (bool)(arg1
)->HaveRects();
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11940 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11941 PyObject
*resultobj
= 0;
11942 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11945 PyObject
*swig_obj
[1] ;
11947 if (!args
) SWIG_fail
;
11948 swig_obj
[0] = args
;
11949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11950 if (!SWIG_IsOK(res1
)) {
11951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11953 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11957 wxPyEndAllowThreads(__tstate
);
11958 if (PyErr_Occurred()) SWIG_fail
;
11960 resultobj
= SWIG_Py_Void();
11967 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11968 PyObject
*resultobj
= 0;
11969 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11972 PyObject
*swig_obj
[1] ;
11974 if (!args
) SWIG_fail
;
11975 swig_obj
[0] = args
;
11976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11977 if (!SWIG_IsOK(res1
)) {
11978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11980 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11983 wxRegionIterator_Next(arg1
);
11984 wxPyEndAllowThreads(__tstate
);
11985 if (PyErr_Occurred()) SWIG_fail
;
11987 resultobj
= SWIG_Py_Void();
11994 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11995 PyObject
*resultobj
= 0;
11996 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12000 PyObject
*swig_obj
[1] ;
12002 if (!args
) SWIG_fail
;
12003 swig_obj
[0] = args
;
12004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12005 if (!SWIG_IsOK(res1
)) {
12006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12008 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12011 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12024 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12027 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12028 return SWIG_Py_Void();
12031 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12032 return SWIG_Python_InitShadowInstance(args
);
12035 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12036 PyObject
*resultobj
= 0;
12037 wxNativeFontInfo
*result
= 0 ;
12039 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12042 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12053 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12054 PyObject
*resultobj
= 0;
12055 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12058 PyObject
*swig_obj
[1] ;
12060 if (!args
) SWIG_fail
;
12061 swig_obj
[0] = args
;
12062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12063 if (!SWIG_IsOK(res1
)) {
12064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12066 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 wxPyEndAllowThreads(__tstate
);
12072 if (PyErr_Occurred()) SWIG_fail
;
12074 resultobj
= SWIG_Py_Void();
12081 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12082 PyObject
*resultobj
= 0;
12083 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12086 PyObject
*swig_obj
[1] ;
12088 if (!args
) SWIG_fail
;
12089 swig_obj
[0] = args
;
12090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12091 if (!SWIG_IsOK(res1
)) {
12092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12094 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12101 resultobj
= SWIG_Py_Void();
12108 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
= 0;
12110 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12116 PyObject
* obj0
= 0 ;
12117 PyObject
* obj1
= 0 ;
12118 char * kwnames
[] = {
12119 (char *) "self",(char *) "font", NULL
12122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12124 if (!SWIG_IsOK(res1
)) {
12125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12127 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12128 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12129 if (!SWIG_IsOK(res2
)) {
12130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12135 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12138 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12139 wxPyEndAllowThreads(__tstate
);
12140 if (PyErr_Occurred()) SWIG_fail
;
12142 resultobj
= SWIG_Py_Void();
12149 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12150 PyObject
*resultobj
= 0;
12151 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12155 PyObject
*swig_obj
[1] ;
12157 if (!args
) SWIG_fail
;
12158 swig_obj
[0] = args
;
12159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12160 if (!SWIG_IsOK(res1
)) {
12161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12163 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12166 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12167 wxPyEndAllowThreads(__tstate
);
12168 if (PyErr_Occurred()) SWIG_fail
;
12170 resultobj
= SWIG_From_int(static_cast< int >(result
));
12177 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12178 PyObject
*resultobj
= 0;
12179 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12180 wxFontStyle result
;
12183 PyObject
*swig_obj
[1] ;
12185 if (!args
) SWIG_fail
;
12186 swig_obj
[0] = args
;
12187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12188 if (!SWIG_IsOK(res1
)) {
12189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12191 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12195 wxPyEndAllowThreads(__tstate
);
12196 if (PyErr_Occurred()) SWIG_fail
;
12198 resultobj
= SWIG_From_int(static_cast< int >(result
));
12205 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12206 PyObject
*resultobj
= 0;
12207 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12208 wxFontWeight result
;
12211 PyObject
*swig_obj
[1] ;
12213 if (!args
) SWIG_fail
;
12214 swig_obj
[0] = args
;
12215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12216 if (!SWIG_IsOK(res1
)) {
12217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12219 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12222 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12223 wxPyEndAllowThreads(__tstate
);
12224 if (PyErr_Occurred()) SWIG_fail
;
12226 resultobj
= SWIG_From_int(static_cast< int >(result
));
12233 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12234 PyObject
*resultobj
= 0;
12235 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12239 PyObject
*swig_obj
[1] ;
12241 if (!args
) SWIG_fail
;
12242 swig_obj
[0] = args
;
12243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12244 if (!SWIG_IsOK(res1
)) {
12245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12247 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12250 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12263 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12264 PyObject
*resultobj
= 0;
12265 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12269 PyObject
*swig_obj
[1] ;
12271 if (!args
) SWIG_fail
;
12272 swig_obj
[0] = args
;
12273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12274 if (!SWIG_IsOK(res1
)) {
12275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12277 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12280 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12281 wxPyEndAllowThreads(__tstate
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12286 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12288 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12297 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12298 PyObject
*resultobj
= 0;
12299 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12300 wxFontFamily result
;
12303 PyObject
*swig_obj
[1] ;
12305 if (!args
) SWIG_fail
;
12306 swig_obj
[0] = args
;
12307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12308 if (!SWIG_IsOK(res1
)) {
12309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12311 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12315 wxPyEndAllowThreads(__tstate
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12318 resultobj
= SWIG_From_int(static_cast< int >(result
));
12325 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12326 PyObject
*resultobj
= 0;
12327 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12328 wxFontEncoding result
;
12331 PyObject
*swig_obj
[1] ;
12333 if (!args
) SWIG_fail
;
12334 swig_obj
[0] = args
;
12335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12336 if (!SWIG_IsOK(res1
)) {
12337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12339 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12342 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12343 wxPyEndAllowThreads(__tstate
);
12344 if (PyErr_Occurred()) SWIG_fail
;
12346 resultobj
= SWIG_From_int(static_cast< int >(result
));
12353 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12354 PyObject
*resultobj
= 0;
12355 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12361 PyObject
* obj0
= 0 ;
12362 PyObject
* obj1
= 0 ;
12363 char * kwnames
[] = {
12364 (char *) "self",(char *) "pointsize", NULL
12367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12369 if (!SWIG_IsOK(res1
)) {
12370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12372 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12374 if (!SWIG_IsOK(ecode2
)) {
12375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12377 arg2
= static_cast< int >(val2
);
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 (arg1
)->SetPointSize(arg2
);
12381 wxPyEndAllowThreads(__tstate
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12384 resultobj
= SWIG_Py_Void();
12391 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12392 PyObject
*resultobj
= 0;
12393 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12399 PyObject
* obj0
= 0 ;
12400 PyObject
* obj1
= 0 ;
12401 char * kwnames
[] = {
12402 (char *) "self",(char *) "style", NULL
12405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12407 if (!SWIG_IsOK(res1
)) {
12408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12410 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12412 if (!SWIG_IsOK(ecode2
)) {
12413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12415 arg2
= static_cast< wxFontStyle
>(val2
);
12417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12418 (arg1
)->SetStyle(arg2
);
12419 wxPyEndAllowThreads(__tstate
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12422 resultobj
= SWIG_Py_Void();
12429 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12430 PyObject
*resultobj
= 0;
12431 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12432 wxFontWeight arg2
;
12437 PyObject
* obj0
= 0 ;
12438 PyObject
* obj1
= 0 ;
12439 char * kwnames
[] = {
12440 (char *) "self",(char *) "weight", NULL
12443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12445 if (!SWIG_IsOK(res1
)) {
12446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12448 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12450 if (!SWIG_IsOK(ecode2
)) {
12451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12453 arg2
= static_cast< wxFontWeight
>(val2
);
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 (arg1
)->SetWeight(arg2
);
12457 wxPyEndAllowThreads(__tstate
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12460 resultobj
= SWIG_Py_Void();
12467 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12468 PyObject
*resultobj
= 0;
12469 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12475 PyObject
* obj0
= 0 ;
12476 PyObject
* obj1
= 0 ;
12477 char * kwnames
[] = {
12478 (char *) "self",(char *) "underlined", NULL
12481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12483 if (!SWIG_IsOK(res1
)) {
12484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12486 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12487 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12488 if (!SWIG_IsOK(ecode2
)) {
12489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12491 arg2
= static_cast< bool >(val2
);
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 (arg1
)->SetUnderlined(arg2
);
12495 wxPyEndAllowThreads(__tstate
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12498 resultobj
= SWIG_Py_Void();
12505 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
*resultobj
= 0;
12507 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12512 PyObject
* obj0
= 0 ;
12513 PyObject
* obj1
= 0 ;
12514 char * kwnames
[] = {
12515 (char *) "self",(char *) "facename", NULL
12518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12520 if (!SWIG_IsOK(res1
)) {
12521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12523 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12525 wxString
* sptr
= wxString_in_helper(obj1
);
12526 if (sptr
== NULL
) SWIG_fail
;
12531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12532 result
= (bool)(arg1
)->SetFaceName(arg2
);
12533 wxPyEndAllowThreads(__tstate
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12545 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12546 PyObject
*resultobj
= 0;
12547 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12548 wxFontFamily arg2
;
12553 PyObject
* obj0
= 0 ;
12554 PyObject
* obj1
= 0 ;
12555 char * kwnames
[] = {
12556 (char *) "self",(char *) "family", NULL
12559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12561 if (!SWIG_IsOK(res1
)) {
12562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12564 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12566 if (!SWIG_IsOK(ecode2
)) {
12567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12569 arg2
= static_cast< wxFontFamily
>(val2
);
12571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12572 (arg1
)->SetFamily(arg2
);
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12576 resultobj
= SWIG_Py_Void();
12583 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12584 PyObject
*resultobj
= 0;
12585 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12586 wxFontEncoding arg2
;
12591 PyObject
* obj0
= 0 ;
12592 PyObject
* obj1
= 0 ;
12593 char * kwnames
[] = {
12594 (char *) "self",(char *) "encoding", NULL
12597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12599 if (!SWIG_IsOK(res1
)) {
12600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12602 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12604 if (!SWIG_IsOK(ecode2
)) {
12605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12607 arg2
= static_cast< wxFontEncoding
>(val2
);
12609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12610 (arg1
)->SetEncoding(arg2
);
12611 wxPyEndAllowThreads(__tstate
);
12612 if (PyErr_Occurred()) SWIG_fail
;
12614 resultobj
= SWIG_Py_Void();
12621 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
= 0;
12623 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12624 wxString
*arg2
= 0 ;
12628 bool temp2
= false ;
12629 PyObject
* obj0
= 0 ;
12630 PyObject
* obj1
= 0 ;
12631 char * kwnames
[] = {
12632 (char *) "self",(char *) "s", NULL
12635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12637 if (!SWIG_IsOK(res1
)) {
12638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12640 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12642 arg2
= wxString_in_helper(obj1
);
12643 if (arg2
== NULL
) SWIG_fail
;
12647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12648 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12649 wxPyEndAllowThreads(__tstate
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12669 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12670 PyObject
*resultobj
= 0;
12671 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12675 PyObject
*swig_obj
[1] ;
12677 if (!args
) SWIG_fail
;
12678 swig_obj
[0] = args
;
12679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12680 if (!SWIG_IsOK(res1
)) {
12681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12683 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12686 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12692 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12694 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12703 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12704 PyObject
*resultobj
= 0;
12705 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12709 PyObject
*swig_obj
[1] ;
12711 if (!args
) SWIG_fail
;
12712 swig_obj
[0] = args
;
12713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12714 if (!SWIG_IsOK(res1
)) {
12715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12717 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12720 result
= wxNativeFontInfo___str__(arg1
);
12721 wxPyEndAllowThreads(__tstate
);
12722 if (PyErr_Occurred()) SWIG_fail
;
12726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12737 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12738 PyObject
*resultobj
= 0;
12739 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12740 wxString
*arg2
= 0 ;
12744 bool temp2
= false ;
12745 PyObject
* obj0
= 0 ;
12746 PyObject
* obj1
= 0 ;
12747 char * kwnames
[] = {
12748 (char *) "self",(char *) "s", NULL
12751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12753 if (!SWIG_IsOK(res1
)) {
12754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12756 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12758 arg2
= wxString_in_helper(obj1
);
12759 if (arg2
== NULL
) SWIG_fail
;
12763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12764 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12765 wxPyEndAllowThreads(__tstate
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12785 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12786 PyObject
*resultobj
= 0;
12787 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12791 PyObject
*swig_obj
[1] ;
12793 if (!args
) SWIG_fail
;
12794 swig_obj
[0] = args
;
12795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12796 if (!SWIG_IsOK(res1
)) {
12797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12799 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12802 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12819 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12821 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12822 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12823 return SWIG_Py_Void();
12826 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12827 return SWIG_Python_InitShadowInstance(args
);
12830 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12831 PyObject
*resultobj
= 0;
12832 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12833 wxString
*arg2
= (wxString
*) 0 ;
12836 bool temp2
= false ;
12837 PyObject
*swig_obj
[2] ;
12839 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12841 if (!SWIG_IsOK(res1
)) {
12842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12844 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12846 arg2
= wxString_in_helper(swig_obj
[1]);
12847 if (arg2
== NULL
) SWIG_fail
;
12850 if (arg1
) (arg1
)->facename
= *arg2
;
12852 resultobj
= SWIG_Py_Void();
12867 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12868 PyObject
*resultobj
= 0;
12869 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12870 wxString
*result
= 0 ;
12873 PyObject
*swig_obj
[1] ;
12875 if (!args
) SWIG_fail
;
12876 swig_obj
[0] = args
;
12877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12878 if (!SWIG_IsOK(res1
)) {
12879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12881 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12882 result
= (wxString
*)& ((arg1
)->facename
);
12885 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12887 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12896 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12897 PyObject
*resultobj
= 0;
12898 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12899 wxFontEncoding arg2
;
12904 PyObject
*swig_obj
[2] ;
12906 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12908 if (!SWIG_IsOK(res1
)) {
12909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12911 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12912 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12913 if (!SWIG_IsOK(ecode2
)) {
12914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12916 arg2
= static_cast< wxFontEncoding
>(val2
);
12917 if (arg1
) (arg1
)->encoding
= arg2
;
12919 resultobj
= SWIG_Py_Void();
12926 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12927 PyObject
*resultobj
= 0;
12928 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12929 wxFontEncoding result
;
12932 PyObject
*swig_obj
[1] ;
12934 if (!args
) SWIG_fail
;
12935 swig_obj
[0] = args
;
12936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12937 if (!SWIG_IsOK(res1
)) {
12938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12940 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12941 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12942 resultobj
= SWIG_From_int(static_cast< int >(result
));
12949 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12950 PyObject
*resultobj
= 0;
12951 wxNativeEncodingInfo
*result
= 0 ;
12953 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12957 wxPyEndAllowThreads(__tstate
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12967 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12968 PyObject
*resultobj
= 0;
12969 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12972 PyObject
*swig_obj
[1] ;
12974 if (!args
) SWIG_fail
;
12975 swig_obj
[0] = args
;
12976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12977 if (!SWIG_IsOK(res1
)) {
12978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12980 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12985 wxPyEndAllowThreads(__tstate
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12988 resultobj
= SWIG_Py_Void();
12995 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12996 PyObject
*resultobj
= 0;
12997 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12998 wxString
*arg2
= 0 ;
13002 bool temp2
= false ;
13003 PyObject
* obj0
= 0 ;
13004 PyObject
* obj1
= 0 ;
13005 char * kwnames
[] = {
13006 (char *) "self",(char *) "s", NULL
13009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13011 if (!SWIG_IsOK(res1
)) {
13012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13014 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13016 arg2
= wxString_in_helper(obj1
);
13017 if (arg2
== NULL
) SWIG_fail
;
13021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13022 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13023 wxPyEndAllowThreads(__tstate
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13043 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13044 PyObject
*resultobj
= 0;
13045 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13049 PyObject
*swig_obj
[1] ;
13051 if (!args
) SWIG_fail
;
13052 swig_obj
[0] = args
;
13053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13054 if (!SWIG_IsOK(res1
)) {
13055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13057 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13060 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13061 wxPyEndAllowThreads(__tstate
);
13062 if (PyErr_Occurred()) SWIG_fail
;
13066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13077 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13079 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13080 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13081 return SWIG_Py_Void();
13084 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13085 return SWIG_Python_InitShadowInstance(args
);
13088 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13089 PyObject
*resultobj
= 0;
13090 wxFontEncoding arg1
;
13091 wxNativeEncodingInfo
*result
= 0 ;
13094 PyObject
* obj0
= 0 ;
13095 char * kwnames
[] = {
13096 (char *) "encoding", NULL
13099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13100 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13101 if (!SWIG_IsOK(ecode1
)) {
13102 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13104 arg1
= static_cast< wxFontEncoding
>(val1
);
13106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13107 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13108 wxPyEndAllowThreads(__tstate
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13118 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
= 0;
13120 wxNativeEncodingInfo
*arg1
= 0 ;
13124 PyObject
* obj0
= 0 ;
13125 char * kwnames
[] = {
13126 (char *) "info", NULL
13129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13130 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13131 if (!SWIG_IsOK(res1
)) {
13132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13137 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13140 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13141 wxPyEndAllowThreads(__tstate
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13153 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13154 PyObject
*resultobj
= 0;
13155 wxFontMapper
*result
= 0 ;
13157 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13160 result
= (wxFontMapper
*)new wxFontMapper();
13161 wxPyEndAllowThreads(__tstate
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13171 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13172 PyObject
*resultobj
= 0;
13173 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13176 PyObject
*swig_obj
[1] ;
13178 if (!args
) SWIG_fail
;
13179 swig_obj
[0] = args
;
13180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13181 if (!SWIG_IsOK(res1
)) {
13182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13184 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 wxPyEndAllowThreads(__tstate
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13192 resultobj
= SWIG_Py_Void();
13199 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13200 PyObject
*resultobj
= 0;
13201 wxFontMapper
*result
= 0 ;
13203 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13206 result
= (wxFontMapper
*)wxFontMapper::Get();
13207 wxPyEndAllowThreads(__tstate
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13217 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13218 PyObject
*resultobj
= 0;
13219 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13220 wxFontMapper
*result
= 0 ;
13223 PyObject
* obj0
= 0 ;
13224 char * kwnames
[] = {
13225 (char *) "mapper", NULL
13228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13230 if (!SWIG_IsOK(res1
)) {
13231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13233 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13236 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13247 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
= 0;
13249 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13250 wxString
*arg2
= 0 ;
13251 bool arg3
= (bool) true ;
13252 wxFontEncoding result
;
13255 bool temp2
= false ;
13258 PyObject
* obj0
= 0 ;
13259 PyObject
* obj1
= 0 ;
13260 PyObject
* obj2
= 0 ;
13261 char * kwnames
[] = {
13262 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13267 if (!SWIG_IsOK(res1
)) {
13268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13270 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13272 arg2
= wxString_in_helper(obj1
);
13273 if (arg2
== NULL
) SWIG_fail
;
13277 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13278 if (!SWIG_IsOK(ecode3
)) {
13279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13281 arg3
= static_cast< bool >(val3
);
13284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13286 wxPyEndAllowThreads(__tstate
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13289 resultobj
= SWIG_From_int(static_cast< int >(result
));
13304 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13305 PyObject
*resultobj
= 0;
13308 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13311 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13312 wxPyEndAllowThreads(__tstate
);
13313 if (PyErr_Occurred()) SWIG_fail
;
13315 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13322 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
= 0;
13325 wxFontEncoding result
;
13328 PyObject
* obj0
= 0 ;
13329 char * kwnames
[] = {
13333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13334 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13335 if (!SWIG_IsOK(ecode1
)) {
13336 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13338 arg1
= static_cast< size_t >(val1
);
13340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13342 wxPyEndAllowThreads(__tstate
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13345 resultobj
= SWIG_From_int(static_cast< int >(result
));
13352 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13353 PyObject
*resultobj
= 0;
13354 wxFontEncoding arg1
;
13358 PyObject
* obj0
= 0 ;
13359 char * kwnames
[] = {
13360 (char *) "encoding", NULL
13363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13364 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13365 if (!SWIG_IsOK(ecode1
)) {
13366 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13368 arg1
= static_cast< wxFontEncoding
>(val1
);
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 result
= wxFontMapper::GetEncodingName(arg1
);
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13388 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13389 PyObject
*resultobj
= 0;
13390 wxFontEncoding arg1
;
13394 PyObject
* obj0
= 0 ;
13395 char * kwnames
[] = {
13396 (char *) "encoding", NULL
13399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13400 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13401 if (!SWIG_IsOK(ecode1
)) {
13402 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13404 arg1
= static_cast< wxFontEncoding
>(val1
);
13406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13407 result
= wxFontMapper::GetEncodingDescription(arg1
);
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13424 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13425 PyObject
*resultobj
= 0;
13426 wxString
*arg1
= 0 ;
13427 wxFontEncoding result
;
13428 bool temp1
= false ;
13429 PyObject
* obj0
= 0 ;
13430 char * kwnames
[] = {
13431 (char *) "name", NULL
13434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13436 arg1
= wxString_in_helper(obj0
);
13437 if (arg1
== NULL
) SWIG_fail
;
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13443 wxPyEndAllowThreads(__tstate
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13446 resultobj
= SWIG_From_int(static_cast< int >(result
));
13461 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13462 PyObject
*resultobj
= 0;
13463 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13464 wxString
*arg2
= 0 ;
13467 bool temp2
= false ;
13468 PyObject
* obj0
= 0 ;
13469 PyObject
* obj1
= 0 ;
13470 char * kwnames
[] = {
13471 (char *) "self",(char *) "prefix", NULL
13474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13476 if (!SWIG_IsOK(res1
)) {
13477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13479 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13481 arg2
= wxString_in_helper(obj1
);
13482 if (arg2
== NULL
) SWIG_fail
;
13486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13488 wxPyEndAllowThreads(__tstate
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13491 resultobj
= SWIG_Py_Void();
13506 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13507 PyObject
*resultobj
= 0;
13510 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13513 result
= wxFontMapper::GetDefaultConfigPath();
13514 wxPyEndAllowThreads(__tstate
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13530 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13531 PyObject
*resultobj
= 0;
13532 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13533 wxFontEncoding arg2
;
13534 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13535 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13536 bool arg4
= (bool) true ;
13537 PyObject
*result
= 0 ;
13542 bool temp3
= false ;
13545 PyObject
* obj0
= 0 ;
13546 PyObject
* obj1
= 0 ;
13547 PyObject
* obj2
= 0 ;
13548 PyObject
* obj3
= 0 ;
13549 char * kwnames
[] = {
13550 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13555 if (!SWIG_IsOK(res1
)) {
13556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13558 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13560 if (!SWIG_IsOK(ecode2
)) {
13561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13563 arg2
= static_cast< wxFontEncoding
>(val2
);
13566 arg3
= wxString_in_helper(obj2
);
13567 if (arg3
== NULL
) SWIG_fail
;
13572 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13573 if (!SWIG_IsOK(ecode4
)) {
13574 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13576 arg4
= static_cast< bool >(val4
);
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= result
;
13599 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13600 PyObject
*resultobj
= 0;
13601 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13602 wxFontEncoding arg2
;
13603 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13604 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13610 bool temp3
= false ;
13611 PyObject
* obj0
= 0 ;
13612 PyObject
* obj1
= 0 ;
13613 PyObject
* obj2
= 0 ;
13614 char * kwnames
[] = {
13615 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13620 if (!SWIG_IsOK(res1
)) {
13621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13623 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13625 if (!SWIG_IsOK(ecode2
)) {
13626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13628 arg2
= static_cast< wxFontEncoding
>(val2
);
13631 arg3
= wxString_in_helper(obj2
);
13632 if (arg3
== NULL
) SWIG_fail
;
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13659 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13660 PyObject
*resultobj
= 0;
13661 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13662 wxWindow
*arg2
= (wxWindow
*) 0 ;
13667 PyObject
* obj0
= 0 ;
13668 PyObject
* obj1
= 0 ;
13669 char * kwnames
[] = {
13670 (char *) "self",(char *) "parent", NULL
13673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13675 if (!SWIG_IsOK(res1
)) {
13676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13678 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13679 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13680 if (!SWIG_IsOK(res2
)) {
13681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13683 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13686 (arg1
)->SetDialogParent(arg2
);
13687 wxPyEndAllowThreads(__tstate
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13690 resultobj
= SWIG_Py_Void();
13697 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13698 PyObject
*resultobj
= 0;
13699 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13700 wxString
*arg2
= 0 ;
13703 bool temp2
= false ;
13704 PyObject
* obj0
= 0 ;
13705 PyObject
* obj1
= 0 ;
13706 char * kwnames
[] = {
13707 (char *) "self",(char *) "title", NULL
13710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13712 if (!SWIG_IsOK(res1
)) {
13713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13715 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13717 arg2
= wxString_in_helper(obj1
);
13718 if (arg2
== NULL
) SWIG_fail
;
13722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13723 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13724 wxPyEndAllowThreads(__tstate
);
13725 if (PyErr_Occurred()) SWIG_fail
;
13727 resultobj
= SWIG_Py_Void();
13742 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13745 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13746 return SWIG_Py_Void();
13749 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13750 return SWIG_Python_InitShadowInstance(args
);
13753 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13754 PyObject
*resultobj
= 0;
13759 bool arg5
= (bool) false ;
13760 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13761 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13762 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13763 wxFont
*result
= 0 ;
13774 bool temp6
= false ;
13777 PyObject
* obj0
= 0 ;
13778 PyObject
* obj1
= 0 ;
13779 PyObject
* obj2
= 0 ;
13780 PyObject
* obj3
= 0 ;
13781 PyObject
* obj4
= 0 ;
13782 PyObject
* obj5
= 0 ;
13783 PyObject
* obj6
= 0 ;
13784 char * kwnames
[] = {
13785 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13789 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13790 if (!SWIG_IsOK(ecode1
)) {
13791 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13793 arg1
= static_cast< int >(val1
);
13794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13795 if (!SWIG_IsOK(ecode2
)) {
13796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13798 arg2
= static_cast< int >(val2
);
13799 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13800 if (!SWIG_IsOK(ecode3
)) {
13801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13803 arg3
= static_cast< int >(val3
);
13804 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13805 if (!SWIG_IsOK(ecode4
)) {
13806 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13808 arg4
= static_cast< int >(val4
);
13810 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13811 if (!SWIG_IsOK(ecode5
)) {
13812 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13814 arg5
= static_cast< bool >(val5
);
13818 arg6
= wxString_in_helper(obj5
);
13819 if (arg6
== NULL
) SWIG_fail
;
13824 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13825 if (!SWIG_IsOK(ecode7
)) {
13826 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13828 arg7
= static_cast< wxFontEncoding
>(val7
);
13831 if (!wxPyCheckForApp()) SWIG_fail
;
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13834 wxPyEndAllowThreads(__tstate
);
13835 if (PyErr_Occurred()) SWIG_fail
;
13837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13852 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13853 PyObject
*resultobj
= 0;
13854 wxFont
*arg1
= (wxFont
*) 0 ;
13857 PyObject
*swig_obj
[1] ;
13859 if (!args
) SWIG_fail
;
13860 swig_obj
[0] = args
;
13861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13862 if (!SWIG_IsOK(res1
)) {
13863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13865 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13873 resultobj
= SWIG_Py_Void();
13880 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13881 PyObject
*resultobj
= 0;
13882 wxNativeFontInfo
*arg1
= 0 ;
13883 wxFont
*result
= 0 ;
13886 PyObject
* obj0
= 0 ;
13887 char * kwnames
[] = {
13888 (char *) "info", NULL
13891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13892 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13893 if (!SWIG_IsOK(res1
)) {
13894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13899 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13901 if (!wxPyCheckForApp()) SWIG_fail
;
13902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13903 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13904 wxPyEndAllowThreads(__tstate
);
13905 if (PyErr_Occurred()) SWIG_fail
;
13907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13914 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
= 0;
13916 wxString
*arg1
= 0 ;
13917 wxFont
*result
= 0 ;
13918 bool temp1
= false ;
13919 PyObject
* obj0
= 0 ;
13920 char * kwnames
[] = {
13921 (char *) "info", NULL
13924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13926 arg1
= wxString_in_helper(obj0
);
13927 if (arg1
== NULL
) SWIG_fail
;
13931 if (!wxPyCheckForApp()) SWIG_fail
;
13932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13933 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13934 wxPyEndAllowThreads(__tstate
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13952 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13953 PyObject
*resultobj
= 0;
13955 wxFontFamily arg2
;
13956 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13957 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13958 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13959 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13960 wxFont
*result
= 0 ;
13967 bool temp4
= false ;
13970 PyObject
* obj0
= 0 ;
13971 PyObject
* obj1
= 0 ;
13972 PyObject
* obj2
= 0 ;
13973 PyObject
* obj3
= 0 ;
13974 PyObject
* obj4
= 0 ;
13975 char * kwnames
[] = {
13976 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13980 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13981 if (!SWIG_IsOK(ecode1
)) {
13982 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13984 arg1
= static_cast< int >(val1
);
13985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13986 if (!SWIG_IsOK(ecode2
)) {
13987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13989 arg2
= static_cast< wxFontFamily
>(val2
);
13991 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13992 if (!SWIG_IsOK(ecode3
)) {
13993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13995 arg3
= static_cast< int >(val3
);
13999 arg4
= wxString_in_helper(obj3
);
14000 if (arg4
== NULL
) SWIG_fail
;
14005 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14006 if (!SWIG_IsOK(ecode5
)) {
14007 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14009 arg5
= static_cast< wxFontEncoding
>(val5
);
14012 if (!wxPyCheckForApp()) SWIG_fail
;
14013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14014 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14033 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14034 PyObject
*resultobj
= 0;
14039 bool arg5
= (bool) false ;
14040 wxString
const &arg6_defvalue
= wxEmptyString
;
14041 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14042 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14043 wxFont
*result
= 0 ;
14053 bool temp6
= false ;
14056 PyObject
* obj0
= 0 ;
14057 PyObject
* obj1
= 0 ;
14058 PyObject
* obj2
= 0 ;
14059 PyObject
* obj3
= 0 ;
14060 PyObject
* obj4
= 0 ;
14061 PyObject
* obj5
= 0 ;
14062 PyObject
* obj6
= 0 ;
14063 char * kwnames
[] = {
14064 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14070 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14073 if (!SWIG_IsOK(ecode2
)) {
14074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14076 arg2
= static_cast< int >(val2
);
14077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14078 if (!SWIG_IsOK(ecode3
)) {
14079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14081 arg3
= static_cast< int >(val3
);
14082 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14083 if (!SWIG_IsOK(ecode4
)) {
14084 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14086 arg4
= static_cast< int >(val4
);
14088 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14089 if (!SWIG_IsOK(ecode5
)) {
14090 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14092 arg5
= static_cast< bool >(val5
);
14096 arg6
= wxString_in_helper(obj5
);
14097 if (arg6
== NULL
) SWIG_fail
;
14102 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14103 if (!SWIG_IsOK(ecode7
)) {
14104 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14106 arg7
= static_cast< wxFontEncoding
>(val7
);
14109 if (!wxPyCheckForApp()) SWIG_fail
;
14110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14111 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14112 wxPyEndAllowThreads(__tstate
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14130 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14131 PyObject
*resultobj
= 0;
14133 wxFontFamily arg2
;
14134 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14135 wxString
const &arg4_defvalue
= wxEmptyString
;
14136 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14137 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14138 wxFont
*result
= 0 ;
14144 bool temp4
= false ;
14147 PyObject
* obj0
= 0 ;
14148 PyObject
* obj1
= 0 ;
14149 PyObject
* obj2
= 0 ;
14150 PyObject
* obj3
= 0 ;
14151 PyObject
* obj4
= 0 ;
14152 char * kwnames
[] = {
14153 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14159 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14162 if (!SWIG_IsOK(ecode2
)) {
14163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14165 arg2
= static_cast< wxFontFamily
>(val2
);
14167 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14168 if (!SWIG_IsOK(ecode3
)) {
14169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14171 arg3
= static_cast< int >(val3
);
14175 arg4
= wxString_in_helper(obj3
);
14176 if (arg4
== NULL
) SWIG_fail
;
14181 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14182 if (!SWIG_IsOK(ecode5
)) {
14183 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14185 arg5
= static_cast< wxFontEncoding
>(val5
);
14188 if (!wxPyCheckForApp()) SWIG_fail
;
14189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14190 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14209 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14210 PyObject
*resultobj
= 0;
14211 wxFont
*arg1
= (wxFont
*) 0 ;
14215 PyObject
*swig_obj
[1] ;
14217 if (!args
) SWIG_fail
;
14218 swig_obj
[0] = args
;
14219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14220 if (!SWIG_IsOK(res1
)) {
14221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14223 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14226 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14227 wxPyEndAllowThreads(__tstate
);
14228 if (PyErr_Occurred()) SWIG_fail
;
14231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14239 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14240 PyObject
*resultobj
= 0;
14241 wxFont
*arg1
= (wxFont
*) 0 ;
14242 wxFont
*arg2
= (wxFont
*) 0 ;
14248 PyObject
* obj0
= 0 ;
14249 PyObject
* obj1
= 0 ;
14250 char * kwnames
[] = {
14251 (char *) "self",(char *) "other", NULL
14254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14256 if (!SWIG_IsOK(res1
)) {
14257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14259 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14260 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14261 if (!SWIG_IsOK(res2
)) {
14262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14264 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14280 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14281 PyObject
*resultobj
= 0;
14282 wxFont
*arg1
= (wxFont
*) 0 ;
14283 wxFont
*arg2
= (wxFont
*) 0 ;
14289 PyObject
* obj0
= 0 ;
14290 PyObject
* obj1
= 0 ;
14291 char * kwnames
[] = {
14292 (char *) "self",(char *) "other", NULL
14295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14297 if (!SWIG_IsOK(res1
)) {
14298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14300 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14301 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14302 if (!SWIG_IsOK(res2
)) {
14303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14305 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14308 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14321 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14322 PyObject
*resultobj
= 0;
14323 wxFont
*arg1
= (wxFont
*) 0 ;
14327 PyObject
*swig_obj
[1] ;
14329 if (!args
) SWIG_fail
;
14330 swig_obj
[0] = args
;
14331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14332 if (!SWIG_IsOK(res1
)) {
14333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14335 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14338 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14339 wxPyEndAllowThreads(__tstate
);
14340 if (PyErr_Occurred()) SWIG_fail
;
14342 resultobj
= SWIG_From_int(static_cast< int >(result
));
14349 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14350 PyObject
*resultobj
= 0;
14351 wxFont
*arg1
= (wxFont
*) 0 ;
14355 PyObject
*swig_obj
[1] ;
14357 if (!args
) SWIG_fail
;
14358 swig_obj
[0] = args
;
14359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14360 if (!SWIG_IsOK(res1
)) {
14361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14363 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14366 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14367 wxPyEndAllowThreads(__tstate
);
14368 if (PyErr_Occurred()) SWIG_fail
;
14370 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14377 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14378 PyObject
*resultobj
= 0;
14379 wxFont
*arg1
= (wxFont
*) 0 ;
14383 PyObject
*swig_obj
[1] ;
14385 if (!args
) SWIG_fail
;
14386 swig_obj
[0] = args
;
14387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14388 if (!SWIG_IsOK(res1
)) {
14389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14391 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14394 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14407 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14408 PyObject
*resultobj
= 0;
14409 wxFont
*arg1
= (wxFont
*) 0 ;
14413 PyObject
*swig_obj
[1] ;
14415 if (!args
) SWIG_fail
;
14416 swig_obj
[0] = args
;
14417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14418 if (!SWIG_IsOK(res1
)) {
14419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14421 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14425 wxPyEndAllowThreads(__tstate
);
14426 if (PyErr_Occurred()) SWIG_fail
;
14428 resultobj
= SWIG_From_int(static_cast< int >(result
));
14435 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14436 PyObject
*resultobj
= 0;
14437 wxFont
*arg1
= (wxFont
*) 0 ;
14441 PyObject
*swig_obj
[1] ;
14443 if (!args
) SWIG_fail
;
14444 swig_obj
[0] = args
;
14445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14446 if (!SWIG_IsOK(res1
)) {
14447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14449 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14452 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14453 wxPyEndAllowThreads(__tstate
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14456 resultobj
= SWIG_From_int(static_cast< int >(result
));
14463 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14464 PyObject
*resultobj
= 0;
14465 wxFont
*arg1
= (wxFont
*) 0 ;
14469 PyObject
*swig_obj
[1] ;
14471 if (!args
) SWIG_fail
;
14472 swig_obj
[0] = args
;
14473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14474 if (!SWIG_IsOK(res1
)) {
14475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14477 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14480 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14481 wxPyEndAllowThreads(__tstate
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14484 resultobj
= SWIG_From_int(static_cast< int >(result
));
14491 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14492 PyObject
*resultobj
= 0;
14493 wxFont
*arg1
= (wxFont
*) 0 ;
14497 PyObject
*swig_obj
[1] ;
14499 if (!args
) SWIG_fail
;
14500 swig_obj
[0] = args
;
14501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14502 if (!SWIG_IsOK(res1
)) {
14503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14505 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14508 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14509 wxPyEndAllowThreads(__tstate
);
14510 if (PyErr_Occurred()) SWIG_fail
;
14513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14521 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14522 PyObject
*resultobj
= 0;
14523 wxFont
*arg1
= (wxFont
*) 0 ;
14527 PyObject
*swig_obj
[1] ;
14529 if (!args
) SWIG_fail
;
14530 swig_obj
[0] = args
;
14531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14532 if (!SWIG_IsOK(res1
)) {
14533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14535 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14538 result
= ((wxFont
const *)arg1
)->GetFaceName();
14539 wxPyEndAllowThreads(__tstate
);
14540 if (PyErr_Occurred()) SWIG_fail
;
14544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14555 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14556 PyObject
*resultobj
= 0;
14557 wxFont
*arg1
= (wxFont
*) 0 ;
14558 wxFontEncoding result
;
14561 PyObject
*swig_obj
[1] ;
14563 if (!args
) SWIG_fail
;
14564 swig_obj
[0] = args
;
14565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14566 if (!SWIG_IsOK(res1
)) {
14567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14569 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14572 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14573 wxPyEndAllowThreads(__tstate
);
14574 if (PyErr_Occurred()) SWIG_fail
;
14576 resultobj
= SWIG_From_int(static_cast< int >(result
));
14583 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14584 PyObject
*resultobj
= 0;
14585 wxFont
*arg1
= (wxFont
*) 0 ;
14586 wxNativeFontInfo
*result
= 0 ;
14589 PyObject
*swig_obj
[1] ;
14591 if (!args
) SWIG_fail
;
14592 swig_obj
[0] = args
;
14593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14594 if (!SWIG_IsOK(res1
)) {
14595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14597 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14600 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14601 wxPyEndAllowThreads(__tstate
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14611 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14612 PyObject
*resultobj
= 0;
14613 wxFont
*arg1
= (wxFont
*) 0 ;
14617 PyObject
*swig_obj
[1] ;
14619 if (!args
) SWIG_fail
;
14620 swig_obj
[0] = args
;
14621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14622 if (!SWIG_IsOK(res1
)) {
14623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14625 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14628 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14629 wxPyEndAllowThreads(__tstate
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14641 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14642 PyObject
*resultobj
= 0;
14643 wxFont
*arg1
= (wxFont
*) 0 ;
14647 PyObject
*swig_obj
[1] ;
14649 if (!args
) SWIG_fail
;
14650 swig_obj
[0] = args
;
14651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14652 if (!SWIG_IsOK(res1
)) {
14653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14655 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14659 wxPyEndAllowThreads(__tstate
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14664 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14666 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14675 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14676 PyObject
*resultobj
= 0;
14677 wxFont
*arg1
= (wxFont
*) 0 ;
14681 PyObject
*swig_obj
[1] ;
14683 if (!args
) SWIG_fail
;
14684 swig_obj
[0] = args
;
14685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14686 if (!SWIG_IsOK(res1
)) {
14687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14689 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14692 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14693 wxPyEndAllowThreads(__tstate
);
14694 if (PyErr_Occurred()) SWIG_fail
;
14698 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14700 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14709 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14710 PyObject
*resultobj
= 0;
14711 wxFont
*arg1
= (wxFont
*) 0 ;
14717 PyObject
* obj0
= 0 ;
14718 PyObject
* obj1
= 0 ;
14719 char * kwnames
[] = {
14720 (char *) "self",(char *) "pointSize", NULL
14723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14725 if (!SWIG_IsOK(res1
)) {
14726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14728 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14730 if (!SWIG_IsOK(ecode2
)) {
14731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14733 arg2
= static_cast< int >(val2
);
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 (arg1
)->SetPointSize(arg2
);
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14740 resultobj
= SWIG_Py_Void();
14747 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14748 PyObject
*resultobj
= 0;
14749 wxFont
*arg1
= (wxFont
*) 0 ;
14754 PyObject
* obj0
= 0 ;
14755 PyObject
* obj1
= 0 ;
14756 char * kwnames
[] = {
14757 (char *) "self",(char *) "pixelSize", NULL
14760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14762 if (!SWIG_IsOK(res1
)) {
14763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14765 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14768 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14773 wxPyEndAllowThreads(__tstate
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14776 resultobj
= SWIG_Py_Void();
14783 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14784 PyObject
*resultobj
= 0;
14785 wxFont
*arg1
= (wxFont
*) 0 ;
14791 PyObject
* obj0
= 0 ;
14792 PyObject
* obj1
= 0 ;
14793 char * kwnames
[] = {
14794 (char *) "self",(char *) "family", NULL
14797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14799 if (!SWIG_IsOK(res1
)) {
14800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14802 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14804 if (!SWIG_IsOK(ecode2
)) {
14805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14807 arg2
= static_cast< int >(val2
);
14809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14810 (arg1
)->SetFamily(arg2
);
14811 wxPyEndAllowThreads(__tstate
);
14812 if (PyErr_Occurred()) SWIG_fail
;
14814 resultobj
= SWIG_Py_Void();
14821 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14822 PyObject
*resultobj
= 0;
14823 wxFont
*arg1
= (wxFont
*) 0 ;
14829 PyObject
* obj0
= 0 ;
14830 PyObject
* obj1
= 0 ;
14831 char * kwnames
[] = {
14832 (char *) "self",(char *) "style", NULL
14835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14837 if (!SWIG_IsOK(res1
)) {
14838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14840 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14842 if (!SWIG_IsOK(ecode2
)) {
14843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14845 arg2
= static_cast< int >(val2
);
14847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14848 (arg1
)->SetStyle(arg2
);
14849 wxPyEndAllowThreads(__tstate
);
14850 if (PyErr_Occurred()) SWIG_fail
;
14852 resultobj
= SWIG_Py_Void();
14859 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14860 PyObject
*resultobj
= 0;
14861 wxFont
*arg1
= (wxFont
*) 0 ;
14867 PyObject
* obj0
= 0 ;
14868 PyObject
* obj1
= 0 ;
14869 char * kwnames
[] = {
14870 (char *) "self",(char *) "weight", NULL
14873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14875 if (!SWIG_IsOK(res1
)) {
14876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14878 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14880 if (!SWIG_IsOK(ecode2
)) {
14881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14883 arg2
= static_cast< int >(val2
);
14885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14886 (arg1
)->SetWeight(arg2
);
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14890 resultobj
= SWIG_Py_Void();
14897 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14898 PyObject
*resultobj
= 0;
14899 wxFont
*arg1
= (wxFont
*) 0 ;
14900 wxString
*arg2
= 0 ;
14904 bool temp2
= false ;
14905 PyObject
* obj0
= 0 ;
14906 PyObject
* obj1
= 0 ;
14907 char * kwnames
[] = {
14908 (char *) "self",(char *) "faceName", NULL
14911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14913 if (!SWIG_IsOK(res1
)) {
14914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14916 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14918 arg2
= wxString_in_helper(obj1
);
14919 if (arg2
== NULL
) SWIG_fail
;
14923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14924 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14945 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14946 PyObject
*resultobj
= 0;
14947 wxFont
*arg1
= (wxFont
*) 0 ;
14953 PyObject
* obj0
= 0 ;
14954 PyObject
* obj1
= 0 ;
14955 char * kwnames
[] = {
14956 (char *) "self",(char *) "underlined", NULL
14959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14961 if (!SWIG_IsOK(res1
)) {
14962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14964 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14965 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14966 if (!SWIG_IsOK(ecode2
)) {
14967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14969 arg2
= static_cast< bool >(val2
);
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 (arg1
)->SetUnderlined(arg2
);
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14976 resultobj
= SWIG_Py_Void();
14983 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14984 PyObject
*resultobj
= 0;
14985 wxFont
*arg1
= (wxFont
*) 0 ;
14986 wxFontEncoding arg2
;
14991 PyObject
* obj0
= 0 ;
14992 PyObject
* obj1
= 0 ;
14993 char * kwnames
[] = {
14994 (char *) "self",(char *) "encoding", NULL
14997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14999 if (!SWIG_IsOK(res1
)) {
15000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15002 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15004 if (!SWIG_IsOK(ecode2
)) {
15005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15007 arg2
= static_cast< wxFontEncoding
>(val2
);
15009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15010 (arg1
)->SetEncoding(arg2
);
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15014 resultobj
= SWIG_Py_Void();
15021 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15022 PyObject
*resultobj
= 0;
15023 wxFont
*arg1
= (wxFont
*) 0 ;
15024 wxNativeFontInfo
*arg2
= 0 ;
15029 PyObject
* obj0
= 0 ;
15030 PyObject
* obj1
= 0 ;
15031 char * kwnames
[] = {
15032 (char *) "self",(char *) "info", NULL
15035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15037 if (!SWIG_IsOK(res1
)) {
15038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15040 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15041 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15042 if (!SWIG_IsOK(res2
)) {
15043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15048 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15051 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15052 wxPyEndAllowThreads(__tstate
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15055 resultobj
= SWIG_Py_Void();
15062 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15063 PyObject
*resultobj
= 0;
15064 wxFont
*arg1
= (wxFont
*) 0 ;
15065 wxString
*arg2
= 0 ;
15069 bool temp2
= false ;
15070 PyObject
* obj0
= 0 ;
15071 PyObject
* obj1
= 0 ;
15072 char * kwnames
[] = {
15073 (char *) "self",(char *) "info", NULL
15076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15078 if (!SWIG_IsOK(res1
)) {
15079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15081 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15083 arg2
= wxString_in_helper(obj1
);
15084 if (arg2
== NULL
) SWIG_fail
;
15088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15089 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15090 wxPyEndAllowThreads(__tstate
);
15091 if (PyErr_Occurred()) SWIG_fail
;
15094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15110 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15111 PyObject
*resultobj
= 0;
15112 wxFont
*arg1
= (wxFont
*) 0 ;
15113 wxString
*arg2
= 0 ;
15117 bool temp2
= false ;
15118 PyObject
* obj0
= 0 ;
15119 PyObject
* obj1
= 0 ;
15120 char * kwnames
[] = {
15121 (char *) "self",(char *) "info", NULL
15124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15126 if (!SWIG_IsOK(res1
)) {
15127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15129 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15131 arg2
= wxString_in_helper(obj1
);
15132 if (arg2
== NULL
) SWIG_fail
;
15136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15158 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15159 PyObject
*resultobj
= 0;
15160 wxFont
*arg1
= (wxFont
*) 0 ;
15164 PyObject
*swig_obj
[1] ;
15166 if (!args
) SWIG_fail
;
15167 swig_obj
[0] = args
;
15168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15169 if (!SWIG_IsOK(res1
)) {
15170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15172 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15181 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15183 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15192 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15193 PyObject
*resultobj
= 0;
15194 wxFont
*arg1
= (wxFont
*) 0 ;
15198 PyObject
*swig_obj
[1] ;
15200 if (!args
) SWIG_fail
;
15201 swig_obj
[0] = args
;
15202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15203 if (!SWIG_IsOK(res1
)) {
15204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15206 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15209 result
= ((wxFont
const *)arg1
)->GetStyleString();
15210 wxPyEndAllowThreads(__tstate
);
15211 if (PyErr_Occurred()) SWIG_fail
;
15215 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15217 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15226 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15227 PyObject
*resultobj
= 0;
15228 wxFont
*arg1
= (wxFont
*) 0 ;
15232 PyObject
*swig_obj
[1] ;
15234 if (!args
) SWIG_fail
;
15235 swig_obj
[0] = args
;
15236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15237 if (!SWIG_IsOK(res1
)) {
15238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15240 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15243 result
= ((wxFont
const *)arg1
)->GetWeightString();
15244 wxPyEndAllowThreads(__tstate
);
15245 if (PyErr_Occurred()) SWIG_fail
;
15249 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15251 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15260 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15261 PyObject
*resultobj
= 0;
15262 wxFont
*arg1
= (wxFont
*) 0 ;
15263 bool arg2
= (bool) true ;
15268 PyObject
* obj0
= 0 ;
15269 PyObject
* obj1
= 0 ;
15270 char * kwnames
[] = {
15271 (char *) "self",(char *) "no", NULL
15274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15276 if (!SWIG_IsOK(res1
)) {
15277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15279 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15281 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15282 if (!SWIG_IsOK(ecode2
)) {
15283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15285 arg2
= static_cast< bool >(val2
);
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 (arg1
)->SetNoAntiAliasing(arg2
);
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15293 resultobj
= SWIG_Py_Void();
15300 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15301 PyObject
*resultobj
= 0;
15302 wxFont
*arg1
= (wxFont
*) 0 ;
15306 PyObject
*swig_obj
[1] ;
15308 if (!args
) SWIG_fail
;
15309 swig_obj
[0] = args
;
15310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15311 if (!SWIG_IsOK(res1
)) {
15312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15314 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15317 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15330 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15331 PyObject
*resultobj
= 0;
15332 wxFontEncoding result
;
15334 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15336 if (!wxPyCheckForApp()) SWIG_fail
;
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15339 wxPyEndAllowThreads(__tstate
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15342 resultobj
= SWIG_From_int(static_cast< int >(result
));
15349 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15350 PyObject
*resultobj
= 0;
15351 wxFontEncoding arg1
;
15354 PyObject
* obj0
= 0 ;
15355 char * kwnames
[] = {
15356 (char *) "encoding", NULL
15359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15360 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15361 if (!SWIG_IsOK(ecode1
)) {
15362 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15364 arg1
= static_cast< wxFontEncoding
>(val1
);
15366 if (!wxPyCheckForApp()) SWIG_fail
;
15367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15368 wxFont::SetDefaultEncoding(arg1
);
15369 wxPyEndAllowThreads(__tstate
);
15370 if (PyErr_Occurred()) SWIG_fail
;
15372 resultobj
= SWIG_Py_Void();
15379 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15381 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15382 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15383 return SWIG_Py_Void();
15386 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15387 return SWIG_Python_InitShadowInstance(args
);
15390 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15391 PyObject
*resultobj
= 0;
15392 wxPyFontEnumerator
*result
= 0 ;
15394 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15396 if (!wxPyCheckForApp()) SWIG_fail
;
15397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15398 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15399 wxPyEndAllowThreads(__tstate
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15409 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15410 PyObject
*resultobj
= 0;
15411 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15414 PyObject
*swig_obj
[1] ;
15416 if (!args
) SWIG_fail
;
15417 swig_obj
[0] = args
;
15418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15419 if (!SWIG_IsOK(res1
)) {
15420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15422 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15427 wxPyEndAllowThreads(__tstate
);
15428 if (PyErr_Occurred()) SWIG_fail
;
15430 resultobj
= SWIG_Py_Void();
15437 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15438 PyObject
*resultobj
= 0;
15439 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15440 PyObject
*arg2
= (PyObject
*) 0 ;
15441 PyObject
*arg3
= (PyObject
*) 0 ;
15447 PyObject
* obj0
= 0 ;
15448 PyObject
* obj1
= 0 ;
15449 PyObject
* obj2
= 0 ;
15450 PyObject
* obj3
= 0 ;
15451 char * kwnames
[] = {
15452 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15457 if (!SWIG_IsOK(res1
)) {
15458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15460 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15463 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15464 if (!SWIG_IsOK(ecode4
)) {
15465 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15467 arg4
= static_cast< bool >(val4
);
15469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15470 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15471 wxPyEndAllowThreads(__tstate
);
15472 if (PyErr_Occurred()) SWIG_fail
;
15474 resultobj
= SWIG_Py_Void();
15481 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15482 PyObject
*resultobj
= 0;
15483 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15484 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15485 bool arg3
= (bool) false ;
15493 PyObject
* obj0
= 0 ;
15494 PyObject
* obj1
= 0 ;
15495 PyObject
* obj2
= 0 ;
15496 char * kwnames
[] = {
15497 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15502 if (!SWIG_IsOK(res1
)) {
15503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15505 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15508 if (!SWIG_IsOK(ecode2
)) {
15509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15511 arg2
= static_cast< wxFontEncoding
>(val2
);
15514 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15515 if (!SWIG_IsOK(ecode3
)) {
15516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15518 arg3
= static_cast< bool >(val3
);
15521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15522 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15523 wxPyEndAllowThreads(__tstate
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15535 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15536 PyObject
*resultobj
= 0;
15537 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15538 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15539 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15543 bool temp2
= false ;
15544 PyObject
* obj0
= 0 ;
15545 PyObject
* obj1
= 0 ;
15546 char * kwnames
[] = {
15547 (char *) "self",(char *) "facename", NULL
15550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15552 if (!SWIG_IsOK(res1
)) {
15553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15555 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15558 arg2
= wxString_in_helper(obj1
);
15559 if (arg2
== NULL
) SWIG_fail
;
15564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15566 wxPyEndAllowThreads(__tstate
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15586 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15587 PyObject
*resultobj
= 0;
15588 PyObject
*result
= 0 ;
15590 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15593 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15597 resultobj
= result
;
15604 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15605 PyObject
*resultobj
= 0;
15606 PyObject
*result
= 0 ;
15608 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15611 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15615 resultobj
= result
;
15622 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15623 PyObject
*resultobj
= 0;
15624 wxString
*arg1
= 0 ;
15626 bool temp1
= false ;
15627 PyObject
* obj0
= 0 ;
15628 char * kwnames
[] = {
15629 (char *) "str", NULL
15632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15634 arg1
= wxString_in_helper(obj0
);
15635 if (arg1
== NULL
) SWIG_fail
;
15639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15640 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15641 wxPyEndAllowThreads(__tstate
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15661 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15663 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15664 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15665 return SWIG_Py_Void();
15668 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15669 return SWIG_Python_InitShadowInstance(args
);
15672 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15673 PyObject
*resultobj
= 0;
15674 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15680 PyObject
*swig_obj
[2] ;
15682 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15684 if (!SWIG_IsOK(res1
)) {
15685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15687 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15688 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15689 if (!SWIG_IsOK(ecode2
)) {
15690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15692 arg2
= static_cast< int >(val2
);
15693 if (arg1
) (arg1
)->Language
= arg2
;
15695 resultobj
= SWIG_Py_Void();
15702 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15703 PyObject
*resultobj
= 0;
15704 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15708 PyObject
*swig_obj
[1] ;
15710 if (!args
) SWIG_fail
;
15711 swig_obj
[0] = args
;
15712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15713 if (!SWIG_IsOK(res1
)) {
15714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15716 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15717 result
= (int) ((arg1
)->Language
);
15718 resultobj
= SWIG_From_int(static_cast< int >(result
));
15725 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15726 PyObject
*resultobj
= 0;
15727 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15728 wxString
*arg2
= (wxString
*) 0 ;
15731 bool temp2
= false ;
15732 PyObject
*swig_obj
[2] ;
15734 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15736 if (!SWIG_IsOK(res1
)) {
15737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15739 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15741 arg2
= wxString_in_helper(swig_obj
[1]);
15742 if (arg2
== NULL
) SWIG_fail
;
15745 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15747 resultobj
= SWIG_Py_Void();
15762 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15763 PyObject
*resultobj
= 0;
15764 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15765 wxString
*result
= 0 ;
15768 PyObject
*swig_obj
[1] ;
15770 if (!args
) SWIG_fail
;
15771 swig_obj
[0] = args
;
15772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15773 if (!SWIG_IsOK(res1
)) {
15774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15776 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15777 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15780 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15782 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15791 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15792 PyObject
*resultobj
= 0;
15793 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15794 wxString
*arg2
= (wxString
*) 0 ;
15797 bool temp2
= false ;
15798 PyObject
*swig_obj
[2] ;
15800 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15802 if (!SWIG_IsOK(res1
)) {
15803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15805 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15807 arg2
= wxString_in_helper(swig_obj
[1]);
15808 if (arg2
== NULL
) SWIG_fail
;
15811 if (arg1
) (arg1
)->Description
= *arg2
;
15813 resultobj
= SWIG_Py_Void();
15828 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15829 PyObject
*resultobj
= 0;
15830 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15831 wxString
*result
= 0 ;
15834 PyObject
*swig_obj
[1] ;
15836 if (!args
) SWIG_fail
;
15837 swig_obj
[0] = args
;
15838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15839 if (!SWIG_IsOK(res1
)) {
15840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15842 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15843 result
= (wxString
*)& ((arg1
)->Description
);
15846 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15848 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15857 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15859 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15860 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15861 return SWIG_Py_Void();
15864 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15865 PyObject
*resultobj
= 0;
15866 int arg1
= (int) -1 ;
15867 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15868 wxLocale
*result
= 0 ;
15873 PyObject
* obj0
= 0 ;
15874 PyObject
* obj1
= 0 ;
15875 char * kwnames
[] = {
15876 (char *) "language",(char *) "flags", NULL
15879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15881 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15882 if (!SWIG_IsOK(ecode1
)) {
15883 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15885 arg1
= static_cast< int >(val1
);
15888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15889 if (!SWIG_IsOK(ecode2
)) {
15890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15892 arg2
= static_cast< int >(val2
);
15895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15896 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15897 wxPyEndAllowThreads(__tstate
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15907 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15908 PyObject
*resultobj
= 0;
15909 wxLocale
*arg1
= (wxLocale
*) 0 ;
15912 PyObject
*swig_obj
[1] ;
15914 if (!args
) SWIG_fail
;
15915 swig_obj
[0] = args
;
15916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15917 if (!SWIG_IsOK(res1
)) {
15918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15920 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15928 resultobj
= SWIG_Py_Void();
15935 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15936 PyObject
*resultobj
= 0;
15937 wxLocale
*arg1
= (wxLocale
*) 0 ;
15938 wxString
*arg2
= 0 ;
15939 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15940 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15941 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15942 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15943 bool arg5
= (bool) true ;
15944 bool arg6
= (bool) false ;
15948 bool temp2
= false ;
15949 bool temp3
= false ;
15950 bool temp4
= false ;
15955 PyObject
* obj0
= 0 ;
15956 PyObject
* obj1
= 0 ;
15957 PyObject
* obj2
= 0 ;
15958 PyObject
* obj3
= 0 ;
15959 PyObject
* obj4
= 0 ;
15960 PyObject
* obj5
= 0 ;
15961 char * kwnames
[] = {
15962 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15967 if (!SWIG_IsOK(res1
)) {
15968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15970 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15972 arg2
= wxString_in_helper(obj1
);
15973 if (arg2
== NULL
) SWIG_fail
;
15978 arg3
= wxString_in_helper(obj2
);
15979 if (arg3
== NULL
) SWIG_fail
;
15985 arg4
= wxString_in_helper(obj3
);
15986 if (arg4
== NULL
) SWIG_fail
;
15991 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15992 if (!SWIG_IsOK(ecode5
)) {
15993 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15995 arg5
= static_cast< bool >(val5
);
15998 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15999 if (!SWIG_IsOK(ecode6
)) {
16000 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16002 arg6
= static_cast< bool >(val6
);
16005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16043 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16044 PyObject
*resultobj
= 0;
16045 wxLocale
*arg1
= (wxLocale
*) 0 ;
16046 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16047 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16055 PyObject
* obj0
= 0 ;
16056 PyObject
* obj1
= 0 ;
16057 PyObject
* obj2
= 0 ;
16058 char * kwnames
[] = {
16059 (char *) "self",(char *) "language",(char *) "flags", NULL
16062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16064 if (!SWIG_IsOK(res1
)) {
16065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16067 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16070 if (!SWIG_IsOK(ecode2
)) {
16071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16073 arg2
= static_cast< int >(val2
);
16076 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16077 if (!SWIG_IsOK(ecode3
)) {
16078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16080 arg3
= static_cast< int >(val3
);
16083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16084 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16085 wxPyEndAllowThreads(__tstate
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16097 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16098 PyObject
*resultobj
= 0;
16101 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16104 result
= (int)wxLocale::GetSystemLanguage();
16105 wxPyEndAllowThreads(__tstate
);
16106 if (PyErr_Occurred()) SWIG_fail
;
16108 resultobj
= SWIG_From_int(static_cast< int >(result
));
16115 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16116 PyObject
*resultobj
= 0;
16117 wxFontEncoding result
;
16119 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16122 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16123 wxPyEndAllowThreads(__tstate
);
16124 if (PyErr_Occurred()) SWIG_fail
;
16126 resultobj
= SWIG_From_int(static_cast< int >(result
));
16133 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16134 PyObject
*resultobj
= 0;
16137 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16140 result
= wxLocale::GetSystemEncodingName();
16141 wxPyEndAllowThreads(__tstate
);
16142 if (PyErr_Occurred()) SWIG_fail
;
16146 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16148 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16157 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16158 PyObject
*resultobj
= 0;
16159 wxLocale
*arg1
= (wxLocale
*) 0 ;
16163 PyObject
*swig_obj
[1] ;
16165 if (!args
) SWIG_fail
;
16166 swig_obj
[0] = args
;
16167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16168 if (!SWIG_IsOK(res1
)) {
16169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16171 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16174 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16175 wxPyEndAllowThreads(__tstate
);
16176 if (PyErr_Occurred()) SWIG_fail
;
16179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16187 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16188 PyObject
*resultobj
= 0;
16189 wxLocale
*arg1
= (wxLocale
*) 0 ;
16193 PyObject
*swig_obj
[1] ;
16195 if (!args
) SWIG_fail
;
16196 swig_obj
[0] = args
;
16197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16198 if (!SWIG_IsOK(res1
)) {
16199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16201 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16204 result
= ((wxLocale
const *)arg1
)->GetLocale();
16205 wxPyEndAllowThreads(__tstate
);
16206 if (PyErr_Occurred()) SWIG_fail
;
16210 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16212 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16221 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16222 PyObject
*resultobj
= 0;
16223 wxLocale
*arg1
= (wxLocale
*) 0 ;
16227 PyObject
*swig_obj
[1] ;
16229 if (!args
) SWIG_fail
;
16230 swig_obj
[0] = args
;
16231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16232 if (!SWIG_IsOK(res1
)) {
16233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16235 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16238 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16239 wxPyEndAllowThreads(__tstate
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16242 resultobj
= SWIG_From_int(static_cast< int >(result
));
16249 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16250 PyObject
*resultobj
= 0;
16251 wxLocale
*arg1
= (wxLocale
*) 0 ;
16255 PyObject
*swig_obj
[1] ;
16257 if (!args
) SWIG_fail
;
16258 swig_obj
[0] = args
;
16259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16260 if (!SWIG_IsOK(res1
)) {
16261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16263 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16266 result
= ((wxLocale
const *)arg1
)->GetSysName();
16267 wxPyEndAllowThreads(__tstate
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16283 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16284 PyObject
*resultobj
= 0;
16285 wxLocale
*arg1
= (wxLocale
*) 0 ;
16289 PyObject
*swig_obj
[1] ;
16291 if (!args
) SWIG_fail
;
16292 swig_obj
[0] = args
;
16293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16294 if (!SWIG_IsOK(res1
)) {
16295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16297 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16300 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16301 wxPyEndAllowThreads(__tstate
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16306 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16308 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16317 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
= 0;
16319 wxString
*arg1
= 0 ;
16320 bool temp1
= false ;
16321 PyObject
* obj0
= 0 ;
16322 char * kwnames
[] = {
16323 (char *) "prefix", NULL
16326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16328 arg1
= wxString_in_helper(obj0
);
16329 if (arg1
== NULL
) SWIG_fail
;
16333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16334 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16335 wxPyEndAllowThreads(__tstate
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16338 resultobj
= SWIG_Py_Void();
16353 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16354 PyObject
*resultobj
= 0;
16355 wxLocale
*arg1
= (wxLocale
*) 0 ;
16356 wxString
*arg2
= 0 ;
16360 bool temp2
= false ;
16361 PyObject
* obj0
= 0 ;
16362 PyObject
* obj1
= 0 ;
16363 char * kwnames
[] = {
16364 (char *) "self",(char *) "szDomain", NULL
16367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16369 if (!SWIG_IsOK(res1
)) {
16370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16372 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16374 arg2
= wxString_in_helper(obj1
);
16375 if (arg2
== NULL
) SWIG_fail
;
16379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16380 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16381 wxPyEndAllowThreads(__tstate
);
16382 if (PyErr_Occurred()) SWIG_fail
;
16385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16401 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
= 0;
16407 PyObject
* obj0
= 0 ;
16408 char * kwnames
[] = {
16409 (char *) "lang", NULL
16412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16413 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16414 if (!SWIG_IsOK(ecode1
)) {
16415 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16417 arg1
= static_cast< int >(val1
);
16419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16420 result
= (bool)wxLocale::IsAvailable(arg1
);
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16433 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16434 PyObject
*resultobj
= 0;
16435 wxLocale
*arg1
= (wxLocale
*) 0 ;
16436 wxString
*arg2
= 0 ;
16440 bool temp2
= false ;
16441 PyObject
* obj0
= 0 ;
16442 PyObject
* obj1
= 0 ;
16443 char * kwnames
[] = {
16444 (char *) "self",(char *) "szDomain", NULL
16447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16449 if (!SWIG_IsOK(res1
)) {
16450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16452 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16454 arg2
= wxString_in_helper(obj1
);
16455 if (arg2
== NULL
) SWIG_fail
;
16459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16461 wxPyEndAllowThreads(__tstate
);
16462 if (PyErr_Occurred()) SWIG_fail
;
16465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16481 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16482 PyObject
*resultobj
= 0;
16484 wxLanguageInfo
*result
= 0 ;
16487 PyObject
* obj0
= 0 ;
16488 char * kwnames
[] = {
16489 (char *) "lang", NULL
16492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16493 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16494 if (!SWIG_IsOK(ecode1
)) {
16495 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16497 arg1
= static_cast< int >(val1
);
16499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16500 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16501 wxPyEndAllowThreads(__tstate
);
16502 if (PyErr_Occurred()) SWIG_fail
;
16504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16511 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16512 PyObject
*resultobj
= 0;
16517 PyObject
* obj0
= 0 ;
16518 char * kwnames
[] = {
16519 (char *) "lang", NULL
16522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16523 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16524 if (!SWIG_IsOK(ecode1
)) {
16525 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16527 arg1
= static_cast< int >(val1
);
16529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16530 result
= wxLocale::GetLanguageName(arg1
);
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16547 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
= 0;
16549 wxString
*arg1
= 0 ;
16550 wxLanguageInfo
*result
= 0 ;
16551 bool temp1
= false ;
16552 PyObject
* obj0
= 0 ;
16553 char * kwnames
[] = {
16554 (char *) "locale", NULL
16557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16559 arg1
= wxString_in_helper(obj0
);
16560 if (arg1
== NULL
) SWIG_fail
;
16564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16565 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16566 wxPyEndAllowThreads(__tstate
);
16567 if (PyErr_Occurred()) SWIG_fail
;
16569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16584 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16585 PyObject
*resultobj
= 0;
16586 wxLanguageInfo
*arg1
= 0 ;
16589 PyObject
* obj0
= 0 ;
16590 char * kwnames
[] = {
16591 (char *) "info", NULL
16594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16595 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16596 if (!SWIG_IsOK(res1
)) {
16597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16602 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16605 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16606 wxPyEndAllowThreads(__tstate
);
16607 if (PyErr_Occurred()) SWIG_fail
;
16609 resultobj
= SWIG_Py_Void();
16616 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
= 0;
16618 wxLocale
*arg1
= (wxLocale
*) 0 ;
16619 wxString
*arg2
= 0 ;
16620 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16621 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16625 bool temp2
= false ;
16626 bool temp3
= false ;
16627 PyObject
* obj0
= 0 ;
16628 PyObject
* obj1
= 0 ;
16629 PyObject
* obj2
= 0 ;
16630 char * kwnames
[] = {
16631 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16636 if (!SWIG_IsOK(res1
)) {
16637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16639 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16641 arg2
= wxString_in_helper(obj1
);
16642 if (arg2
== NULL
) SWIG_fail
;
16647 arg3
= wxString_in_helper(obj2
);
16648 if (arg3
== NULL
) SWIG_fail
;
16653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16654 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16655 wxPyEndAllowThreads(__tstate
);
16656 if (PyErr_Occurred()) SWIG_fail
;
16660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16687 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16688 PyObject
*resultobj
= 0;
16689 wxLocale
*arg1
= (wxLocale
*) 0 ;
16690 wxString
*result
= 0 ;
16693 PyObject
*swig_obj
[1] ;
16695 if (!args
) SWIG_fail
;
16696 swig_obj
[0] = args
;
16697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16698 if (!SWIG_IsOK(res1
)) {
16699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16701 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16705 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16706 result
= (wxString
*) &_result_ref
;
16708 wxPyEndAllowThreads(__tstate
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16713 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16715 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16724 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16727 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16728 return SWIG_Py_Void();
16731 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16732 return SWIG_Python_InitShadowInstance(args
);
16735 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16736 PyObject
*resultobj
= 0;
16737 int arg1
= (int) -1 ;
16738 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16739 wxPyLocale
*result
= 0 ;
16744 PyObject
* obj0
= 0 ;
16745 PyObject
* obj1
= 0 ;
16746 char * kwnames
[] = {
16747 (char *) "language",(char *) "flags", NULL
16750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16752 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16753 if (!SWIG_IsOK(ecode1
)) {
16754 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16756 arg1
= static_cast< int >(val1
);
16759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16760 if (!SWIG_IsOK(ecode2
)) {
16761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16763 arg2
= static_cast< int >(val2
);
16766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16767 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16768 wxPyEndAllowThreads(__tstate
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16778 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16779 PyObject
*resultobj
= 0;
16780 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16783 PyObject
*swig_obj
[1] ;
16785 if (!args
) SWIG_fail
;
16786 swig_obj
[0] = args
;
16787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16788 if (!SWIG_IsOK(res1
)) {
16789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16791 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16796 wxPyEndAllowThreads(__tstate
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16799 resultobj
= SWIG_Py_Void();
16806 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16807 PyObject
*resultobj
= 0;
16808 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16809 PyObject
*arg2
= (PyObject
*) 0 ;
16810 PyObject
*arg3
= (PyObject
*) 0 ;
16813 PyObject
* obj0
= 0 ;
16814 PyObject
* obj1
= 0 ;
16815 PyObject
* obj2
= 0 ;
16816 char * kwnames
[] = {
16817 (char *) "self",(char *) "self",(char *) "_class", NULL
16820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16822 if (!SWIG_IsOK(res1
)) {
16823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16825 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16830 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16834 resultobj
= SWIG_Py_Void();
16841 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
= 0;
16843 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16844 wxChar
*arg2
= (wxChar
*) 0 ;
16845 wxChar
*arg3
= (wxChar
*) NULL
;
16846 wxChar
*result
= 0 ;
16853 PyObject
* obj0
= 0 ;
16854 PyObject
* obj1
= 0 ;
16855 PyObject
* obj2
= 0 ;
16856 char * kwnames
[] = {
16857 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16862 if (!SWIG_IsOK(res1
)) {
16863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16865 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16866 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16867 if (!SWIG_IsOK(res2
)) {
16868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16870 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16872 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16873 if (!SWIG_IsOK(res3
)) {
16874 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16876 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16880 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16881 wxPyEndAllowThreads(__tstate
);
16882 if (PyErr_Occurred()) SWIG_fail
;
16884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16891 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16892 PyObject
*resultobj
= 0;
16893 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16894 wxChar
*arg2
= (wxChar
*) 0 ;
16895 wxChar
*arg3
= (wxChar
*) 0 ;
16897 wxChar
*arg5
= (wxChar
*) NULL
;
16898 wxChar
*result
= 0 ;
16909 PyObject
* obj0
= 0 ;
16910 PyObject
* obj1
= 0 ;
16911 PyObject
* obj2
= 0 ;
16912 PyObject
* obj3
= 0 ;
16913 PyObject
* obj4
= 0 ;
16914 char * kwnames
[] = {
16915 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16920 if (!SWIG_IsOK(res1
)) {
16921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16923 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16924 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16925 if (!SWIG_IsOK(res2
)) {
16926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16928 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16929 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16930 if (!SWIG_IsOK(res3
)) {
16931 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16933 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16934 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16935 if (!SWIG_IsOK(ecode4
)) {
16936 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16938 arg4
= static_cast< size_t >(val4
);
16940 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16941 if (!SWIG_IsOK(res5
)) {
16942 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16944 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16948 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16949 wxPyEndAllowThreads(__tstate
);
16950 if (PyErr_Occurred()) SWIG_fail
;
16952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16959 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16961 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16962 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16963 return SWIG_Py_Void();
16966 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16967 return SWIG_Python_InitShadowInstance(args
);
16970 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16971 PyObject
*resultobj
= 0;
16972 wxLocale
*result
= 0 ;
16974 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16977 result
= (wxLocale
*)wxGetLocale();
16978 wxPyEndAllowThreads(__tstate
);
16979 if (PyErr_Occurred()) SWIG_fail
;
16981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16988 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16989 PyObject
*resultobj
= 0;
16990 wxString
*arg1
= 0 ;
16992 bool temp1
= false ;
16994 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16996 arg1
= wxString_in_helper(swig_obj
[0]);
16997 if (arg1
== NULL
) SWIG_fail
;
17001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17002 result
= wxGetTranslation((wxString
const &)*arg1
);
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17008 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17010 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17027 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17028 PyObject
*resultobj
= 0;
17029 wxString
*arg1
= 0 ;
17030 wxString
*arg2
= 0 ;
17032 bool temp1
= false ;
17033 bool temp2
= false ;
17035 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17037 arg1
= wxString_in_helper(swig_obj
[0]);
17038 if (arg1
== NULL
) SWIG_fail
;
17042 arg2
= wxString_in_helper(swig_obj
[1]);
17043 if (arg2
== NULL
) SWIG_fail
;
17047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17048 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17049 wxPyEndAllowThreads(__tstate
);
17050 if (PyErr_Occurred()) SWIG_fail
;
17054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17081 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17082 PyObject
*resultobj
= 0;
17083 wxString
*arg1
= 0 ;
17084 wxString
*arg2
= 0 ;
17087 bool temp1
= false ;
17088 bool temp2
= false ;
17092 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17094 arg1
= wxString_in_helper(swig_obj
[0]);
17095 if (arg1
== NULL
) SWIG_fail
;
17099 arg2
= wxString_in_helper(swig_obj
[1]);
17100 if (arg2
== NULL
) SWIG_fail
;
17103 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17104 if (!SWIG_IsOK(ecode3
)) {
17105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17107 arg3
= static_cast< size_t >(val3
);
17109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17110 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17111 wxPyEndAllowThreads(__tstate
);
17112 if (PyErr_Occurred()) SWIG_fail
;
17116 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17118 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17143 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17144 PyObject
*resultobj
= 0;
17145 wxString
*arg1
= 0 ;
17146 wxString
*arg2
= 0 ;
17148 wxString
*arg4
= 0 ;
17150 bool temp1
= false ;
17151 bool temp2
= false ;
17154 bool temp4
= false ;
17156 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17158 arg1
= wxString_in_helper(swig_obj
[0]);
17159 if (arg1
== NULL
) SWIG_fail
;
17163 arg2
= wxString_in_helper(swig_obj
[1]);
17164 if (arg2
== NULL
) SWIG_fail
;
17167 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17168 if (!SWIG_IsOK(ecode3
)) {
17169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17171 arg3
= static_cast< size_t >(val3
);
17173 arg4
= wxString_in_helper(swig_obj
[3]);
17174 if (arg4
== NULL
) SWIG_fail
;
17178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17179 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17180 wxPyEndAllowThreads(__tstate
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17220 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17224 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17227 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17230 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17233 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17236 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17240 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17245 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17246 PyObject
*resultobj
= 0;
17247 wxEncodingConverter
*result
= 0 ;
17249 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17253 wxPyEndAllowThreads(__tstate
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17263 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17264 PyObject
*resultobj
= 0;
17265 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17268 PyObject
*swig_obj
[1] ;
17270 if (!args
) SWIG_fail
;
17271 swig_obj
[0] = args
;
17272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17273 if (!SWIG_IsOK(res1
)) {
17274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17276 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 wxPyEndAllowThreads(__tstate
);
17282 if (PyErr_Occurred()) SWIG_fail
;
17284 resultobj
= SWIG_Py_Void();
17291 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17292 PyObject
*resultobj
= 0;
17293 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17294 wxFontEncoding arg2
;
17295 wxFontEncoding arg3
;
17296 int arg4
= (int) wxCONVERT_STRICT
;
17306 PyObject
* obj0
= 0 ;
17307 PyObject
* obj1
= 0 ;
17308 PyObject
* obj2
= 0 ;
17309 PyObject
* obj3
= 0 ;
17310 char * kwnames
[] = {
17311 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17316 if (!SWIG_IsOK(res1
)) {
17317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17319 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17321 if (!SWIG_IsOK(ecode2
)) {
17322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17324 arg2
= static_cast< wxFontEncoding
>(val2
);
17325 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17326 if (!SWIG_IsOK(ecode3
)) {
17327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17329 arg3
= static_cast< wxFontEncoding
>(val3
);
17331 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17332 if (!SWIG_IsOK(ecode4
)) {
17333 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17335 arg4
= static_cast< int >(val4
);
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17340 wxPyEndAllowThreads(__tstate
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17352 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17353 PyObject
*resultobj
= 0;
17354 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17355 wxString
*arg2
= 0 ;
17359 bool temp2
= false ;
17360 PyObject
* obj0
= 0 ;
17361 PyObject
* obj1
= 0 ;
17362 char * kwnames
[] = {
17363 (char *) "self",(char *) "input", NULL
17366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17368 if (!SWIG_IsOK(res1
)) {
17369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17371 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17373 arg2
= wxString_in_helper(obj1
);
17374 if (arg2
== NULL
) SWIG_fail
;
17378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17379 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17380 wxPyEndAllowThreads(__tstate
);
17381 if (PyErr_Occurred()) SWIG_fail
;
17385 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17387 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17404 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17405 PyObject
*resultobj
= 0;
17406 wxFontEncoding arg1
;
17407 int arg2
= (int) wxPLATFORM_CURRENT
;
17408 wxFontEncodingArray result
;
17413 PyObject
* obj0
= 0 ;
17414 PyObject
* obj1
= 0 ;
17415 char * kwnames
[] = {
17416 (char *) "enc",(char *) "platform", NULL
17419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17420 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17421 if (!SWIG_IsOK(ecode1
)) {
17422 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17424 arg1
= static_cast< wxFontEncoding
>(val1
);
17426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17427 if (!SWIG_IsOK(ecode2
)) {
17428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17430 arg2
= static_cast< int >(val2
);
17433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17434 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17439 resultobj
= PyList_New(0);
17440 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17441 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17442 PyList_Append(resultobj
, number
);
17452 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17453 PyObject
*resultobj
= 0;
17454 wxFontEncoding arg1
;
17455 wxFontEncodingArray result
;
17458 PyObject
* obj0
= 0 ;
17459 char * kwnames
[] = {
17460 (char *) "enc", NULL
17463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17464 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17465 if (!SWIG_IsOK(ecode1
)) {
17466 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17468 arg1
= static_cast< wxFontEncoding
>(val1
);
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17472 wxPyEndAllowThreads(__tstate
);
17473 if (PyErr_Occurred()) SWIG_fail
;
17476 resultobj
= PyList_New(0);
17477 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17478 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17479 PyList_Append(resultobj
, number
);
17489 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17490 PyObject
*resultobj
= 0;
17491 wxFontEncoding arg1
;
17492 wxFontEncoding arg2
;
17498 PyObject
* obj0
= 0 ;
17499 PyObject
* obj1
= 0 ;
17500 char * kwnames
[] = {
17501 (char *) "encIn",(char *) "encOut", NULL
17504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17505 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17506 if (!SWIG_IsOK(ecode1
)) {
17507 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17509 arg1
= static_cast< wxFontEncoding
>(val1
);
17510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17511 if (!SWIG_IsOK(ecode2
)) {
17512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17514 arg2
= static_cast< wxFontEncoding
>(val2
);
17516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17517 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17518 wxPyEndAllowThreads(__tstate
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17530 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17532 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17533 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17534 return SWIG_Py_Void();
17537 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17538 return SWIG_Python_InitShadowInstance(args
);
17541 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17542 PyObject
*resultobj
= 0;
17543 wxDC
*arg1
= (wxDC
*) 0 ;
17546 PyObject
*swig_obj
[1] ;
17548 if (!args
) SWIG_fail
;
17549 swig_obj
[0] = args
;
17550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17551 if (!SWIG_IsOK(res1
)) {
17552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17554 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17559 wxPyEndAllowThreads(__tstate
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17562 resultobj
= SWIG_Py_Void();
17569 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17570 PyObject
*resultobj
= 0;
17571 wxDC
*arg1
= (wxDC
*) 0 ;
17574 wxColour
*arg4
= 0 ;
17575 int arg5
= (int) wxFLOOD_SURFACE
;
17586 PyObject
* obj0
= 0 ;
17587 PyObject
* obj1
= 0 ;
17588 PyObject
* obj2
= 0 ;
17589 PyObject
* obj3
= 0 ;
17590 PyObject
* obj4
= 0 ;
17591 char * kwnames
[] = {
17592 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17597 if (!SWIG_IsOK(res1
)) {
17598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17600 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17602 if (!SWIG_IsOK(ecode2
)) {
17603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17605 arg2
= static_cast< int >(val2
);
17606 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17607 if (!SWIG_IsOK(ecode3
)) {
17608 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17610 arg3
= static_cast< int >(val3
);
17613 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17616 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17617 if (!SWIG_IsOK(ecode5
)) {
17618 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17620 arg5
= static_cast< int >(val5
);
17623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17624 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17625 wxPyEndAllowThreads(__tstate
);
17626 if (PyErr_Occurred()) SWIG_fail
;
17629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17637 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17638 PyObject
*resultobj
= 0;
17639 wxDC
*arg1
= (wxDC
*) 0 ;
17640 wxPoint
*arg2
= 0 ;
17641 wxColour
*arg3
= 0 ;
17642 int arg4
= (int) wxFLOOD_SURFACE
;
17650 PyObject
* obj0
= 0 ;
17651 PyObject
* obj1
= 0 ;
17652 PyObject
* obj2
= 0 ;
17653 PyObject
* obj3
= 0 ;
17654 char * kwnames
[] = {
17655 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17660 if (!SWIG_IsOK(res1
)) {
17661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17663 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17666 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17670 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17673 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17674 if (!SWIG_IsOK(ecode4
)) {
17675 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17677 arg4
= static_cast< int >(val4
);
17680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17681 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17682 wxPyEndAllowThreads(__tstate
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17694 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17695 PyObject
*resultobj
= 0;
17696 wxDC
*arg1
= (wxDC
*) 0 ;
17698 wxColour
*arg3
= 0 ;
17699 wxColour
*arg4
= 0 ;
17700 wxPoint
*arg5
= 0 ;
17707 PyObject
* obj0
= 0 ;
17708 PyObject
* obj1
= 0 ;
17709 PyObject
* obj2
= 0 ;
17710 PyObject
* obj3
= 0 ;
17711 PyObject
* obj4
= 0 ;
17712 char * kwnames
[] = {
17713 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17718 if (!SWIG_IsOK(res1
)) {
17719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17721 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17724 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17728 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17732 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17736 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17744 resultobj
= SWIG_Py_Void();
17751 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17752 PyObject
*resultobj
= 0;
17753 wxDC
*arg1
= (wxDC
*) 0 ;
17755 wxColour
*arg3
= 0 ;
17756 wxColour
*arg4
= 0 ;
17757 wxDirection arg5
= (wxDirection
) wxEAST
;
17765 PyObject
* obj0
= 0 ;
17766 PyObject
* obj1
= 0 ;
17767 PyObject
* obj2
= 0 ;
17768 PyObject
* obj3
= 0 ;
17769 PyObject
* obj4
= 0 ;
17770 char * kwnames
[] = {
17771 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17776 if (!SWIG_IsOK(res1
)) {
17777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17779 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17782 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17786 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17790 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17793 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17794 if (!SWIG_IsOK(ecode5
)) {
17795 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17797 arg5
= static_cast< wxDirection
>(val5
);
17800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17801 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17802 wxPyEndAllowThreads(__tstate
);
17803 if (PyErr_Occurred()) SWIG_fail
;
17805 resultobj
= SWIG_Py_Void();
17812 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17813 PyObject
*resultobj
= 0;
17814 wxDC
*arg1
= (wxDC
*) 0 ;
17824 PyObject
* obj0
= 0 ;
17825 PyObject
* obj1
= 0 ;
17826 PyObject
* obj2
= 0 ;
17827 char * kwnames
[] = {
17828 (char *) "self",(char *) "x",(char *) "y", NULL
17831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17833 if (!SWIG_IsOK(res1
)) {
17834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17836 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17838 if (!SWIG_IsOK(ecode2
)) {
17839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17841 arg2
= static_cast< int >(val2
);
17842 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17843 if (!SWIG_IsOK(ecode3
)) {
17844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17846 arg3
= static_cast< int >(val3
);
17848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17849 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17850 wxPyEndAllowThreads(__tstate
);
17851 if (PyErr_Occurred()) SWIG_fail
;
17853 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17860 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17861 PyObject
*resultobj
= 0;
17862 wxDC
*arg1
= (wxDC
*) 0 ;
17863 wxPoint
*arg2
= 0 ;
17868 PyObject
* obj0
= 0 ;
17869 PyObject
* obj1
= 0 ;
17870 char * kwnames
[] = {
17871 (char *) "self",(char *) "pt", NULL
17874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17876 if (!SWIG_IsOK(res1
)) {
17877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17879 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17882 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17886 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17887 wxPyEndAllowThreads(__tstate
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17890 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17897 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17898 PyObject
*resultobj
= 0;
17899 wxDC
*arg1
= (wxDC
*) 0 ;
17914 PyObject
* obj0
= 0 ;
17915 PyObject
* obj1
= 0 ;
17916 PyObject
* obj2
= 0 ;
17917 PyObject
* obj3
= 0 ;
17918 PyObject
* obj4
= 0 ;
17919 char * kwnames
[] = {
17920 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17925 if (!SWIG_IsOK(res1
)) {
17926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17928 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17930 if (!SWIG_IsOK(ecode2
)) {
17931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17933 arg2
= static_cast< int >(val2
);
17934 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17935 if (!SWIG_IsOK(ecode3
)) {
17936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17938 arg3
= static_cast< int >(val3
);
17939 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17940 if (!SWIG_IsOK(ecode4
)) {
17941 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17943 arg4
= static_cast< int >(val4
);
17944 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17945 if (!SWIG_IsOK(ecode5
)) {
17946 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17948 arg5
= static_cast< int >(val5
);
17950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17951 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17952 wxPyEndAllowThreads(__tstate
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17955 resultobj
= SWIG_Py_Void();
17962 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17963 PyObject
*resultobj
= 0;
17964 wxDC
*arg1
= (wxDC
*) 0 ;
17965 wxPoint
*arg2
= 0 ;
17966 wxPoint
*arg3
= 0 ;
17971 PyObject
* obj0
= 0 ;
17972 PyObject
* obj1
= 0 ;
17973 PyObject
* obj2
= 0 ;
17974 char * kwnames
[] = {
17975 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17980 if (!SWIG_IsOK(res1
)) {
17981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17983 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17986 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17990 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17994 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 resultobj
= SWIG_Py_Void();
18005 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
= 0;
18007 wxDC
*arg1
= (wxDC
*) 0 ;
18016 PyObject
* obj0
= 0 ;
18017 PyObject
* obj1
= 0 ;
18018 PyObject
* obj2
= 0 ;
18019 char * kwnames
[] = {
18020 (char *) "self",(char *) "x",(char *) "y", NULL
18023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18025 if (!SWIG_IsOK(res1
)) {
18026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18028 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18030 if (!SWIG_IsOK(ecode2
)) {
18031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18033 arg2
= static_cast< int >(val2
);
18034 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18035 if (!SWIG_IsOK(ecode3
)) {
18036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18038 arg3
= static_cast< int >(val3
);
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 (arg1
)->CrossHair(arg2
,arg3
);
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 resultobj
= SWIG_Py_Void();
18052 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
= 0;
18054 wxDC
*arg1
= (wxDC
*) 0 ;
18055 wxPoint
*arg2
= 0 ;
18059 PyObject
* obj0
= 0 ;
18060 PyObject
* obj1
= 0 ;
18061 char * kwnames
[] = {
18062 (char *) "self",(char *) "pt", NULL
18065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18067 if (!SWIG_IsOK(res1
)) {
18068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18070 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18073 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18077 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18078 wxPyEndAllowThreads(__tstate
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18081 resultobj
= SWIG_Py_Void();
18088 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18089 PyObject
*resultobj
= 0;
18090 wxDC
*arg1
= (wxDC
*) 0 ;
18111 PyObject
* obj0
= 0 ;
18112 PyObject
* obj1
= 0 ;
18113 PyObject
* obj2
= 0 ;
18114 PyObject
* obj3
= 0 ;
18115 PyObject
* obj4
= 0 ;
18116 PyObject
* obj5
= 0 ;
18117 PyObject
* obj6
= 0 ;
18118 char * kwnames
[] = {
18119 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18124 if (!SWIG_IsOK(res1
)) {
18125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18127 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18129 if (!SWIG_IsOK(ecode2
)) {
18130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18132 arg2
= static_cast< int >(val2
);
18133 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18134 if (!SWIG_IsOK(ecode3
)) {
18135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18137 arg3
= static_cast< int >(val3
);
18138 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18139 if (!SWIG_IsOK(ecode4
)) {
18140 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18142 arg4
= static_cast< int >(val4
);
18143 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18144 if (!SWIG_IsOK(ecode5
)) {
18145 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18147 arg5
= static_cast< int >(val5
);
18148 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18149 if (!SWIG_IsOK(ecode6
)) {
18150 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18152 arg6
= static_cast< int >(val6
);
18153 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18154 if (!SWIG_IsOK(ecode7
)) {
18155 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18157 arg7
= static_cast< int >(val7
);
18159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18160 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 resultobj
= SWIG_Py_Void();
18171 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
= 0;
18173 wxDC
*arg1
= (wxDC
*) 0 ;
18174 wxPoint
*arg2
= 0 ;
18175 wxPoint
*arg3
= 0 ;
18176 wxPoint
*arg4
= 0 ;
18182 PyObject
* obj0
= 0 ;
18183 PyObject
* obj1
= 0 ;
18184 PyObject
* obj2
= 0 ;
18185 PyObject
* obj3
= 0 ;
18186 char * kwnames
[] = {
18187 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18192 if (!SWIG_IsOK(res1
)) {
18193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18195 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18198 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18202 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18206 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18210 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18214 resultobj
= SWIG_Py_Void();
18221 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18222 PyObject
*resultobj
= 0;
18223 wxDC
*arg1
= (wxDC
*) 0 ;
18238 PyObject
* obj0
= 0 ;
18239 PyObject
* obj1
= 0 ;
18240 PyObject
* obj2
= 0 ;
18241 PyObject
* obj3
= 0 ;
18242 PyObject
* obj4
= 0 ;
18243 char * kwnames
[] = {
18244 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18249 if (!SWIG_IsOK(res1
)) {
18250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18252 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18254 if (!SWIG_IsOK(ecode2
)) {
18255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18257 arg2
= static_cast< int >(val2
);
18258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18259 if (!SWIG_IsOK(ecode3
)) {
18260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18262 arg3
= static_cast< int >(val3
);
18263 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18264 if (!SWIG_IsOK(ecode4
)) {
18265 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18267 arg4
= static_cast< int >(val4
);
18268 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18269 if (!SWIG_IsOK(ecode5
)) {
18270 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18272 arg5
= static_cast< int >(val5
);
18274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18275 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18276 wxPyEndAllowThreads(__tstate
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18279 resultobj
= SWIG_Py_Void();
18286 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18287 PyObject
*resultobj
= 0;
18288 wxDC
*arg1
= (wxDC
*) 0 ;
18293 PyObject
* obj0
= 0 ;
18294 PyObject
* obj1
= 0 ;
18295 char * kwnames
[] = {
18296 (char *) "self",(char *) "rect", NULL
18299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18301 if (!SWIG_IsOK(res1
)) {
18302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18304 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18307 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18311 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18312 wxPyEndAllowThreads(__tstate
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18315 resultobj
= SWIG_Py_Void();
18322 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18323 PyObject
*resultobj
= 0;
18324 wxDC
*arg1
= (wxDC
*) 0 ;
18345 PyObject
* obj0
= 0 ;
18346 PyObject
* obj1
= 0 ;
18347 PyObject
* obj2
= 0 ;
18348 PyObject
* obj3
= 0 ;
18349 PyObject
* obj4
= 0 ;
18350 PyObject
* obj5
= 0 ;
18351 PyObject
* obj6
= 0 ;
18352 char * kwnames
[] = {
18353 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18358 if (!SWIG_IsOK(res1
)) {
18359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18361 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18363 if (!SWIG_IsOK(ecode2
)) {
18364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18366 arg2
= static_cast< int >(val2
);
18367 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18368 if (!SWIG_IsOK(ecode3
)) {
18369 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18371 arg3
= static_cast< int >(val3
);
18372 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18373 if (!SWIG_IsOK(ecode4
)) {
18374 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18376 arg4
= static_cast< int >(val4
);
18377 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18378 if (!SWIG_IsOK(ecode5
)) {
18379 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18381 arg5
= static_cast< int >(val5
);
18382 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18383 if (!SWIG_IsOK(ecode6
)) {
18384 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18386 arg6
= static_cast< double >(val6
);
18387 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18388 if (!SWIG_IsOK(ecode7
)) {
18389 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18391 arg7
= static_cast< double >(val7
);
18393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18394 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18395 wxPyEndAllowThreads(__tstate
);
18396 if (PyErr_Occurred()) SWIG_fail
;
18398 resultobj
= SWIG_Py_Void();
18405 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18406 PyObject
*resultobj
= 0;
18407 wxDC
*arg1
= (wxDC
*) 0 ;
18408 wxPoint
*arg2
= 0 ;
18420 PyObject
* obj0
= 0 ;
18421 PyObject
* obj1
= 0 ;
18422 PyObject
* obj2
= 0 ;
18423 PyObject
* obj3
= 0 ;
18424 PyObject
* obj4
= 0 ;
18425 char * kwnames
[] = {
18426 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18431 if (!SWIG_IsOK(res1
)) {
18432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18434 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18437 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18441 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18443 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18444 if (!SWIG_IsOK(ecode4
)) {
18445 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18447 arg4
= static_cast< double >(val4
);
18448 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18449 if (!SWIG_IsOK(ecode5
)) {
18450 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18452 arg5
= static_cast< double >(val5
);
18454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18455 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18456 wxPyEndAllowThreads(__tstate
);
18457 if (PyErr_Occurred()) SWIG_fail
;
18459 resultobj
= SWIG_Py_Void();
18466 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18467 PyObject
*resultobj
= 0;
18468 wxDC
*arg1
= (wxDC
*) 0 ;
18477 PyObject
* obj0
= 0 ;
18478 PyObject
* obj1
= 0 ;
18479 PyObject
* obj2
= 0 ;
18480 char * kwnames
[] = {
18481 (char *) "self",(char *) "x",(char *) "y", NULL
18484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18486 if (!SWIG_IsOK(res1
)) {
18487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18489 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18491 if (!SWIG_IsOK(ecode2
)) {
18492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18494 arg2
= static_cast< int >(val2
);
18495 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18496 if (!SWIG_IsOK(ecode3
)) {
18497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18499 arg3
= static_cast< int >(val3
);
18501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18502 (arg1
)->DrawPoint(arg2
,arg3
);
18503 wxPyEndAllowThreads(__tstate
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18506 resultobj
= SWIG_Py_Void();
18513 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18514 PyObject
*resultobj
= 0;
18515 wxDC
*arg1
= (wxDC
*) 0 ;
18516 wxPoint
*arg2
= 0 ;
18520 PyObject
* obj0
= 0 ;
18521 PyObject
* obj1
= 0 ;
18522 char * kwnames
[] = {
18523 (char *) "self",(char *) "pt", NULL
18526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18528 if (!SWIG_IsOK(res1
)) {
18529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18531 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18534 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18539 wxPyEndAllowThreads(__tstate
);
18540 if (PyErr_Occurred()) SWIG_fail
;
18542 resultobj
= SWIG_Py_Void();
18549 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18550 PyObject
*resultobj
= 0;
18551 wxDC
*arg1
= (wxDC
*) 0 ;
18566 PyObject
* obj0
= 0 ;
18567 PyObject
* obj1
= 0 ;
18568 PyObject
* obj2
= 0 ;
18569 PyObject
* obj3
= 0 ;
18570 PyObject
* obj4
= 0 ;
18571 char * kwnames
[] = {
18572 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18577 if (!SWIG_IsOK(res1
)) {
18578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18580 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18582 if (!SWIG_IsOK(ecode2
)) {
18583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18585 arg2
= static_cast< int >(val2
);
18586 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18587 if (!SWIG_IsOK(ecode3
)) {
18588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18590 arg3
= static_cast< int >(val3
);
18591 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18592 if (!SWIG_IsOK(ecode4
)) {
18593 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18595 arg4
= static_cast< int >(val4
);
18596 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18597 if (!SWIG_IsOK(ecode5
)) {
18598 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18600 arg5
= static_cast< int >(val5
);
18602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18603 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18604 wxPyEndAllowThreads(__tstate
);
18605 if (PyErr_Occurred()) SWIG_fail
;
18607 resultobj
= SWIG_Py_Void();
18614 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18615 PyObject
*resultobj
= 0;
18616 wxDC
*arg1
= (wxDC
*) 0 ;
18621 PyObject
* obj0
= 0 ;
18622 PyObject
* obj1
= 0 ;
18623 char * kwnames
[] = {
18624 (char *) "self",(char *) "rect", NULL
18627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18629 if (!SWIG_IsOK(res1
)) {
18630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18632 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18635 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18640 wxPyEndAllowThreads(__tstate
);
18641 if (PyErr_Occurred()) SWIG_fail
;
18643 resultobj
= SWIG_Py_Void();
18650 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18651 PyObject
*resultobj
= 0;
18652 wxDC
*arg1
= (wxDC
*) 0 ;
18653 wxPoint
*arg2
= 0 ;
18659 PyObject
* obj0
= 0 ;
18660 PyObject
* obj1
= 0 ;
18661 PyObject
* obj2
= 0 ;
18662 char * kwnames
[] = {
18663 (char *) "self",(char *) "pt",(char *) "sz", NULL
18666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18668 if (!SWIG_IsOK(res1
)) {
18669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18671 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18674 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18678 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18682 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18683 wxPyEndAllowThreads(__tstate
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18686 resultobj
= SWIG_Py_Void();
18693 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18694 PyObject
*resultobj
= 0;
18695 wxDC
*arg1
= (wxDC
*) 0 ;
18713 PyObject
* obj0
= 0 ;
18714 PyObject
* obj1
= 0 ;
18715 PyObject
* obj2
= 0 ;
18716 PyObject
* obj3
= 0 ;
18717 PyObject
* obj4
= 0 ;
18718 PyObject
* obj5
= 0 ;
18719 char * kwnames
[] = {
18720 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18725 if (!SWIG_IsOK(res1
)) {
18726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18728 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18730 if (!SWIG_IsOK(ecode2
)) {
18731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18733 arg2
= static_cast< int >(val2
);
18734 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18735 if (!SWIG_IsOK(ecode3
)) {
18736 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18738 arg3
= static_cast< int >(val3
);
18739 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18740 if (!SWIG_IsOK(ecode4
)) {
18741 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18743 arg4
= static_cast< int >(val4
);
18744 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18745 if (!SWIG_IsOK(ecode5
)) {
18746 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18748 arg5
= static_cast< int >(val5
);
18749 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18750 if (!SWIG_IsOK(ecode6
)) {
18751 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18753 arg6
= static_cast< double >(val6
);
18755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18756 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18757 wxPyEndAllowThreads(__tstate
);
18758 if (PyErr_Occurred()) SWIG_fail
;
18760 resultobj
= SWIG_Py_Void();
18767 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18768 PyObject
*resultobj
= 0;
18769 wxDC
*arg1
= (wxDC
*) 0 ;
18777 PyObject
* obj0
= 0 ;
18778 PyObject
* obj1
= 0 ;
18779 PyObject
* obj2
= 0 ;
18780 char * kwnames
[] = {
18781 (char *) "self",(char *) "r",(char *) "radius", NULL
18784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18786 if (!SWIG_IsOK(res1
)) {
18787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18789 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18792 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18794 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18795 if (!SWIG_IsOK(ecode3
)) {
18796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18798 arg3
= static_cast< double >(val3
);
18800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18801 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18802 wxPyEndAllowThreads(__tstate
);
18803 if (PyErr_Occurred()) SWIG_fail
;
18805 resultobj
= SWIG_Py_Void();
18812 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18813 PyObject
*resultobj
= 0;
18814 wxDC
*arg1
= (wxDC
*) 0 ;
18815 wxPoint
*arg2
= 0 ;
18824 PyObject
* obj0
= 0 ;
18825 PyObject
* obj1
= 0 ;
18826 PyObject
* obj2
= 0 ;
18827 PyObject
* obj3
= 0 ;
18828 char * kwnames
[] = {
18829 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18834 if (!SWIG_IsOK(res1
)) {
18835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18837 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18840 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18844 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18846 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18847 if (!SWIG_IsOK(ecode4
)) {
18848 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18850 arg4
= static_cast< double >(val4
);
18852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18853 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18854 wxPyEndAllowThreads(__tstate
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18857 resultobj
= SWIG_Py_Void();
18864 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18865 PyObject
*resultobj
= 0;
18866 wxDC
*arg1
= (wxDC
*) 0 ;
18878 PyObject
* obj0
= 0 ;
18879 PyObject
* obj1
= 0 ;
18880 PyObject
* obj2
= 0 ;
18881 PyObject
* obj3
= 0 ;
18882 char * kwnames
[] = {
18883 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18888 if (!SWIG_IsOK(res1
)) {
18889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18891 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18893 if (!SWIG_IsOK(ecode2
)) {
18894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18896 arg2
= static_cast< int >(val2
);
18897 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18898 if (!SWIG_IsOK(ecode3
)) {
18899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18901 arg3
= static_cast< int >(val3
);
18902 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18903 if (!SWIG_IsOK(ecode4
)) {
18904 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18906 arg4
= static_cast< int >(val4
);
18908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18909 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18910 wxPyEndAllowThreads(__tstate
);
18911 if (PyErr_Occurred()) SWIG_fail
;
18913 resultobj
= SWIG_Py_Void();
18920 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18921 PyObject
*resultobj
= 0;
18922 wxDC
*arg1
= (wxDC
*) 0 ;
18923 wxPoint
*arg2
= 0 ;
18930 PyObject
* obj0
= 0 ;
18931 PyObject
* obj1
= 0 ;
18932 PyObject
* obj2
= 0 ;
18933 char * kwnames
[] = {
18934 (char *) "self",(char *) "pt",(char *) "radius", NULL
18937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18939 if (!SWIG_IsOK(res1
)) {
18940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18942 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18945 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18947 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18948 if (!SWIG_IsOK(ecode3
)) {
18949 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18951 arg3
= static_cast< int >(val3
);
18953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18954 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18955 wxPyEndAllowThreads(__tstate
);
18956 if (PyErr_Occurred()) SWIG_fail
;
18958 resultobj
= SWIG_Py_Void();
18965 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18966 PyObject
*resultobj
= 0;
18967 wxDC
*arg1
= (wxDC
*) 0 ;
18982 PyObject
* obj0
= 0 ;
18983 PyObject
* obj1
= 0 ;
18984 PyObject
* obj2
= 0 ;
18985 PyObject
* obj3
= 0 ;
18986 PyObject
* obj4
= 0 ;
18987 char * kwnames
[] = {
18988 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18993 if (!SWIG_IsOK(res1
)) {
18994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18996 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18998 if (!SWIG_IsOK(ecode2
)) {
18999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19001 arg2
= static_cast< int >(val2
);
19002 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19003 if (!SWIG_IsOK(ecode3
)) {
19004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19006 arg3
= static_cast< int >(val3
);
19007 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19008 if (!SWIG_IsOK(ecode4
)) {
19009 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19011 arg4
= static_cast< int >(val4
);
19012 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19013 if (!SWIG_IsOK(ecode5
)) {
19014 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19016 arg5
= static_cast< int >(val5
);
19018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19019 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19020 wxPyEndAllowThreads(__tstate
);
19021 if (PyErr_Occurred()) SWIG_fail
;
19023 resultobj
= SWIG_Py_Void();
19030 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19031 PyObject
*resultobj
= 0;
19032 wxDC
*arg1
= (wxDC
*) 0 ;
19037 PyObject
* obj0
= 0 ;
19038 PyObject
* obj1
= 0 ;
19039 char * kwnames
[] = {
19040 (char *) "self",(char *) "rect", NULL
19043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19045 if (!SWIG_IsOK(res1
)) {
19046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19048 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19051 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19055 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19056 wxPyEndAllowThreads(__tstate
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19059 resultobj
= SWIG_Py_Void();
19066 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
= 0;
19068 wxDC
*arg1
= (wxDC
*) 0 ;
19069 wxPoint
*arg2
= 0 ;
19075 PyObject
* obj0
= 0 ;
19076 PyObject
* obj1
= 0 ;
19077 PyObject
* obj2
= 0 ;
19078 char * kwnames
[] = {
19079 (char *) "self",(char *) "pt",(char *) "sz", NULL
19082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19084 if (!SWIG_IsOK(res1
)) {
19085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19087 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19090 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19094 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19098 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19099 wxPyEndAllowThreads(__tstate
);
19100 if (PyErr_Occurred()) SWIG_fail
;
19102 resultobj
= SWIG_Py_Void();
19109 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19110 PyObject
*resultobj
= 0;
19111 wxDC
*arg1
= (wxDC
*) 0 ;
19123 PyObject
* obj0
= 0 ;
19124 PyObject
* obj1
= 0 ;
19125 PyObject
* obj2
= 0 ;
19126 PyObject
* obj3
= 0 ;
19127 char * kwnames
[] = {
19128 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19133 if (!SWIG_IsOK(res1
)) {
19134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19136 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19137 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19138 if (!SWIG_IsOK(res2
)) {
19139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19144 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19145 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19146 if (!SWIG_IsOK(ecode3
)) {
19147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19149 arg3
= static_cast< int >(val3
);
19150 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19151 if (!SWIG_IsOK(ecode4
)) {
19152 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19154 arg4
= static_cast< int >(val4
);
19156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19157 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19158 wxPyEndAllowThreads(__tstate
);
19159 if (PyErr_Occurred()) SWIG_fail
;
19161 resultobj
= SWIG_Py_Void();
19168 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19169 PyObject
*resultobj
= 0;
19170 wxDC
*arg1
= (wxDC
*) 0 ;
19172 wxPoint
*arg3
= 0 ;
19178 PyObject
* obj0
= 0 ;
19179 PyObject
* obj1
= 0 ;
19180 PyObject
* obj2
= 0 ;
19181 char * kwnames
[] = {
19182 (char *) "self",(char *) "icon",(char *) "pt", NULL
19185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19187 if (!SWIG_IsOK(res1
)) {
19188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19190 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19191 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19192 if (!SWIG_IsOK(res2
)) {
19193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19196 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19198 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19201 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19205 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19209 resultobj
= SWIG_Py_Void();
19216 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19217 PyObject
*resultobj
= 0;
19218 wxDC
*arg1
= (wxDC
*) 0 ;
19219 wxBitmap
*arg2
= 0 ;
19222 bool arg5
= (bool) false ;
19233 PyObject
* obj0
= 0 ;
19234 PyObject
* obj1
= 0 ;
19235 PyObject
* obj2
= 0 ;
19236 PyObject
* obj3
= 0 ;
19237 PyObject
* obj4
= 0 ;
19238 char * kwnames
[] = {
19239 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19244 if (!SWIG_IsOK(res1
)) {
19245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19247 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19248 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19249 if (!SWIG_IsOK(res2
)) {
19250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19255 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19256 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19257 if (!SWIG_IsOK(ecode3
)) {
19258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19260 arg3
= static_cast< int >(val3
);
19261 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19262 if (!SWIG_IsOK(ecode4
)) {
19263 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19265 arg4
= static_cast< int >(val4
);
19267 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19268 if (!SWIG_IsOK(ecode5
)) {
19269 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19271 arg5
= static_cast< bool >(val5
);
19274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19275 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19276 wxPyEndAllowThreads(__tstate
);
19277 if (PyErr_Occurred()) SWIG_fail
;
19279 resultobj
= SWIG_Py_Void();
19286 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19287 PyObject
*resultobj
= 0;
19288 wxDC
*arg1
= (wxDC
*) 0 ;
19289 wxBitmap
*arg2
= 0 ;
19290 wxPoint
*arg3
= 0 ;
19291 bool arg4
= (bool) false ;
19299 PyObject
* obj0
= 0 ;
19300 PyObject
* obj1
= 0 ;
19301 PyObject
* obj2
= 0 ;
19302 PyObject
* obj3
= 0 ;
19303 char * kwnames
[] = {
19304 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19309 if (!SWIG_IsOK(res1
)) {
19310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19312 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19313 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19314 if (!SWIG_IsOK(res2
)) {
19315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19320 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19323 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19326 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19327 if (!SWIG_IsOK(ecode4
)) {
19328 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19330 arg4
= static_cast< bool >(val4
);
19333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19334 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19338 resultobj
= SWIG_Py_Void();
19345 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19346 PyObject
*resultobj
= 0;
19347 wxDC
*arg1
= (wxDC
*) 0 ;
19348 wxString
*arg2
= 0 ;
19353 bool temp2
= false ;
19358 PyObject
* obj0
= 0 ;
19359 PyObject
* obj1
= 0 ;
19360 PyObject
* obj2
= 0 ;
19361 PyObject
* obj3
= 0 ;
19362 char * kwnames
[] = {
19363 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19368 if (!SWIG_IsOK(res1
)) {
19369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19371 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19373 arg2
= wxString_in_helper(obj1
);
19374 if (arg2
== NULL
) SWIG_fail
;
19377 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19378 if (!SWIG_IsOK(ecode3
)) {
19379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19381 arg3
= static_cast< int >(val3
);
19382 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19383 if (!SWIG_IsOK(ecode4
)) {
19384 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19386 arg4
= static_cast< int >(val4
);
19388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19389 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19390 wxPyEndAllowThreads(__tstate
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19393 resultobj
= SWIG_Py_Void();
19408 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19409 PyObject
*resultobj
= 0;
19410 wxDC
*arg1
= (wxDC
*) 0 ;
19411 wxString
*arg2
= 0 ;
19412 wxPoint
*arg3
= 0 ;
19415 bool temp2
= false ;
19417 PyObject
* obj0
= 0 ;
19418 PyObject
* obj1
= 0 ;
19419 PyObject
* obj2
= 0 ;
19420 char * kwnames
[] = {
19421 (char *) "self",(char *) "text",(char *) "pt", NULL
19424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19426 if (!SWIG_IsOK(res1
)) {
19427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19429 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19431 arg2
= wxString_in_helper(obj1
);
19432 if (arg2
== NULL
) SWIG_fail
;
19437 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19441 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19442 wxPyEndAllowThreads(__tstate
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19445 resultobj
= SWIG_Py_Void();
19460 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19461 PyObject
*resultobj
= 0;
19462 wxDC
*arg1
= (wxDC
*) 0 ;
19463 wxString
*arg2
= 0 ;
19469 bool temp2
= false ;
19476 PyObject
* obj0
= 0 ;
19477 PyObject
* obj1
= 0 ;
19478 PyObject
* obj2
= 0 ;
19479 PyObject
* obj3
= 0 ;
19480 PyObject
* obj4
= 0 ;
19481 char * kwnames
[] = {
19482 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19487 if (!SWIG_IsOK(res1
)) {
19488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19490 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19492 arg2
= wxString_in_helper(obj1
);
19493 if (arg2
== NULL
) SWIG_fail
;
19496 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19497 if (!SWIG_IsOK(ecode3
)) {
19498 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19500 arg3
= static_cast< int >(val3
);
19501 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19502 if (!SWIG_IsOK(ecode4
)) {
19503 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19505 arg4
= static_cast< int >(val4
);
19506 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19507 if (!SWIG_IsOK(ecode5
)) {
19508 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19510 arg5
= static_cast< double >(val5
);
19512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19513 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19514 wxPyEndAllowThreads(__tstate
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19517 resultobj
= SWIG_Py_Void();
19532 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19533 PyObject
*resultobj
= 0;
19534 wxDC
*arg1
= (wxDC
*) 0 ;
19535 wxString
*arg2
= 0 ;
19536 wxPoint
*arg3
= 0 ;
19540 bool temp2
= false ;
19544 PyObject
* obj0
= 0 ;
19545 PyObject
* obj1
= 0 ;
19546 PyObject
* obj2
= 0 ;
19547 PyObject
* obj3
= 0 ;
19548 char * kwnames
[] = {
19549 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19554 if (!SWIG_IsOK(res1
)) {
19555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19557 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19559 arg2
= wxString_in_helper(obj1
);
19560 if (arg2
== NULL
) SWIG_fail
;
19565 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19567 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19568 if (!SWIG_IsOK(ecode4
)) {
19569 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19571 arg4
= static_cast< double >(val4
);
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19578 resultobj
= SWIG_Py_Void();
19593 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19594 PyObject
*resultobj
= 0;
19595 wxDC
*arg1
= (wxDC
*) 0 ;
19600 wxDC
*arg6
= (wxDC
*) 0 ;
19603 int arg9
= (int) wxCOPY
;
19604 bool arg10
= (bool) false ;
19605 int arg11
= (int) -1 ;
19606 int arg12
= (int) -1 ;
19632 PyObject
* obj0
= 0 ;
19633 PyObject
* obj1
= 0 ;
19634 PyObject
* obj2
= 0 ;
19635 PyObject
* obj3
= 0 ;
19636 PyObject
* obj4
= 0 ;
19637 PyObject
* obj5
= 0 ;
19638 PyObject
* obj6
= 0 ;
19639 PyObject
* obj7
= 0 ;
19640 PyObject
* obj8
= 0 ;
19641 PyObject
* obj9
= 0 ;
19642 PyObject
* obj10
= 0 ;
19643 PyObject
* obj11
= 0 ;
19644 char * kwnames
[] = {
19645 (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
19648 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
;
19649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19650 if (!SWIG_IsOK(res1
)) {
19651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19653 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19655 if (!SWIG_IsOK(ecode2
)) {
19656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19658 arg2
= static_cast< int >(val2
);
19659 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19660 if (!SWIG_IsOK(ecode3
)) {
19661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19663 arg3
= static_cast< int >(val3
);
19664 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19665 if (!SWIG_IsOK(ecode4
)) {
19666 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19668 arg4
= static_cast< int >(val4
);
19669 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19670 if (!SWIG_IsOK(ecode5
)) {
19671 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19673 arg5
= static_cast< int >(val5
);
19674 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19675 if (!SWIG_IsOK(res6
)) {
19676 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19678 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19679 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19680 if (!SWIG_IsOK(ecode7
)) {
19681 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19683 arg7
= static_cast< int >(val7
);
19684 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19685 if (!SWIG_IsOK(ecode8
)) {
19686 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19688 arg8
= static_cast< int >(val8
);
19690 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19691 if (!SWIG_IsOK(ecode9
)) {
19692 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19694 arg9
= static_cast< int >(val9
);
19697 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19698 if (!SWIG_IsOK(ecode10
)) {
19699 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19701 arg10
= static_cast< bool >(val10
);
19704 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19705 if (!SWIG_IsOK(ecode11
)) {
19706 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19708 arg11
= static_cast< int >(val11
);
19711 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19712 if (!SWIG_IsOK(ecode12
)) {
19713 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19715 arg12
= static_cast< int >(val12
);
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19732 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19733 PyObject
*resultobj
= 0;
19734 wxDC
*arg1
= (wxDC
*) 0 ;
19735 wxPoint
*arg2
= 0 ;
19737 wxDC
*arg4
= (wxDC
*) 0 ;
19738 wxPoint
*arg5
= 0 ;
19739 int arg6
= (int) wxCOPY
;
19740 bool arg7
= (bool) false ;
19741 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19742 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19756 PyObject
* obj0
= 0 ;
19757 PyObject
* obj1
= 0 ;
19758 PyObject
* obj2
= 0 ;
19759 PyObject
* obj3
= 0 ;
19760 PyObject
* obj4
= 0 ;
19761 PyObject
* obj5
= 0 ;
19762 PyObject
* obj6
= 0 ;
19763 PyObject
* obj7
= 0 ;
19764 char * kwnames
[] = {
19765 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19770 if (!SWIG_IsOK(res1
)) {
19771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19773 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19776 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19780 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19782 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19783 if (!SWIG_IsOK(res4
)) {
19784 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19786 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19789 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19792 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19793 if (!SWIG_IsOK(ecode6
)) {
19794 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19796 arg6
= static_cast< int >(val6
);
19799 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19800 if (!SWIG_IsOK(ecode7
)) {
19801 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19803 arg7
= static_cast< bool >(val7
);
19808 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19813 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19814 wxPyEndAllowThreads(__tstate
);
19815 if (PyErr_Occurred()) SWIG_fail
;
19818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19826 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19827 PyObject
*resultobj
= 0;
19828 wxDC
*arg1
= (wxDC
*) 0 ;
19829 wxRect
*arg2
= (wxRect
*) NULL
;
19830 SwigValueWrapper
<wxBitmap
> result
;
19835 PyObject
* obj0
= 0 ;
19836 PyObject
* obj1
= 0 ;
19837 char * kwnames
[] = {
19838 (char *) "self",(char *) "subrect", NULL
19841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19843 if (!SWIG_IsOK(res1
)) {
19844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19846 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19848 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19849 if (!SWIG_IsOK(res2
)) {
19850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19852 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19856 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19857 wxPyEndAllowThreads(__tstate
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19860 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19867 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19868 PyObject
*resultobj
= 0;
19869 wxDC
*arg1
= (wxDC
*) 0 ;
19884 PyObject
* obj0
= 0 ;
19885 PyObject
* obj1
= 0 ;
19886 PyObject
* obj2
= 0 ;
19887 PyObject
* obj3
= 0 ;
19888 PyObject
* obj4
= 0 ;
19889 char * kwnames
[] = {
19890 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19895 if (!SWIG_IsOK(res1
)) {
19896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19898 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19900 if (!SWIG_IsOK(ecode2
)) {
19901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19903 arg2
= static_cast< int >(val2
);
19904 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19905 if (!SWIG_IsOK(ecode3
)) {
19906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19908 arg3
= static_cast< int >(val3
);
19909 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19910 if (!SWIG_IsOK(ecode4
)) {
19911 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19913 arg4
= static_cast< int >(val4
);
19914 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19915 if (!SWIG_IsOK(ecode5
)) {
19916 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19918 arg5
= static_cast< int >(val5
);
19920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19921 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19922 wxPyEndAllowThreads(__tstate
);
19923 if (PyErr_Occurred()) SWIG_fail
;
19925 resultobj
= SWIG_Py_Void();
19932 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19933 PyObject
*resultobj
= 0;
19934 wxDC
*arg1
= (wxDC
*) 0 ;
19935 wxPoint
*arg2
= 0 ;
19941 PyObject
* obj0
= 0 ;
19942 PyObject
* obj1
= 0 ;
19943 PyObject
* obj2
= 0 ;
19944 char * kwnames
[] = {
19945 (char *) "self",(char *) "pt",(char *) "sz", NULL
19948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19950 if (!SWIG_IsOK(res1
)) {
19951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19953 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19956 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19960 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19964 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19965 wxPyEndAllowThreads(__tstate
);
19966 if (PyErr_Occurred()) SWIG_fail
;
19968 resultobj
= SWIG_Py_Void();
19975 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19976 PyObject
*resultobj
= 0;
19977 wxDC
*arg1
= (wxDC
*) 0 ;
19978 wxRegion
*arg2
= 0 ;
19983 PyObject
* obj0
= 0 ;
19984 PyObject
* obj1
= 0 ;
19985 char * kwnames
[] = {
19986 (char *) "self",(char *) "region", NULL
19989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19991 if (!SWIG_IsOK(res1
)) {
19992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19994 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19995 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19996 if (!SWIG_IsOK(res2
)) {
19997 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20000 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20002 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20005 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20006 wxPyEndAllowThreads(__tstate
);
20007 if (PyErr_Occurred()) SWIG_fail
;
20009 resultobj
= SWIG_Py_Void();
20016 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20017 PyObject
*resultobj
= 0;
20018 wxDC
*arg1
= (wxDC
*) 0 ;
20023 PyObject
* obj0
= 0 ;
20024 PyObject
* obj1
= 0 ;
20025 char * kwnames
[] = {
20026 (char *) "self",(char *) "rect", NULL
20029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20031 if (!SWIG_IsOK(res1
)) {
20032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20034 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20037 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20041 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20042 wxPyEndAllowThreads(__tstate
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20045 resultobj
= SWIG_Py_Void();
20052 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20053 PyObject
*resultobj
= 0;
20054 wxDC
*arg1
= (wxDC
*) 0 ;
20056 wxPoint
*arg3
= (wxPoint
*) 0 ;
20057 int arg4
= (int) 0 ;
20058 int arg5
= (int) 0 ;
20065 PyObject
* obj0
= 0 ;
20066 PyObject
* obj1
= 0 ;
20067 PyObject
* obj2
= 0 ;
20068 PyObject
* obj3
= 0 ;
20069 char * kwnames
[] = {
20070 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20075 if (!SWIG_IsOK(res1
)) {
20076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20078 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20080 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20081 if (arg3
== NULL
) SWIG_fail
;
20084 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20085 if (!SWIG_IsOK(ecode4
)) {
20086 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20088 arg4
= static_cast< int >(val4
);
20091 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20092 if (!SWIG_IsOK(ecode5
)) {
20093 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20095 arg5
= static_cast< int >(val5
);
20098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20099 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20100 wxPyEndAllowThreads(__tstate
);
20101 if (PyErr_Occurred()) SWIG_fail
;
20103 resultobj
= SWIG_Py_Void();
20105 if (arg3
) delete [] arg3
;
20110 if (arg3
) delete [] arg3
;
20116 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20117 PyObject
*resultobj
= 0;
20118 wxDC
*arg1
= (wxDC
*) 0 ;
20120 wxPoint
*arg3
= (wxPoint
*) 0 ;
20121 int arg4
= (int) 0 ;
20122 int arg5
= (int) 0 ;
20123 int arg6
= (int) wxODDEVEN_RULE
;
20132 PyObject
* obj0
= 0 ;
20133 PyObject
* obj1
= 0 ;
20134 PyObject
* obj2
= 0 ;
20135 PyObject
* obj3
= 0 ;
20136 PyObject
* obj4
= 0 ;
20137 char * kwnames
[] = {
20138 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20143 if (!SWIG_IsOK(res1
)) {
20144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20146 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20148 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20149 if (arg3
== NULL
) SWIG_fail
;
20152 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20153 if (!SWIG_IsOK(ecode4
)) {
20154 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20156 arg4
= static_cast< int >(val4
);
20159 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20160 if (!SWIG_IsOK(ecode5
)) {
20161 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20163 arg5
= static_cast< int >(val5
);
20166 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20167 if (!SWIG_IsOK(ecode6
)) {
20168 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20170 arg6
= static_cast< int >(val6
);
20173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20174 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20175 wxPyEndAllowThreads(__tstate
);
20176 if (PyErr_Occurred()) SWIG_fail
;
20178 resultobj
= SWIG_Py_Void();
20180 if (arg3
) delete [] arg3
;
20185 if (arg3
) delete [] arg3
;
20191 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20192 PyObject
*resultobj
= 0;
20193 wxDC
*arg1
= (wxDC
*) 0 ;
20194 wxString
*arg2
= 0 ;
20196 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20197 int arg5
= (int) -1 ;
20200 bool temp2
= false ;
20206 PyObject
* obj0
= 0 ;
20207 PyObject
* obj1
= 0 ;
20208 PyObject
* obj2
= 0 ;
20209 PyObject
* obj3
= 0 ;
20210 PyObject
* obj4
= 0 ;
20211 char * kwnames
[] = {
20212 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20217 if (!SWIG_IsOK(res1
)) {
20218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20220 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20222 arg2
= wxString_in_helper(obj1
);
20223 if (arg2
== NULL
) SWIG_fail
;
20228 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20231 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20232 if (!SWIG_IsOK(ecode4
)) {
20233 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20235 arg4
= static_cast< int >(val4
);
20238 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20239 if (!SWIG_IsOK(ecode5
)) {
20240 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20242 arg5
= static_cast< int >(val5
);
20245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20246 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20247 wxPyEndAllowThreads(__tstate
);
20248 if (PyErr_Occurred()) SWIG_fail
;
20250 resultobj
= SWIG_Py_Void();
20265 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20266 PyObject
*resultobj
= 0;
20267 wxDC
*arg1
= (wxDC
*) 0 ;
20268 wxString
*arg2
= 0 ;
20269 wxBitmap
*arg3
= 0 ;
20271 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20272 int arg6
= (int) -1 ;
20276 bool temp2
= false ;
20284 PyObject
* obj0
= 0 ;
20285 PyObject
* obj1
= 0 ;
20286 PyObject
* obj2
= 0 ;
20287 PyObject
* obj3
= 0 ;
20288 PyObject
* obj4
= 0 ;
20289 PyObject
* obj5
= 0 ;
20290 char * kwnames
[] = {
20291 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20296 if (!SWIG_IsOK(res1
)) {
20297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20299 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20301 arg2
= wxString_in_helper(obj1
);
20302 if (arg2
== NULL
) SWIG_fail
;
20305 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20306 if (!SWIG_IsOK(res3
)) {
20307 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20312 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20315 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20318 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20319 if (!SWIG_IsOK(ecode5
)) {
20320 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20322 arg5
= static_cast< int >(val5
);
20325 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20326 if (!SWIG_IsOK(ecode6
)) {
20327 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20329 arg6
= static_cast< int >(val6
);
20332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20333 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20334 wxPyEndAllowThreads(__tstate
);
20335 if (PyErr_Occurred()) SWIG_fail
;
20337 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20352 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20353 PyObject
*resultobj
= 0;
20354 wxDC
*arg1
= (wxDC
*) 0 ;
20356 wxPoint
*arg3
= (wxPoint
*) 0 ;
20359 PyObject
* obj0
= 0 ;
20360 PyObject
* obj1
= 0 ;
20361 char * kwnames
[] = {
20362 (char *) "self",(char *) "points", NULL
20365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20367 if (!SWIG_IsOK(res1
)) {
20368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20370 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20372 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20373 if (arg3
== NULL
) SWIG_fail
;
20376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20377 (arg1
)->DrawSpline(arg2
,arg3
);
20378 wxPyEndAllowThreads(__tstate
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20381 resultobj
= SWIG_Py_Void();
20383 if (arg3
) delete [] arg3
;
20388 if (arg3
) delete [] arg3
;
20394 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20395 PyObject
*resultobj
= 0;
20396 wxDC
*arg1
= (wxDC
*) 0 ;
20399 PyObject
*swig_obj
[1] ;
20401 if (!args
) SWIG_fail
;
20402 swig_obj
[0] = args
;
20403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20404 if (!SWIG_IsOK(res1
)) {
20405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20407 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20411 wxPyEndAllowThreads(__tstate
);
20412 if (PyErr_Occurred()) SWIG_fail
;
20414 resultobj
= SWIG_Py_Void();
20421 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20422 PyObject
*resultobj
= 0;
20423 wxDC
*arg1
= (wxDC
*) 0 ;
20424 wxString
*arg2
= 0 ;
20428 bool temp2
= false ;
20429 PyObject
* obj0
= 0 ;
20430 PyObject
* obj1
= 0 ;
20431 char * kwnames
[] = {
20432 (char *) "self",(char *) "message", NULL
20435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20437 if (!SWIG_IsOK(res1
)) {
20438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20440 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20442 arg2
= wxString_in_helper(obj1
);
20443 if (arg2
== NULL
) SWIG_fail
;
20447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20448 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20449 wxPyEndAllowThreads(__tstate
);
20450 if (PyErr_Occurred()) SWIG_fail
;
20453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20469 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20470 PyObject
*resultobj
= 0;
20471 wxDC
*arg1
= (wxDC
*) 0 ;
20474 PyObject
*swig_obj
[1] ;
20476 if (!args
) SWIG_fail
;
20477 swig_obj
[0] = args
;
20478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20479 if (!SWIG_IsOK(res1
)) {
20480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20482 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20486 wxPyEndAllowThreads(__tstate
);
20487 if (PyErr_Occurred()) SWIG_fail
;
20489 resultobj
= SWIG_Py_Void();
20496 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20497 PyObject
*resultobj
= 0;
20498 wxDC
*arg1
= (wxDC
*) 0 ;
20501 PyObject
*swig_obj
[1] ;
20503 if (!args
) SWIG_fail
;
20504 swig_obj
[0] = args
;
20505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20506 if (!SWIG_IsOK(res1
)) {
20507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20509 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20512 (arg1
)->StartPage();
20513 wxPyEndAllowThreads(__tstate
);
20514 if (PyErr_Occurred()) SWIG_fail
;
20516 resultobj
= SWIG_Py_Void();
20523 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20524 PyObject
*resultobj
= 0;
20525 wxDC
*arg1
= (wxDC
*) 0 ;
20528 PyObject
*swig_obj
[1] ;
20530 if (!args
) SWIG_fail
;
20531 swig_obj
[0] = args
;
20532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20533 if (!SWIG_IsOK(res1
)) {
20534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20536 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20540 wxPyEndAllowThreads(__tstate
);
20541 if (PyErr_Occurred()) SWIG_fail
;
20543 resultobj
= SWIG_Py_Void();
20550 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20551 PyObject
*resultobj
= 0;
20552 wxDC
*arg1
= (wxDC
*) 0 ;
20558 PyObject
* obj0
= 0 ;
20559 PyObject
* obj1
= 0 ;
20560 char * kwnames
[] = {
20561 (char *) "self",(char *) "font", NULL
20564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20566 if (!SWIG_IsOK(res1
)) {
20567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20569 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20570 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20571 if (!SWIG_IsOK(res2
)) {
20572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20575 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20577 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20580 (arg1
)->SetFont((wxFont
const &)*arg2
);
20581 wxPyEndAllowThreads(__tstate
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20584 resultobj
= SWIG_Py_Void();
20591 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20592 PyObject
*resultobj
= 0;
20593 wxDC
*arg1
= (wxDC
*) 0 ;
20599 PyObject
* obj0
= 0 ;
20600 PyObject
* obj1
= 0 ;
20601 char * kwnames
[] = {
20602 (char *) "self",(char *) "pen", NULL
20605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20607 if (!SWIG_IsOK(res1
)) {
20608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20610 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20611 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20612 if (!SWIG_IsOK(res2
)) {
20613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20618 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20621 (arg1
)->SetPen((wxPen
const &)*arg2
);
20622 wxPyEndAllowThreads(__tstate
);
20623 if (PyErr_Occurred()) SWIG_fail
;
20625 resultobj
= SWIG_Py_Void();
20632 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20633 PyObject
*resultobj
= 0;
20634 wxDC
*arg1
= (wxDC
*) 0 ;
20635 wxBrush
*arg2
= 0 ;
20640 PyObject
* obj0
= 0 ;
20641 PyObject
* obj1
= 0 ;
20642 char * kwnames
[] = {
20643 (char *) "self",(char *) "brush", NULL
20646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20648 if (!SWIG_IsOK(res1
)) {
20649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20651 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20652 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20653 if (!SWIG_IsOK(res2
)) {
20654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20659 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20662 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20663 wxPyEndAllowThreads(__tstate
);
20664 if (PyErr_Occurred()) SWIG_fail
;
20666 resultobj
= SWIG_Py_Void();
20673 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20674 PyObject
*resultobj
= 0;
20675 wxDC
*arg1
= (wxDC
*) 0 ;
20676 wxBrush
*arg2
= 0 ;
20681 PyObject
* obj0
= 0 ;
20682 PyObject
* obj1
= 0 ;
20683 char * kwnames
[] = {
20684 (char *) "self",(char *) "brush", NULL
20687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20689 if (!SWIG_IsOK(res1
)) {
20690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20692 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20694 if (!SWIG_IsOK(res2
)) {
20695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20700 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20703 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20704 wxPyEndAllowThreads(__tstate
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20707 resultobj
= SWIG_Py_Void();
20714 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20715 PyObject
*resultobj
= 0;
20716 wxDC
*arg1
= (wxDC
*) 0 ;
20722 PyObject
* obj0
= 0 ;
20723 PyObject
* obj1
= 0 ;
20724 char * kwnames
[] = {
20725 (char *) "self",(char *) "mode", NULL
20728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20730 if (!SWIG_IsOK(res1
)) {
20731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20733 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20735 if (!SWIG_IsOK(ecode2
)) {
20736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20738 arg2
= static_cast< int >(val2
);
20740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20741 (arg1
)->SetBackgroundMode(arg2
);
20742 wxPyEndAllowThreads(__tstate
);
20743 if (PyErr_Occurred()) SWIG_fail
;
20745 resultobj
= SWIG_Py_Void();
20752 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20753 PyObject
*resultobj
= 0;
20754 wxDC
*arg1
= (wxDC
*) 0 ;
20755 wxPalette
*arg2
= 0 ;
20760 PyObject
* obj0
= 0 ;
20761 PyObject
* obj1
= 0 ;
20762 char * kwnames
[] = {
20763 (char *) "self",(char *) "palette", NULL
20766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20768 if (!SWIG_IsOK(res1
)) {
20769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20771 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20772 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20773 if (!SWIG_IsOK(res2
)) {
20774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20779 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20782 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20783 wxPyEndAllowThreads(__tstate
);
20784 if (PyErr_Occurred()) SWIG_fail
;
20786 resultobj
= SWIG_Py_Void();
20793 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20794 PyObject
*resultobj
= 0;
20795 wxDC
*arg1
= (wxDC
*) 0 ;
20798 PyObject
*swig_obj
[1] ;
20800 if (!args
) SWIG_fail
;
20801 swig_obj
[0] = args
;
20802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20803 if (!SWIG_IsOK(res1
)) {
20804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20806 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20809 (arg1
)->DestroyClippingRegion();
20810 wxPyEndAllowThreads(__tstate
);
20811 if (PyErr_Occurred()) SWIG_fail
;
20813 resultobj
= SWIG_Py_Void();
20820 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20821 PyObject
*resultobj
= 0;
20822 wxDC
*arg1
= (wxDC
*) 0 ;
20823 int *arg2
= (int *) 0 ;
20824 int *arg3
= (int *) 0 ;
20825 int *arg4
= (int *) 0 ;
20826 int *arg5
= (int *) 0 ;
20830 int res2
= SWIG_TMPOBJ
;
20832 int res3
= SWIG_TMPOBJ
;
20834 int res4
= SWIG_TMPOBJ
;
20836 int res5
= SWIG_TMPOBJ
;
20837 PyObject
*swig_obj
[1] ;
20843 if (!args
) SWIG_fail
;
20844 swig_obj
[0] = args
;
20845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20846 if (!SWIG_IsOK(res1
)) {
20847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20849 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20853 wxPyEndAllowThreads(__tstate
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20856 resultobj
= SWIG_Py_Void();
20857 if (SWIG_IsTmpObj(res2
)) {
20858 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20860 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20863 if (SWIG_IsTmpObj(res3
)) {
20864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20866 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20869 if (SWIG_IsTmpObj(res4
)) {
20870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20872 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20875 if (SWIG_IsTmpObj(res5
)) {
20876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20878 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20887 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20888 PyObject
*resultobj
= 0;
20889 wxDC
*arg1
= (wxDC
*) 0 ;
20893 PyObject
*swig_obj
[1] ;
20895 if (!args
) SWIG_fail
;
20896 swig_obj
[0] = args
;
20897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20898 if (!SWIG_IsOK(res1
)) {
20899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20901 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20904 result
= wxDC_GetClippingRect(arg1
);
20905 wxPyEndAllowThreads(__tstate
);
20906 if (PyErr_Occurred()) SWIG_fail
;
20908 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20915 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20916 PyObject
*resultobj
= 0;
20917 wxDC
*arg1
= (wxDC
*) 0 ;
20921 PyObject
*swig_obj
[1] ;
20923 if (!args
) SWIG_fail
;
20924 swig_obj
[0] = args
;
20925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20926 if (!SWIG_IsOK(res1
)) {
20927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20929 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20932 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20933 wxPyEndAllowThreads(__tstate
);
20934 if (PyErr_Occurred()) SWIG_fail
;
20936 resultobj
= SWIG_From_int(static_cast< int >(result
));
20943 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20944 PyObject
*resultobj
= 0;
20945 wxDC
*arg1
= (wxDC
*) 0 ;
20949 PyObject
*swig_obj
[1] ;
20951 if (!args
) SWIG_fail
;
20952 swig_obj
[0] = args
;
20953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20954 if (!SWIG_IsOK(res1
)) {
20955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20957 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20960 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20961 wxPyEndAllowThreads(__tstate
);
20962 if (PyErr_Occurred()) SWIG_fail
;
20964 resultobj
= SWIG_From_int(static_cast< int >(result
));
20971 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20972 PyObject
*resultobj
= 0;
20973 wxDC
*arg1
= (wxDC
*) 0 ;
20974 wxString
*arg2
= 0 ;
20975 int *arg3
= (int *) 0 ;
20976 int *arg4
= (int *) 0 ;
20979 bool temp2
= false ;
20981 int res3
= SWIG_TMPOBJ
;
20983 int res4
= SWIG_TMPOBJ
;
20984 PyObject
* obj0
= 0 ;
20985 PyObject
* obj1
= 0 ;
20986 char * kwnames
[] = {
20987 (char *) "self",(char *) "string", NULL
20992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20994 if (!SWIG_IsOK(res1
)) {
20995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20997 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20999 arg2
= wxString_in_helper(obj1
);
21000 if (arg2
== NULL
) SWIG_fail
;
21004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21005 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21006 wxPyEndAllowThreads(__tstate
);
21007 if (PyErr_Occurred()) SWIG_fail
;
21009 resultobj
= SWIG_Py_Void();
21010 if (SWIG_IsTmpObj(res3
)) {
21011 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21013 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21014 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21016 if (SWIG_IsTmpObj(res4
)) {
21017 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21019 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21020 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21036 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21037 PyObject
*resultobj
= 0;
21038 wxDC
*arg1
= (wxDC
*) 0 ;
21039 wxString
*arg2
= 0 ;
21040 int *arg3
= (int *) 0 ;
21041 int *arg4
= (int *) 0 ;
21042 int *arg5
= (int *) 0 ;
21043 int *arg6
= (int *) 0 ;
21044 wxFont
*arg7
= (wxFont
*) NULL
;
21047 bool temp2
= false ;
21049 int res3
= SWIG_TMPOBJ
;
21051 int res4
= SWIG_TMPOBJ
;
21053 int res5
= SWIG_TMPOBJ
;
21055 int res6
= SWIG_TMPOBJ
;
21058 PyObject
* obj0
= 0 ;
21059 PyObject
* obj1
= 0 ;
21060 PyObject
* obj2
= 0 ;
21061 char * kwnames
[] = {
21062 (char *) "self",(char *) "string",(char *) "font", NULL
21069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21071 if (!SWIG_IsOK(res1
)) {
21072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21074 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21076 arg2
= wxString_in_helper(obj1
);
21077 if (arg2
== NULL
) SWIG_fail
;
21081 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21082 if (!SWIG_IsOK(res7
)) {
21083 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21085 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21093 resultobj
= SWIG_Py_Void();
21094 if (SWIG_IsTmpObj(res3
)) {
21095 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21097 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21098 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21100 if (SWIG_IsTmpObj(res4
)) {
21101 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21103 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21104 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21106 if (SWIG_IsTmpObj(res5
)) {
21107 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21109 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21110 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21112 if (SWIG_IsTmpObj(res6
)) {
21113 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21115 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21116 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21132 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21133 PyObject
*resultobj
= 0;
21134 wxDC
*arg1
= (wxDC
*) 0 ;
21135 wxString
*arg2
= 0 ;
21136 int *arg3
= (int *) 0 ;
21137 int *arg4
= (int *) 0 ;
21138 int *arg5
= (int *) 0 ;
21139 wxFont
*arg6
= (wxFont
*) NULL
;
21142 bool temp2
= false ;
21144 int res3
= SWIG_TMPOBJ
;
21146 int res4
= SWIG_TMPOBJ
;
21148 int res5
= SWIG_TMPOBJ
;
21151 PyObject
* obj0
= 0 ;
21152 PyObject
* obj1
= 0 ;
21153 PyObject
* obj2
= 0 ;
21154 char * kwnames
[] = {
21155 (char *) "self",(char *) "text",(char *) "font", NULL
21161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21163 if (!SWIG_IsOK(res1
)) {
21164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21166 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21168 arg2
= wxString_in_helper(obj1
);
21169 if (arg2
== NULL
) SWIG_fail
;
21173 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21174 if (!SWIG_IsOK(res6
)) {
21175 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21177 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21181 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21182 wxPyEndAllowThreads(__tstate
);
21183 if (PyErr_Occurred()) SWIG_fail
;
21185 resultobj
= SWIG_Py_Void();
21186 if (SWIG_IsTmpObj(res3
)) {
21187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21189 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21192 if (SWIG_IsTmpObj(res4
)) {
21193 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21195 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21196 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21198 if (SWIG_IsTmpObj(res5
)) {
21199 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21201 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21202 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21218 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21219 PyObject
*resultobj
= 0;
21220 wxDC
*arg1
= (wxDC
*) 0 ;
21221 wxString
*arg2
= 0 ;
21225 bool temp2
= false ;
21226 PyObject
* obj0
= 0 ;
21227 PyObject
* obj1
= 0 ;
21228 char * kwnames
[] = {
21229 (char *) "self",(char *) "text", NULL
21232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21234 if (!SWIG_IsOK(res1
)) {
21235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21237 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21239 arg2
= wxString_in_helper(obj1
);
21240 if (arg2
== NULL
) SWIG_fail
;
21244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21245 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21246 wxPyEndAllowThreads(__tstate
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21250 resultobj
= wxArrayInt2PyList_helper(result
);
21266 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21267 PyObject
*resultobj
= 0;
21268 wxDC
*arg1
= (wxDC
*) 0 ;
21272 PyObject
*swig_obj
[1] ;
21274 if (!args
) SWIG_fail
;
21275 swig_obj
[0] = args
;
21276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21277 if (!SWIG_IsOK(res1
)) {
21278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21280 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21283 result
= (arg1
)->GetSize();
21284 wxPyEndAllowThreads(__tstate
);
21285 if (PyErr_Occurred()) SWIG_fail
;
21287 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21294 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21295 PyObject
*resultobj
= 0;
21296 wxDC
*arg1
= (wxDC
*) 0 ;
21297 int *arg2
= (int *) 0 ;
21298 int *arg3
= (int *) 0 ;
21302 int res2
= SWIG_TMPOBJ
;
21304 int res3
= SWIG_TMPOBJ
;
21305 PyObject
*swig_obj
[1] ;
21309 if (!args
) SWIG_fail
;
21310 swig_obj
[0] = args
;
21311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21312 if (!SWIG_IsOK(res1
)) {
21313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21315 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21318 (arg1
)->GetSize(arg2
,arg3
);
21319 wxPyEndAllowThreads(__tstate
);
21320 if (PyErr_Occurred()) SWIG_fail
;
21322 resultobj
= SWIG_Py_Void();
21323 if (SWIG_IsTmpObj(res2
)) {
21324 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21326 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21327 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21329 if (SWIG_IsTmpObj(res3
)) {
21330 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21332 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21333 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21341 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21342 PyObject
*resultobj
= 0;
21343 wxDC
*arg1
= (wxDC
*) 0 ;
21347 PyObject
*swig_obj
[1] ;
21349 if (!args
) SWIG_fail
;
21350 swig_obj
[0] = args
;
21351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21352 if (!SWIG_IsOK(res1
)) {
21353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21355 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21358 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21359 wxPyEndAllowThreads(__tstate
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21362 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21369 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21370 PyObject
*resultobj
= 0;
21371 wxDC
*arg1
= (wxDC
*) 0 ;
21372 int *arg2
= (int *) 0 ;
21373 int *arg3
= (int *) 0 ;
21377 int res2
= SWIG_TMPOBJ
;
21379 int res3
= SWIG_TMPOBJ
;
21380 PyObject
*swig_obj
[1] ;
21384 if (!args
) SWIG_fail
;
21385 swig_obj
[0] = args
;
21386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21387 if (!SWIG_IsOK(res1
)) {
21388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21390 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21393 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21394 wxPyEndAllowThreads(__tstate
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21397 resultobj
= SWIG_Py_Void();
21398 if (SWIG_IsTmpObj(res2
)) {
21399 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21401 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21402 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21404 if (SWIG_IsTmpObj(res3
)) {
21405 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21407 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21408 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21416 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21417 PyObject
*resultobj
= 0;
21418 wxDC
*arg1
= (wxDC
*) 0 ;
21425 PyObject
* obj0
= 0 ;
21426 PyObject
* obj1
= 0 ;
21427 char * kwnames
[] = {
21428 (char *) "self",(char *) "x", NULL
21431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21433 if (!SWIG_IsOK(res1
)) {
21434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21436 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21438 if (!SWIG_IsOK(ecode2
)) {
21439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21441 arg2
= static_cast< int >(val2
);
21443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21444 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21445 wxPyEndAllowThreads(__tstate
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21448 resultobj
= SWIG_From_int(static_cast< int >(result
));
21455 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21456 PyObject
*resultobj
= 0;
21457 wxDC
*arg1
= (wxDC
*) 0 ;
21464 PyObject
* obj0
= 0 ;
21465 PyObject
* obj1
= 0 ;
21466 char * kwnames
[] = {
21467 (char *) "self",(char *) "y", NULL
21470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21472 if (!SWIG_IsOK(res1
)) {
21473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21475 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21477 if (!SWIG_IsOK(ecode2
)) {
21478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21480 arg2
= static_cast< int >(val2
);
21482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21483 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21484 wxPyEndAllowThreads(__tstate
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21487 resultobj
= SWIG_From_int(static_cast< int >(result
));
21494 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21495 PyObject
*resultobj
= 0;
21496 wxDC
*arg1
= (wxDC
*) 0 ;
21503 PyObject
* obj0
= 0 ;
21504 PyObject
* obj1
= 0 ;
21505 char * kwnames
[] = {
21506 (char *) "self",(char *) "x", NULL
21509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21511 if (!SWIG_IsOK(res1
)) {
21512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21514 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21516 if (!SWIG_IsOK(ecode2
)) {
21517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21519 arg2
= static_cast< int >(val2
);
21521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21522 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21523 wxPyEndAllowThreads(__tstate
);
21524 if (PyErr_Occurred()) SWIG_fail
;
21526 resultobj
= SWIG_From_int(static_cast< int >(result
));
21533 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21534 PyObject
*resultobj
= 0;
21535 wxDC
*arg1
= (wxDC
*) 0 ;
21542 PyObject
* obj0
= 0 ;
21543 PyObject
* obj1
= 0 ;
21544 char * kwnames
[] = {
21545 (char *) "self",(char *) "y", NULL
21548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21550 if (!SWIG_IsOK(res1
)) {
21551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21553 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21555 if (!SWIG_IsOK(ecode2
)) {
21556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21558 arg2
= static_cast< int >(val2
);
21560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21561 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21562 wxPyEndAllowThreads(__tstate
);
21563 if (PyErr_Occurred()) SWIG_fail
;
21565 resultobj
= SWIG_From_int(static_cast< int >(result
));
21572 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21573 PyObject
*resultobj
= 0;
21574 wxDC
*arg1
= (wxDC
*) 0 ;
21581 PyObject
* obj0
= 0 ;
21582 PyObject
* obj1
= 0 ;
21583 char * kwnames
[] = {
21584 (char *) "self",(char *) "x", NULL
21587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21589 if (!SWIG_IsOK(res1
)) {
21590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21592 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21594 if (!SWIG_IsOK(ecode2
)) {
21595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21597 arg2
= static_cast< int >(val2
);
21599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21600 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21601 wxPyEndAllowThreads(__tstate
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21604 resultobj
= SWIG_From_int(static_cast< int >(result
));
21611 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21612 PyObject
*resultobj
= 0;
21613 wxDC
*arg1
= (wxDC
*) 0 ;
21620 PyObject
* obj0
= 0 ;
21621 PyObject
* obj1
= 0 ;
21622 char * kwnames
[] = {
21623 (char *) "self",(char *) "y", NULL
21626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21628 if (!SWIG_IsOK(res1
)) {
21629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21631 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21633 if (!SWIG_IsOK(ecode2
)) {
21634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21636 arg2
= static_cast< int >(val2
);
21638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21639 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21640 wxPyEndAllowThreads(__tstate
);
21641 if (PyErr_Occurred()) SWIG_fail
;
21643 resultobj
= SWIG_From_int(static_cast< int >(result
));
21650 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21651 PyObject
*resultobj
= 0;
21652 wxDC
*arg1
= (wxDC
*) 0 ;
21659 PyObject
* obj0
= 0 ;
21660 PyObject
* obj1
= 0 ;
21661 char * kwnames
[] = {
21662 (char *) "self",(char *) "x", NULL
21665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21667 if (!SWIG_IsOK(res1
)) {
21668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21670 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21672 if (!SWIG_IsOK(ecode2
)) {
21673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21675 arg2
= static_cast< int >(val2
);
21677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21679 wxPyEndAllowThreads(__tstate
);
21680 if (PyErr_Occurred()) SWIG_fail
;
21682 resultobj
= SWIG_From_int(static_cast< int >(result
));
21689 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21690 PyObject
*resultobj
= 0;
21691 wxDC
*arg1
= (wxDC
*) 0 ;
21698 PyObject
* obj0
= 0 ;
21699 PyObject
* obj1
= 0 ;
21700 char * kwnames
[] = {
21701 (char *) "self",(char *) "y", NULL
21704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21706 if (!SWIG_IsOK(res1
)) {
21707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21709 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21711 if (!SWIG_IsOK(ecode2
)) {
21712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21714 arg2
= static_cast< int >(val2
);
21716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21717 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21718 wxPyEndAllowThreads(__tstate
);
21719 if (PyErr_Occurred()) SWIG_fail
;
21721 resultobj
= SWIG_From_int(static_cast< int >(result
));
21728 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21729 PyObject
*resultobj
= 0;
21730 wxDC
*arg1
= (wxDC
*) 0 ;
21734 PyObject
*swig_obj
[1] ;
21736 if (!args
) SWIG_fail
;
21737 swig_obj
[0] = args
;
21738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21739 if (!SWIG_IsOK(res1
)) {
21740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21742 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21745 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21758 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21759 PyObject
*resultobj
= 0;
21760 wxDC
*arg1
= (wxDC
*) 0 ;
21764 PyObject
*swig_obj
[1] ;
21766 if (!args
) SWIG_fail
;
21767 swig_obj
[0] = args
;
21768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21769 if (!SWIG_IsOK(res1
)) {
21770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21772 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21775 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21776 wxPyEndAllowThreads(__tstate
);
21777 if (PyErr_Occurred()) SWIG_fail
;
21780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21788 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21789 PyObject
*resultobj
= 0;
21790 wxDC
*arg1
= (wxDC
*) 0 ;
21794 PyObject
*swig_obj
[1] ;
21796 if (!args
) SWIG_fail
;
21797 swig_obj
[0] = args
;
21798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21799 if (!SWIG_IsOK(res1
)) {
21800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21802 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21805 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21806 wxPyEndAllowThreads(__tstate
);
21807 if (PyErr_Occurred()) SWIG_fail
;
21809 resultobj
= SWIG_From_int(static_cast< int >(result
));
21816 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21817 PyObject
*resultobj
= 0;
21818 wxDC
*arg1
= (wxDC
*) 0 ;
21822 PyObject
*swig_obj
[1] ;
21824 if (!args
) SWIG_fail
;
21825 swig_obj
[0] = args
;
21826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21827 if (!SWIG_IsOK(res1
)) {
21828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21830 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 result
= ((wxDC
const *)arg1
)->GetPPI();
21834 wxPyEndAllowThreads(__tstate
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21837 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21844 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21845 PyObject
*resultobj
= 0;
21846 wxDC
*arg1
= (wxDC
*) 0 ;
21850 PyObject
*swig_obj
[1] ;
21852 if (!args
) SWIG_fail
;
21853 swig_obj
[0] = args
;
21854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21855 if (!SWIG_IsOK(res1
)) {
21856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21858 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21861 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21862 wxPyEndAllowThreads(__tstate
);
21863 if (PyErr_Occurred()) SWIG_fail
;
21866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21874 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21875 PyObject
*resultobj
= 0;
21876 wxDC
*arg1
= (wxDC
*) 0 ;
21880 PyObject
*swig_obj
[1] ;
21882 if (!args
) SWIG_fail
;
21883 swig_obj
[0] = args
;
21884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21885 if (!SWIG_IsOK(res1
)) {
21886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21888 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21892 wxPyEndAllowThreads(__tstate
);
21893 if (PyErr_Occurred()) SWIG_fail
;
21895 resultobj
= SWIG_From_int(static_cast< int >(result
));
21902 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21903 PyObject
*resultobj
= 0;
21904 wxDC
*arg1
= (wxDC
*) 0 ;
21905 wxBrush
*result
= 0 ;
21908 PyObject
*swig_obj
[1] ;
21910 if (!args
) SWIG_fail
;
21911 swig_obj
[0] = args
;
21912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21913 if (!SWIG_IsOK(res1
)) {
21914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21916 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21920 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21921 result
= (wxBrush
*) &_result_ref
;
21923 wxPyEndAllowThreads(__tstate
);
21924 if (PyErr_Occurred()) SWIG_fail
;
21927 wxBrush
* resultptr
= new wxBrush(*result
);
21928 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21936 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21937 PyObject
*resultobj
= 0;
21938 wxDC
*arg1
= (wxDC
*) 0 ;
21939 wxBrush
*result
= 0 ;
21942 PyObject
*swig_obj
[1] ;
21944 if (!args
) SWIG_fail
;
21945 swig_obj
[0] = args
;
21946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21947 if (!SWIG_IsOK(res1
)) {
21948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21950 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21954 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21955 result
= (wxBrush
*) &_result_ref
;
21957 wxPyEndAllowThreads(__tstate
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21961 wxBrush
* resultptr
= new wxBrush(*result
);
21962 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21970 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21971 PyObject
*resultobj
= 0;
21972 wxDC
*arg1
= (wxDC
*) 0 ;
21973 wxFont
*result
= 0 ;
21976 PyObject
*swig_obj
[1] ;
21978 if (!args
) SWIG_fail
;
21979 swig_obj
[0] = args
;
21980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21981 if (!SWIG_IsOK(res1
)) {
21982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21984 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21988 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21989 result
= (wxFont
*) &_result_ref
;
21991 wxPyEndAllowThreads(__tstate
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21995 wxFont
* resultptr
= new wxFont(*result
);
21996 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22004 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22005 PyObject
*resultobj
= 0;
22006 wxDC
*arg1
= (wxDC
*) 0 ;
22007 wxPen
*result
= 0 ;
22010 PyObject
*swig_obj
[1] ;
22012 if (!args
) SWIG_fail
;
22013 swig_obj
[0] = args
;
22014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22015 if (!SWIG_IsOK(res1
)) {
22016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22018 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22022 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22023 result
= (wxPen
*) &_result_ref
;
22025 wxPyEndAllowThreads(__tstate
);
22026 if (PyErr_Occurred()) SWIG_fail
;
22029 wxPen
* resultptr
= new wxPen(*result
);
22030 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22038 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22039 PyObject
*resultobj
= 0;
22040 wxDC
*arg1
= (wxDC
*) 0 ;
22041 wxColour
*result
= 0 ;
22044 PyObject
*swig_obj
[1] ;
22046 if (!args
) SWIG_fail
;
22047 swig_obj
[0] = args
;
22048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22049 if (!SWIG_IsOK(res1
)) {
22050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22052 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22056 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22057 result
= (wxColour
*) &_result_ref
;
22059 wxPyEndAllowThreads(__tstate
);
22060 if (PyErr_Occurred()) SWIG_fail
;
22062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22069 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22070 PyObject
*resultobj
= 0;
22071 wxDC
*arg1
= (wxDC
*) 0 ;
22072 wxColour
*result
= 0 ;
22075 PyObject
*swig_obj
[1] ;
22077 if (!args
) SWIG_fail
;
22078 swig_obj
[0] = args
;
22079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22080 if (!SWIG_IsOK(res1
)) {
22081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22083 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22087 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22088 result
= (wxColour
*) &_result_ref
;
22090 wxPyEndAllowThreads(__tstate
);
22091 if (PyErr_Occurred()) SWIG_fail
;
22093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22100 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22101 PyObject
*resultobj
= 0;
22102 wxDC
*arg1
= (wxDC
*) 0 ;
22103 wxColour
*arg2
= 0 ;
22107 PyObject
* obj0
= 0 ;
22108 PyObject
* obj1
= 0 ;
22109 char * kwnames
[] = {
22110 (char *) "self",(char *) "colour", NULL
22113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22115 if (!SWIG_IsOK(res1
)) {
22116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22118 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22121 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22126 wxPyEndAllowThreads(__tstate
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22129 resultobj
= SWIG_Py_Void();
22136 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22137 PyObject
*resultobj
= 0;
22138 wxDC
*arg1
= (wxDC
*) 0 ;
22139 wxColour
*arg2
= 0 ;
22143 PyObject
* obj0
= 0 ;
22144 PyObject
* obj1
= 0 ;
22145 char * kwnames
[] = {
22146 (char *) "self",(char *) "colour", NULL
22149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22151 if (!SWIG_IsOK(res1
)) {
22152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22154 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22157 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22161 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22162 wxPyEndAllowThreads(__tstate
);
22163 if (PyErr_Occurred()) SWIG_fail
;
22165 resultobj
= SWIG_Py_Void();
22172 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22173 PyObject
*resultobj
= 0;
22174 wxDC
*arg1
= (wxDC
*) 0 ;
22178 PyObject
*swig_obj
[1] ;
22180 if (!args
) SWIG_fail
;
22181 swig_obj
[0] = args
;
22182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22183 if (!SWIG_IsOK(res1
)) {
22184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22186 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22189 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22190 wxPyEndAllowThreads(__tstate
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22193 resultobj
= SWIG_From_int(static_cast< int >(result
));
22200 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22201 PyObject
*resultobj
= 0;
22202 wxDC
*arg1
= (wxDC
*) 0 ;
22208 PyObject
* obj0
= 0 ;
22209 PyObject
* obj1
= 0 ;
22210 char * kwnames
[] = {
22211 (char *) "self",(char *) "mode", NULL
22214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22216 if (!SWIG_IsOK(res1
)) {
22217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22219 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22221 if (!SWIG_IsOK(ecode2
)) {
22222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22224 arg2
= static_cast< int >(val2
);
22226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22227 (arg1
)->SetMapMode(arg2
);
22228 wxPyEndAllowThreads(__tstate
);
22229 if (PyErr_Occurred()) SWIG_fail
;
22231 resultobj
= SWIG_Py_Void();
22238 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22239 PyObject
*resultobj
= 0;
22240 wxDC
*arg1
= (wxDC
*) 0 ;
22241 double *arg2
= (double *) 0 ;
22242 double *arg3
= (double *) 0 ;
22246 int res2
= SWIG_TMPOBJ
;
22248 int res3
= SWIG_TMPOBJ
;
22249 PyObject
*swig_obj
[1] ;
22253 if (!args
) SWIG_fail
;
22254 swig_obj
[0] = args
;
22255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22256 if (!SWIG_IsOK(res1
)) {
22257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22259 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22262 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22263 wxPyEndAllowThreads(__tstate
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22266 resultobj
= SWIG_Py_Void();
22267 if (SWIG_IsTmpObj(res2
)) {
22268 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22270 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22271 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22273 if (SWIG_IsTmpObj(res3
)) {
22274 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22276 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22277 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22285 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22286 PyObject
*resultobj
= 0;
22287 wxDC
*arg1
= (wxDC
*) 0 ;
22296 PyObject
* obj0
= 0 ;
22297 PyObject
* obj1
= 0 ;
22298 PyObject
* obj2
= 0 ;
22299 char * kwnames
[] = {
22300 (char *) "self",(char *) "x",(char *) "y", NULL
22303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22305 if (!SWIG_IsOK(res1
)) {
22306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22308 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22309 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22310 if (!SWIG_IsOK(ecode2
)) {
22311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22313 arg2
= static_cast< double >(val2
);
22314 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22315 if (!SWIG_IsOK(ecode3
)) {
22316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22318 arg3
= static_cast< double >(val3
);
22320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22321 (arg1
)->SetUserScale(arg2
,arg3
);
22322 wxPyEndAllowThreads(__tstate
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22325 resultobj
= SWIG_Py_Void();
22332 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22333 PyObject
*resultobj
= 0;
22334 wxDC
*arg1
= (wxDC
*) 0 ;
22335 double *arg2
= (double *) 0 ;
22336 double *arg3
= (double *) 0 ;
22340 int res2
= SWIG_TMPOBJ
;
22342 int res3
= SWIG_TMPOBJ
;
22343 PyObject
*swig_obj
[1] ;
22347 if (!args
) SWIG_fail
;
22348 swig_obj
[0] = args
;
22349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22350 if (!SWIG_IsOK(res1
)) {
22351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22353 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22356 (arg1
)->GetLogicalScale(arg2
,arg3
);
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22360 resultobj
= SWIG_Py_Void();
22361 if (SWIG_IsTmpObj(res2
)) {
22362 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22364 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22365 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22367 if (SWIG_IsTmpObj(res3
)) {
22368 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22370 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22371 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22379 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22380 PyObject
*resultobj
= 0;
22381 wxDC
*arg1
= (wxDC
*) 0 ;
22390 PyObject
* obj0
= 0 ;
22391 PyObject
* obj1
= 0 ;
22392 PyObject
* obj2
= 0 ;
22393 char * kwnames
[] = {
22394 (char *) "self",(char *) "x",(char *) "y", NULL
22397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22399 if (!SWIG_IsOK(res1
)) {
22400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22402 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22403 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22404 if (!SWIG_IsOK(ecode2
)) {
22405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22407 arg2
= static_cast< double >(val2
);
22408 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22409 if (!SWIG_IsOK(ecode3
)) {
22410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22412 arg3
= static_cast< double >(val3
);
22414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22415 (arg1
)->SetLogicalScale(arg2
,arg3
);
22416 wxPyEndAllowThreads(__tstate
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22419 resultobj
= SWIG_Py_Void();
22426 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22427 PyObject
*resultobj
= 0;
22428 wxDC
*arg1
= (wxDC
*) 0 ;
22432 PyObject
*swig_obj
[1] ;
22434 if (!args
) SWIG_fail
;
22435 swig_obj
[0] = args
;
22436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22437 if (!SWIG_IsOK(res1
)) {
22438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22440 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22443 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22444 wxPyEndAllowThreads(__tstate
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22447 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22454 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22455 PyObject
*resultobj
= 0;
22456 wxDC
*arg1
= (wxDC
*) 0 ;
22457 int *arg2
= (int *) 0 ;
22458 int *arg3
= (int *) 0 ;
22462 int res2
= SWIG_TMPOBJ
;
22464 int res3
= SWIG_TMPOBJ
;
22465 PyObject
*swig_obj
[1] ;
22469 if (!args
) SWIG_fail
;
22470 swig_obj
[0] = args
;
22471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22472 if (!SWIG_IsOK(res1
)) {
22473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22475 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22478 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22479 wxPyEndAllowThreads(__tstate
);
22480 if (PyErr_Occurred()) SWIG_fail
;
22482 resultobj
= SWIG_Py_Void();
22483 if (SWIG_IsTmpObj(res2
)) {
22484 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22486 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22487 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22489 if (SWIG_IsTmpObj(res3
)) {
22490 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22492 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22493 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22501 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22502 PyObject
*resultobj
= 0;
22503 wxDC
*arg1
= (wxDC
*) 0 ;
22512 PyObject
* obj0
= 0 ;
22513 PyObject
* obj1
= 0 ;
22514 PyObject
* obj2
= 0 ;
22515 char * kwnames
[] = {
22516 (char *) "self",(char *) "x",(char *) "y", NULL
22519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22521 if (!SWIG_IsOK(res1
)) {
22522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22524 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22526 if (!SWIG_IsOK(ecode2
)) {
22527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22529 arg2
= static_cast< int >(val2
);
22530 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22531 if (!SWIG_IsOK(ecode3
)) {
22532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22534 arg3
= static_cast< int >(val3
);
22536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22537 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22538 wxPyEndAllowThreads(__tstate
);
22539 if (PyErr_Occurred()) SWIG_fail
;
22541 resultobj
= SWIG_Py_Void();
22548 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22549 PyObject
*resultobj
= 0;
22550 wxDC
*arg1
= (wxDC
*) 0 ;
22551 wxPoint
*arg2
= 0 ;
22555 PyObject
* obj0
= 0 ;
22556 PyObject
* obj1
= 0 ;
22557 char * kwnames
[] = {
22558 (char *) "self",(char *) "point", NULL
22561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22563 if (!SWIG_IsOK(res1
)) {
22564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22566 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22569 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22573 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22574 wxPyEndAllowThreads(__tstate
);
22575 if (PyErr_Occurred()) SWIG_fail
;
22577 resultobj
= SWIG_Py_Void();
22584 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22585 PyObject
*resultobj
= 0;
22586 wxDC
*arg1
= (wxDC
*) 0 ;
22590 PyObject
*swig_obj
[1] ;
22592 if (!args
) SWIG_fail
;
22593 swig_obj
[0] = args
;
22594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22595 if (!SWIG_IsOK(res1
)) {
22596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22598 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22601 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22602 wxPyEndAllowThreads(__tstate
);
22603 if (PyErr_Occurred()) SWIG_fail
;
22605 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22612 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22613 PyObject
*resultobj
= 0;
22614 wxDC
*arg1
= (wxDC
*) 0 ;
22615 int *arg2
= (int *) 0 ;
22616 int *arg3
= (int *) 0 ;
22620 int res2
= SWIG_TMPOBJ
;
22622 int res3
= SWIG_TMPOBJ
;
22623 PyObject
*swig_obj
[1] ;
22627 if (!args
) SWIG_fail
;
22628 swig_obj
[0] = args
;
22629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22630 if (!SWIG_IsOK(res1
)) {
22631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22633 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22636 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22637 wxPyEndAllowThreads(__tstate
);
22638 if (PyErr_Occurred()) SWIG_fail
;
22640 resultobj
= SWIG_Py_Void();
22641 if (SWIG_IsTmpObj(res2
)) {
22642 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22644 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22645 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22647 if (SWIG_IsTmpObj(res3
)) {
22648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22650 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22659 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22660 PyObject
*resultobj
= 0;
22661 wxDC
*arg1
= (wxDC
*) 0 ;
22670 PyObject
* obj0
= 0 ;
22671 PyObject
* obj1
= 0 ;
22672 PyObject
* obj2
= 0 ;
22673 char * kwnames
[] = {
22674 (char *) "self",(char *) "x",(char *) "y", NULL
22677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22679 if (!SWIG_IsOK(res1
)) {
22680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22682 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22684 if (!SWIG_IsOK(ecode2
)) {
22685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22687 arg2
= static_cast< int >(val2
);
22688 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22689 if (!SWIG_IsOK(ecode3
)) {
22690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22692 arg3
= static_cast< int >(val3
);
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22696 wxPyEndAllowThreads(__tstate
);
22697 if (PyErr_Occurred()) SWIG_fail
;
22699 resultobj
= SWIG_Py_Void();
22706 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22707 PyObject
*resultobj
= 0;
22708 wxDC
*arg1
= (wxDC
*) 0 ;
22709 wxPoint
*arg2
= 0 ;
22713 PyObject
* obj0
= 0 ;
22714 PyObject
* obj1
= 0 ;
22715 char * kwnames
[] = {
22716 (char *) "self",(char *) "point", NULL
22719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22721 if (!SWIG_IsOK(res1
)) {
22722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22724 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22727 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22731 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22732 wxPyEndAllowThreads(__tstate
);
22733 if (PyErr_Occurred()) SWIG_fail
;
22735 resultobj
= SWIG_Py_Void();
22742 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22743 PyObject
*resultobj
= 0;
22744 wxDC
*arg1
= (wxDC
*) 0 ;
22753 PyObject
* obj0
= 0 ;
22754 PyObject
* obj1
= 0 ;
22755 PyObject
* obj2
= 0 ;
22756 char * kwnames
[] = {
22757 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22762 if (!SWIG_IsOK(res1
)) {
22763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22765 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22766 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22767 if (!SWIG_IsOK(ecode2
)) {
22768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22770 arg2
= static_cast< bool >(val2
);
22771 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22772 if (!SWIG_IsOK(ecode3
)) {
22773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22775 arg3
= static_cast< bool >(val3
);
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22779 wxPyEndAllowThreads(__tstate
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22782 resultobj
= SWIG_Py_Void();
22789 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22790 PyObject
*resultobj
= 0;
22791 wxDC
*arg1
= (wxDC
*) 0 ;
22795 PyObject
*swig_obj
[1] ;
22797 if (!args
) SWIG_fail
;
22798 swig_obj
[0] = args
;
22799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22800 if (!SWIG_IsOK(res1
)) {
22801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22803 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22806 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22807 wxPyEndAllowThreads(__tstate
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22810 resultobj
= SWIG_From_int(static_cast< int >(result
));
22817 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22818 PyObject
*resultobj
= 0;
22819 wxDC
*arg1
= (wxDC
*) 0 ;
22825 PyObject
* obj0
= 0 ;
22826 PyObject
* obj1
= 0 ;
22827 char * kwnames
[] = {
22828 (char *) "self",(char *) "function", NULL
22831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22833 if (!SWIG_IsOK(res1
)) {
22834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22836 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22838 if (!SWIG_IsOK(ecode2
)) {
22839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22841 arg2
= static_cast< int >(val2
);
22843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22844 (arg1
)->SetLogicalFunction(arg2
);
22845 wxPyEndAllowThreads(__tstate
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22848 resultobj
= SWIG_Py_Void();
22855 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22856 PyObject
*resultobj
= 0;
22857 wxDC
*arg1
= (wxDC
*) 0 ;
22860 PyObject
*swig_obj
[1] ;
22862 if (!args
) SWIG_fail
;
22863 swig_obj
[0] = args
;
22864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22865 if (!SWIG_IsOK(res1
)) {
22866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22868 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22871 (arg1
)->ComputeScaleAndOrigin();
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22875 resultobj
= SWIG_Py_Void();
22882 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22883 PyObject
*resultobj
= 0;
22884 wxDC
*arg1
= (wxDC
*) 0 ;
22893 PyObject
* obj0
= 0 ;
22894 PyObject
* obj1
= 0 ;
22895 PyObject
* obj2
= 0 ;
22896 char * kwnames
[] = {
22897 (char *) "self",(char *) "x",(char *) "y", NULL
22900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22902 if (!SWIG_IsOK(res1
)) {
22903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22905 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22907 if (!SWIG_IsOK(ecode2
)) {
22908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22910 arg2
= static_cast< int >(val2
);
22911 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22912 if (!SWIG_IsOK(ecode3
)) {
22913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22915 arg3
= static_cast< int >(val3
);
22917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22918 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22919 wxPyEndAllowThreads(__tstate
);
22920 if (PyErr_Occurred()) SWIG_fail
;
22922 resultobj
= SWIG_Py_Void();
22929 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22930 PyObject
*resultobj
= 0;
22931 wxDC
*arg1
= (wxDC
*) 0 ;
22932 wxPoint
*arg2
= 0 ;
22936 PyObject
* obj0
= 0 ;
22937 PyObject
* obj1
= 0 ;
22938 char * kwnames
[] = {
22939 (char *) "self",(char *) "point", NULL
22942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22944 if (!SWIG_IsOK(res1
)) {
22945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22947 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22950 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22954 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22955 wxPyEndAllowThreads(__tstate
);
22956 if (PyErr_Occurred()) SWIG_fail
;
22958 resultobj
= SWIG_Py_Void();
22965 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22966 PyObject
*resultobj
= 0;
22967 wxDC
*arg1
= (wxDC
*) 0 ;
22970 PyObject
*swig_obj
[1] ;
22972 if (!args
) SWIG_fail
;
22973 swig_obj
[0] = args
;
22974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22975 if (!SWIG_IsOK(res1
)) {
22976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22978 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 (arg1
)->ResetBoundingBox();
22982 wxPyEndAllowThreads(__tstate
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22985 resultobj
= SWIG_Py_Void();
22992 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22993 PyObject
*resultobj
= 0;
22994 wxDC
*arg1
= (wxDC
*) 0 ;
22998 PyObject
*swig_obj
[1] ;
23000 if (!args
) SWIG_fail
;
23001 swig_obj
[0] = args
;
23002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23003 if (!SWIG_IsOK(res1
)) {
23004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23006 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23009 result
= (int)((wxDC
const *)arg1
)->MinX();
23010 wxPyEndAllowThreads(__tstate
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23013 resultobj
= SWIG_From_int(static_cast< int >(result
));
23020 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23021 PyObject
*resultobj
= 0;
23022 wxDC
*arg1
= (wxDC
*) 0 ;
23026 PyObject
*swig_obj
[1] ;
23028 if (!args
) SWIG_fail
;
23029 swig_obj
[0] = args
;
23030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23031 if (!SWIG_IsOK(res1
)) {
23032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23034 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23037 result
= (int)((wxDC
const *)arg1
)->MaxX();
23038 wxPyEndAllowThreads(__tstate
);
23039 if (PyErr_Occurred()) SWIG_fail
;
23041 resultobj
= SWIG_From_int(static_cast< int >(result
));
23048 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23049 PyObject
*resultobj
= 0;
23050 wxDC
*arg1
= (wxDC
*) 0 ;
23054 PyObject
*swig_obj
[1] ;
23056 if (!args
) SWIG_fail
;
23057 swig_obj
[0] = args
;
23058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23059 if (!SWIG_IsOK(res1
)) {
23060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23062 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23065 result
= (int)((wxDC
const *)arg1
)->MinY();
23066 wxPyEndAllowThreads(__tstate
);
23067 if (PyErr_Occurred()) SWIG_fail
;
23069 resultobj
= SWIG_From_int(static_cast< int >(result
));
23076 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23077 PyObject
*resultobj
= 0;
23078 wxDC
*arg1
= (wxDC
*) 0 ;
23082 PyObject
*swig_obj
[1] ;
23084 if (!args
) SWIG_fail
;
23085 swig_obj
[0] = args
;
23086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23087 if (!SWIG_IsOK(res1
)) {
23088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23090 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23093 result
= (int)((wxDC
const *)arg1
)->MaxY();
23094 wxPyEndAllowThreads(__tstate
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23097 resultobj
= SWIG_From_int(static_cast< int >(result
));
23104 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23105 PyObject
*resultobj
= 0;
23106 wxDC
*arg1
= (wxDC
*) 0 ;
23107 int *arg2
= (int *) 0 ;
23108 int *arg3
= (int *) 0 ;
23109 int *arg4
= (int *) 0 ;
23110 int *arg5
= (int *) 0 ;
23114 int res2
= SWIG_TMPOBJ
;
23116 int res3
= SWIG_TMPOBJ
;
23118 int res4
= SWIG_TMPOBJ
;
23120 int res5
= SWIG_TMPOBJ
;
23121 PyObject
*swig_obj
[1] ;
23127 if (!args
) SWIG_fail
;
23128 swig_obj
[0] = args
;
23129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23130 if (!SWIG_IsOK(res1
)) {
23131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23133 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23136 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23137 wxPyEndAllowThreads(__tstate
);
23138 if (PyErr_Occurred()) SWIG_fail
;
23140 resultobj
= SWIG_Py_Void();
23141 if (SWIG_IsTmpObj(res2
)) {
23142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23144 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23145 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23147 if (SWIG_IsTmpObj(res3
)) {
23148 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23150 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23151 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23153 if (SWIG_IsTmpObj(res4
)) {
23154 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23156 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23157 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23159 if (SWIG_IsTmpObj(res5
)) {
23160 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23162 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23163 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23171 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23172 PyObject
*resultobj
= 0;
23173 wxDC
*arg1
= (wxDC
*) 0 ;
23174 wxLayoutDirection result
;
23177 PyObject
*swig_obj
[1] ;
23179 if (!args
) SWIG_fail
;
23180 swig_obj
[0] = args
;
23181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23182 if (!SWIG_IsOK(res1
)) {
23183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23185 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23188 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23189 wxPyEndAllowThreads(__tstate
);
23190 if (PyErr_Occurred()) SWIG_fail
;
23192 resultobj
= SWIG_From_int(static_cast< int >(result
));
23199 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23200 PyObject
*resultobj
= 0;
23201 wxDC
*arg1
= (wxDC
*) 0 ;
23202 wxLayoutDirection arg2
;
23207 PyObject
* obj0
= 0 ;
23208 PyObject
* obj1
= 0 ;
23209 char * kwnames
[] = {
23210 (char *) "self",(char *) "dir", NULL
23213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23215 if (!SWIG_IsOK(res1
)) {
23216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23218 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23220 if (!SWIG_IsOK(ecode2
)) {
23221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23223 arg2
= static_cast< wxLayoutDirection
>(val2
);
23225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23226 (arg1
)->SetLayoutDirection(arg2
);
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23230 resultobj
= SWIG_Py_Void();
23237 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23238 PyObject
*resultobj
= 0;
23239 wxDC
*arg1
= (wxDC
*) 0 ;
23240 PyObject
*arg2
= (PyObject
*) 0 ;
23241 PyObject
*arg3
= (PyObject
*) 0 ;
23242 PyObject
*arg4
= (PyObject
*) 0 ;
23243 PyObject
*result
= 0 ;
23246 PyObject
* obj0
= 0 ;
23247 PyObject
* obj1
= 0 ;
23248 PyObject
* obj2
= 0 ;
23249 PyObject
* obj3
= 0 ;
23250 char * kwnames
[] = {
23251 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23256 if (!SWIG_IsOK(res1
)) {
23257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23259 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23265 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23266 wxPyEndAllowThreads(__tstate
);
23267 if (PyErr_Occurred()) SWIG_fail
;
23269 resultobj
= result
;
23276 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23277 PyObject
*resultobj
= 0;
23278 wxDC
*arg1
= (wxDC
*) 0 ;
23279 PyObject
*arg2
= (PyObject
*) 0 ;
23280 PyObject
*arg3
= (PyObject
*) 0 ;
23281 PyObject
*arg4
= (PyObject
*) 0 ;
23282 PyObject
*result
= 0 ;
23285 PyObject
* obj0
= 0 ;
23286 PyObject
* obj1
= 0 ;
23287 PyObject
* obj2
= 0 ;
23288 PyObject
* obj3
= 0 ;
23289 char * kwnames
[] = {
23290 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23295 if (!SWIG_IsOK(res1
)) {
23296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23298 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23304 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23305 wxPyEndAllowThreads(__tstate
);
23306 if (PyErr_Occurred()) SWIG_fail
;
23308 resultobj
= result
;
23315 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23316 PyObject
*resultobj
= 0;
23317 wxDC
*arg1
= (wxDC
*) 0 ;
23318 PyObject
*arg2
= (PyObject
*) 0 ;
23319 PyObject
*arg3
= (PyObject
*) 0 ;
23320 PyObject
*arg4
= (PyObject
*) 0 ;
23321 PyObject
*result
= 0 ;
23324 PyObject
* obj0
= 0 ;
23325 PyObject
* obj1
= 0 ;
23326 PyObject
* obj2
= 0 ;
23327 PyObject
* obj3
= 0 ;
23328 char * kwnames
[] = {
23329 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23334 if (!SWIG_IsOK(res1
)) {
23335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23337 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23344 wxPyEndAllowThreads(__tstate
);
23345 if (PyErr_Occurred()) SWIG_fail
;
23347 resultobj
= result
;
23354 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23355 PyObject
*resultobj
= 0;
23356 wxDC
*arg1
= (wxDC
*) 0 ;
23357 PyObject
*arg2
= (PyObject
*) 0 ;
23358 PyObject
*arg3
= (PyObject
*) 0 ;
23359 PyObject
*arg4
= (PyObject
*) 0 ;
23360 PyObject
*result
= 0 ;
23363 PyObject
* obj0
= 0 ;
23364 PyObject
* obj1
= 0 ;
23365 PyObject
* obj2
= 0 ;
23366 PyObject
* obj3
= 0 ;
23367 char * kwnames
[] = {
23368 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23373 if (!SWIG_IsOK(res1
)) {
23374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23376 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23382 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23383 wxPyEndAllowThreads(__tstate
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23386 resultobj
= result
;
23393 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23394 PyObject
*resultobj
= 0;
23395 wxDC
*arg1
= (wxDC
*) 0 ;
23396 PyObject
*arg2
= (PyObject
*) 0 ;
23397 PyObject
*arg3
= (PyObject
*) 0 ;
23398 PyObject
*arg4
= (PyObject
*) 0 ;
23399 PyObject
*result
= 0 ;
23402 PyObject
* obj0
= 0 ;
23403 PyObject
* obj1
= 0 ;
23404 PyObject
* obj2
= 0 ;
23405 PyObject
* obj3
= 0 ;
23406 char * kwnames
[] = {
23407 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23412 if (!SWIG_IsOK(res1
)) {
23413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23415 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23421 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23422 wxPyEndAllowThreads(__tstate
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23425 resultobj
= result
;
23432 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23433 PyObject
*resultobj
= 0;
23434 wxDC
*arg1
= (wxDC
*) 0 ;
23435 PyObject
*arg2
= (PyObject
*) 0 ;
23436 PyObject
*arg3
= (PyObject
*) 0 ;
23437 PyObject
*arg4
= (PyObject
*) 0 ;
23438 PyObject
*arg5
= (PyObject
*) 0 ;
23439 PyObject
*result
= 0 ;
23442 PyObject
* obj0
= 0 ;
23443 PyObject
* obj1
= 0 ;
23444 PyObject
* obj2
= 0 ;
23445 PyObject
* obj3
= 0 ;
23446 PyObject
* obj4
= 0 ;
23447 char * kwnames
[] = {
23448 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23453 if (!SWIG_IsOK(res1
)) {
23454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23463 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23464 wxPyEndAllowThreads(__tstate
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23467 resultobj
= result
;
23474 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23476 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23477 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23478 return SWIG_Py_Void();
23481 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23482 PyObject
*resultobj
= 0;
23484 wxColour
*arg2
= 0 ;
23485 wxDCTextColourChanger
*result
= 0 ;
23489 PyObject
* obj0
= 0 ;
23490 PyObject
* obj1
= 0 ;
23491 char * kwnames
[] = {
23492 (char *) "dc",(char *) "col", NULL
23495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23496 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23497 if (!SWIG_IsOK(res1
)) {
23498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23501 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23503 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23506 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23510 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23511 wxPyEndAllowThreads(__tstate
);
23512 if (PyErr_Occurred()) SWIG_fail
;
23514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23521 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23522 PyObject
*resultobj
= 0;
23523 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23526 PyObject
*swig_obj
[1] ;
23528 if (!args
) SWIG_fail
;
23529 swig_obj
[0] = args
;
23530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23531 if (!SWIG_IsOK(res1
)) {
23532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23534 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23539 wxPyEndAllowThreads(__tstate
);
23540 if (PyErr_Occurred()) SWIG_fail
;
23542 resultobj
= SWIG_Py_Void();
23549 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23551 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23552 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23553 return SWIG_Py_Void();
23556 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23557 return SWIG_Python_InitShadowInstance(args
);
23560 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23561 PyObject
*resultobj
= 0;
23564 wxDCPenChanger
*result
= 0 ;
23569 PyObject
* obj0
= 0 ;
23570 PyObject
* obj1
= 0 ;
23571 char * kwnames
[] = {
23572 (char *) "dc",(char *) "pen", NULL
23575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23576 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23577 if (!SWIG_IsOK(res1
)) {
23578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23583 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23584 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23585 if (!SWIG_IsOK(res2
)) {
23586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23591 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23594 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23605 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23606 PyObject
*resultobj
= 0;
23607 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23610 PyObject
*swig_obj
[1] ;
23612 if (!args
) SWIG_fail
;
23613 swig_obj
[0] = args
;
23614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23615 if (!SWIG_IsOK(res1
)) {
23616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23618 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23626 resultobj
= SWIG_Py_Void();
23633 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23636 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23637 return SWIG_Py_Void();
23640 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23641 return SWIG_Python_InitShadowInstance(args
);
23644 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23645 PyObject
*resultobj
= 0;
23647 wxBrush
*arg2
= 0 ;
23648 wxDCBrushChanger
*result
= 0 ;
23653 PyObject
* obj0
= 0 ;
23654 PyObject
* obj1
= 0 ;
23655 char * kwnames
[] = {
23656 (char *) "dc",(char *) "brush", NULL
23659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23660 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23661 if (!SWIG_IsOK(res1
)) {
23662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23665 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23667 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23668 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23669 if (!SWIG_IsOK(res2
)) {
23670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23675 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23678 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23679 wxPyEndAllowThreads(__tstate
);
23680 if (PyErr_Occurred()) SWIG_fail
;
23682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23689 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23690 PyObject
*resultobj
= 0;
23691 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23694 PyObject
*swig_obj
[1] ;
23696 if (!args
) SWIG_fail
;
23697 swig_obj
[0] = args
;
23698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23699 if (!SWIG_IsOK(res1
)) {
23700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23702 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23707 wxPyEndAllowThreads(__tstate
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23710 resultobj
= SWIG_Py_Void();
23717 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23719 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23720 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23721 return SWIG_Py_Void();
23724 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23725 return SWIG_Python_InitShadowInstance(args
);
23728 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23729 PyObject
*resultobj
= 0;
23731 wxRegion
*arg2
= 0 ;
23732 wxDCClipper
*result
= 0 ;
23738 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23740 if (!SWIG_IsOK(res1
)) {
23741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23746 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23747 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23748 if (!SWIG_IsOK(res2
)) {
23749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23754 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23757 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23758 wxPyEndAllowThreads(__tstate
);
23759 if (PyErr_Occurred()) SWIG_fail
;
23761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23768 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23769 PyObject
*resultobj
= 0;
23772 wxDCClipper
*result
= 0 ;
23777 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23779 if (!SWIG_IsOK(res1
)) {
23780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23785 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23788 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23792 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23803 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23804 PyObject
*resultobj
= 0;
23810 wxDCClipper
*result
= 0 ;
23822 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23824 if (!SWIG_IsOK(res1
)) {
23825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23830 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23831 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23832 if (!SWIG_IsOK(ecode2
)) {
23833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23835 arg2
= static_cast< int >(val2
);
23836 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23837 if (!SWIG_IsOK(ecode3
)) {
23838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23840 arg3
= static_cast< int >(val3
);
23841 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23842 if (!SWIG_IsOK(ecode4
)) {
23843 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23845 arg4
= static_cast< int >(val4
);
23846 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23847 if (!SWIG_IsOK(ecode5
)) {
23848 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23850 arg5
= static_cast< int >(val5
);
23852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23853 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23854 wxPyEndAllowThreads(__tstate
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23864 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23868 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23873 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23874 _v
= SWIG_CheckState(res
);
23876 if (!_v
) goto check_1
;
23877 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23882 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23885 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23889 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23894 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23895 PyObject
*resultobj
= 0;
23896 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23899 PyObject
*swig_obj
[1] ;
23901 if (!args
) SWIG_fail
;
23902 swig_obj
[0] = args
;
23903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23904 if (!SWIG_IsOK(res1
)) {
23905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23907 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 wxPyEndAllowThreads(__tstate
);
23913 if (PyErr_Occurred()) SWIG_fail
;
23915 resultobj
= SWIG_Py_Void();
23922 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23924 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23925 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23926 return SWIG_Py_Void();
23929 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23930 return SWIG_Python_InitShadowInstance(args
);
23933 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23934 PyObject
*resultobj
= 0;
23935 wxScreenDC
*result
= 0 ;
23937 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23939 if (!wxPyCheckForApp()) SWIG_fail
;
23940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23941 result
= (wxScreenDC
*)new wxScreenDC();
23942 wxPyEndAllowThreads(__tstate
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23952 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23953 PyObject
*resultobj
= 0;
23954 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23955 wxWindow
*arg2
= (wxWindow
*) 0 ;
23961 PyObject
* obj0
= 0 ;
23962 PyObject
* obj1
= 0 ;
23963 char * kwnames
[] = {
23964 (char *) "self",(char *) "window", NULL
23967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23969 if (!SWIG_IsOK(res1
)) {
23970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23972 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23973 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23974 if (!SWIG_IsOK(res2
)) {
23975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23977 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23980 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23981 wxPyEndAllowThreads(__tstate
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23993 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23994 PyObject
*resultobj
= 0;
23995 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23996 wxRect
*arg2
= (wxRect
*) NULL
;
24002 PyObject
* obj0
= 0 ;
24003 PyObject
* obj1
= 0 ;
24004 char * kwnames
[] = {
24005 (char *) "self",(char *) "rect", NULL
24008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24010 if (!SWIG_IsOK(res1
)) {
24011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24013 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24015 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24016 if (!SWIG_IsOK(res2
)) {
24017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24019 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24024 wxPyEndAllowThreads(__tstate
);
24025 if (PyErr_Occurred()) SWIG_fail
;
24028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24036 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24037 PyObject
*resultobj
= 0;
24038 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24042 PyObject
*swig_obj
[1] ;
24044 if (!args
) SWIG_fail
;
24045 swig_obj
[0] = args
;
24046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24047 if (!SWIG_IsOK(res1
)) {
24048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24050 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24053 result
= (bool)(arg1
)->EndDrawingOnTop();
24054 wxPyEndAllowThreads(__tstate
);
24055 if (PyErr_Occurred()) SWIG_fail
;
24058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24066 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24068 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24069 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24070 return SWIG_Py_Void();
24073 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24074 return SWIG_Python_InitShadowInstance(args
);
24077 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24078 PyObject
*resultobj
= 0;
24079 wxWindow
*arg1
= (wxWindow
*) 0 ;
24080 wxWindowDC
*result
= 0 ;
24083 PyObject
* obj0
= 0 ;
24084 char * kwnames
[] = {
24085 (char *) "win", NULL
24088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24090 if (!SWIG_IsOK(res1
)) {
24091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24093 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24095 if (!wxPyCheckForApp()) SWIG_fail
;
24096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24097 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24098 wxPyEndAllowThreads(__tstate
);
24099 if (PyErr_Occurred()) SWIG_fail
;
24101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24108 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24110 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24111 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24112 return SWIG_Py_Void();
24115 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24116 return SWIG_Python_InitShadowInstance(args
);
24119 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24120 PyObject
*resultobj
= 0;
24121 wxWindow
*arg1
= (wxWindow
*) 0 ;
24122 wxClientDC
*result
= 0 ;
24125 PyObject
* obj0
= 0 ;
24126 char * kwnames
[] = {
24127 (char *) "win", NULL
24130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24132 if (!SWIG_IsOK(res1
)) {
24133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24135 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24137 if (!wxPyCheckForApp()) SWIG_fail
;
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24139 result
= (wxClientDC
*)new wxClientDC(arg1
);
24140 wxPyEndAllowThreads(__tstate
);
24141 if (PyErr_Occurred()) SWIG_fail
;
24143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24150 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24152 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24153 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24154 return SWIG_Py_Void();
24157 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24158 return SWIG_Python_InitShadowInstance(args
);
24161 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24162 PyObject
*resultobj
= 0;
24163 wxWindow
*arg1
= (wxWindow
*) 0 ;
24164 wxPaintDC
*result
= 0 ;
24167 PyObject
* obj0
= 0 ;
24168 char * kwnames
[] = {
24169 (char *) "win", NULL
24172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24174 if (!SWIG_IsOK(res1
)) {
24175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24177 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24179 if (!wxPyCheckForApp()) SWIG_fail
;
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24182 wxPyEndAllowThreads(__tstate
);
24183 if (PyErr_Occurred()) SWIG_fail
;
24185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24192 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24194 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24195 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24196 return SWIG_Py_Void();
24199 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24200 return SWIG_Python_InitShadowInstance(args
);
24203 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24204 PyObject
*resultobj
= 0;
24205 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24206 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24207 wxMemoryDC
*result
= 0 ;
24210 PyObject
* obj0
= 0 ;
24211 char * kwnames
[] = {
24212 (char *) "bitmap", NULL
24215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24217 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24218 if (!SWIG_IsOK(res1
)) {
24219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24224 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24227 if (!wxPyCheckForApp()) SWIG_fail
;
24228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24229 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24230 wxPyEndAllowThreads(__tstate
);
24231 if (PyErr_Occurred()) SWIG_fail
;
24233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24240 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24241 PyObject
*resultobj
= 0;
24242 wxDC
*arg1
= (wxDC
*) 0 ;
24243 wxMemoryDC
*result
= 0 ;
24246 PyObject
* obj0
= 0 ;
24247 char * kwnames
[] = {
24248 (char *) "oldDC", NULL
24251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24253 if (!SWIG_IsOK(res1
)) {
24254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24256 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24258 if (!wxPyCheckForApp()) SWIG_fail
;
24259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24260 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24261 wxPyEndAllowThreads(__tstate
);
24262 if (PyErr_Occurred()) SWIG_fail
;
24264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24271 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24272 PyObject
*resultobj
= 0;
24273 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24274 wxBitmap
*arg2
= 0 ;
24279 PyObject
* obj0
= 0 ;
24280 PyObject
* obj1
= 0 ;
24281 char * kwnames
[] = {
24282 (char *) "self",(char *) "bitmap", NULL
24285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24287 if (!SWIG_IsOK(res1
)) {
24288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24290 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24291 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24292 if (!SWIG_IsOK(res2
)) {
24293 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24296 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24298 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24301 (arg1
)->SelectObject(*arg2
);
24302 wxPyEndAllowThreads(__tstate
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24305 resultobj
= SWIG_Py_Void();
24312 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24313 PyObject
*resultobj
= 0;
24314 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24315 wxBitmap
*arg2
= 0 ;
24320 PyObject
* obj0
= 0 ;
24321 PyObject
* obj1
= 0 ;
24322 char * kwnames
[] = {
24323 (char *) "self",(char *) "bmp", NULL
24326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24328 if (!SWIG_IsOK(res1
)) {
24329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24331 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24332 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24333 if (!SWIG_IsOK(res2
)) {
24334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24339 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24342 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24343 wxPyEndAllowThreads(__tstate
);
24344 if (PyErr_Occurred()) SWIG_fail
;
24346 resultobj
= SWIG_Py_Void();
24353 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24355 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24356 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24357 return SWIG_Py_Void();
24360 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24361 return SWIG_Python_InitShadowInstance(args
);
24364 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24365 PyObject
*resultobj
= 0;
24366 wxDC
*arg1
= (wxDC
*) 0 ;
24367 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24368 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24369 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24370 wxBufferedDC
*result
= 0 ;
24378 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24380 if (!SWIG_IsOK(res1
)) {
24381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24383 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24385 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24386 if (!SWIG_IsOK(res2
)) {
24387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24392 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24395 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24396 if (!SWIG_IsOK(ecode3
)) {
24397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24399 arg3
= static_cast< int >(val3
);
24402 if (!wxPyCheckForApp()) SWIG_fail
;
24403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24404 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24405 wxPyEndAllowThreads(__tstate
);
24406 if (PyErr_Occurred()) SWIG_fail
;
24408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24415 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24416 PyObject
*resultobj
= 0;
24417 wxDC
*arg1
= (wxDC
*) 0 ;
24419 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24420 wxBufferedDC
*result
= 0 ;
24427 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24429 if (!SWIG_IsOK(res1
)) {
24430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24432 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24435 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24438 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24439 if (!SWIG_IsOK(ecode3
)) {
24440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24442 arg3
= static_cast< int >(val3
);
24445 if (!wxPyCheckForApp()) SWIG_fail
;
24446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24447 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24448 wxPyEndAllowThreads(__tstate
);
24449 if (PyErr_Occurred()) SWIG_fail
;
24451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24458 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24462 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24464 if ((argc
>= 1) && (argc
<= 3)) {
24469 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24470 _v
= SWIG_CheckState(res
);
24472 if (!_v
) goto check_1
;
24474 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24478 if ((argc
>= 2) && (argc
<= 3)) {
24479 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24483 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24488 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24489 PyObject
*resultobj
= 0;
24490 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24493 PyObject
*swig_obj
[1] ;
24495 if (!args
) SWIG_fail
;
24496 swig_obj
[0] = args
;
24497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24498 if (!SWIG_IsOK(res1
)) {
24499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24501 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24506 wxPyEndAllowThreads(__tstate
);
24507 if (PyErr_Occurred()) SWIG_fail
;
24509 resultobj
= SWIG_Py_Void();
24516 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24517 PyObject
*resultobj
= 0;
24518 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24521 PyObject
*swig_obj
[1] ;
24523 if (!args
) SWIG_fail
;
24524 swig_obj
[0] = args
;
24525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24526 if (!SWIG_IsOK(res1
)) {
24527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24529 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24536 resultobj
= SWIG_Py_Void();
24543 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24544 PyObject
*resultobj
= 0;
24545 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24551 PyObject
* obj0
= 0 ;
24552 PyObject
* obj1
= 0 ;
24553 char * kwnames
[] = {
24554 (char *) "self",(char *) "style", NULL
24557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24559 if (!SWIG_IsOK(res1
)) {
24560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24562 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24563 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24564 if (!SWIG_IsOK(ecode2
)) {
24565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
24567 arg2
= static_cast< int >(val2
);
24569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24570 (arg1
)->SetStyle(arg2
);
24571 wxPyEndAllowThreads(__tstate
);
24572 if (PyErr_Occurred()) SWIG_fail
;
24574 resultobj
= SWIG_Py_Void();
24581 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24582 PyObject
*resultobj
= 0;
24583 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24587 PyObject
*swig_obj
[1] ;
24589 if (!args
) SWIG_fail
;
24590 swig_obj
[0] = args
;
24591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24592 if (!SWIG_IsOK(res1
)) {
24593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
24595 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24598 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
24599 wxPyEndAllowThreads(__tstate
);
24600 if (PyErr_Occurred()) SWIG_fail
;
24602 resultobj
= SWIG_From_int(static_cast< int >(result
));
24609 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24611 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24612 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24613 return SWIG_Py_Void();
24616 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24617 return SWIG_Python_InitShadowInstance(args
);
24620 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24621 PyObject
*resultobj
= 0;
24622 wxWindow
*arg1
= (wxWindow
*) 0 ;
24623 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24624 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24625 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24626 wxBufferedPaintDC
*result
= 0 ;
24633 PyObject
* obj0
= 0 ;
24634 PyObject
* obj1
= 0 ;
24635 PyObject
* obj2
= 0 ;
24636 char * kwnames
[] = {
24637 (char *) "window",(char *) "buffer",(char *) "style", NULL
24640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24642 if (!SWIG_IsOK(res1
)) {
24643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24645 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24647 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24648 if (!SWIG_IsOK(res2
)) {
24649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24654 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24657 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24658 if (!SWIG_IsOK(ecode3
)) {
24659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24661 arg3
= static_cast< int >(val3
);
24664 if (!wxPyCheckForApp()) SWIG_fail
;
24665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24666 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
24667 wxPyEndAllowThreads(__tstate
);
24668 if (PyErr_Occurred()) SWIG_fail
;
24670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24677 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24679 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24680 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24681 return SWIG_Py_Void();
24684 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24685 return SWIG_Python_InitShadowInstance(args
);
24688 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24689 PyObject
*resultobj
= 0;
24690 wxWindow
*arg1
= (wxWindow
*) 0 ;
24691 wxAutoBufferedPaintDC
*result
= 0 ;
24694 PyObject
* obj0
= 0 ;
24695 char * kwnames
[] = {
24696 (char *) "win", NULL
24699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24701 if (!SWIG_IsOK(res1
)) {
24702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24704 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24707 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24708 wxPyEndAllowThreads(__tstate
);
24709 if (PyErr_Occurred()) SWIG_fail
;
24711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24718 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24720 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24721 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24722 return SWIG_Py_Void();
24725 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24726 return SWIG_Python_InitShadowInstance(args
);
24729 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24730 PyObject
*resultobj
= 0;
24731 wxWindow
*arg1
= (wxWindow
*) 0 ;
24735 PyObject
* obj0
= 0 ;
24736 char * kwnames
[] = {
24737 (char *) "window", NULL
24740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24742 if (!SWIG_IsOK(res1
)) {
24743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24745 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24748 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24749 wxPyEndAllowThreads(__tstate
);
24750 if (PyErr_Occurred()) SWIG_fail
;
24753 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24761 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24762 PyObject
*resultobj
= 0;
24765 wxMirrorDC
*result
= 0 ;
24770 PyObject
* obj0
= 0 ;
24771 PyObject
* obj1
= 0 ;
24772 char * kwnames
[] = {
24773 (char *) "dc",(char *) "mirror", NULL
24776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24777 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24778 if (!SWIG_IsOK(res1
)) {
24779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24782 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24784 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24785 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24786 if (!SWIG_IsOK(ecode2
)) {
24787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24789 arg2
= static_cast< bool >(val2
);
24791 if (!wxPyCheckForApp()) SWIG_fail
;
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24794 wxPyEndAllowThreads(__tstate
);
24795 if (PyErr_Occurred()) SWIG_fail
;
24797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24804 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24806 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24807 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24808 return SWIG_Py_Void();
24811 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24812 return SWIG_Python_InitShadowInstance(args
);
24815 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24816 PyObject
*resultobj
= 0;
24817 wxPrintData
*arg1
= 0 ;
24818 wxPostScriptDC
*result
= 0 ;
24821 PyObject
* obj0
= 0 ;
24822 char * kwnames
[] = {
24823 (char *) "printData", NULL
24826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24827 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24828 if (!SWIG_IsOK(res1
)) {
24829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24834 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24836 if (!wxPyCheckForApp()) SWIG_fail
;
24837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24838 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24839 wxPyEndAllowThreads(__tstate
);
24840 if (PyErr_Occurred()) SWIG_fail
;
24842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24849 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24850 PyObject
*resultobj
= 0;
24851 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24852 wxPrintData
*result
= 0 ;
24855 PyObject
*swig_obj
[1] ;
24857 if (!args
) SWIG_fail
;
24858 swig_obj
[0] = args
;
24859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24860 if (!SWIG_IsOK(res1
)) {
24861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24863 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24867 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24868 result
= (wxPrintData
*) &_result_ref
;
24870 wxPyEndAllowThreads(__tstate
);
24871 if (PyErr_Occurred()) SWIG_fail
;
24873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24880 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24881 PyObject
*resultobj
= 0;
24882 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24883 wxPrintData
*arg2
= 0 ;
24888 PyObject
* obj0
= 0 ;
24889 PyObject
* obj1
= 0 ;
24890 char * kwnames
[] = {
24891 (char *) "self",(char *) "data", NULL
24894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24896 if (!SWIG_IsOK(res1
)) {
24897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24899 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24900 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24901 if (!SWIG_IsOK(res2
)) {
24902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24907 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24910 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24911 wxPyEndAllowThreads(__tstate
);
24912 if (PyErr_Occurred()) SWIG_fail
;
24914 resultobj
= SWIG_Py_Void();
24921 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24922 PyObject
*resultobj
= 0;
24926 PyObject
* obj0
= 0 ;
24927 char * kwnames
[] = {
24928 (char *) "ppi", NULL
24931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24932 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24933 if (!SWIG_IsOK(ecode1
)) {
24934 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24936 arg1
= static_cast< int >(val1
);
24938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24939 wxPostScriptDC::SetResolution(arg1
);
24940 wxPyEndAllowThreads(__tstate
);
24941 if (PyErr_Occurred()) SWIG_fail
;
24943 resultobj
= SWIG_Py_Void();
24950 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24951 PyObject
*resultobj
= 0;
24954 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24957 result
= (int)wxPostScriptDC::GetResolution();
24958 wxPyEndAllowThreads(__tstate
);
24959 if (PyErr_Occurred()) SWIG_fail
;
24961 resultobj
= SWIG_From_int(static_cast< int >(result
));
24968 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24970 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24971 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24972 return SWIG_Py_Void();
24975 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24976 return SWIG_Python_InitShadowInstance(args
);
24979 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24980 PyObject
*resultobj
= 0;
24981 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24982 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24983 wxMetaFile
*result
= 0 ;
24984 bool temp1
= false ;
24985 PyObject
* obj0
= 0 ;
24986 char * kwnames
[] = {
24987 (char *) "filename", NULL
24990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24993 arg1
= wxString_in_helper(obj0
);
24994 if (arg1
== NULL
) SWIG_fail
;
24999 if (!wxPyCheckForApp()) SWIG_fail
;
25000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25001 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25002 wxPyEndAllowThreads(__tstate
);
25003 if (PyErr_Occurred()) SWIG_fail
;
25005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25020 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25022 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25023 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25024 return SWIG_Py_Void();
25027 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25028 return SWIG_Python_InitShadowInstance(args
);
25031 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25032 PyObject
*resultobj
= 0;
25033 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25034 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25035 int arg2
= (int) 0 ;
25036 int arg3
= (int) 0 ;
25037 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25038 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25039 wxMetaFileDC
*result
= 0 ;
25040 bool temp1
= false ;
25045 bool temp4
= false ;
25046 PyObject
* obj0
= 0 ;
25047 PyObject
* obj1
= 0 ;
25048 PyObject
* obj2
= 0 ;
25049 PyObject
* obj3
= 0 ;
25050 char * kwnames
[] = {
25051 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25057 arg1
= wxString_in_helper(obj0
);
25058 if (arg1
== NULL
) SWIG_fail
;
25063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25064 if (!SWIG_IsOK(ecode2
)) {
25065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25067 arg2
= static_cast< int >(val2
);
25070 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25071 if (!SWIG_IsOK(ecode3
)) {
25072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25074 arg3
= static_cast< int >(val3
);
25078 arg4
= wxString_in_helper(obj3
);
25079 if (arg4
== NULL
) SWIG_fail
;
25084 if (!wxPyCheckForApp()) SWIG_fail
;
25085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25086 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25087 wxPyEndAllowThreads(__tstate
);
25088 if (PyErr_Occurred()) SWIG_fail
;
25090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25113 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25115 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25116 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25117 return SWIG_Py_Void();
25120 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25121 return SWIG_Python_InitShadowInstance(args
);
25124 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25125 PyObject
*resultobj
= 0;
25126 wxPrintData
*arg1
= 0 ;
25127 wxPrinterDC
*result
= 0 ;
25130 PyObject
* obj0
= 0 ;
25131 char * kwnames
[] = {
25132 (char *) "printData", NULL
25135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25136 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25137 if (!SWIG_IsOK(res1
)) {
25138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25141 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25143 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25145 if (!wxPyCheckForApp()) SWIG_fail
;
25146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25147 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25148 wxPyEndAllowThreads(__tstate
);
25149 if (PyErr_Occurred()) SWIG_fail
;
25151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25158 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25160 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25161 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25162 return SWIG_Py_Void();
25165 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25166 return SWIG_Python_InitShadowInstance(args
);
25169 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25170 PyObject
*resultobj
= 0;
25171 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25172 wxGraphicsObject
*result
= 0 ;
25175 PyObject
* obj0
= 0 ;
25176 char * kwnames
[] = {
25177 (char *) "renderer", NULL
25180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25183 if (!SWIG_IsOK(res1
)) {
25184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25186 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25189 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25190 if (PyErr_Occurred()) SWIG_fail
;
25192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25199 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25200 PyObject
*resultobj
= 0;
25201 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25204 PyObject
*swig_obj
[1] ;
25206 if (!args
) SWIG_fail
;
25207 swig_obj
[0] = args
;
25208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25209 if (!SWIG_IsOK(res1
)) {
25210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25212 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25218 resultobj
= SWIG_Py_Void();
25225 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25226 PyObject
*resultobj
= 0;
25227 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25231 PyObject
*swig_obj
[1] ;
25233 if (!args
) SWIG_fail
;
25234 swig_obj
[0] = args
;
25235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25236 if (!SWIG_IsOK(res1
)) {
25237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25239 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25241 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25242 if (PyErr_Occurred()) SWIG_fail
;
25245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25253 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25254 PyObject
*resultobj
= 0;
25255 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25256 wxGraphicsRenderer
*result
= 0 ;
25259 PyObject
*swig_obj
[1] ;
25261 if (!args
) SWIG_fail
;
25262 swig_obj
[0] = args
;
25263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25264 if (!SWIG_IsOK(res1
)) {
25265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25267 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25269 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25270 if (PyErr_Occurred()) SWIG_fail
;
25272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25279 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25281 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25282 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25283 return SWIG_Py_Void();
25286 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25287 return SWIG_Python_InitShadowInstance(args
);
25290 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25291 PyObject
*resultobj
= 0;
25292 wxGraphicsPen
*result
= 0 ;
25294 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25296 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25297 if (PyErr_Occurred()) SWIG_fail
;
25299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25306 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25307 PyObject
*resultobj
= 0;
25308 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25311 PyObject
*swig_obj
[1] ;
25313 if (!args
) SWIG_fail
;
25314 swig_obj
[0] = args
;
25315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25316 if (!SWIG_IsOK(res1
)) {
25317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25319 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25323 if (PyErr_Occurred()) SWIG_fail
;
25325 resultobj
= SWIG_Py_Void();
25332 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25334 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25335 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25336 return SWIG_Py_Void();
25339 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25340 return SWIG_Python_InitShadowInstance(args
);
25343 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25344 PyObject
*resultobj
= 0;
25345 wxGraphicsBrush
*result
= 0 ;
25347 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25349 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25350 if (PyErr_Occurred()) SWIG_fail
;
25352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25359 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25360 PyObject
*resultobj
= 0;
25361 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25364 PyObject
*swig_obj
[1] ;
25366 if (!args
) SWIG_fail
;
25367 swig_obj
[0] = args
;
25368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25369 if (!SWIG_IsOK(res1
)) {
25370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25372 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25376 if (PyErr_Occurred()) SWIG_fail
;
25378 resultobj
= SWIG_Py_Void();
25385 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25387 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25388 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25389 return SWIG_Py_Void();
25392 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25393 return SWIG_Python_InitShadowInstance(args
);
25396 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25397 PyObject
*resultobj
= 0;
25398 wxGraphicsFont
*result
= 0 ;
25400 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25402 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25403 if (PyErr_Occurred()) SWIG_fail
;
25405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25412 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25413 PyObject
*resultobj
= 0;
25414 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25417 PyObject
*swig_obj
[1] ;
25419 if (!args
) SWIG_fail
;
25420 swig_obj
[0] = args
;
25421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25422 if (!SWIG_IsOK(res1
)) {
25423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25425 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25429 if (PyErr_Occurred()) SWIG_fail
;
25431 resultobj
= SWIG_Py_Void();
25438 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25440 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25441 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25442 return SWIG_Py_Void();
25445 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25446 return SWIG_Python_InitShadowInstance(args
);
25449 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25450 PyObject
*resultobj
= 0;
25451 wxGraphicsMatrix
*result
= 0 ;
25453 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
25455 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
25456 if (PyErr_Occurred()) SWIG_fail
;
25458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
25465 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25466 PyObject
*resultobj
= 0;
25467 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25470 PyObject
*swig_obj
[1] ;
25472 if (!args
) SWIG_fail
;
25473 swig_obj
[0] = args
;
25474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25475 if (!SWIG_IsOK(res1
)) {
25476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25478 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25484 resultobj
= SWIG_Py_Void();
25491 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
= 0;
25493 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25494 wxGraphicsMatrix
*arg2
= 0 ;
25499 PyObject
* obj0
= 0 ;
25500 PyObject
* obj1
= 0 ;
25501 char * kwnames
[] = {
25502 (char *) "self",(char *) "t", NULL
25505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25507 if (!SWIG_IsOK(res1
)) {
25508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25510 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25511 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25512 if (!SWIG_IsOK(res2
)) {
25513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25518 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25520 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25521 if (PyErr_Occurred()) SWIG_fail
;
25523 resultobj
= SWIG_Py_Void();
25530 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25531 PyObject
*resultobj
= 0;
25532 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25533 wxDouble arg2
= (wxDouble
) 1.0 ;
25534 wxDouble arg3
= (wxDouble
) 0.0 ;
25535 wxDouble arg4
= (wxDouble
) 0.0 ;
25536 wxDouble arg5
= (wxDouble
) 1.0 ;
25537 wxDouble arg6
= (wxDouble
) 0.0 ;
25538 wxDouble arg7
= (wxDouble
) 0.0 ;
25553 PyObject
* obj0
= 0 ;
25554 PyObject
* obj1
= 0 ;
25555 PyObject
* obj2
= 0 ;
25556 PyObject
* obj3
= 0 ;
25557 PyObject
* obj4
= 0 ;
25558 PyObject
* obj5
= 0 ;
25559 PyObject
* obj6
= 0 ;
25560 char * kwnames
[] = {
25561 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25566 if (!SWIG_IsOK(res1
)) {
25567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25569 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25571 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25572 if (!SWIG_IsOK(ecode2
)) {
25573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25575 arg2
= static_cast< wxDouble
>(val2
);
25578 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25579 if (!SWIG_IsOK(ecode3
)) {
25580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25582 arg3
= static_cast< wxDouble
>(val3
);
25585 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25586 if (!SWIG_IsOK(ecode4
)) {
25587 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25589 arg4
= static_cast< wxDouble
>(val4
);
25592 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25593 if (!SWIG_IsOK(ecode5
)) {
25594 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25596 arg5
= static_cast< wxDouble
>(val5
);
25599 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25600 if (!SWIG_IsOK(ecode6
)) {
25601 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25603 arg6
= static_cast< wxDouble
>(val6
);
25606 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25607 if (!SWIG_IsOK(ecode7
)) {
25608 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25610 arg7
= static_cast< wxDouble
>(val7
);
25613 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25614 if (PyErr_Occurred()) SWIG_fail
;
25616 resultobj
= SWIG_Py_Void();
25623 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25624 PyObject
*resultobj
= 0;
25625 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25628 PyObject
*swig_obj
[1] ;
25630 if (!args
) SWIG_fail
;
25631 swig_obj
[0] = args
;
25632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25633 if (!SWIG_IsOK(res1
)) {
25634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25636 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25639 if (PyErr_Occurred()) SWIG_fail
;
25641 resultobj
= SWIG_Py_Void();
25648 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25649 PyObject
*resultobj
= 0;
25650 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25651 wxGraphicsMatrix
*arg2
= 0 ;
25657 PyObject
* obj0
= 0 ;
25658 PyObject
* obj1
= 0 ;
25659 char * kwnames
[] = {
25660 (char *) "self",(char *) "t", NULL
25663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25665 if (!SWIG_IsOK(res1
)) {
25666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25668 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25669 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25670 if (!SWIG_IsOK(res2
)) {
25671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25676 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25678 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25679 if (PyErr_Occurred()) SWIG_fail
;
25682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25690 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25691 PyObject
*resultobj
= 0;
25692 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25696 PyObject
*swig_obj
[1] ;
25698 if (!args
) SWIG_fail
;
25699 swig_obj
[0] = args
;
25700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25701 if (!SWIG_IsOK(res1
)) {
25702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25704 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25706 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
25707 if (PyErr_Occurred()) SWIG_fail
;
25710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25718 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25719 PyObject
*resultobj
= 0;
25720 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25729 PyObject
* obj0
= 0 ;
25730 PyObject
* obj1
= 0 ;
25731 PyObject
* obj2
= 0 ;
25732 char * kwnames
[] = {
25733 (char *) "self",(char *) "dx",(char *) "dy", NULL
25736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25738 if (!SWIG_IsOK(res1
)) {
25739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25741 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25742 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25743 if (!SWIG_IsOK(ecode2
)) {
25744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25746 arg2
= static_cast< wxDouble
>(val2
);
25747 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25748 if (!SWIG_IsOK(ecode3
)) {
25749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25751 arg3
= static_cast< wxDouble
>(val3
);
25753 (arg1
)->Translate(arg2
,arg3
);
25754 if (PyErr_Occurred()) SWIG_fail
;
25756 resultobj
= SWIG_Py_Void();
25763 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25764 PyObject
*resultobj
= 0;
25765 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25774 PyObject
* obj0
= 0 ;
25775 PyObject
* obj1
= 0 ;
25776 PyObject
* obj2
= 0 ;
25777 char * kwnames
[] = {
25778 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25783 if (!SWIG_IsOK(res1
)) {
25784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25786 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25787 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25788 if (!SWIG_IsOK(ecode2
)) {
25789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25791 arg2
= static_cast< wxDouble
>(val2
);
25792 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25793 if (!SWIG_IsOK(ecode3
)) {
25794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25796 arg3
= static_cast< wxDouble
>(val3
);
25798 (arg1
)->Scale(arg2
,arg3
);
25799 if (PyErr_Occurred()) SWIG_fail
;
25801 resultobj
= SWIG_Py_Void();
25808 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25809 PyObject
*resultobj
= 0;
25810 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25816 PyObject
* obj0
= 0 ;
25817 PyObject
* obj1
= 0 ;
25818 char * kwnames
[] = {
25819 (char *) "self",(char *) "angle", NULL
25822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25824 if (!SWIG_IsOK(res1
)) {
25825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25827 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25828 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25829 if (!SWIG_IsOK(ecode2
)) {
25830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25832 arg2
= static_cast< wxDouble
>(val2
);
25834 (arg1
)->Rotate(arg2
);
25835 if (PyErr_Occurred()) SWIG_fail
;
25837 resultobj
= SWIG_Py_Void();
25844 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25845 PyObject
*resultobj
= 0;
25846 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25847 wxDouble
*arg2
= (wxDouble
*) 0 ;
25848 wxDouble
*arg3
= (wxDouble
*) 0 ;
25855 PyObject
* obj0
= 0 ;
25856 PyObject
* obj1
= 0 ;
25857 PyObject
* obj2
= 0 ;
25858 char * kwnames
[] = {
25859 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25864 if (!SWIG_IsOK(res1
)) {
25865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25867 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25868 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
25870 int ecode
= SWIG_AsVal_double(obj1
, &val
);
25871 if (!SWIG_IsOK(ecode
)) {
25872 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25874 temp2
= static_cast< wxDouble
>(val
);
25876 res2
= SWIG_AddTmpMask(ecode
);
25878 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
25880 int ecode
= SWIG_AsVal_double(obj2
, &val
);
25881 if (!SWIG_IsOK(ecode
)) {
25882 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25884 temp3
= static_cast< wxDouble
>(val
);
25886 res3
= SWIG_AddTmpMask(ecode
);
25889 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
25890 if (PyErr_Occurred()) SWIG_fail
;
25892 resultobj
= SWIG_Py_Void();
25893 if (SWIG_IsTmpObj(res2
)) {
25894 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25896 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25897 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25899 if (SWIG_IsTmpObj(res3
)) {
25900 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25902 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25903 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25911 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25912 PyObject
*resultobj
= 0;
25913 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25914 wxDouble
*arg2
= (wxDouble
*) 0 ;
25915 wxDouble
*arg3
= (wxDouble
*) 0 ;
25922 PyObject
* obj0
= 0 ;
25923 PyObject
* obj1
= 0 ;
25924 PyObject
* obj2
= 0 ;
25925 char * kwnames
[] = {
25926 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25931 if (!SWIG_IsOK(res1
)) {
25932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25934 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25935 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
25937 int ecode
= SWIG_AsVal_double(obj1
, &val
);
25938 if (!SWIG_IsOK(ecode
)) {
25939 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
25941 temp2
= static_cast< wxDouble
>(val
);
25943 res2
= SWIG_AddTmpMask(ecode
);
25945 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
25947 int ecode
= SWIG_AsVal_double(obj2
, &val
);
25948 if (!SWIG_IsOK(ecode
)) {
25949 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
25951 temp3
= static_cast< wxDouble
>(val
);
25953 res3
= SWIG_AddTmpMask(ecode
);
25956 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
25957 if (PyErr_Occurred()) SWIG_fail
;
25959 resultobj
= SWIG_Py_Void();
25960 if (SWIG_IsTmpObj(res2
)) {
25961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25963 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25966 if (SWIG_IsTmpObj(res3
)) {
25967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25969 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25970 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25978 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25979 PyObject
*resultobj
= 0;
25980 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25984 PyObject
*swig_obj
[1] ;
25986 if (!args
) SWIG_fail
;
25987 swig_obj
[0] = args
;
25988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25989 if (!SWIG_IsOK(res1
)) {
25990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25992 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25994 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
25995 if (PyErr_Occurred()) SWIG_fail
;
25997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26004 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26006 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26007 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26008 return SWIG_Py_Void();
26011 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26012 return SWIG_Python_InitShadowInstance(args
);
26015 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26016 PyObject
*resultobj
= 0;
26017 wxGraphicsPath
*result
= 0 ;
26019 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26021 if (!wxPyCheckForApp()) SWIG_fail
;
26022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26023 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26024 wxPyEndAllowThreads(__tstate
);
26025 if (PyErr_Occurred()) SWIG_fail
;
26027 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26034 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26035 PyObject
*resultobj
= 0;
26036 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26039 PyObject
*swig_obj
[1] ;
26041 if (!args
) SWIG_fail
;
26042 swig_obj
[0] = args
;
26043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26044 if (!SWIG_IsOK(res1
)) {
26045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26047 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26051 if (PyErr_Occurred()) SWIG_fail
;
26053 resultobj
= SWIG_Py_Void();
26060 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26061 PyObject
*resultobj
= 0;
26062 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26072 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26074 if (!SWIG_IsOK(res1
)) {
26075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26077 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26078 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26079 if (!SWIG_IsOK(ecode2
)) {
26080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26082 arg2
= static_cast< wxDouble
>(val2
);
26083 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26084 if (!SWIG_IsOK(ecode3
)) {
26085 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26087 arg3
= static_cast< wxDouble
>(val3
);
26089 (arg1
)->MoveToPoint(arg2
,arg3
);
26090 if (PyErr_Occurred()) SWIG_fail
;
26092 resultobj
= SWIG_Py_Void();
26099 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26100 PyObject
*resultobj
= 0;
26101 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26102 wxPoint2D
*arg2
= 0 ;
26107 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26109 if (!SWIG_IsOK(res1
)) {
26110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26112 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26115 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26118 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26121 resultobj
= SWIG_Py_Void();
26128 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26132 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26135 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26138 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26142 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26147 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26148 PyObject
*resultobj
= 0;
26149 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26159 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26161 if (!SWIG_IsOK(res1
)) {
26162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26164 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26165 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26166 if (!SWIG_IsOK(ecode2
)) {
26167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26169 arg2
= static_cast< wxDouble
>(val2
);
26170 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26171 if (!SWIG_IsOK(ecode3
)) {
26172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26174 arg3
= static_cast< wxDouble
>(val3
);
26176 (arg1
)->AddLineToPoint(arg2
,arg3
);
26177 if (PyErr_Occurred()) SWIG_fail
;
26179 resultobj
= SWIG_Py_Void();
26186 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26187 PyObject
*resultobj
= 0;
26188 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26189 wxPoint2D
*arg2
= 0 ;
26194 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26196 if (!SWIG_IsOK(res1
)) {
26197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26199 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26202 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26205 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26206 if (PyErr_Occurred()) SWIG_fail
;
26208 resultobj
= SWIG_Py_Void();
26215 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26219 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26222 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26225 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26229 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26234 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26235 PyObject
*resultobj
= 0;
26236 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26258 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26260 if (!SWIG_IsOK(res1
)) {
26261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26263 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26264 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26265 if (!SWIG_IsOK(ecode2
)) {
26266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26268 arg2
= static_cast< wxDouble
>(val2
);
26269 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26270 if (!SWIG_IsOK(ecode3
)) {
26271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26273 arg3
= static_cast< wxDouble
>(val3
);
26274 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26275 if (!SWIG_IsOK(ecode4
)) {
26276 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26278 arg4
= static_cast< wxDouble
>(val4
);
26279 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26280 if (!SWIG_IsOK(ecode5
)) {
26281 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26283 arg5
= static_cast< wxDouble
>(val5
);
26284 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26285 if (!SWIG_IsOK(ecode6
)) {
26286 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26288 arg6
= static_cast< wxDouble
>(val6
);
26289 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26290 if (!SWIG_IsOK(ecode7
)) {
26291 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26293 arg7
= static_cast< wxDouble
>(val7
);
26295 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26298 resultobj
= SWIG_Py_Void();
26305 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26306 PyObject
*resultobj
= 0;
26307 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26308 wxPoint2D
*arg2
= 0 ;
26309 wxPoint2D
*arg3
= 0 ;
26310 wxPoint2D
*arg4
= 0 ;
26317 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26319 if (!SWIG_IsOK(res1
)) {
26320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26322 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26325 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26329 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26333 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26336 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26337 if (PyErr_Occurred()) SWIG_fail
;
26339 resultobj
= SWIG_Py_Void();
26346 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26350 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26353 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26356 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26360 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26365 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26366 PyObject
*resultobj
= 0;
26367 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26368 wxGraphicsPath
*arg2
= 0 ;
26373 PyObject
* obj0
= 0 ;
26374 PyObject
* obj1
= 0 ;
26375 char * kwnames
[] = {
26376 (char *) "self",(char *) "path", NULL
26379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26381 if (!SWIG_IsOK(res1
)) {
26382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26384 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26385 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26386 if (!SWIG_IsOK(res2
)) {
26387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26392 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26394 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26397 resultobj
= SWIG_Py_Void();
26404 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26405 PyObject
*resultobj
= 0;
26406 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26409 PyObject
*swig_obj
[1] ;
26411 if (!args
) SWIG_fail
;
26412 swig_obj
[0] = args
;
26413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26414 if (!SWIG_IsOK(res1
)) {
26415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26417 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26419 (arg1
)->CloseSubpath();
26420 if (PyErr_Occurred()) SWIG_fail
;
26422 resultobj
= SWIG_Py_Void();
26429 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26430 PyObject
*resultobj
= 0;
26431 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26435 PyObject
*swig_obj
[1] ;
26437 if (!args
) SWIG_fail
;
26438 swig_obj
[0] = args
;
26439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26440 if (!SWIG_IsOK(res1
)) {
26441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26443 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26445 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26446 if (PyErr_Occurred()) SWIG_fail
;
26448 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26455 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26456 PyObject
*resultobj
= 0;
26457 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26479 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26481 if (!SWIG_IsOK(res1
)) {
26482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26484 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26485 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26486 if (!SWIG_IsOK(ecode2
)) {
26487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26489 arg2
= static_cast< wxDouble
>(val2
);
26490 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26491 if (!SWIG_IsOK(ecode3
)) {
26492 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26494 arg3
= static_cast< wxDouble
>(val3
);
26495 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26496 if (!SWIG_IsOK(ecode4
)) {
26497 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26499 arg4
= static_cast< wxDouble
>(val4
);
26500 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26501 if (!SWIG_IsOK(ecode5
)) {
26502 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26504 arg5
= static_cast< wxDouble
>(val5
);
26505 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26506 if (!SWIG_IsOK(ecode6
)) {
26507 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26509 arg6
= static_cast< wxDouble
>(val6
);
26510 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26511 if (!SWIG_IsOK(ecode7
)) {
26512 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26514 arg7
= static_cast< bool >(val7
);
26516 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26517 if (PyErr_Occurred()) SWIG_fail
;
26519 resultobj
= SWIG_Py_Void();
26526 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26527 PyObject
*resultobj
= 0;
26528 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26529 wxPoint2D
*arg2
= 0 ;
26546 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26548 if (!SWIG_IsOK(res1
)) {
26549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26551 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26554 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26556 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26557 if (!SWIG_IsOK(ecode3
)) {
26558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26560 arg3
= static_cast< wxDouble
>(val3
);
26561 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26562 if (!SWIG_IsOK(ecode4
)) {
26563 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26565 arg4
= static_cast< wxDouble
>(val4
);
26566 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26567 if (!SWIG_IsOK(ecode5
)) {
26568 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26570 arg5
= static_cast< wxDouble
>(val5
);
26571 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26572 if (!SWIG_IsOK(ecode6
)) {
26573 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26575 arg6
= static_cast< bool >(val6
);
26577 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26578 if (PyErr_Occurred()) SWIG_fail
;
26580 resultobj
= SWIG_Py_Void();
26587 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26591 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26594 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26597 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26601 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26606 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26607 PyObject
*resultobj
= 0;
26608 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26623 PyObject
* obj0
= 0 ;
26624 PyObject
* obj1
= 0 ;
26625 PyObject
* obj2
= 0 ;
26626 PyObject
* obj3
= 0 ;
26627 PyObject
* obj4
= 0 ;
26628 char * kwnames
[] = {
26629 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26634 if (!SWIG_IsOK(res1
)) {
26635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26637 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26638 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26639 if (!SWIG_IsOK(ecode2
)) {
26640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26642 arg2
= static_cast< wxDouble
>(val2
);
26643 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26644 if (!SWIG_IsOK(ecode3
)) {
26645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26647 arg3
= static_cast< wxDouble
>(val3
);
26648 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26649 if (!SWIG_IsOK(ecode4
)) {
26650 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26652 arg4
= static_cast< wxDouble
>(val4
);
26653 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26654 if (!SWIG_IsOK(ecode5
)) {
26655 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26657 arg5
= static_cast< wxDouble
>(val5
);
26659 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26660 if (PyErr_Occurred()) SWIG_fail
;
26662 resultobj
= SWIG_Py_Void();
26669 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26670 PyObject
*resultobj
= 0;
26671 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26686 PyObject
* obj0
= 0 ;
26687 PyObject
* obj1
= 0 ;
26688 PyObject
* obj2
= 0 ;
26689 PyObject
* obj3
= 0 ;
26690 PyObject
* obj4
= 0 ;
26691 char * kwnames
[] = {
26692 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26697 if (!SWIG_IsOK(res1
)) {
26698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26700 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26701 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26702 if (!SWIG_IsOK(ecode2
)) {
26703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26705 arg2
= static_cast< wxDouble
>(val2
);
26706 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26707 if (!SWIG_IsOK(ecode3
)) {
26708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26710 arg3
= static_cast< wxDouble
>(val3
);
26711 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26712 if (!SWIG_IsOK(ecode4
)) {
26713 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26715 arg4
= static_cast< wxDouble
>(val4
);
26716 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26717 if (!SWIG_IsOK(ecode5
)) {
26718 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26720 arg5
= static_cast< wxDouble
>(val5
);
26722 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
26723 if (PyErr_Occurred()) SWIG_fail
;
26725 resultobj
= SWIG_Py_Void();
26732 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26733 PyObject
*resultobj
= 0;
26734 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26746 PyObject
* obj0
= 0 ;
26747 PyObject
* obj1
= 0 ;
26748 PyObject
* obj2
= 0 ;
26749 PyObject
* obj3
= 0 ;
26750 char * kwnames
[] = {
26751 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
26754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26756 if (!SWIG_IsOK(res1
)) {
26757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26759 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26760 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26761 if (!SWIG_IsOK(ecode2
)) {
26762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
26764 arg2
= static_cast< wxDouble
>(val2
);
26765 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26766 if (!SWIG_IsOK(ecode3
)) {
26767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
26769 arg3
= static_cast< wxDouble
>(val3
);
26770 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26771 if (!SWIG_IsOK(ecode4
)) {
26772 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
26774 arg4
= static_cast< wxDouble
>(val4
);
26776 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
26777 if (PyErr_Occurred()) SWIG_fail
;
26779 resultobj
= SWIG_Py_Void();
26786 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26787 PyObject
*resultobj
= 0;
26788 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26806 PyObject
* obj0
= 0 ;
26807 PyObject
* obj1
= 0 ;
26808 PyObject
* obj2
= 0 ;
26809 PyObject
* obj3
= 0 ;
26810 PyObject
* obj4
= 0 ;
26811 PyObject
* obj5
= 0 ;
26812 char * kwnames
[] = {
26813 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
26816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26818 if (!SWIG_IsOK(res1
)) {
26819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26821 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26822 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26823 if (!SWIG_IsOK(ecode2
)) {
26824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26826 arg2
= static_cast< wxDouble
>(val2
);
26827 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26828 if (!SWIG_IsOK(ecode3
)) {
26829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26831 arg3
= static_cast< wxDouble
>(val3
);
26832 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26833 if (!SWIG_IsOK(ecode4
)) {
26834 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26836 arg4
= static_cast< wxDouble
>(val4
);
26837 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26838 if (!SWIG_IsOK(ecode5
)) {
26839 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26841 arg5
= static_cast< wxDouble
>(val5
);
26842 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26843 if (!SWIG_IsOK(ecode6
)) {
26844 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26846 arg6
= static_cast< wxDouble
>(val6
);
26848 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
26849 if (PyErr_Occurred()) SWIG_fail
;
26851 resultobj
= SWIG_Py_Void();
26858 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26859 PyObject
*resultobj
= 0;
26860 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26875 PyObject
* obj0
= 0 ;
26876 PyObject
* obj1
= 0 ;
26877 PyObject
* obj2
= 0 ;
26878 PyObject
* obj3
= 0 ;
26879 PyObject
* obj4
= 0 ;
26880 char * kwnames
[] = {
26881 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26886 if (!SWIG_IsOK(res1
)) {
26887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26889 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26890 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26891 if (!SWIG_IsOK(ecode2
)) {
26892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
26894 arg2
= static_cast< wxDouble
>(val2
);
26895 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26896 if (!SWIG_IsOK(ecode3
)) {
26897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
26899 arg3
= static_cast< wxDouble
>(val3
);
26900 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26901 if (!SWIG_IsOK(ecode4
)) {
26902 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
26904 arg4
= static_cast< wxDouble
>(val4
);
26905 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26906 if (!SWIG_IsOK(ecode5
)) {
26907 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
26909 arg5
= static_cast< wxDouble
>(val5
);
26911 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
26912 if (PyErr_Occurred()) SWIG_fail
;
26914 resultobj
= SWIG_Py_Void();
26921 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26922 PyObject
*resultobj
= 0;
26923 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26941 PyObject
* obj0
= 0 ;
26942 PyObject
* obj1
= 0 ;
26943 PyObject
* obj2
= 0 ;
26944 PyObject
* obj3
= 0 ;
26945 PyObject
* obj4
= 0 ;
26946 PyObject
* obj5
= 0 ;
26947 char * kwnames
[] = {
26948 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
26951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26953 if (!SWIG_IsOK(res1
)) {
26954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26956 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26957 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26958 if (!SWIG_IsOK(ecode2
)) {
26959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26961 arg2
= static_cast< wxDouble
>(val2
);
26962 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26963 if (!SWIG_IsOK(ecode3
)) {
26964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26966 arg3
= static_cast< wxDouble
>(val3
);
26967 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26968 if (!SWIG_IsOK(ecode4
)) {
26969 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26971 arg4
= static_cast< wxDouble
>(val4
);
26972 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26973 if (!SWIG_IsOK(ecode5
)) {
26974 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26976 arg5
= static_cast< wxDouble
>(val5
);
26977 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26978 if (!SWIG_IsOK(ecode6
)) {
26979 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
26981 arg6
= static_cast< wxDouble
>(val6
);
26983 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
26984 if (PyErr_Occurred()) SWIG_fail
;
26986 resultobj
= SWIG_Py_Void();
26993 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26994 PyObject
*resultobj
= 0;
26995 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26999 PyObject
*swig_obj
[1] ;
27001 if (!args
) SWIG_fail
;
27002 swig_obj
[0] = args
;
27003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27004 if (!SWIG_IsOK(res1
)) {
27005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27007 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27009 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27010 if (PyErr_Occurred()) SWIG_fail
;
27012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27019 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27020 PyObject
*resultobj
= 0;
27021 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27022 void *arg2
= (void *) 0 ;
27026 PyObject
* obj0
= 0 ;
27027 PyObject
* obj1
= 0 ;
27028 char * kwnames
[] = {
27029 (char *) "self",(char *) "p", NULL
27032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27034 if (!SWIG_IsOK(res1
)) {
27035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27037 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27038 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27039 if (!SWIG_IsOK(res2
)) {
27040 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27043 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27044 if (PyErr_Occurred()) SWIG_fail
;
27046 resultobj
= SWIG_Py_Void();
27053 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27054 PyObject
*resultobj
= 0;
27055 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27056 wxGraphicsMatrix
*arg2
= 0 ;
27061 PyObject
* obj0
= 0 ;
27062 PyObject
* obj1
= 0 ;
27063 char * kwnames
[] = {
27064 (char *) "self",(char *) "matrix", NULL
27067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27069 if (!SWIG_IsOK(res1
)) {
27070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27072 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27073 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27074 if (!SWIG_IsOK(res2
)) {
27075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27080 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27082 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27083 if (PyErr_Occurred()) SWIG_fail
;
27085 resultobj
= SWIG_Py_Void();
27092 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27093 PyObject
*resultobj
= 0;
27094 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27095 wxRect2DDouble result
;
27098 PyObject
*swig_obj
[1] ;
27100 if (!args
) SWIG_fail
;
27101 swig_obj
[0] = args
;
27102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27103 if (!SWIG_IsOK(res1
)) {
27104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27106 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27108 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27109 if (PyErr_Occurred()) SWIG_fail
;
27111 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
27118 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27119 PyObject
*resultobj
= 0;
27120 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27123 int arg4
= (int) wxODDEVEN_RULE
;
27134 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27136 if (!SWIG_IsOK(res1
)) {
27137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27139 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27140 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27141 if (!SWIG_IsOK(ecode2
)) {
27142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27144 arg2
= static_cast< wxDouble
>(val2
);
27145 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27146 if (!SWIG_IsOK(ecode3
)) {
27147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27149 arg3
= static_cast< wxDouble
>(val3
);
27151 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27152 if (!SWIG_IsOK(ecode4
)) {
27153 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27155 arg4
= static_cast< int >(val4
);
27158 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27159 if (PyErr_Occurred()) SWIG_fail
;
27162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27170 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27171 PyObject
*resultobj
= 0;
27172 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27173 wxPoint2DDouble
*arg2
= 0 ;
27174 int arg3
= (int) wxODDEVEN_RULE
;
27183 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27185 if (!SWIG_IsOK(res1
)) {
27186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27188 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27189 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
27190 if (!SWIG_IsOK(res2
)) {
27191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27196 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
27198 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27199 if (!SWIG_IsOK(ecode3
)) {
27200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27202 arg3
= static_cast< int >(val3
);
27205 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
27206 if (PyErr_Occurred()) SWIG_fail
;
27209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27217 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27221 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27223 if ((argc
>= 2) && (argc
<= 3)) {
27226 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
27227 _v
= SWIG_CheckState(res
);
27229 if (!_v
) goto check_1
;
27233 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27234 _v
= SWIG_CheckState(res
);
27237 if (!_v
) goto check_1
;
27239 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27243 if ((argc
>= 3) && (argc
<= 4)) {
27244 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27248 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27253 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27255 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27256 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27257 return SWIG_Py_Void();
27260 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27261 return SWIG_Python_InitShadowInstance(args
);
27264 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27265 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27270 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27271 PyObject
*pyobj
= 0;
27273 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27278 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27279 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27284 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27285 PyObject
*pyobj
= 0;
27287 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27292 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27293 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27298 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27299 PyObject
*pyobj
= 0;
27301 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27306 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27307 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27312 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27313 PyObject
*pyobj
= 0;
27315 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27320 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27321 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27326 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27327 PyObject
*pyobj
= 0;
27329 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27334 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27335 PyObject
*resultobj
= 0;
27336 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 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_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27344 if (!SWIG_IsOK(res1
)) {
27345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27347 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27351 if (PyErr_Occurred()) SWIG_fail
;
27353 resultobj
= SWIG_Py_Void();
27360 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27361 PyObject
*resultobj
= 0;
27362 wxWindowDC
*arg1
= 0 ;
27363 wxGraphicsContext
*result
= 0 ;
27367 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27369 if (!SWIG_IsOK(res1
)) {
27370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27373 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27375 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27377 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27378 if (PyErr_Occurred()) SWIG_fail
;
27380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27387 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27388 PyObject
*resultobj
= 0;
27389 wxWindow
*arg1
= (wxWindow
*) 0 ;
27390 wxGraphicsContext
*result
= 0 ;
27394 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27396 if (!SWIG_IsOK(res1
)) {
27397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27399 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27401 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27402 if (PyErr_Occurred()) SWIG_fail
;
27404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27411 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27415 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27420 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27421 _v
= SWIG_CheckState(res
);
27423 if (!_v
) goto check_1
;
27424 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27429 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27433 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27438 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27439 PyObject
*resultobj
= 0;
27440 wxGraphicsContext
*result
= 0 ;
27442 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
27444 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
27445 if (PyErr_Occurred()) SWIG_fail
;
27447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27454 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27455 PyObject
*resultobj
= 0;
27456 void *arg1
= (void *) 0 ;
27457 wxGraphicsContext
*result
= 0 ;
27459 PyObject
* obj0
= 0 ;
27460 char * kwnames
[] = {
27461 (char *) "context", NULL
27464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27465 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27466 if (!SWIG_IsOK(res1
)) {
27467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27470 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27471 if (PyErr_Occurred()) SWIG_fail
;
27473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27480 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27481 PyObject
*resultobj
= 0;
27482 void *arg1
= (void *) 0 ;
27483 wxGraphicsContext
*result
= 0 ;
27485 PyObject
* obj0
= 0 ;
27486 char * kwnames
[] = {
27487 (char *) "window", NULL
27490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27491 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27492 if (!SWIG_IsOK(res1
)) {
27493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27496 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27497 if (PyErr_Occurred()) SWIG_fail
;
27499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27506 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27507 PyObject
*resultobj
= 0;
27508 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27509 wxGraphicsPath result
;
27512 PyObject
*swig_obj
[1] ;
27514 if (!args
) SWIG_fail
;
27515 swig_obj
[0] = args
;
27516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27517 if (!SWIG_IsOK(res1
)) {
27518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27520 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27522 result
= (arg1
)->CreatePath();
27523 if (PyErr_Occurred()) SWIG_fail
;
27525 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27532 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27533 PyObject
*resultobj
= 0;
27534 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27536 wxGraphicsPen result
;
27541 PyObject
* obj0
= 0 ;
27542 PyObject
* obj1
= 0 ;
27543 char * kwnames
[] = {
27544 (char *) "self",(char *) "pen", NULL
27547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27549 if (!SWIG_IsOK(res1
)) {
27550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27552 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27553 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27554 if (!SWIG_IsOK(res2
)) {
27555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27560 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27562 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27563 if (PyErr_Occurred()) SWIG_fail
;
27565 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27572 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27573 PyObject
*resultobj
= 0;
27574 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27575 wxBrush
*arg2
= 0 ;
27576 wxGraphicsBrush result
;
27581 PyObject
* obj0
= 0 ;
27582 PyObject
* obj1
= 0 ;
27583 char * kwnames
[] = {
27584 (char *) "self",(char *) "brush", NULL
27587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27589 if (!SWIG_IsOK(res1
)) {
27590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27592 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27593 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27594 if (!SWIG_IsOK(res2
)) {
27595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27600 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27602 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27603 if (PyErr_Occurred()) SWIG_fail
;
27605 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27612 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27613 PyObject
*resultobj
= 0;
27614 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27619 wxColour
*arg6
= 0 ;
27620 wxColour
*arg7
= 0 ;
27621 wxGraphicsBrush result
;
27634 PyObject
* obj0
= 0 ;
27635 PyObject
* obj1
= 0 ;
27636 PyObject
* obj2
= 0 ;
27637 PyObject
* obj3
= 0 ;
27638 PyObject
* obj4
= 0 ;
27639 PyObject
* obj5
= 0 ;
27640 PyObject
* obj6
= 0 ;
27641 char * kwnames
[] = {
27642 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27647 if (!SWIG_IsOK(res1
)) {
27648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27650 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27651 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27652 if (!SWIG_IsOK(ecode2
)) {
27653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27655 arg2
= static_cast< wxDouble
>(val2
);
27656 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27657 if (!SWIG_IsOK(ecode3
)) {
27658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27660 arg3
= static_cast< wxDouble
>(val3
);
27661 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27662 if (!SWIG_IsOK(ecode4
)) {
27663 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27665 arg4
= static_cast< wxDouble
>(val4
);
27666 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27667 if (!SWIG_IsOK(ecode5
)) {
27668 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27670 arg5
= static_cast< wxDouble
>(val5
);
27673 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27677 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27680 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27681 if (PyErr_Occurred()) SWIG_fail
;
27683 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27690 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27691 PyObject
*resultobj
= 0;
27692 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27698 wxColour
*arg7
= 0 ;
27699 wxColour
*arg8
= 0 ;
27700 wxGraphicsBrush result
;
27715 PyObject
* obj0
= 0 ;
27716 PyObject
* obj1
= 0 ;
27717 PyObject
* obj2
= 0 ;
27718 PyObject
* obj3
= 0 ;
27719 PyObject
* obj4
= 0 ;
27720 PyObject
* obj5
= 0 ;
27721 PyObject
* obj6
= 0 ;
27722 PyObject
* obj7
= 0 ;
27723 char * kwnames
[] = {
27724 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
27727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
27728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27729 if (!SWIG_IsOK(res1
)) {
27730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27732 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27733 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27734 if (!SWIG_IsOK(ecode2
)) {
27735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27737 arg2
= static_cast< wxDouble
>(val2
);
27738 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27739 if (!SWIG_IsOK(ecode3
)) {
27740 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27742 arg3
= static_cast< wxDouble
>(val3
);
27743 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27744 if (!SWIG_IsOK(ecode4
)) {
27745 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27747 arg4
= static_cast< wxDouble
>(val4
);
27748 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27749 if (!SWIG_IsOK(ecode5
)) {
27750 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27752 arg5
= static_cast< wxDouble
>(val5
);
27753 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27754 if (!SWIG_IsOK(ecode6
)) {
27755 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
27757 arg6
= static_cast< wxDouble
>(val6
);
27760 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27764 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
27767 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
27768 if (PyErr_Occurred()) SWIG_fail
;
27770 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27777 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27778 PyObject
*resultobj
= 0;
27779 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27781 wxColour
const &arg3_defvalue
= *wxBLACK
;
27782 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
27783 wxGraphicsFont result
;
27789 PyObject
* obj0
= 0 ;
27790 PyObject
* obj1
= 0 ;
27791 PyObject
* obj2
= 0 ;
27792 char * kwnames
[] = {
27793 (char *) "self",(char *) "font",(char *) "col", NULL
27796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27798 if (!SWIG_IsOK(res1
)) {
27799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27801 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27802 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27803 if (!SWIG_IsOK(res2
)) {
27804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27809 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27813 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27817 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
27818 if (PyErr_Occurred()) SWIG_fail
;
27820 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
27827 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27828 PyObject
*resultobj
= 0;
27829 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27830 wxDouble arg2
= (wxDouble
) 1.0 ;
27831 wxDouble arg3
= (wxDouble
) 0.0 ;
27832 wxDouble arg4
= (wxDouble
) 0.0 ;
27833 wxDouble arg5
= (wxDouble
) 1.0 ;
27834 wxDouble arg6
= (wxDouble
) 0.0 ;
27835 wxDouble arg7
= (wxDouble
) 0.0 ;
27836 wxGraphicsMatrix result
;
27851 PyObject
* obj0
= 0 ;
27852 PyObject
* obj1
= 0 ;
27853 PyObject
* obj2
= 0 ;
27854 PyObject
* obj3
= 0 ;
27855 PyObject
* obj4
= 0 ;
27856 PyObject
* obj5
= 0 ;
27857 PyObject
* obj6
= 0 ;
27858 char * kwnames
[] = {
27859 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
27862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27864 if (!SWIG_IsOK(res1
)) {
27865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27867 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27869 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27870 if (!SWIG_IsOK(ecode2
)) {
27871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
27873 arg2
= static_cast< wxDouble
>(val2
);
27876 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27877 if (!SWIG_IsOK(ecode3
)) {
27878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
27880 arg3
= static_cast< wxDouble
>(val3
);
27883 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27884 if (!SWIG_IsOK(ecode4
)) {
27885 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
27887 arg4
= static_cast< wxDouble
>(val4
);
27890 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27891 if (!SWIG_IsOK(ecode5
)) {
27892 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
27894 arg5
= static_cast< wxDouble
>(val5
);
27897 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27898 if (!SWIG_IsOK(ecode6
)) {
27899 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
27901 arg6
= static_cast< wxDouble
>(val6
);
27904 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
27905 if (!SWIG_IsOK(ecode7
)) {
27906 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
27908 arg7
= static_cast< wxDouble
>(val7
);
27911 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27912 if (PyErr_Occurred()) SWIG_fail
;
27914 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
27921 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27922 PyObject
*resultobj
= 0;
27923 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27926 PyObject
*swig_obj
[1] ;
27928 if (!args
) SWIG_fail
;
27929 swig_obj
[0] = args
;
27930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27931 if (!SWIG_IsOK(res1
)) {
27932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27934 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27936 (arg1
)->PushState();
27937 if (PyErr_Occurred()) SWIG_fail
;
27939 resultobj
= SWIG_Py_Void();
27946 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27947 PyObject
*resultobj
= 0;
27948 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27951 PyObject
*swig_obj
[1] ;
27953 if (!args
) SWIG_fail
;
27954 swig_obj
[0] = args
;
27955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27956 if (!SWIG_IsOK(res1
)) {
27957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27959 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27961 (arg1
)->PopState();
27962 if (PyErr_Occurred()) SWIG_fail
;
27964 resultobj
= SWIG_Py_Void();
27971 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27972 PyObject
*resultobj
= 0;
27973 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27974 wxRegion
*arg2
= 0 ;
27979 PyObject
* obj0
= 0 ;
27980 PyObject
* obj1
= 0 ;
27981 char * kwnames
[] = {
27982 (char *) "self",(char *) "region", NULL
27985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27987 if (!SWIG_IsOK(res1
)) {
27988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27990 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27991 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
27992 if (!SWIG_IsOK(res2
)) {
27993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
27996 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
27998 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28000 (arg1
)->Clip((wxRegion
const &)*arg2
);
28001 if (PyErr_Occurred()) SWIG_fail
;
28003 resultobj
= SWIG_Py_Void();
28010 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28011 PyObject
*resultobj
= 0;
28012 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28027 PyObject
* obj0
= 0 ;
28028 PyObject
* obj1
= 0 ;
28029 PyObject
* obj2
= 0 ;
28030 PyObject
* obj3
= 0 ;
28031 PyObject
* obj4
= 0 ;
28032 char * kwnames
[] = {
28033 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28038 if (!SWIG_IsOK(res1
)) {
28039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28041 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28042 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28043 if (!SWIG_IsOK(ecode2
)) {
28044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28046 arg2
= static_cast< wxDouble
>(val2
);
28047 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28048 if (!SWIG_IsOK(ecode3
)) {
28049 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28051 arg3
= static_cast< wxDouble
>(val3
);
28052 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28053 if (!SWIG_IsOK(ecode4
)) {
28054 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28056 arg4
= static_cast< wxDouble
>(val4
);
28057 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28058 if (!SWIG_IsOK(ecode5
)) {
28059 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28061 arg5
= static_cast< wxDouble
>(val5
);
28063 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28064 if (PyErr_Occurred()) SWIG_fail
;
28066 resultobj
= SWIG_Py_Void();
28073 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28074 PyObject
*resultobj
= 0;
28075 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28078 PyObject
*swig_obj
[1] ;
28080 if (!args
) SWIG_fail
;
28081 swig_obj
[0] = args
;
28082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28083 if (!SWIG_IsOK(res1
)) {
28084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28086 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28088 (arg1
)->ResetClip();
28089 if (PyErr_Occurred()) SWIG_fail
;
28091 resultobj
= SWIG_Py_Void();
28098 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28099 PyObject
*resultobj
= 0;
28100 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28104 PyObject
*swig_obj
[1] ;
28106 if (!args
) SWIG_fail
;
28107 swig_obj
[0] = args
;
28108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28109 if (!SWIG_IsOK(res1
)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28112 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28114 result
= (void *)(arg1
)->GetNativeContext();
28115 if (PyErr_Occurred()) SWIG_fail
;
28117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28124 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28125 PyObject
*resultobj
= 0;
28126 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28135 PyObject
* obj0
= 0 ;
28136 PyObject
* obj1
= 0 ;
28137 PyObject
* obj2
= 0 ;
28138 char * kwnames
[] = {
28139 (char *) "self",(char *) "dx",(char *) "dy", NULL
28142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28144 if (!SWIG_IsOK(res1
)) {
28145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28147 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28148 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28149 if (!SWIG_IsOK(ecode2
)) {
28150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28152 arg2
= static_cast< wxDouble
>(val2
);
28153 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28154 if (!SWIG_IsOK(ecode3
)) {
28155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28157 arg3
= static_cast< wxDouble
>(val3
);
28159 (arg1
)->Translate(arg2
,arg3
);
28160 if (PyErr_Occurred()) SWIG_fail
;
28162 resultobj
= SWIG_Py_Void();
28169 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28170 PyObject
*resultobj
= 0;
28171 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28180 PyObject
* obj0
= 0 ;
28181 PyObject
* obj1
= 0 ;
28182 PyObject
* obj2
= 0 ;
28183 char * kwnames
[] = {
28184 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28189 if (!SWIG_IsOK(res1
)) {
28190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28192 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28193 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28194 if (!SWIG_IsOK(ecode2
)) {
28195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28197 arg2
= static_cast< wxDouble
>(val2
);
28198 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28199 if (!SWIG_IsOK(ecode3
)) {
28200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28202 arg3
= static_cast< wxDouble
>(val3
);
28204 (arg1
)->Scale(arg2
,arg3
);
28205 if (PyErr_Occurred()) SWIG_fail
;
28207 resultobj
= SWIG_Py_Void();
28214 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28215 PyObject
*resultobj
= 0;
28216 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28222 PyObject
* obj0
= 0 ;
28223 PyObject
* obj1
= 0 ;
28224 char * kwnames
[] = {
28225 (char *) "self",(char *) "angle", NULL
28228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28230 if (!SWIG_IsOK(res1
)) {
28231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28233 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28234 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28235 if (!SWIG_IsOK(ecode2
)) {
28236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28238 arg2
= static_cast< wxDouble
>(val2
);
28240 (arg1
)->Rotate(arg2
);
28241 if (PyErr_Occurred()) SWIG_fail
;
28243 resultobj
= SWIG_Py_Void();
28250 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28251 PyObject
*resultobj
= 0;
28252 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28253 wxGraphicsMatrix
*arg2
= 0 ;
28258 PyObject
* obj0
= 0 ;
28259 PyObject
* obj1
= 0 ;
28260 char * kwnames
[] = {
28261 (char *) "self",(char *) "matrix", NULL
28264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28266 if (!SWIG_IsOK(res1
)) {
28267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28269 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28270 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28271 if (!SWIG_IsOK(res2
)) {
28272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28277 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28279 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28280 if (PyErr_Occurred()) SWIG_fail
;
28282 resultobj
= SWIG_Py_Void();
28289 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28290 PyObject
*resultobj
= 0;
28291 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28292 wxGraphicsMatrix
*arg2
= 0 ;
28297 PyObject
* obj0
= 0 ;
28298 PyObject
* obj1
= 0 ;
28299 char * kwnames
[] = {
28300 (char *) "self",(char *) "matrix", NULL
28303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28305 if (!SWIG_IsOK(res1
)) {
28306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28308 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28309 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28310 if (!SWIG_IsOK(res2
)) {
28311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28316 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28318 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28319 if (PyErr_Occurred()) SWIG_fail
;
28321 resultobj
= SWIG_Py_Void();
28328 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28329 PyObject
*resultobj
= 0;
28330 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28331 wxGraphicsMatrix result
;
28334 PyObject
*swig_obj
[1] ;
28336 if (!args
) SWIG_fail
;
28337 swig_obj
[0] = args
;
28338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28339 if (!SWIG_IsOK(res1
)) {
28340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28342 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28344 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28345 if (PyErr_Occurred()) SWIG_fail
;
28347 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28354 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28355 PyObject
*resultobj
= 0;
28356 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28357 wxGraphicsPen
*arg2
= 0 ;
28363 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28365 if (!SWIG_IsOK(res1
)) {
28366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28368 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28369 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28370 if (!SWIG_IsOK(res2
)) {
28371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28376 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28378 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28379 if (PyErr_Occurred()) SWIG_fail
;
28381 resultobj
= SWIG_Py_Void();
28388 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28389 PyObject
*resultobj
= 0;
28390 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28397 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28399 if (!SWIG_IsOK(res1
)) {
28400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28402 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28403 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28404 if (!SWIG_IsOK(res2
)) {
28405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28408 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28410 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28412 (arg1
)->SetPen((wxPen
const &)*arg2
);
28413 if (PyErr_Occurred()) SWIG_fail
;
28415 resultobj
= SWIG_Py_Void();
28422 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28426 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28431 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28432 _v
= SWIG_CheckState(res
);
28434 if (!_v
) goto check_1
;
28435 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28440 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28444 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28449 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28450 PyObject
*resultobj
= 0;
28451 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28452 wxGraphicsBrush
*arg2
= 0 ;
28458 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28460 if (!SWIG_IsOK(res1
)) {
28461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28463 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28464 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28465 if (!SWIG_IsOK(res2
)) {
28466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28471 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28473 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28474 if (PyErr_Occurred()) SWIG_fail
;
28476 resultobj
= SWIG_Py_Void();
28483 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28484 PyObject
*resultobj
= 0;
28485 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28486 wxBrush
*arg2
= 0 ;
28492 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28494 if (!SWIG_IsOK(res1
)) {
28495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28497 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28498 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28499 if (!SWIG_IsOK(res2
)) {
28500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28505 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28507 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28508 if (PyErr_Occurred()) SWIG_fail
;
28510 resultobj
= SWIG_Py_Void();
28517 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28521 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28526 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28527 _v
= SWIG_CheckState(res
);
28529 if (!_v
) goto check_1
;
28530 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28535 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28539 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28544 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28545 PyObject
*resultobj
= 0;
28546 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28547 wxGraphicsFont
*arg2
= 0 ;
28553 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28555 if (!SWIG_IsOK(res1
)) {
28556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28558 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28559 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28560 if (!SWIG_IsOK(res2
)) {
28561 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28566 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28568 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28569 if (PyErr_Occurred()) SWIG_fail
;
28571 resultobj
= SWIG_Py_Void();
28578 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28579 PyObject
*resultobj
= 0;
28580 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28582 wxColour
const &arg3_defvalue
= *wxBLACK
;
28583 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28590 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28592 if (!SWIG_IsOK(res1
)) {
28593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28595 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28596 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28597 if (!SWIG_IsOK(res2
)) {
28598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28603 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28607 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28611 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28612 if (PyErr_Occurred()) SWIG_fail
;
28614 resultobj
= SWIG_Py_Void();
28621 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
28625 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
28630 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
28631 _v
= SWIG_CheckState(res
);
28633 if (!_v
) goto check_1
;
28634 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
28638 if ((argc
>= 2) && (argc
<= 3)) {
28639 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
28643 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
28648 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28649 PyObject
*resultobj
= 0;
28650 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28651 wxGraphicsPath
*arg2
= 0 ;
28656 PyObject
* obj0
= 0 ;
28657 PyObject
* obj1
= 0 ;
28658 char * kwnames
[] = {
28659 (char *) "self",(char *) "path", NULL
28662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28664 if (!SWIG_IsOK(res1
)) {
28665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28667 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28668 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28669 if (!SWIG_IsOK(res2
)) {
28670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28675 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28677 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
28678 if (PyErr_Occurred()) SWIG_fail
;
28680 resultobj
= SWIG_Py_Void();
28687 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28688 PyObject
*resultobj
= 0;
28689 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28690 wxGraphicsPath
*arg2
= 0 ;
28691 int arg3
= (int) wxODDEVEN_RULE
;
28698 PyObject
* obj0
= 0 ;
28699 PyObject
* obj1
= 0 ;
28700 PyObject
* obj2
= 0 ;
28701 char * kwnames
[] = {
28702 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28707 if (!SWIG_IsOK(res1
)) {
28708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28710 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28711 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28712 if (!SWIG_IsOK(res2
)) {
28713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28716 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28718 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28721 if (!SWIG_IsOK(ecode3
)) {
28722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
28724 arg3
= static_cast< int >(val3
);
28727 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
28728 if (PyErr_Occurred()) SWIG_fail
;
28730 resultobj
= SWIG_Py_Void();
28737 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28738 PyObject
*resultobj
= 0;
28739 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28740 wxGraphicsPath
*arg2
= 0 ;
28741 int arg3
= (int) wxODDEVEN_RULE
;
28748 PyObject
* obj0
= 0 ;
28749 PyObject
* obj1
= 0 ;
28750 PyObject
* obj2
= 0 ;
28751 char * kwnames
[] = {
28752 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28757 if (!SWIG_IsOK(res1
)) {
28758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28760 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28761 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28762 if (!SWIG_IsOK(res2
)) {
28763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28768 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28770 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28771 if (!SWIG_IsOK(ecode3
)) {
28772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
28774 arg3
= static_cast< int >(val3
);
28777 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
28778 if (PyErr_Occurred()) SWIG_fail
;
28780 resultobj
= SWIG_Py_Void();
28787 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28788 PyObject
*resultobj
= 0;
28789 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28790 wxString
*arg2
= 0 ;
28793 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
28794 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
28797 bool temp2
= false ;
28804 PyObject
* obj0
= 0 ;
28805 PyObject
* obj1
= 0 ;
28806 PyObject
* obj2
= 0 ;
28807 PyObject
* obj3
= 0 ;
28808 PyObject
* obj4
= 0 ;
28809 char * kwnames
[] = {
28810 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
28813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28815 if (!SWIG_IsOK(res1
)) {
28816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28818 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28820 arg2
= wxString_in_helper(obj1
);
28821 if (arg2
== NULL
) SWIG_fail
;
28824 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28825 if (!SWIG_IsOK(ecode3
)) {
28826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
28828 arg3
= static_cast< wxDouble
>(val3
);
28829 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28830 if (!SWIG_IsOK(ecode4
)) {
28831 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
28833 arg4
= static_cast< wxDouble
>(val4
);
28835 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28836 if (!SWIG_IsOK(res5
)) {
28837 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
28840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
28842 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
28845 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
28846 if (PyErr_Occurred()) SWIG_fail
;
28848 resultobj
= SWIG_Py_Void();
28863 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28864 PyObject
*resultobj
= 0;
28865 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28866 wxString
*arg2
= 0 ;
28870 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
28871 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
28874 bool temp2
= false ;
28883 PyObject
* obj0
= 0 ;
28884 PyObject
* obj1
= 0 ;
28885 PyObject
* obj2
= 0 ;
28886 PyObject
* obj3
= 0 ;
28887 PyObject
* obj4
= 0 ;
28888 PyObject
* obj5
= 0 ;
28889 char * kwnames
[] = {
28890 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
28893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28895 if (!SWIG_IsOK(res1
)) {
28896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28898 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28900 arg2
= wxString_in_helper(obj1
);
28901 if (arg2
== NULL
) SWIG_fail
;
28904 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28905 if (!SWIG_IsOK(ecode3
)) {
28906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
28908 arg3
= static_cast< wxDouble
>(val3
);
28909 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28910 if (!SWIG_IsOK(ecode4
)) {
28911 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
28913 arg4
= static_cast< wxDouble
>(val4
);
28914 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28915 if (!SWIG_IsOK(ecode5
)) {
28916 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
28918 arg5
= static_cast< wxDouble
>(val5
);
28920 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28921 if (!SWIG_IsOK(res6
)) {
28922 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
28925 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
28927 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
28930 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
28931 if (PyErr_Occurred()) SWIG_fail
;
28933 resultobj
= SWIG_Py_Void();
28948 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28949 PyObject
*resultobj
= 0;
28950 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28951 wxString
*arg2
= 0 ;
28952 wxDouble
*arg3
= (wxDouble
*) 0 ;
28953 wxDouble
*arg4
= (wxDouble
*) 0 ;
28954 wxDouble
*arg5
= (wxDouble
*) 0 ;
28955 wxDouble
*arg6
= (wxDouble
*) 0 ;
28958 bool temp2
= false ;
28960 int res3
= SWIG_TMPOBJ
;
28962 int res4
= SWIG_TMPOBJ
;
28964 int res5
= SWIG_TMPOBJ
;
28966 int res6
= SWIG_TMPOBJ
;
28967 PyObject
* obj0
= 0 ;
28968 PyObject
* obj1
= 0 ;
28969 char * kwnames
[] = {
28970 (char *) "self",(char *) "text", NULL
28977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28979 if (!SWIG_IsOK(res1
)) {
28980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28982 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28984 arg2
= wxString_in_helper(obj1
);
28985 if (arg2
== NULL
) SWIG_fail
;
28989 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
28990 if (PyErr_Occurred()) SWIG_fail
;
28992 resultobj
= SWIG_Py_Void();
28993 if (SWIG_IsTmpObj(res3
)) {
28994 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
28996 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28997 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
28999 if (SWIG_IsTmpObj(res4
)) {
29000 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29002 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29003 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29005 if (SWIG_IsTmpObj(res5
)) {
29006 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29008 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29009 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29011 if (SWIG_IsTmpObj(res6
)) {
29012 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29014 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29015 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29031 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29032 PyObject
*resultobj
= 0;
29033 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29034 wxString
*arg2
= 0 ;
29035 PyObject
*result
= 0 ;
29038 bool temp2
= false ;
29039 PyObject
* obj0
= 0 ;
29040 PyObject
* obj1
= 0 ;
29041 char * kwnames
[] = {
29042 (char *) "self",(char *) "text", NULL
29045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29047 if (!SWIG_IsOK(res1
)) {
29048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29050 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29052 arg2
= wxString_in_helper(obj1
);
29053 if (arg2
== NULL
) SWIG_fail
;
29057 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29058 if (PyErr_Occurred()) SWIG_fail
;
29060 resultobj
= result
;
29075 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29076 PyObject
*resultobj
= 0;
29077 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29078 wxString
*arg2
= 0 ;
29079 wxArrayDouble result
;
29082 bool temp2
= false ;
29083 PyObject
* obj0
= 0 ;
29084 PyObject
* obj1
= 0 ;
29085 char * kwnames
[] = {
29086 (char *) "self",(char *) "text", NULL
29089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29091 if (!SWIG_IsOK(res1
)) {
29092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29094 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29096 arg2
= wxString_in_helper(obj1
);
29097 if (arg2
== NULL
) SWIG_fail
;
29101 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29102 if (PyErr_Occurred()) SWIG_fail
;
29105 resultobj
= wxArrayDouble2PyList_helper(result
);
29121 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29122 PyObject
*resultobj
= 0;
29123 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29124 wxBitmap
*arg2
= 0 ;
29141 PyObject
* obj0
= 0 ;
29142 PyObject
* obj1
= 0 ;
29143 PyObject
* obj2
= 0 ;
29144 PyObject
* obj3
= 0 ;
29145 PyObject
* obj4
= 0 ;
29146 PyObject
* obj5
= 0 ;
29147 char * kwnames
[] = {
29148 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29153 if (!SWIG_IsOK(res1
)) {
29154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29156 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29157 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29158 if (!SWIG_IsOK(res2
)) {
29159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29164 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29165 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29166 if (!SWIG_IsOK(ecode3
)) {
29167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29169 arg3
= static_cast< wxDouble
>(val3
);
29170 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29171 if (!SWIG_IsOK(ecode4
)) {
29172 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29174 arg4
= static_cast< wxDouble
>(val4
);
29175 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29176 if (!SWIG_IsOK(ecode5
)) {
29177 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29179 arg5
= static_cast< wxDouble
>(val5
);
29180 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29181 if (!SWIG_IsOK(ecode6
)) {
29182 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29184 arg6
= static_cast< wxDouble
>(val6
);
29186 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29187 if (PyErr_Occurred()) SWIG_fail
;
29189 resultobj
= SWIG_Py_Void();
29196 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29197 PyObject
*resultobj
= 0;
29198 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29216 PyObject
* obj0
= 0 ;
29217 PyObject
* obj1
= 0 ;
29218 PyObject
* obj2
= 0 ;
29219 PyObject
* obj3
= 0 ;
29220 PyObject
* obj4
= 0 ;
29221 PyObject
* obj5
= 0 ;
29222 char * kwnames
[] = {
29223 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29228 if (!SWIG_IsOK(res1
)) {
29229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29231 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29232 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29233 if (!SWIG_IsOK(res2
)) {
29234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29239 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29240 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29241 if (!SWIG_IsOK(ecode3
)) {
29242 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29244 arg3
= static_cast< wxDouble
>(val3
);
29245 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29246 if (!SWIG_IsOK(ecode4
)) {
29247 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29249 arg4
= static_cast< wxDouble
>(val4
);
29250 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29251 if (!SWIG_IsOK(ecode5
)) {
29252 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29254 arg5
= static_cast< wxDouble
>(val5
);
29255 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29256 if (!SWIG_IsOK(ecode6
)) {
29257 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29259 arg6
= static_cast< wxDouble
>(val6
);
29261 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29262 if (PyErr_Occurred()) SWIG_fail
;
29264 resultobj
= SWIG_Py_Void();
29271 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29272 PyObject
*resultobj
= 0;
29273 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29288 PyObject
* obj0
= 0 ;
29289 PyObject
* obj1
= 0 ;
29290 PyObject
* obj2
= 0 ;
29291 PyObject
* obj3
= 0 ;
29292 PyObject
* obj4
= 0 ;
29293 char * kwnames
[] = {
29294 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29299 if (!SWIG_IsOK(res1
)) {
29300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29302 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29303 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29304 if (!SWIG_IsOK(ecode2
)) {
29305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29307 arg2
= static_cast< wxDouble
>(val2
);
29308 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29309 if (!SWIG_IsOK(ecode3
)) {
29310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29312 arg3
= static_cast< wxDouble
>(val3
);
29313 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29314 if (!SWIG_IsOK(ecode4
)) {
29315 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29317 arg4
= static_cast< wxDouble
>(val4
);
29318 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29319 if (!SWIG_IsOK(ecode5
)) {
29320 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29322 arg5
= static_cast< wxDouble
>(val5
);
29324 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29325 if (PyErr_Occurred()) SWIG_fail
;
29327 resultobj
= SWIG_Py_Void();
29334 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29335 PyObject
*resultobj
= 0;
29336 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29338 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29341 PyObject
* obj0
= 0 ;
29342 PyObject
* obj1
= 0 ;
29343 char * kwnames
[] = {
29344 (char *) "self",(char *) "points", NULL
29347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29349 if (!SWIG_IsOK(res1
)) {
29350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29352 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29354 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29355 if (arg3
== NULL
) SWIG_fail
;
29358 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29359 if (PyErr_Occurred()) SWIG_fail
;
29361 resultobj
= SWIG_Py_Void();
29363 if (arg3
) delete [] arg3
;
29368 if (arg3
) delete [] arg3
;
29374 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29375 PyObject
*resultobj
= 0;
29376 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29377 PyObject
*arg2
= (PyObject
*) 0 ;
29378 PyObject
*arg3
= (PyObject
*) 0 ;
29381 PyObject
* obj0
= 0 ;
29382 PyObject
* obj1
= 0 ;
29383 PyObject
* obj2
= 0 ;
29384 char * kwnames
[] = {
29385 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29390 if (!SWIG_IsOK(res1
)) {
29391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29393 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29397 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29398 if (PyErr_Occurred()) SWIG_fail
;
29400 resultobj
= SWIG_Py_Void();
29407 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29408 PyObject
*resultobj
= 0;
29409 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29411 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29412 int arg4
= (int) wxODDEVEN_RULE
;
29417 PyObject
* obj0
= 0 ;
29418 PyObject
* obj1
= 0 ;
29419 PyObject
* obj2
= 0 ;
29420 char * kwnames
[] = {
29421 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29426 if (!SWIG_IsOK(res1
)) {
29427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29429 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29431 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29432 if (arg3
== NULL
) SWIG_fail
;
29435 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29436 if (!SWIG_IsOK(ecode4
)) {
29437 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29439 arg4
= static_cast< int >(val4
);
29442 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29443 if (PyErr_Occurred()) SWIG_fail
;
29445 resultobj
= SWIG_Py_Void();
29447 if (arg3
) delete [] arg3
;
29452 if (arg3
) delete [] arg3
;
29458 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29459 PyObject
*resultobj
= 0;
29460 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29475 PyObject
* obj0
= 0 ;
29476 PyObject
* obj1
= 0 ;
29477 PyObject
* obj2
= 0 ;
29478 PyObject
* obj3
= 0 ;
29479 PyObject
* obj4
= 0 ;
29480 char * kwnames
[] = {
29481 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29486 if (!SWIG_IsOK(res1
)) {
29487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29489 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29490 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29491 if (!SWIG_IsOK(ecode2
)) {
29492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29494 arg2
= static_cast< wxDouble
>(val2
);
29495 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29496 if (!SWIG_IsOK(ecode3
)) {
29497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29499 arg3
= static_cast< wxDouble
>(val3
);
29500 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29501 if (!SWIG_IsOK(ecode4
)) {
29502 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29504 arg4
= static_cast< wxDouble
>(val4
);
29505 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29506 if (!SWIG_IsOK(ecode5
)) {
29507 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29509 arg5
= static_cast< wxDouble
>(val5
);
29511 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29512 if (PyErr_Occurred()) SWIG_fail
;
29514 resultobj
= SWIG_Py_Void();
29521 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29522 PyObject
*resultobj
= 0;
29523 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29538 PyObject
* obj0
= 0 ;
29539 PyObject
* obj1
= 0 ;
29540 PyObject
* obj2
= 0 ;
29541 PyObject
* obj3
= 0 ;
29542 PyObject
* obj4
= 0 ;
29543 char * kwnames
[] = {
29544 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29549 if (!SWIG_IsOK(res1
)) {
29550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29552 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29553 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29554 if (!SWIG_IsOK(ecode2
)) {
29555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29557 arg2
= static_cast< wxDouble
>(val2
);
29558 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29559 if (!SWIG_IsOK(ecode3
)) {
29560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29562 arg3
= static_cast< wxDouble
>(val3
);
29563 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29564 if (!SWIG_IsOK(ecode4
)) {
29565 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29567 arg4
= static_cast< wxDouble
>(val4
);
29568 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29569 if (!SWIG_IsOK(ecode5
)) {
29570 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29572 arg5
= static_cast< wxDouble
>(val5
);
29574 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29575 if (PyErr_Occurred()) SWIG_fail
;
29577 resultobj
= SWIG_Py_Void();
29584 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29585 PyObject
*resultobj
= 0;
29586 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29604 PyObject
* obj0
= 0 ;
29605 PyObject
* obj1
= 0 ;
29606 PyObject
* obj2
= 0 ;
29607 PyObject
* obj3
= 0 ;
29608 PyObject
* obj4
= 0 ;
29609 PyObject
* obj5
= 0 ;
29610 char * kwnames
[] = {
29611 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29616 if (!SWIG_IsOK(res1
)) {
29617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29619 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29620 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29621 if (!SWIG_IsOK(ecode2
)) {
29622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29624 arg2
= static_cast< wxDouble
>(val2
);
29625 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29626 if (!SWIG_IsOK(ecode3
)) {
29627 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29629 arg3
= static_cast< wxDouble
>(val3
);
29630 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29631 if (!SWIG_IsOK(ecode4
)) {
29632 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29634 arg4
= static_cast< wxDouble
>(val4
);
29635 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29636 if (!SWIG_IsOK(ecode5
)) {
29637 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29639 arg5
= static_cast< wxDouble
>(val5
);
29640 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29641 if (!SWIG_IsOK(ecode6
)) {
29642 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
29644 arg6
= static_cast< wxDouble
>(val6
);
29646 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29647 if (PyErr_Occurred()) SWIG_fail
;
29649 resultobj
= SWIG_Py_Void();
29656 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29657 PyObject
*resultobj
= 0;
29658 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29662 PyObject
*swig_obj
[1] ;
29664 if (!args
) SWIG_fail
;
29665 swig_obj
[0] = args
;
29666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29667 if (!SWIG_IsOK(res1
)) {
29668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29670 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29672 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
29673 if (PyErr_Occurred()) SWIG_fail
;
29676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29684 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29686 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29687 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
29688 return SWIG_Py_Void();
29691 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29692 PyObject
*resultobj
= 0;
29693 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29696 PyObject
*swig_obj
[1] ;
29698 if (!args
) SWIG_fail
;
29699 swig_obj
[0] = args
;
29700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
29701 if (!SWIG_IsOK(res1
)) {
29702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29704 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29708 if (PyErr_Occurred()) SWIG_fail
;
29710 resultobj
= SWIG_Py_Void();
29717 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29718 PyObject
*resultobj
= 0;
29719 wxGraphicsRenderer
*result
= 0 ;
29721 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
29723 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
29724 if (PyErr_Occurred()) SWIG_fail
;
29726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29733 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29734 PyObject
*resultobj
= 0;
29735 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29736 wxWindowDC
*arg2
= 0 ;
29737 wxGraphicsContext
*result
= 0 ;
29743 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29745 if (!SWIG_IsOK(res1
)) {
29746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29748 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29749 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29750 if (!SWIG_IsOK(res2
)) {
29751 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29754 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29756 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
29758 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
29759 if (PyErr_Occurred()) SWIG_fail
;
29761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29768 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29769 PyObject
*resultobj
= 0;
29770 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29771 wxWindow
*arg2
= (wxWindow
*) 0 ;
29772 wxGraphicsContext
*result
= 0 ;
29778 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29780 if (!SWIG_IsOK(res1
)) {
29781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29783 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29784 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29785 if (!SWIG_IsOK(res2
)) {
29786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
29788 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29790 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
29791 if (PyErr_Occurred()) SWIG_fail
;
29793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29800 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
29804 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
29809 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
29810 _v
= SWIG_CheckState(res
);
29812 if (!_v
) goto check_1
;
29813 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
29818 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
29822 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
29827 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29828 PyObject
*resultobj
= 0;
29829 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29830 wxGraphicsContext
*result
= 0 ;
29833 PyObject
*swig_obj
[1] ;
29835 if (!args
) SWIG_fail
;
29836 swig_obj
[0] = args
;
29837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29838 if (!SWIG_IsOK(res1
)) {
29839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29841 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29843 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
29844 if (PyErr_Occurred()) SWIG_fail
;
29846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29853 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29854 PyObject
*resultobj
= 0;
29855 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29856 void *arg2
= (void *) 0 ;
29857 wxGraphicsContext
*result
= 0 ;
29861 PyObject
* obj0
= 0 ;
29862 PyObject
* obj1
= 0 ;
29863 char * kwnames
[] = {
29864 (char *) "self",(char *) "context", NULL
29867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29869 if (!SWIG_IsOK(res1
)) {
29870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29872 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29873 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29874 if (!SWIG_IsOK(res2
)) {
29875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
29878 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
29879 if (PyErr_Occurred()) SWIG_fail
;
29881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29888 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29889 PyObject
*resultobj
= 0;
29890 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29891 void *arg2
= (void *) 0 ;
29892 wxGraphicsContext
*result
= 0 ;
29896 PyObject
* obj0
= 0 ;
29897 PyObject
* obj1
= 0 ;
29898 char * kwnames
[] = {
29899 (char *) "self",(char *) "window", NULL
29902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29904 if (!SWIG_IsOK(res1
)) {
29905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29907 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29908 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29909 if (!SWIG_IsOK(res2
)) {
29910 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
29913 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
29914 if (PyErr_Occurred()) SWIG_fail
;
29916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29923 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29924 PyObject
*resultobj
= 0;
29925 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29926 wxGraphicsPath result
;
29929 PyObject
*swig_obj
[1] ;
29931 if (!args
) SWIG_fail
;
29932 swig_obj
[0] = args
;
29933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29934 if (!SWIG_IsOK(res1
)) {
29935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29937 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29939 result
= (arg1
)->CreatePath();
29940 if (PyErr_Occurred()) SWIG_fail
;
29942 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
29949 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29950 PyObject
*resultobj
= 0;
29951 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29952 wxDouble arg2
= (wxDouble
) 1.0 ;
29953 wxDouble arg3
= (wxDouble
) 0.0 ;
29954 wxDouble arg4
= (wxDouble
) 0.0 ;
29955 wxDouble arg5
= (wxDouble
) 1.0 ;
29956 wxDouble arg6
= (wxDouble
) 0.0 ;
29957 wxDouble arg7
= (wxDouble
) 0.0 ;
29958 wxGraphicsMatrix result
;
29973 PyObject
* obj0
= 0 ;
29974 PyObject
* obj1
= 0 ;
29975 PyObject
* obj2
= 0 ;
29976 PyObject
* obj3
= 0 ;
29977 PyObject
* obj4
= 0 ;
29978 PyObject
* obj5
= 0 ;
29979 PyObject
* obj6
= 0 ;
29980 char * kwnames
[] = {
29981 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
29984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29986 if (!SWIG_IsOK(res1
)) {
29987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29989 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29991 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29992 if (!SWIG_IsOK(ecode2
)) {
29993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
29995 arg2
= static_cast< wxDouble
>(val2
);
29998 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29999 if (!SWIG_IsOK(ecode3
)) {
30000 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30002 arg3
= static_cast< wxDouble
>(val3
);
30005 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30006 if (!SWIG_IsOK(ecode4
)) {
30007 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30009 arg4
= static_cast< wxDouble
>(val4
);
30012 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30013 if (!SWIG_IsOK(ecode5
)) {
30014 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30016 arg5
= static_cast< wxDouble
>(val5
);
30019 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30020 if (!SWIG_IsOK(ecode6
)) {
30021 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30023 arg6
= static_cast< wxDouble
>(val6
);
30026 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30027 if (!SWIG_IsOK(ecode7
)) {
30028 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30030 arg7
= static_cast< wxDouble
>(val7
);
30033 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30034 if (PyErr_Occurred()) SWIG_fail
;
30036 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30043 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30044 PyObject
*resultobj
= 0;
30045 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30047 wxGraphicsPen result
;
30052 PyObject
* obj0
= 0 ;
30053 PyObject
* obj1
= 0 ;
30054 char * kwnames
[] = {
30055 (char *) "self",(char *) "pen", NULL
30058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30060 if (!SWIG_IsOK(res1
)) {
30061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30063 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30064 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30065 if (!SWIG_IsOK(res2
)) {
30066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30071 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30073 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30074 if (PyErr_Occurred()) SWIG_fail
;
30076 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30083 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30084 PyObject
*resultobj
= 0;
30085 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30086 wxBrush
*arg2
= 0 ;
30087 wxGraphicsBrush result
;
30092 PyObject
* obj0
= 0 ;
30093 PyObject
* obj1
= 0 ;
30094 char * kwnames
[] = {
30095 (char *) "self",(char *) "brush", NULL
30098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30100 if (!SWIG_IsOK(res1
)) {
30101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30103 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30104 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30105 if (!SWIG_IsOK(res2
)) {
30106 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30109 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30111 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30113 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30114 if (PyErr_Occurred()) SWIG_fail
;
30116 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30123 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30124 PyObject
*resultobj
= 0;
30125 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30130 wxColour
*arg6
= 0 ;
30131 wxColour
*arg7
= 0 ;
30132 wxGraphicsBrush result
;
30145 PyObject
* obj0
= 0 ;
30146 PyObject
* obj1
= 0 ;
30147 PyObject
* obj2
= 0 ;
30148 PyObject
* obj3
= 0 ;
30149 PyObject
* obj4
= 0 ;
30150 PyObject
* obj5
= 0 ;
30151 PyObject
* obj6
= 0 ;
30152 char * kwnames
[] = {
30153 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30158 if (!SWIG_IsOK(res1
)) {
30159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30161 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30162 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30163 if (!SWIG_IsOK(ecode2
)) {
30164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30166 arg2
= static_cast< wxDouble
>(val2
);
30167 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30168 if (!SWIG_IsOK(ecode3
)) {
30169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30171 arg3
= static_cast< wxDouble
>(val3
);
30172 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30173 if (!SWIG_IsOK(ecode4
)) {
30174 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30176 arg4
= static_cast< wxDouble
>(val4
);
30177 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30178 if (!SWIG_IsOK(ecode5
)) {
30179 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30181 arg5
= static_cast< wxDouble
>(val5
);
30184 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30188 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30191 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30192 if (PyErr_Occurred()) SWIG_fail
;
30194 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30201 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30202 PyObject
*resultobj
= 0;
30203 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30209 wxColour
*arg7
= 0 ;
30210 wxColour
*arg8
= 0 ;
30211 wxGraphicsBrush result
;
30226 PyObject
* obj0
= 0 ;
30227 PyObject
* obj1
= 0 ;
30228 PyObject
* obj2
= 0 ;
30229 PyObject
* obj3
= 0 ;
30230 PyObject
* obj4
= 0 ;
30231 PyObject
* obj5
= 0 ;
30232 PyObject
* obj6
= 0 ;
30233 PyObject
* obj7
= 0 ;
30234 char * kwnames
[] = {
30235 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30240 if (!SWIG_IsOK(res1
)) {
30241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30243 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30244 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30245 if (!SWIG_IsOK(ecode2
)) {
30246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30248 arg2
= static_cast< wxDouble
>(val2
);
30249 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30250 if (!SWIG_IsOK(ecode3
)) {
30251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30253 arg3
= static_cast< wxDouble
>(val3
);
30254 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30255 if (!SWIG_IsOK(ecode4
)) {
30256 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30258 arg4
= static_cast< wxDouble
>(val4
);
30259 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30260 if (!SWIG_IsOK(ecode5
)) {
30261 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30263 arg5
= static_cast< wxDouble
>(val5
);
30264 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30265 if (!SWIG_IsOK(ecode6
)) {
30266 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30268 arg6
= static_cast< wxDouble
>(val6
);
30271 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30275 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30278 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30279 if (PyErr_Occurred()) SWIG_fail
;
30281 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30288 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30289 PyObject
*resultobj
= 0;
30290 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30292 wxColour
const &arg3_defvalue
= *wxBLACK
;
30293 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30294 wxGraphicsFont result
;
30300 PyObject
* obj0
= 0 ;
30301 PyObject
* obj1
= 0 ;
30302 PyObject
* obj2
= 0 ;
30303 char * kwnames
[] = {
30304 (char *) "self",(char *) "font",(char *) "col", NULL
30307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30309 if (!SWIG_IsOK(res1
)) {
30310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30312 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30313 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30314 if (!SWIG_IsOK(res2
)) {
30315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30320 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30324 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30328 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30329 if (PyErr_Occurred()) SWIG_fail
;
30331 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30338 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30341 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30342 return SWIG_Py_Void();
30345 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30346 PyObject
*resultobj
= 0;
30347 wxWindowDC
*arg1
= 0 ;
30348 wxGCDC
*result
= 0 ;
30352 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30354 if (!SWIG_IsOK(res1
)) {
30355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30360 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30362 if (!wxPyCheckForApp()) SWIG_fail
;
30363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30364 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30365 wxPyEndAllowThreads(__tstate
);
30366 if (PyErr_Occurred()) SWIG_fail
;
30368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30375 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30376 PyObject
*resultobj
= 0;
30377 wxWindow
*arg1
= (wxWindow
*) 0 ;
30378 wxGCDC
*result
= 0 ;
30382 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30384 if (!SWIG_IsOK(res1
)) {
30385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
30387 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30389 if (!wxPyCheckForApp()) SWIG_fail
;
30390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30391 result
= (wxGCDC
*)new wxGCDC(arg1
);
30392 wxPyEndAllowThreads(__tstate
);
30393 if (PyErr_Occurred()) SWIG_fail
;
30395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30402 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
30406 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
30411 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
30412 _v
= SWIG_CheckState(res
);
30414 if (!_v
) goto check_1
;
30415 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
30420 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
30424 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
30429 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30430 PyObject
*resultobj
= 0;
30431 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30434 PyObject
*swig_obj
[1] ;
30436 if (!args
) SWIG_fail
;
30437 swig_obj
[0] = args
;
30438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30439 if (!SWIG_IsOK(res1
)) {
30440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30442 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30446 if (PyErr_Occurred()) SWIG_fail
;
30448 resultobj
= SWIG_Py_Void();
30455 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30456 PyObject
*resultobj
= 0;
30457 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30458 wxGraphicsContext
*result
= 0 ;
30461 PyObject
*swig_obj
[1] ;
30463 if (!args
) SWIG_fail
;
30464 swig_obj
[0] = args
;
30465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30466 if (!SWIG_IsOK(res1
)) {
30467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30469 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30471 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30472 if (PyErr_Occurred()) SWIG_fail
;
30474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30481 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30482 PyObject
*resultobj
= 0;
30483 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30484 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30489 PyObject
* obj0
= 0 ;
30490 PyObject
* obj1
= 0 ;
30491 char * kwnames
[] = {
30492 (char *) "self",(char *) "ctx", NULL
30495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30497 if (!SWIG_IsOK(res1
)) {
30498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30500 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30501 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30502 if (!SWIG_IsOK(res2
)) {
30503 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30505 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30507 (arg1
)->SetGraphicsContext(arg2
);
30508 if (PyErr_Occurred()) SWIG_fail
;
30510 resultobj
= SWIG_Py_Void();
30517 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30519 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30520 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30521 return SWIG_Py_Void();
30524 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30525 return SWIG_Python_InitShadowInstance(args
);
30528 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30529 PyObject
*resultobj
= 0;
30530 wxOverlay
*result
= 0 ;
30532 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30535 result
= (wxOverlay
*)new wxOverlay();
30536 wxPyEndAllowThreads(__tstate
);
30537 if (PyErr_Occurred()) SWIG_fail
;
30539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30546 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30547 PyObject
*resultobj
= 0;
30548 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30551 PyObject
*swig_obj
[1] ;
30553 if (!args
) SWIG_fail
;
30554 swig_obj
[0] = args
;
30555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30556 if (!SWIG_IsOK(res1
)) {
30557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30559 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30564 wxPyEndAllowThreads(__tstate
);
30565 if (PyErr_Occurred()) SWIG_fail
;
30567 resultobj
= SWIG_Py_Void();
30574 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30575 PyObject
*resultobj
= 0;
30576 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30579 PyObject
*swig_obj
[1] ;
30581 if (!args
) SWIG_fail
;
30582 swig_obj
[0] = args
;
30583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30584 if (!SWIG_IsOK(res1
)) {
30585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30587 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30591 wxPyEndAllowThreads(__tstate
);
30592 if (PyErr_Occurred()) SWIG_fail
;
30594 resultobj
= SWIG_Py_Void();
30601 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30603 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30604 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30605 return SWIG_Py_Void();
30608 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30609 return SWIG_Python_InitShadowInstance(args
);
30612 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30613 PyObject
*resultobj
= 0;
30614 wxOverlay
*arg1
= 0 ;
30615 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30620 wxDCOverlay
*result
= 0 ;
30634 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
30635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30636 if (!SWIG_IsOK(res1
)) {
30637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30642 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30643 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30644 if (!SWIG_IsOK(res2
)) {
30645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30647 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30648 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
30649 if (!SWIG_IsOK(ecode3
)) {
30650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
30652 arg3
= static_cast< int >(val3
);
30653 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
30654 if (!SWIG_IsOK(ecode4
)) {
30655 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
30657 arg4
= static_cast< int >(val4
);
30658 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
30659 if (!SWIG_IsOK(ecode5
)) {
30660 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
30662 arg5
= static_cast< int >(val5
);
30663 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
30664 if (!SWIG_IsOK(ecode6
)) {
30665 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
30667 arg6
= static_cast< int >(val6
);
30669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30670 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30671 wxPyEndAllowThreads(__tstate
);
30672 if (PyErr_Occurred()) SWIG_fail
;
30674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30681 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30682 PyObject
*resultobj
= 0;
30683 wxOverlay
*arg1
= 0 ;
30684 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30685 wxDCOverlay
*result
= 0 ;
30691 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30693 if (!SWIG_IsOK(res1
)) {
30694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30699 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30700 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30701 if (!SWIG_IsOK(res2
)) {
30702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30704 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30707 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
30708 wxPyEndAllowThreads(__tstate
);
30709 if (PyErr_Occurred()) SWIG_fail
;
30711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30718 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
30722 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
30725 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
30728 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
30732 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
30737 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30738 PyObject
*resultobj
= 0;
30739 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30742 PyObject
*swig_obj
[1] ;
30744 if (!args
) SWIG_fail
;
30745 swig_obj
[0] = args
;
30746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
30747 if (!SWIG_IsOK(res1
)) {
30748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30750 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30755 wxPyEndAllowThreads(__tstate
);
30756 if (PyErr_Occurred()) SWIG_fail
;
30758 resultobj
= SWIG_Py_Void();
30765 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30766 PyObject
*resultobj
= 0;
30767 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30770 PyObject
*swig_obj
[1] ;
30772 if (!args
) SWIG_fail
;
30773 swig_obj
[0] = args
;
30774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
30775 if (!SWIG_IsOK(res1
)) {
30776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30778 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30782 wxPyEndAllowThreads(__tstate
);
30783 if (PyErr_Occurred()) SWIG_fail
;
30785 resultobj
= SWIG_Py_Void();
30792 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30794 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30795 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
30796 return SWIG_Py_Void();
30799 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30800 return SWIG_Python_InitShadowInstance(args
);
30803 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30804 PyObject
*resultobj
= 0;
30807 int arg3
= (int) true ;
30808 int arg4
= (int) 1 ;
30809 wxImageList
*result
= 0 ;
30818 PyObject
* obj0
= 0 ;
30819 PyObject
* obj1
= 0 ;
30820 PyObject
* obj2
= 0 ;
30821 PyObject
* obj3
= 0 ;
30822 char * kwnames
[] = {
30823 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
30826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30827 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30828 if (!SWIG_IsOK(ecode1
)) {
30829 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
30831 arg1
= static_cast< int >(val1
);
30832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30833 if (!SWIG_IsOK(ecode2
)) {
30834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
30836 arg2
= static_cast< int >(val2
);
30838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30839 if (!SWIG_IsOK(ecode3
)) {
30840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
30842 arg3
= static_cast< int >(val3
);
30845 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30846 if (!SWIG_IsOK(ecode4
)) {
30847 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
30849 arg4
= static_cast< int >(val4
);
30852 if (!wxPyCheckForApp()) SWIG_fail
;
30853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30854 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
30855 wxPyEndAllowThreads(__tstate
);
30856 if (PyErr_Occurred()) SWIG_fail
;
30858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
30865 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30866 PyObject
*resultobj
= 0;
30867 wxImageList
*arg1
= (wxImageList
*) 0 ;
30870 PyObject
*swig_obj
[1] ;
30872 if (!args
) SWIG_fail
;
30873 swig_obj
[0] = args
;
30874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30875 if (!SWIG_IsOK(res1
)) {
30876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
30878 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30883 wxPyEndAllowThreads(__tstate
);
30884 if (PyErr_Occurred()) SWIG_fail
;
30886 resultobj
= SWIG_Py_Void();
30893 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30894 PyObject
*resultobj
= 0;
30895 wxImageList
*arg1
= (wxImageList
*) 0 ;
30896 wxBitmap
*arg2
= 0 ;
30897 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
30898 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
30906 PyObject
* obj0
= 0 ;
30907 PyObject
* obj1
= 0 ;
30908 PyObject
* obj2
= 0 ;
30909 char * kwnames
[] = {
30910 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
30913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30915 if (!SWIG_IsOK(res1
)) {
30916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
30918 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30919 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30920 if (!SWIG_IsOK(res2
)) {
30921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30924 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30926 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30928 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30929 if (!SWIG_IsOK(res3
)) {
30930 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30935 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30939 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
30940 wxPyEndAllowThreads(__tstate
);
30941 if (PyErr_Occurred()) SWIG_fail
;
30943 resultobj
= SWIG_From_int(static_cast< int >(result
));
30950 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30951 PyObject
*resultobj
= 0;
30952 wxImageList
*arg1
= (wxImageList
*) 0 ;
30953 wxBitmap
*arg2
= 0 ;
30954 wxColour
*arg3
= 0 ;
30961 PyObject
* obj0
= 0 ;
30962 PyObject
* obj1
= 0 ;
30963 PyObject
* obj2
= 0 ;
30964 char * kwnames
[] = {
30965 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
30968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30970 if (!SWIG_IsOK(res1
)) {
30971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
30973 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30974 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30975 if (!SWIG_IsOK(res2
)) {
30976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30979 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30981 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30984 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30988 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
30989 wxPyEndAllowThreads(__tstate
);
30990 if (PyErr_Occurred()) SWIG_fail
;
30992 resultobj
= SWIG_From_int(static_cast< int >(result
));
30999 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31000 PyObject
*resultobj
= 0;
31001 wxImageList
*arg1
= (wxImageList
*) 0 ;
31008 PyObject
* obj0
= 0 ;
31009 PyObject
* obj1
= 0 ;
31010 char * kwnames
[] = {
31011 (char *) "self",(char *) "icon", NULL
31014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31016 if (!SWIG_IsOK(res1
)) {
31017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31019 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31020 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31021 if (!SWIG_IsOK(res2
)) {
31022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31025 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31027 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31030 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31031 wxPyEndAllowThreads(__tstate
);
31032 if (PyErr_Occurred()) SWIG_fail
;
31034 resultobj
= SWIG_From_int(static_cast< int >(result
));
31041 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31042 PyObject
*resultobj
= 0;
31043 wxImageList
*arg1
= (wxImageList
*) 0 ;
31045 SwigValueWrapper
<wxBitmap
> result
;
31050 PyObject
* obj0
= 0 ;
31051 PyObject
* obj1
= 0 ;
31052 char * kwnames
[] = {
31053 (char *) "self",(char *) "index", NULL
31056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31058 if (!SWIG_IsOK(res1
)) {
31059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31061 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31063 if (!SWIG_IsOK(ecode2
)) {
31064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31066 arg2
= static_cast< int >(val2
);
31068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31069 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31070 wxPyEndAllowThreads(__tstate
);
31071 if (PyErr_Occurred()) SWIG_fail
;
31073 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31080 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31081 PyObject
*resultobj
= 0;
31082 wxImageList
*arg1
= (wxImageList
*) 0 ;
31089 PyObject
* obj0
= 0 ;
31090 PyObject
* obj1
= 0 ;
31091 char * kwnames
[] = {
31092 (char *) "self",(char *) "index", NULL
31095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31097 if (!SWIG_IsOK(res1
)) {
31098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31100 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31102 if (!SWIG_IsOK(ecode2
)) {
31103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31105 arg2
= static_cast< int >(val2
);
31107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31108 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31109 wxPyEndAllowThreads(__tstate
);
31110 if (PyErr_Occurred()) SWIG_fail
;
31112 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31119 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31120 PyObject
*resultobj
= 0;
31121 wxImageList
*arg1
= (wxImageList
*) 0 ;
31123 wxBitmap
*arg3
= 0 ;
31124 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31125 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31135 PyObject
* obj0
= 0 ;
31136 PyObject
* obj1
= 0 ;
31137 PyObject
* obj2
= 0 ;
31138 PyObject
* obj3
= 0 ;
31139 char * kwnames
[] = {
31140 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31145 if (!SWIG_IsOK(res1
)) {
31146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31148 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31149 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31150 if (!SWIG_IsOK(ecode2
)) {
31151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31153 arg2
= static_cast< int >(val2
);
31154 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31155 if (!SWIG_IsOK(res3
)) {
31156 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31161 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31163 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31164 if (!SWIG_IsOK(res4
)) {
31165 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31170 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31174 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31175 wxPyEndAllowThreads(__tstate
);
31176 if (PyErr_Occurred()) SWIG_fail
;
31179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31187 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31188 PyObject
*resultobj
= 0;
31189 wxImageList
*arg1
= (wxImageList
*) 0 ;
31194 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31195 bool arg7
= (bool) (bool)false ;
31211 PyObject
* obj0
= 0 ;
31212 PyObject
* obj1
= 0 ;
31213 PyObject
* obj2
= 0 ;
31214 PyObject
* obj3
= 0 ;
31215 PyObject
* obj4
= 0 ;
31216 PyObject
* obj5
= 0 ;
31217 PyObject
* obj6
= 0 ;
31218 char * kwnames
[] = {
31219 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31224 if (!SWIG_IsOK(res1
)) {
31225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31227 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31229 if (!SWIG_IsOK(ecode2
)) {
31230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31232 arg2
= static_cast< int >(val2
);
31233 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31234 if (!SWIG_IsOK(res3
)) {
31235 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31240 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31241 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31242 if (!SWIG_IsOK(ecode4
)) {
31243 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31245 arg4
= static_cast< int >(val4
);
31246 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31247 if (!SWIG_IsOK(ecode5
)) {
31248 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31250 arg5
= static_cast< int >(val5
);
31252 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31253 if (!SWIG_IsOK(ecode6
)) {
31254 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31256 arg6
= static_cast< int >(val6
);
31259 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31260 if (!SWIG_IsOK(ecode7
)) {
31261 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31263 arg7
= static_cast< bool >(val7
);
31266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31267 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31268 wxPyEndAllowThreads(__tstate
);
31269 if (PyErr_Occurred()) SWIG_fail
;
31272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31280 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31281 PyObject
*resultobj
= 0;
31282 wxImageList
*arg1
= (wxImageList
*) 0 ;
31286 PyObject
*swig_obj
[1] ;
31288 if (!args
) SWIG_fail
;
31289 swig_obj
[0] = args
;
31290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31291 if (!SWIG_IsOK(res1
)) {
31292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31294 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31297 result
= (int)(arg1
)->GetImageCount();
31298 wxPyEndAllowThreads(__tstate
);
31299 if (PyErr_Occurred()) SWIG_fail
;
31301 resultobj
= SWIG_From_int(static_cast< int >(result
));
31308 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31309 PyObject
*resultobj
= 0;
31310 wxImageList
*arg1
= (wxImageList
*) 0 ;
31317 PyObject
* obj0
= 0 ;
31318 PyObject
* obj1
= 0 ;
31319 char * kwnames
[] = {
31320 (char *) "self",(char *) "index", NULL
31323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31325 if (!SWIG_IsOK(res1
)) {
31326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31328 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31330 if (!SWIG_IsOK(ecode2
)) {
31331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31333 arg2
= static_cast< int >(val2
);
31335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31336 result
= (bool)(arg1
)->Remove(arg2
);
31337 wxPyEndAllowThreads(__tstate
);
31338 if (PyErr_Occurred()) SWIG_fail
;
31341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31349 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31350 PyObject
*resultobj
= 0;
31351 wxImageList
*arg1
= (wxImageList
*) 0 ;
31355 PyObject
*swig_obj
[1] ;
31357 if (!args
) SWIG_fail
;
31358 swig_obj
[0] = args
;
31359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31360 if (!SWIG_IsOK(res1
)) {
31361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31363 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31366 result
= (bool)(arg1
)->RemoveAll();
31367 wxPyEndAllowThreads(__tstate
);
31368 if (PyErr_Occurred()) SWIG_fail
;
31371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31379 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31380 PyObject
*resultobj
= 0;
31381 wxImageList
*arg1
= (wxImageList
*) 0 ;
31390 int res3
= SWIG_TMPOBJ
;
31392 int res4
= SWIG_TMPOBJ
;
31393 PyObject
* obj0
= 0 ;
31394 PyObject
* obj1
= 0 ;
31395 char * kwnames
[] = {
31396 (char *) "self",(char *) "index", NULL
31401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31403 if (!SWIG_IsOK(res1
)) {
31404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31406 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31408 if (!SWIG_IsOK(ecode2
)) {
31409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31411 arg2
= static_cast< int >(val2
);
31413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31414 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31415 wxPyEndAllowThreads(__tstate
);
31416 if (PyErr_Occurred()) SWIG_fail
;
31418 resultobj
= SWIG_Py_Void();
31419 if (SWIG_IsTmpObj(res3
)) {
31420 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31422 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31423 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31425 if (SWIG_IsTmpObj(res4
)) {
31426 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31428 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31429 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31437 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31439 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31440 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31441 return SWIG_Py_Void();
31444 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31445 return SWIG_Python_InitShadowInstance(args
);
31448 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31449 PyObject
*resultobj
= 0;
31450 wxStockGDI
*result
= 0 ;
31452 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31455 result
= (wxStockGDI
*)new wxStockGDI();
31456 wxPyEndAllowThreads(__tstate
);
31457 if (PyErr_Occurred()) SWIG_fail
;
31459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31466 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31467 PyObject
*resultobj
= 0;
31468 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31471 PyObject
*swig_obj
[1] ;
31473 if (!args
) SWIG_fail
;
31474 swig_obj
[0] = args
;
31475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31476 if (!SWIG_IsOK(res1
)) {
31477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31479 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31484 wxPyEndAllowThreads(__tstate
);
31485 if (PyErr_Occurred()) SWIG_fail
;
31487 resultobj
= SWIG_Py_Void();
31494 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31495 PyObject
*resultobj
= 0;
31497 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31500 wxStockGDI::DeleteAll();
31501 wxPyEndAllowThreads(__tstate
);
31502 if (PyErr_Occurred()) SWIG_fail
;
31504 resultobj
= SWIG_Py_Void();
31511 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31512 PyObject
*resultobj
= 0;
31513 wxStockGDI
*result
= 0 ;
31515 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31519 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31520 result
= (wxStockGDI
*) &_result_ref
;
31522 wxPyEndAllowThreads(__tstate
);
31523 if (PyErr_Occurred()) SWIG_fail
;
31525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31532 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31533 PyObject
*resultobj
= 0;
31534 wxStockGDI::Item arg1
;
31535 wxBrush
*result
= 0 ;
31538 PyObject
* obj0
= 0 ;
31539 char * kwnames
[] = {
31540 (char *) "item", NULL
31543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31544 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31545 if (!SWIG_IsOK(ecode1
)) {
31546 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31548 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31551 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31552 wxPyEndAllowThreads(__tstate
);
31553 if (PyErr_Occurred()) SWIG_fail
;
31555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31562 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31563 PyObject
*resultobj
= 0;
31564 wxStockGDI::Item arg1
;
31565 wxColour
*result
= 0 ;
31568 PyObject
* obj0
= 0 ;
31569 char * kwnames
[] = {
31570 (char *) "item", NULL
31573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31574 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31575 if (!SWIG_IsOK(ecode1
)) {
31576 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31578 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31581 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31582 wxPyEndAllowThreads(__tstate
);
31583 if (PyErr_Occurred()) SWIG_fail
;
31585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31592 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31593 PyObject
*resultobj
= 0;
31594 wxStockGDI::Item arg1
;
31595 wxCursor
*result
= 0 ;
31598 PyObject
* obj0
= 0 ;
31599 char * kwnames
[] = {
31600 (char *) "item", NULL
31603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31604 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31605 if (!SWIG_IsOK(ecode1
)) {
31606 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31608 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31611 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31612 wxPyEndAllowThreads(__tstate
);
31613 if (PyErr_Occurred()) SWIG_fail
;
31615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
31622 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31623 PyObject
*resultobj
= 0;
31624 wxStockGDI::Item arg1
;
31625 wxPen
*result
= 0 ;
31628 PyObject
* obj0
= 0 ;
31629 char * kwnames
[] = {
31630 (char *) "item", NULL
31633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
31634 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31635 if (!SWIG_IsOK(ecode1
)) {
31636 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31638 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31641 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
31642 wxPyEndAllowThreads(__tstate
);
31643 if (PyErr_Occurred()) SWIG_fail
;
31645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31652 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31653 PyObject
*resultobj
= 0;
31654 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31655 wxStockGDI::Item arg2
;
31656 wxFont
*result
= 0 ;
31661 PyObject
* obj0
= 0 ;
31662 PyObject
* obj1
= 0 ;
31663 char * kwnames
[] = {
31664 (char *) "self",(char *) "item", NULL
31667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31669 if (!SWIG_IsOK(res1
)) {
31670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31672 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31673 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31674 if (!SWIG_IsOK(ecode2
)) {
31675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
31677 arg2
= static_cast< wxStockGDI::Item
>(val2
);
31679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31680 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
31681 wxPyEndAllowThreads(__tstate
);
31682 if (PyErr_Occurred()) SWIG_fail
;
31684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31691 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31693 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31694 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
31695 return SWIG_Py_Void();
31698 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31699 return SWIG_Python_InitShadowInstance(args
);
31702 SWIGINTERN
int NullBitmap_set(PyObject
*) {
31703 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
31708 SWIGINTERN PyObject
*NullBitmap_get(void) {
31709 PyObject
*pyobj
= 0;
31711 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
31716 SWIGINTERN
int NullIcon_set(PyObject
*) {
31717 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
31722 SWIGINTERN PyObject
*NullIcon_get(void) {
31723 PyObject
*pyobj
= 0;
31725 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
31730 SWIGINTERN
int NullCursor_set(PyObject
*) {
31731 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
31736 SWIGINTERN PyObject
*NullCursor_get(void) {
31737 PyObject
*pyobj
= 0;
31739 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
31744 SWIGINTERN
int NullPen_set(PyObject
*) {
31745 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
31750 SWIGINTERN PyObject
*NullPen_get(void) {
31751 PyObject
*pyobj
= 0;
31753 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
31758 SWIGINTERN
int NullBrush_set(PyObject
*) {
31759 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
31764 SWIGINTERN PyObject
*NullBrush_get(void) {
31765 PyObject
*pyobj
= 0;
31767 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
31772 SWIGINTERN
int NullPalette_set(PyObject
*) {
31773 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
31778 SWIGINTERN PyObject
*NullPalette_get(void) {
31779 PyObject
*pyobj
= 0;
31781 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
31786 SWIGINTERN
int NullFont_set(PyObject
*) {
31787 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
31792 SWIGINTERN PyObject
*NullFont_get(void) {
31793 PyObject
*pyobj
= 0;
31795 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
31800 SWIGINTERN
int NullColour_set(PyObject
*) {
31801 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
31806 SWIGINTERN PyObject
*NullColour_get(void) {
31807 PyObject
*pyobj
= 0;
31809 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
31814 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31815 PyObject
*resultobj
= 0;
31816 wxGDIObjListBase
*result
= 0 ;
31818 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
31820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31821 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
31822 wxPyEndAllowThreads(__tstate
);
31823 if (PyErr_Occurred()) SWIG_fail
;
31825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
31832 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31833 PyObject
*resultobj
= 0;
31834 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
31837 PyObject
*swig_obj
[1] ;
31839 if (!args
) SWIG_fail
;
31840 swig_obj
[0] = args
;
31841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
31842 if (!SWIG_IsOK(res1
)) {
31843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
31845 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
31847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31850 wxPyEndAllowThreads(__tstate
);
31851 if (PyErr_Occurred()) SWIG_fail
;
31853 resultobj
= SWIG_Py_Void();
31860 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31862 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31863 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
31864 return SWIG_Py_Void();
31867 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31868 return SWIG_Python_InitShadowInstance(args
);
31871 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31872 PyObject
*resultobj
= 0;
31873 wxPenList
*arg1
= (wxPenList
*) 0 ;
31874 wxColour
*arg2
= 0 ;
31877 wxPen
*result
= 0 ;
31885 PyObject
* obj0
= 0 ;
31886 PyObject
* obj1
= 0 ;
31887 PyObject
* obj2
= 0 ;
31888 PyObject
* obj3
= 0 ;
31889 char * kwnames
[] = {
31890 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
31893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31895 if (!SWIG_IsOK(res1
)) {
31896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
31898 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31901 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31904 if (!SWIG_IsOK(ecode3
)) {
31905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
31907 arg3
= static_cast< int >(val3
);
31908 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31909 if (!SWIG_IsOK(ecode4
)) {
31910 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
31912 arg4
= static_cast< int >(val4
);
31914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31915 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
31916 wxPyEndAllowThreads(__tstate
);
31917 if (PyErr_Occurred()) SWIG_fail
;
31919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31926 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31927 PyObject
*resultobj
= 0;
31928 wxPenList
*arg1
= (wxPenList
*) 0 ;
31929 wxPen
*arg2
= (wxPen
*) 0 ;
31934 PyObject
* obj0
= 0 ;
31935 PyObject
* obj1
= 0 ;
31936 char * kwnames
[] = {
31937 (char *) "self",(char *) "pen", NULL
31940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31942 if (!SWIG_IsOK(res1
)) {
31943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
31945 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31946 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
31947 if (!SWIG_IsOK(res2
)) {
31948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
31950 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31953 (arg1
)->AddPen(arg2
);
31954 wxPyEndAllowThreads(__tstate
);
31955 if (PyErr_Occurred()) SWIG_fail
;
31957 resultobj
= SWIG_Py_Void();
31964 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31965 PyObject
*resultobj
= 0;
31966 wxPenList
*arg1
= (wxPenList
*) 0 ;
31967 wxPen
*arg2
= (wxPen
*) 0 ;
31972 PyObject
* obj0
= 0 ;
31973 PyObject
* obj1
= 0 ;
31974 char * kwnames
[] = {
31975 (char *) "self",(char *) "pen", NULL
31978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31980 if (!SWIG_IsOK(res1
)) {
31981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
31983 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31984 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
31985 if (!SWIG_IsOK(res2
)) {
31986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
31988 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31991 (arg1
)->RemovePen(arg2
);
31992 wxPyEndAllowThreads(__tstate
);
31993 if (PyErr_Occurred()) SWIG_fail
;
31995 resultobj
= SWIG_Py_Void();
32002 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32004 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32005 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32006 return SWIG_Py_Void();
32009 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32010 PyObject
*resultobj
= 0;
32011 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32012 wxColour
*arg2
= 0 ;
32013 int arg3
= (int) wxSOLID
;
32014 wxBrush
*result
= 0 ;
32020 PyObject
* obj0
= 0 ;
32021 PyObject
* obj1
= 0 ;
32022 PyObject
* obj2
= 0 ;
32023 char * kwnames
[] = {
32024 (char *) "self",(char *) "colour",(char *) "style", NULL
32027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32029 if (!SWIG_IsOK(res1
)) {
32030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32032 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32035 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32038 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32039 if (!SWIG_IsOK(ecode3
)) {
32040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32042 arg3
= static_cast< int >(val3
);
32045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32046 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32047 wxPyEndAllowThreads(__tstate
);
32048 if (PyErr_Occurred()) SWIG_fail
;
32050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32057 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32058 PyObject
*resultobj
= 0;
32059 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32060 wxBrush
*arg2
= (wxBrush
*) 0 ;
32065 PyObject
* obj0
= 0 ;
32066 PyObject
* obj1
= 0 ;
32067 char * kwnames
[] = {
32068 (char *) "self",(char *) "brush", NULL
32071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32073 if (!SWIG_IsOK(res1
)) {
32074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32076 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32077 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32078 if (!SWIG_IsOK(res2
)) {
32079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32081 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32084 (arg1
)->AddBrush(arg2
);
32085 wxPyEndAllowThreads(__tstate
);
32086 if (PyErr_Occurred()) SWIG_fail
;
32088 resultobj
= SWIG_Py_Void();
32095 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32096 PyObject
*resultobj
= 0;
32097 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32098 wxBrush
*arg2
= (wxBrush
*) 0 ;
32103 PyObject
* obj0
= 0 ;
32104 PyObject
* obj1
= 0 ;
32105 char * kwnames
[] = {
32106 (char *) "self",(char *) "brush", NULL
32109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32111 if (!SWIG_IsOK(res1
)) {
32112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32114 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32115 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32116 if (!SWIG_IsOK(res2
)) {
32117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32119 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32122 (arg1
)->RemoveBrush(arg2
);
32123 wxPyEndAllowThreads(__tstate
);
32124 if (PyErr_Occurred()) SWIG_fail
;
32126 resultobj
= SWIG_Py_Void();
32133 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32136 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32137 return SWIG_Py_Void();
32140 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32141 PyObject
*resultobj
= 0;
32142 wxFontList
*arg1
= (wxFontList
*) 0 ;
32147 bool arg6
= (bool) false ;
32148 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32149 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32150 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32151 wxFont
*result
= 0 ;
32164 bool temp7
= false ;
32167 PyObject
* obj0
= 0 ;
32168 PyObject
* obj1
= 0 ;
32169 PyObject
* obj2
= 0 ;
32170 PyObject
* obj3
= 0 ;
32171 PyObject
* obj4
= 0 ;
32172 PyObject
* obj5
= 0 ;
32173 PyObject
* obj6
= 0 ;
32174 PyObject
* obj7
= 0 ;
32175 char * kwnames
[] = {
32176 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32181 if (!SWIG_IsOK(res1
)) {
32182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32184 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32185 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32186 if (!SWIG_IsOK(ecode2
)) {
32187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32189 arg2
= static_cast< int >(val2
);
32190 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32191 if (!SWIG_IsOK(ecode3
)) {
32192 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32194 arg3
= static_cast< int >(val3
);
32195 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32196 if (!SWIG_IsOK(ecode4
)) {
32197 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32199 arg4
= static_cast< int >(val4
);
32200 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32201 if (!SWIG_IsOK(ecode5
)) {
32202 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32204 arg5
= static_cast< int >(val5
);
32206 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32207 if (!SWIG_IsOK(ecode6
)) {
32208 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32210 arg6
= static_cast< bool >(val6
);
32214 arg7
= wxString_in_helper(obj6
);
32215 if (arg7
== NULL
) SWIG_fail
;
32220 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32221 if (!SWIG_IsOK(ecode8
)) {
32222 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32224 arg8
= static_cast< wxFontEncoding
>(val8
);
32227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32228 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32229 wxPyEndAllowThreads(__tstate
);
32230 if (PyErr_Occurred()) SWIG_fail
;
32232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32247 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32248 PyObject
*resultobj
= 0;
32249 wxFontList
*arg1
= (wxFontList
*) 0 ;
32250 wxFont
*arg2
= (wxFont
*) 0 ;
32255 PyObject
* obj0
= 0 ;
32256 PyObject
* obj1
= 0 ;
32257 char * kwnames
[] = {
32258 (char *) "self",(char *) "font", NULL
32261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32263 if (!SWIG_IsOK(res1
)) {
32264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32266 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32267 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32268 if (!SWIG_IsOK(res2
)) {
32269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32271 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32274 (arg1
)->AddFont(arg2
);
32275 wxPyEndAllowThreads(__tstate
);
32276 if (PyErr_Occurred()) SWIG_fail
;
32278 resultobj
= SWIG_Py_Void();
32285 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32286 PyObject
*resultobj
= 0;
32287 wxFontList
*arg1
= (wxFontList
*) 0 ;
32288 wxFont
*arg2
= (wxFont
*) 0 ;
32293 PyObject
* obj0
= 0 ;
32294 PyObject
* obj1
= 0 ;
32295 char * kwnames
[] = {
32296 (char *) "self",(char *) "font", NULL
32299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32301 if (!SWIG_IsOK(res1
)) {
32302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32304 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32305 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32306 if (!SWIG_IsOK(res2
)) {
32307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32309 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32312 (arg1
)->RemoveFont(arg2
);
32313 wxPyEndAllowThreads(__tstate
);
32314 if (PyErr_Occurred()) SWIG_fail
;
32316 resultobj
= SWIG_Py_Void();
32323 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32326 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32327 return SWIG_Py_Void();
32330 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32331 PyObject
*resultobj
= 0;
32332 wxColourDatabase
*result
= 0 ;
32334 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32336 if (!wxPyCheckForApp()) SWIG_fail
;
32337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32338 result
= (wxColourDatabase
*)new wxColourDatabase();
32339 wxPyEndAllowThreads(__tstate
);
32340 if (PyErr_Occurred()) SWIG_fail
;
32342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32349 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32350 PyObject
*resultobj
= 0;
32351 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32354 PyObject
*swig_obj
[1] ;
32356 if (!args
) SWIG_fail
;
32357 swig_obj
[0] = args
;
32358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32359 if (!SWIG_IsOK(res1
)) {
32360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32362 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32367 wxPyEndAllowThreads(__tstate
);
32368 if (PyErr_Occurred()) SWIG_fail
;
32370 resultobj
= SWIG_Py_Void();
32377 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32378 PyObject
*resultobj
= 0;
32379 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32380 wxString
*arg2
= 0 ;
32384 bool temp2
= false ;
32385 PyObject
* obj0
= 0 ;
32386 PyObject
* obj1
= 0 ;
32387 char * kwnames
[] = {
32388 (char *) "self",(char *) "name", NULL
32391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32393 if (!SWIG_IsOK(res1
)) {
32394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32396 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32398 arg2
= wxString_in_helper(obj1
);
32399 if (arg2
== NULL
) SWIG_fail
;
32403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32404 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32405 wxPyEndAllowThreads(__tstate
);
32406 if (PyErr_Occurred()) SWIG_fail
;
32408 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32423 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32424 PyObject
*resultobj
= 0;
32425 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32426 wxColour
*arg2
= 0 ;
32431 PyObject
* obj0
= 0 ;
32432 PyObject
* obj1
= 0 ;
32433 char * kwnames
[] = {
32434 (char *) "self",(char *) "colour", NULL
32437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32439 if (!SWIG_IsOK(res1
)) {
32440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32442 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32445 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32449 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32450 wxPyEndAllowThreads(__tstate
);
32451 if (PyErr_Occurred()) SWIG_fail
;
32455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32466 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32467 PyObject
*resultobj
= 0;
32468 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32469 wxString
*arg2
= 0 ;
32470 wxColour
*arg3
= 0 ;
32473 bool temp2
= false ;
32475 PyObject
* obj0
= 0 ;
32476 PyObject
* obj1
= 0 ;
32477 PyObject
* obj2
= 0 ;
32478 char * kwnames
[] = {
32479 (char *) "self",(char *) "name",(char *) "colour", NULL
32482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32484 if (!SWIG_IsOK(res1
)) {
32485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32487 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32489 arg2
= wxString_in_helper(obj1
);
32490 if (arg2
== NULL
) SWIG_fail
;
32495 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32499 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32500 wxPyEndAllowThreads(__tstate
);
32501 if (PyErr_Occurred()) SWIG_fail
;
32503 resultobj
= SWIG_Py_Void();
32518 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32519 PyObject
*resultobj
= 0;
32520 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32521 wxString
*arg2
= 0 ;
32527 bool temp2
= false ;
32534 PyObject
* obj0
= 0 ;
32535 PyObject
* obj1
= 0 ;
32536 PyObject
* obj2
= 0 ;
32537 PyObject
* obj3
= 0 ;
32538 PyObject
* obj4
= 0 ;
32539 char * kwnames
[] = {
32540 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32545 if (!SWIG_IsOK(res1
)) {
32546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32548 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32550 arg2
= wxString_in_helper(obj1
);
32551 if (arg2
== NULL
) SWIG_fail
;
32554 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32555 if (!SWIG_IsOK(ecode3
)) {
32556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32558 arg3
= static_cast< int >(val3
);
32559 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32560 if (!SWIG_IsOK(ecode4
)) {
32561 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32563 arg4
= static_cast< int >(val4
);
32564 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32565 if (!SWIG_IsOK(ecode5
)) {
32566 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32568 arg5
= static_cast< int >(val5
);
32570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32571 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32572 wxPyEndAllowThreads(__tstate
);
32573 if (PyErr_Occurred()) SWIG_fail
;
32575 resultobj
= SWIG_Py_Void();
32590 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32592 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32593 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32594 return SWIG_Py_Void();
32597 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32598 return SWIG_Python_InitShadowInstance(args
);
32601 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32602 PyObject
*resultobj
= 0;
32603 wxFontList
*result
= 0 ;
32605 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32608 result
= (wxFontList
*)_wxPyInitTheFontList();
32609 wxPyEndAllowThreads(__tstate
);
32610 if (PyErr_Occurred()) SWIG_fail
;
32612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32619 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32620 PyObject
*resultobj
= 0;
32621 wxPenList
*result
= 0 ;
32623 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32626 result
= (wxPenList
*)_wxPyInitThePenList();
32627 wxPyEndAllowThreads(__tstate
);
32628 if (PyErr_Occurred()) SWIG_fail
;
32630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32637 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32638 PyObject
*resultobj
= 0;
32639 wxBrushList
*result
= 0 ;
32641 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32644 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32645 wxPyEndAllowThreads(__tstate
);
32646 if (PyErr_Occurred()) SWIG_fail
;
32648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32655 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32656 PyObject
*resultobj
= 0;
32657 wxColourDatabase
*result
= 0 ;
32659 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32662 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32663 wxPyEndAllowThreads(__tstate
);
32664 if (PyErr_Occurred()) SWIG_fail
;
32666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32673 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32674 PyObject
*resultobj
= 0;
32675 wxEffects
*result
= 0 ;
32677 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32680 result
= (wxEffects
*)new wxEffects();
32681 wxPyEndAllowThreads(__tstate
);
32682 if (PyErr_Occurred()) SWIG_fail
;
32684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32691 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32692 PyObject
*resultobj
= 0;
32693 wxEffects
*arg1
= (wxEffects
*) 0 ;
32697 PyObject
*swig_obj
[1] ;
32699 if (!args
) SWIG_fail
;
32700 swig_obj
[0] = args
;
32701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32702 if (!SWIG_IsOK(res1
)) {
32703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32705 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32708 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
32709 wxPyEndAllowThreads(__tstate
);
32710 if (PyErr_Occurred()) SWIG_fail
;
32712 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32719 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32720 PyObject
*resultobj
= 0;
32721 wxEffects
*arg1
= (wxEffects
*) 0 ;
32725 PyObject
*swig_obj
[1] ;
32727 if (!args
) SWIG_fail
;
32728 swig_obj
[0] = args
;
32729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32730 if (!SWIG_IsOK(res1
)) {
32731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32733 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32736 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
32737 wxPyEndAllowThreads(__tstate
);
32738 if (PyErr_Occurred()) SWIG_fail
;
32740 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32747 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32748 PyObject
*resultobj
= 0;
32749 wxEffects
*arg1
= (wxEffects
*) 0 ;
32753 PyObject
*swig_obj
[1] ;
32755 if (!args
) SWIG_fail
;
32756 swig_obj
[0] = args
;
32757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32758 if (!SWIG_IsOK(res1
)) {
32759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32761 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32764 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
32765 wxPyEndAllowThreads(__tstate
);
32766 if (PyErr_Occurred()) SWIG_fail
;
32768 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32775 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32776 PyObject
*resultobj
= 0;
32777 wxEffects
*arg1
= (wxEffects
*) 0 ;
32781 PyObject
*swig_obj
[1] ;
32783 if (!args
) SWIG_fail
;
32784 swig_obj
[0] = args
;
32785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32786 if (!SWIG_IsOK(res1
)) {
32787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32789 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32792 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
32793 wxPyEndAllowThreads(__tstate
);
32794 if (PyErr_Occurred()) SWIG_fail
;
32796 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32803 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32804 PyObject
*resultobj
= 0;
32805 wxEffects
*arg1
= (wxEffects
*) 0 ;
32809 PyObject
*swig_obj
[1] ;
32811 if (!args
) SWIG_fail
;
32812 swig_obj
[0] = args
;
32813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32814 if (!SWIG_IsOK(res1
)) {
32815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32817 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32820 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
32821 wxPyEndAllowThreads(__tstate
);
32822 if (PyErr_Occurred()) SWIG_fail
;
32824 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32831 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32832 PyObject
*resultobj
= 0;
32833 wxEffects
*arg1
= (wxEffects
*) 0 ;
32834 wxColour
*arg2
= 0 ;
32838 PyObject
* obj0
= 0 ;
32839 PyObject
* obj1
= 0 ;
32840 char * kwnames
[] = {
32841 (char *) "self",(char *) "c", NULL
32844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32846 if (!SWIG_IsOK(res1
)) {
32847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32849 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32852 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32856 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
32857 wxPyEndAllowThreads(__tstate
);
32858 if (PyErr_Occurred()) SWIG_fail
;
32860 resultobj
= SWIG_Py_Void();
32867 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32868 PyObject
*resultobj
= 0;
32869 wxEffects
*arg1
= (wxEffects
*) 0 ;
32870 wxColour
*arg2
= 0 ;
32874 PyObject
* obj0
= 0 ;
32875 PyObject
* obj1
= 0 ;
32876 char * kwnames
[] = {
32877 (char *) "self",(char *) "c", NULL
32880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32882 if (!SWIG_IsOK(res1
)) {
32883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32885 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32888 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32892 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
32893 wxPyEndAllowThreads(__tstate
);
32894 if (PyErr_Occurred()) SWIG_fail
;
32896 resultobj
= SWIG_Py_Void();
32903 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32904 PyObject
*resultobj
= 0;
32905 wxEffects
*arg1
= (wxEffects
*) 0 ;
32906 wxColour
*arg2
= 0 ;
32910 PyObject
* obj0
= 0 ;
32911 PyObject
* obj1
= 0 ;
32912 char * kwnames
[] = {
32913 (char *) "self",(char *) "c", NULL
32916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32918 if (!SWIG_IsOK(res1
)) {
32919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32921 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32924 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32928 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
32929 wxPyEndAllowThreads(__tstate
);
32930 if (PyErr_Occurred()) SWIG_fail
;
32932 resultobj
= SWIG_Py_Void();
32939 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32940 PyObject
*resultobj
= 0;
32941 wxEffects
*arg1
= (wxEffects
*) 0 ;
32942 wxColour
*arg2
= 0 ;
32946 PyObject
* obj0
= 0 ;
32947 PyObject
* obj1
= 0 ;
32948 char * kwnames
[] = {
32949 (char *) "self",(char *) "c", NULL
32952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32954 if (!SWIG_IsOK(res1
)) {
32955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32957 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32960 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32964 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
32965 wxPyEndAllowThreads(__tstate
);
32966 if (PyErr_Occurred()) SWIG_fail
;
32968 resultobj
= SWIG_Py_Void();
32975 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32976 PyObject
*resultobj
= 0;
32977 wxEffects
*arg1
= (wxEffects
*) 0 ;
32978 wxColour
*arg2
= 0 ;
32982 PyObject
* obj0
= 0 ;
32983 PyObject
* obj1
= 0 ;
32984 char * kwnames
[] = {
32985 (char *) "self",(char *) "c", NULL
32988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32990 if (!SWIG_IsOK(res1
)) {
32991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32993 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32996 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33000 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33001 wxPyEndAllowThreads(__tstate
);
33002 if (PyErr_Occurred()) SWIG_fail
;
33004 resultobj
= SWIG_Py_Void();
33011 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33012 PyObject
*resultobj
= 0;
33013 wxEffects
*arg1
= (wxEffects
*) 0 ;
33014 wxColour
*arg2
= 0 ;
33015 wxColour
*arg3
= 0 ;
33016 wxColour
*arg4
= 0 ;
33017 wxColour
*arg5
= 0 ;
33018 wxColour
*arg6
= 0 ;
33026 PyObject
* obj0
= 0 ;
33027 PyObject
* obj1
= 0 ;
33028 PyObject
* obj2
= 0 ;
33029 PyObject
* obj3
= 0 ;
33030 PyObject
* obj4
= 0 ;
33031 PyObject
* obj5
= 0 ;
33032 char * kwnames
[] = {
33033 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33038 if (!SWIG_IsOK(res1
)) {
33039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33041 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33044 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33048 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33052 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33056 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33060 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33064 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33065 wxPyEndAllowThreads(__tstate
);
33066 if (PyErr_Occurred()) SWIG_fail
;
33068 resultobj
= SWIG_Py_Void();
33075 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33076 PyObject
*resultobj
= 0;
33077 wxEffects
*arg1
= (wxEffects
*) 0 ;
33080 int arg4
= (int) 1 ;
33088 PyObject
* obj0
= 0 ;
33089 PyObject
* obj1
= 0 ;
33090 PyObject
* obj2
= 0 ;
33091 PyObject
* obj3
= 0 ;
33092 char * kwnames
[] = {
33093 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33098 if (!SWIG_IsOK(res1
)) {
33099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33101 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33102 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33103 if (!SWIG_IsOK(res2
)) {
33104 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33107 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33109 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33112 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33115 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33116 if (!SWIG_IsOK(ecode4
)) {
33117 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33119 arg4
= static_cast< int >(val4
);
33122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33123 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33124 wxPyEndAllowThreads(__tstate
);
33125 if (PyErr_Occurred()) SWIG_fail
;
33127 resultobj
= SWIG_Py_Void();
33134 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33135 PyObject
*resultobj
= 0;
33136 wxEffects
*arg1
= (wxEffects
*) 0 ;
33139 wxBitmap
*arg4
= 0 ;
33148 PyObject
* obj0
= 0 ;
33149 PyObject
* obj1
= 0 ;
33150 PyObject
* obj2
= 0 ;
33151 PyObject
* obj3
= 0 ;
33152 char * kwnames
[] = {
33153 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33158 if (!SWIG_IsOK(res1
)) {
33159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33161 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33164 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33166 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33167 if (!SWIG_IsOK(res3
)) {
33168 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33173 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33174 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33175 if (!SWIG_IsOK(res4
)) {
33176 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33181 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33184 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33185 wxPyEndAllowThreads(__tstate
);
33186 if (PyErr_Occurred()) SWIG_fail
;
33189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33197 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33199 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33200 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33201 return SWIG_Py_Void();
33204 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33205 return SWIG_Python_InitShadowInstance(args
);
33208 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33209 PyObject
*resultobj
= 0;
33213 wxSplitterRenderParams
*result
= 0 ;
33220 PyObject
* obj0
= 0 ;
33221 PyObject
* obj1
= 0 ;
33222 PyObject
* obj2
= 0 ;
33223 char * kwnames
[] = {
33224 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33228 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33229 if (!SWIG_IsOK(ecode1
)) {
33230 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33232 arg1
= static_cast< int >(val1
);
33233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33234 if (!SWIG_IsOK(ecode2
)) {
33235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33237 arg2
= static_cast< int >(val2
);
33238 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33239 if (!SWIG_IsOK(ecode3
)) {
33240 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33242 arg3
= static_cast< bool >(val3
);
33244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33245 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33246 wxPyEndAllowThreads(__tstate
);
33247 if (PyErr_Occurred()) SWIG_fail
;
33249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33256 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33257 PyObject
*resultobj
= 0;
33258 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33261 PyObject
*swig_obj
[1] ;
33263 if (!args
) SWIG_fail
;
33264 swig_obj
[0] = args
;
33265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33266 if (!SWIG_IsOK(res1
)) {
33267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33269 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33274 wxPyEndAllowThreads(__tstate
);
33275 if (PyErr_Occurred()) SWIG_fail
;
33277 resultobj
= SWIG_Py_Void();
33284 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33285 PyObject
*resultobj
= 0;
33286 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33290 PyObject
*swig_obj
[1] ;
33292 if (!args
) SWIG_fail
;
33293 swig_obj
[0] = args
;
33294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33295 if (!SWIG_IsOK(res1
)) {
33296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33298 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33299 result
= (int)(int) ((arg1
)->widthSash
);
33300 resultobj
= SWIG_From_int(static_cast< int >(result
));
33307 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33308 PyObject
*resultobj
= 0;
33309 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33313 PyObject
*swig_obj
[1] ;
33315 if (!args
) SWIG_fail
;
33316 swig_obj
[0] = args
;
33317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33318 if (!SWIG_IsOK(res1
)) {
33319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33321 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33322 result
= (int)(int) ((arg1
)->border
);
33323 resultobj
= SWIG_From_int(static_cast< int >(result
));
33330 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33331 PyObject
*resultobj
= 0;
33332 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33336 PyObject
*swig_obj
[1] ;
33338 if (!args
) SWIG_fail
;
33339 swig_obj
[0] = args
;
33340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33341 if (!SWIG_IsOK(res1
)) {
33342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33344 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33345 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33346 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33353 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33355 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33356 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33357 return SWIG_Py_Void();
33360 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33361 return SWIG_Python_InitShadowInstance(args
);
33364 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33365 PyObject
*resultobj
= 0;
33366 wxHeaderButtonParams
*result
= 0 ;
33368 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33371 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33372 wxPyEndAllowThreads(__tstate
);
33373 if (PyErr_Occurred()) SWIG_fail
;
33375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33382 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33383 PyObject
*resultobj
= 0;
33384 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33387 PyObject
*swig_obj
[1] ;
33389 if (!args
) SWIG_fail
;
33390 swig_obj
[0] = args
;
33391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33392 if (!SWIG_IsOK(res1
)) {
33393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33395 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33400 wxPyEndAllowThreads(__tstate
);
33401 if (PyErr_Occurred()) SWIG_fail
;
33403 resultobj
= SWIG_Py_Void();
33410 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33411 PyObject
*resultobj
= 0;
33412 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33413 wxColour
*arg2
= (wxColour
*) 0 ;
33417 PyObject
*swig_obj
[2] ;
33419 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33421 if (!SWIG_IsOK(res1
)) {
33422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33424 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33427 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33429 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33431 resultobj
= SWIG_Py_Void();
33438 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33439 PyObject
*resultobj
= 0;
33440 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33441 wxColour
*result
= 0 ;
33444 PyObject
*swig_obj
[1] ;
33446 if (!args
) SWIG_fail
;
33447 swig_obj
[0] = args
;
33448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33449 if (!SWIG_IsOK(res1
)) {
33450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33452 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33453 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33461 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33462 PyObject
*resultobj
= 0;
33463 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33464 wxColour
*arg2
= (wxColour
*) 0 ;
33468 PyObject
*swig_obj
[2] ;
33470 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33472 if (!SWIG_IsOK(res1
)) {
33473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33475 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33478 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33480 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33482 resultobj
= SWIG_Py_Void();
33489 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33490 PyObject
*resultobj
= 0;
33491 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33492 wxColour
*result
= 0 ;
33495 PyObject
*swig_obj
[1] ;
33497 if (!args
) SWIG_fail
;
33498 swig_obj
[0] = args
;
33499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33500 if (!SWIG_IsOK(res1
)) {
33501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33503 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33504 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33512 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33513 PyObject
*resultobj
= 0;
33514 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33515 wxString
*arg2
= (wxString
*) 0 ;
33518 bool temp2
= false ;
33519 PyObject
*swig_obj
[2] ;
33521 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33523 if (!SWIG_IsOK(res1
)) {
33524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33526 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33528 arg2
= wxString_in_helper(swig_obj
[1]);
33529 if (arg2
== NULL
) SWIG_fail
;
33532 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33534 resultobj
= SWIG_Py_Void();
33549 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33550 PyObject
*resultobj
= 0;
33551 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33552 wxString
*result
= 0 ;
33555 PyObject
*swig_obj
[1] ;
33557 if (!args
) SWIG_fail
;
33558 swig_obj
[0] = args
;
33559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33560 if (!SWIG_IsOK(res1
)) {
33561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33563 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33564 result
= (wxString
*)& ((arg1
)->m_labelText
);
33567 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33569 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33578 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33579 PyObject
*resultobj
= 0;
33580 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33581 wxFont
*arg2
= (wxFont
*) 0 ;
33586 PyObject
*swig_obj
[2] ;
33588 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33590 if (!SWIG_IsOK(res1
)) {
33591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33593 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33594 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33595 if (!SWIG_IsOK(res2
)) {
33596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33598 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33599 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33601 resultobj
= SWIG_Py_Void();
33608 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33609 PyObject
*resultobj
= 0;
33610 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33611 wxFont
*result
= 0 ;
33614 PyObject
*swig_obj
[1] ;
33616 if (!args
) SWIG_fail
;
33617 swig_obj
[0] = args
;
33618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33619 if (!SWIG_IsOK(res1
)) {
33620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33622 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33623 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33631 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33632 PyObject
*resultobj
= 0;
33633 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33634 wxColour
*arg2
= (wxColour
*) 0 ;
33638 PyObject
*swig_obj
[2] ;
33640 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33642 if (!SWIG_IsOK(res1
)) {
33643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33645 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33648 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33650 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33652 resultobj
= SWIG_Py_Void();
33659 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33660 PyObject
*resultobj
= 0;
33661 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33662 wxColour
*result
= 0 ;
33665 PyObject
*swig_obj
[1] ;
33667 if (!args
) SWIG_fail
;
33668 swig_obj
[0] = args
;
33669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33670 if (!SWIG_IsOK(res1
)) {
33671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33673 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33674 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33682 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33683 PyObject
*resultobj
= 0;
33684 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33685 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33690 PyObject
*swig_obj
[2] ;
33692 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33694 if (!SWIG_IsOK(res1
)) {
33695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33697 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33698 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33699 if (!SWIG_IsOK(res2
)) {
33700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33702 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33703 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33705 resultobj
= SWIG_Py_Void();
33712 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33713 PyObject
*resultobj
= 0;
33714 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33715 wxBitmap
*result
= 0 ;
33718 PyObject
*swig_obj
[1] ;
33720 if (!args
) SWIG_fail
;
33721 swig_obj
[0] = args
;
33722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33723 if (!SWIG_IsOK(res1
)) {
33724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33726 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33727 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33735 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33736 PyObject
*resultobj
= 0;
33737 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33743 PyObject
*swig_obj
[2] ;
33745 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33747 if (!SWIG_IsOK(res1
)) {
33748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33750 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33751 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33752 if (!SWIG_IsOK(ecode2
)) {
33753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33755 arg2
= static_cast< int >(val2
);
33756 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33758 resultobj
= SWIG_Py_Void();
33765 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33766 PyObject
*resultobj
= 0;
33767 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33771 PyObject
*swig_obj
[1] ;
33773 if (!args
) SWIG_fail
;
33774 swig_obj
[0] = args
;
33775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33776 if (!SWIG_IsOK(res1
)) {
33777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33779 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33780 result
= (int) ((arg1
)->m_labelAlignment
);
33781 resultobj
= SWIG_From_int(static_cast< int >(result
));
33788 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33790 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33791 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
33792 return SWIG_Py_Void();
33795 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33796 return SWIG_Python_InitShadowInstance(args
);
33799 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33800 PyObject
*resultobj
= 0;
33803 wxRendererVersion
*result
= 0 ;
33808 PyObject
* obj0
= 0 ;
33809 PyObject
* obj1
= 0 ;
33810 char * kwnames
[] = {
33811 (char *) "version_",(char *) "age_", NULL
33814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33815 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33816 if (!SWIG_IsOK(ecode1
)) {
33817 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
33819 arg1
= static_cast< int >(val1
);
33820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33821 if (!SWIG_IsOK(ecode2
)) {
33822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
33824 arg2
= static_cast< int >(val2
);
33826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33827 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
33828 wxPyEndAllowThreads(__tstate
);
33829 if (PyErr_Occurred()) SWIG_fail
;
33831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
33838 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33839 PyObject
*resultobj
= 0;
33840 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33843 PyObject
*swig_obj
[1] ;
33845 if (!args
) SWIG_fail
;
33846 swig_obj
[0] = args
;
33847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
33848 if (!SWIG_IsOK(res1
)) {
33849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33851 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33856 wxPyEndAllowThreads(__tstate
);
33857 if (PyErr_Occurred()) SWIG_fail
;
33859 resultobj
= SWIG_Py_Void();
33866 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33867 PyObject
*resultobj
= 0;
33868 wxRendererVersion
*arg1
= 0 ;
33872 PyObject
* obj0
= 0 ;
33873 char * kwnames
[] = {
33874 (char *) "ver", NULL
33877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
33878 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
33879 if (!SWIG_IsOK(res1
)) {
33880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33885 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33888 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
33889 wxPyEndAllowThreads(__tstate
);
33890 if (PyErr_Occurred()) SWIG_fail
;
33893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33901 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33902 PyObject
*resultobj
= 0;
33903 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33907 PyObject
*swig_obj
[1] ;
33909 if (!args
) SWIG_fail
;
33910 swig_obj
[0] = args
;
33911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33912 if (!SWIG_IsOK(res1
)) {
33913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33915 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33916 result
= (int)(int) ((arg1
)->version
);
33917 resultobj
= SWIG_From_int(static_cast< int >(result
));
33924 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33925 PyObject
*resultobj
= 0;
33926 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33930 PyObject
*swig_obj
[1] ;
33932 if (!args
) SWIG_fail
;
33933 swig_obj
[0] = args
;
33934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33935 if (!SWIG_IsOK(res1
)) {
33936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33938 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33939 result
= (int)(int) ((arg1
)->age
);
33940 resultobj
= SWIG_From_int(static_cast< int >(result
));
33947 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33949 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33950 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
33951 return SWIG_Py_Void();
33954 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33955 return SWIG_Python_InitShadowInstance(args
);
33958 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33959 PyObject
*resultobj
= 0;
33960 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33961 wxWindow
*arg2
= (wxWindow
*) 0 ;
33964 int arg5
= (int) 0 ;
33965 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
33966 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
33980 PyObject
* obj0
= 0 ;
33981 PyObject
* obj1
= 0 ;
33982 PyObject
* obj2
= 0 ;
33983 PyObject
* obj3
= 0 ;
33984 PyObject
* obj4
= 0 ;
33985 PyObject
* obj5
= 0 ;
33986 PyObject
* obj6
= 0 ;
33987 char * kwnames
[] = {
33988 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
33991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33993 if (!SWIG_IsOK(res1
)) {
33994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33996 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33997 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33998 if (!SWIG_IsOK(res2
)) {
33999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34001 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34002 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34003 if (!SWIG_IsOK(res3
)) {
34004 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34009 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34012 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34015 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34016 if (!SWIG_IsOK(ecode5
)) {
34017 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34019 arg5
= static_cast< int >(val5
);
34022 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34023 if (!SWIG_IsOK(ecode6
)) {
34024 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34026 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34029 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34030 if (!SWIG_IsOK(res7
)) {
34031 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34033 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34037 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34038 wxPyEndAllowThreads(__tstate
);
34039 if (PyErr_Occurred()) SWIG_fail
;
34041 resultobj
= SWIG_Py_Void();
34048 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34049 PyObject
*resultobj
= 0;
34050 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34051 wxWindow
*arg2
= (wxWindow
*) 0 ;
34054 int arg5
= (int) 0 ;
34055 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34056 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34070 PyObject
* obj0
= 0 ;
34071 PyObject
* obj1
= 0 ;
34072 PyObject
* obj2
= 0 ;
34073 PyObject
* obj3
= 0 ;
34074 PyObject
* obj4
= 0 ;
34075 PyObject
* obj5
= 0 ;
34076 PyObject
* obj6
= 0 ;
34077 char * kwnames
[] = {
34078 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34083 if (!SWIG_IsOK(res1
)) {
34084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34086 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34087 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34088 if (!SWIG_IsOK(res2
)) {
34089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34091 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34092 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34093 if (!SWIG_IsOK(res3
)) {
34094 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34099 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34102 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34105 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34106 if (!SWIG_IsOK(ecode5
)) {
34107 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34109 arg5
= static_cast< int >(val5
);
34112 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34113 if (!SWIG_IsOK(ecode6
)) {
34114 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34116 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34119 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34120 if (!SWIG_IsOK(res7
)) {
34121 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34123 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34127 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34128 wxPyEndAllowThreads(__tstate
);
34129 if (PyErr_Occurred()) SWIG_fail
;
34131 resultobj
= SWIG_Py_Void();
34138 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34139 PyObject
*resultobj
= 0;
34140 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34141 wxWindow
*arg2
= (wxWindow
*) 0 ;
34147 PyObject
* obj0
= 0 ;
34148 PyObject
* obj1
= 0 ;
34149 char * kwnames
[] = {
34150 (char *) "self",(char *) "win", NULL
34153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34155 if (!SWIG_IsOK(res1
)) {
34156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34158 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34159 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34160 if (!SWIG_IsOK(res2
)) {
34161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34163 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34166 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34167 wxPyEndAllowThreads(__tstate
);
34168 if (PyErr_Occurred()) SWIG_fail
;
34170 resultobj
= SWIG_From_int(static_cast< int >(result
));
34177 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34178 PyObject
*resultobj
= 0;
34179 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34180 wxWindow
*arg2
= (wxWindow
*) 0 ;
34183 int arg5
= (int) 0 ;
34193 PyObject
* obj0
= 0 ;
34194 PyObject
* obj1
= 0 ;
34195 PyObject
* obj2
= 0 ;
34196 PyObject
* obj3
= 0 ;
34197 PyObject
* obj4
= 0 ;
34198 char * kwnames
[] = {
34199 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34204 if (!SWIG_IsOK(res1
)) {
34205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34207 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34208 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34209 if (!SWIG_IsOK(res2
)) {
34210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34212 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34213 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34214 if (!SWIG_IsOK(res3
)) {
34215 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34220 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34223 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34226 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34227 if (!SWIG_IsOK(ecode5
)) {
34228 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34230 arg5
= static_cast< int >(val5
);
34233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34234 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34235 wxPyEndAllowThreads(__tstate
);
34236 if (PyErr_Occurred()) SWIG_fail
;
34238 resultobj
= SWIG_Py_Void();
34245 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34246 PyObject
*resultobj
= 0;
34247 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34248 wxWindow
*arg2
= (wxWindow
*) 0 ;
34251 int arg5
= (int) 0 ;
34261 PyObject
* obj0
= 0 ;
34262 PyObject
* obj1
= 0 ;
34263 PyObject
* obj2
= 0 ;
34264 PyObject
* obj3
= 0 ;
34265 PyObject
* obj4
= 0 ;
34266 char * kwnames
[] = {
34267 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34272 if (!SWIG_IsOK(res1
)) {
34273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34275 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34276 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34277 if (!SWIG_IsOK(res2
)) {
34278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34280 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34281 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34282 if (!SWIG_IsOK(res3
)) {
34283 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34288 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34291 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34294 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34295 if (!SWIG_IsOK(ecode5
)) {
34296 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34298 arg5
= static_cast< int >(val5
);
34301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34302 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34303 wxPyEndAllowThreads(__tstate
);
34304 if (PyErr_Occurred()) SWIG_fail
;
34306 resultobj
= SWIG_Py_Void();
34313 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34314 PyObject
*resultobj
= 0;
34315 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34316 wxWindow
*arg2
= (wxWindow
*) 0 ;
34320 wxOrientation arg6
;
34321 int arg7
= (int) 0 ;
34335 PyObject
* obj0
= 0 ;
34336 PyObject
* obj1
= 0 ;
34337 PyObject
* obj2
= 0 ;
34338 PyObject
* obj3
= 0 ;
34339 PyObject
* obj4
= 0 ;
34340 PyObject
* obj5
= 0 ;
34341 PyObject
* obj6
= 0 ;
34342 char * kwnames
[] = {
34343 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34348 if (!SWIG_IsOK(res1
)) {
34349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34351 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34352 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34353 if (!SWIG_IsOK(res2
)) {
34354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34356 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34357 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34358 if (!SWIG_IsOK(res3
)) {
34359 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34364 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34367 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34369 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34370 if (!SWIG_IsOK(ecode5
)) {
34371 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34373 arg5
= static_cast< int >(val5
);
34374 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34375 if (!SWIG_IsOK(ecode6
)) {
34376 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34378 arg6
= static_cast< wxOrientation
>(val6
);
34380 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34381 if (!SWIG_IsOK(ecode7
)) {
34382 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34384 arg7
= static_cast< int >(val7
);
34387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34388 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34389 wxPyEndAllowThreads(__tstate
);
34390 if (PyErr_Occurred()) SWIG_fail
;
34392 resultobj
= SWIG_Py_Void();
34399 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34400 PyObject
*resultobj
= 0;
34401 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34402 wxWindow
*arg2
= (wxWindow
*) 0 ;
34405 int arg5
= (int) 0 ;
34415 PyObject
* obj0
= 0 ;
34416 PyObject
* obj1
= 0 ;
34417 PyObject
* obj2
= 0 ;
34418 PyObject
* obj3
= 0 ;
34419 PyObject
* obj4
= 0 ;
34420 char * kwnames
[] = {
34421 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34426 if (!SWIG_IsOK(res1
)) {
34427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34429 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34430 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34431 if (!SWIG_IsOK(res2
)) {
34432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34434 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34435 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34436 if (!SWIG_IsOK(res3
)) {
34437 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34442 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34445 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34448 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34449 if (!SWIG_IsOK(ecode5
)) {
34450 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34452 arg5
= static_cast< int >(val5
);
34455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34456 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34457 wxPyEndAllowThreads(__tstate
);
34458 if (PyErr_Occurred()) SWIG_fail
;
34460 resultobj
= SWIG_Py_Void();
34467 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34468 PyObject
*resultobj
= 0;
34469 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34470 wxWindow
*arg2
= (wxWindow
*) 0 ;
34473 int arg5
= (int) 0 ;
34483 PyObject
* obj0
= 0 ;
34484 PyObject
* obj1
= 0 ;
34485 PyObject
* obj2
= 0 ;
34486 PyObject
* obj3
= 0 ;
34487 PyObject
* obj4
= 0 ;
34488 char * kwnames
[] = {
34489 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34494 if (!SWIG_IsOK(res1
)) {
34495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34497 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34498 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34499 if (!SWIG_IsOK(res2
)) {
34500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34502 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34503 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34504 if (!SWIG_IsOK(res3
)) {
34505 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34510 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34513 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34516 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34517 if (!SWIG_IsOK(ecode5
)) {
34518 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34520 arg5
= static_cast< int >(val5
);
34523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34524 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34525 wxPyEndAllowThreads(__tstate
);
34526 if (PyErr_Occurred()) SWIG_fail
;
34528 resultobj
= SWIG_Py_Void();
34535 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34536 PyObject
*resultobj
= 0;
34537 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34538 wxWindow
*arg2
= (wxWindow
*) 0 ;
34541 int arg5
= (int) 0 ;
34551 PyObject
* obj0
= 0 ;
34552 PyObject
* obj1
= 0 ;
34553 PyObject
* obj2
= 0 ;
34554 PyObject
* obj3
= 0 ;
34555 PyObject
* obj4
= 0 ;
34556 char * kwnames
[] = {
34557 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34562 if (!SWIG_IsOK(res1
)) {
34563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34565 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34567 if (!SWIG_IsOK(res2
)) {
34568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34570 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34571 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34572 if (!SWIG_IsOK(res3
)) {
34573 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34578 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34581 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34584 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34585 if (!SWIG_IsOK(ecode5
)) {
34586 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34588 arg5
= static_cast< int >(val5
);
34591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34592 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34593 wxPyEndAllowThreads(__tstate
);
34594 if (PyErr_Occurred()) SWIG_fail
;
34596 resultobj
= SWIG_Py_Void();
34603 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34604 PyObject
*resultobj
= 0;
34605 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34606 wxWindow
*arg2
= (wxWindow
*) 0 ;
34609 int arg5
= (int) 0 ;
34619 PyObject
* obj0
= 0 ;
34620 PyObject
* obj1
= 0 ;
34621 PyObject
* obj2
= 0 ;
34622 PyObject
* obj3
= 0 ;
34623 PyObject
* obj4
= 0 ;
34624 char * kwnames
[] = {
34625 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34630 if (!SWIG_IsOK(res1
)) {
34631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34633 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34634 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34635 if (!SWIG_IsOK(res2
)) {
34636 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34638 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34639 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34640 if (!SWIG_IsOK(res3
)) {
34641 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34646 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34649 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34652 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34653 if (!SWIG_IsOK(ecode5
)) {
34654 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34656 arg5
= static_cast< int >(val5
);
34659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34660 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34661 wxPyEndAllowThreads(__tstate
);
34662 if (PyErr_Occurred()) SWIG_fail
;
34664 resultobj
= SWIG_Py_Void();
34671 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34672 PyObject
*resultobj
= 0;
34673 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34674 wxWindow
*arg2
= (wxWindow
*) 0 ;
34677 int arg5
= (int) 0 ;
34687 PyObject
* obj0
= 0 ;
34688 PyObject
* obj1
= 0 ;
34689 PyObject
* obj2
= 0 ;
34690 PyObject
* obj3
= 0 ;
34691 PyObject
* obj4
= 0 ;
34692 char * kwnames
[] = {
34693 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34698 if (!SWIG_IsOK(res1
)) {
34699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34701 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34702 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34703 if (!SWIG_IsOK(res2
)) {
34704 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34706 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34707 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34708 if (!SWIG_IsOK(res3
)) {
34709 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34714 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34717 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34720 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34721 if (!SWIG_IsOK(ecode5
)) {
34722 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34724 arg5
= static_cast< int >(val5
);
34727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34728 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34729 wxPyEndAllowThreads(__tstate
);
34730 if (PyErr_Occurred()) SWIG_fail
;
34732 resultobj
= SWIG_Py_Void();
34739 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34740 PyObject
*resultobj
= 0;
34741 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34742 wxWindow
*arg2
= (wxWindow
*) 0 ;
34743 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34748 PyObject
* obj0
= 0 ;
34749 PyObject
* obj1
= 0 ;
34750 char * kwnames
[] = {
34751 (char *) "self",(char *) "win", NULL
34754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34756 if (!SWIG_IsOK(res1
)) {
34757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34759 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34760 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34761 if (!SWIG_IsOK(res2
)) {
34762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
34764 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34767 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
34768 wxPyEndAllowThreads(__tstate
);
34769 if (PyErr_Occurred()) SWIG_fail
;
34771 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
34778 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34779 PyObject
*resultobj
= 0;
34780 wxRendererNative
*result
= 0 ;
34782 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
34784 if (!wxPyCheckForApp()) SWIG_fail
;
34785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34787 wxRendererNative
&_result_ref
= wxRendererNative::Get();
34788 result
= (wxRendererNative
*) &_result_ref
;
34790 wxPyEndAllowThreads(__tstate
);
34791 if (PyErr_Occurred()) SWIG_fail
;
34793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34800 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34801 PyObject
*resultobj
= 0;
34802 wxRendererNative
*result
= 0 ;
34804 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
34806 if (!wxPyCheckForApp()) SWIG_fail
;
34807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34809 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
34810 result
= (wxRendererNative
*) &_result_ref
;
34812 wxPyEndAllowThreads(__tstate
);
34813 if (PyErr_Occurred()) SWIG_fail
;
34815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34822 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34823 PyObject
*resultobj
= 0;
34824 wxRendererNative
*result
= 0 ;
34826 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
34828 if (!wxPyCheckForApp()) SWIG_fail
;
34829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34831 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
34832 result
= (wxRendererNative
*) &_result_ref
;
34834 wxPyEndAllowThreads(__tstate
);
34835 if (PyErr_Occurred()) SWIG_fail
;
34837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34844 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34845 PyObject
*resultobj
= 0;
34846 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34847 wxRendererNative
*result
= 0 ;
34850 PyObject
* obj0
= 0 ;
34851 char * kwnames
[] = {
34852 (char *) "renderer", NULL
34855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
34856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34857 if (!SWIG_IsOK(res1
)) {
34858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34860 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34862 if (!wxPyCheckForApp()) SWIG_fail
;
34863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34864 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
34865 wxPyEndAllowThreads(__tstate
);
34866 if (PyErr_Occurred()) SWIG_fail
;
34868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34875 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34876 PyObject
*resultobj
= 0;
34877 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34878 SwigValueWrapper
<wxRendererVersion
> result
;
34881 PyObject
*swig_obj
[1] ;
34883 if (!args
) SWIG_fail
;
34884 swig_obj
[0] = args
;
34885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34886 if (!SWIG_IsOK(res1
)) {
34887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
34889 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34892 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
34893 wxPyEndAllowThreads(__tstate
);
34894 if (PyErr_Occurred()) SWIG_fail
;
34896 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
34903 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34905 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34906 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
34907 return SWIG_Py_Void();
34910 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34911 PyObject
*resultobj
= 0;
34912 wxPseudoDC
*result
= 0 ;
34914 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
34916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34917 result
= (wxPseudoDC
*)new wxPseudoDC();
34918 wxPyEndAllowThreads(__tstate
);
34919 if (PyErr_Occurred()) SWIG_fail
;
34921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
34928 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34929 PyObject
*resultobj
= 0;
34930 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34933 PyObject
*swig_obj
[1] ;
34935 if (!args
) SWIG_fail
;
34936 swig_obj
[0] = args
;
34937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34938 if (!SWIG_IsOK(res1
)) {
34939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34941 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34944 (arg1
)->BeginDrawing();
34945 wxPyEndAllowThreads(__tstate
);
34946 if (PyErr_Occurred()) SWIG_fail
;
34948 resultobj
= SWIG_Py_Void();
34955 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34956 PyObject
*resultobj
= 0;
34957 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34960 PyObject
*swig_obj
[1] ;
34962 if (!args
) SWIG_fail
;
34963 swig_obj
[0] = args
;
34964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34965 if (!SWIG_IsOK(res1
)) {
34966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34968 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34971 (arg1
)->EndDrawing();
34972 wxPyEndAllowThreads(__tstate
);
34973 if (PyErr_Occurred()) SWIG_fail
;
34975 resultobj
= SWIG_Py_Void();
34982 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34983 PyObject
*resultobj
= 0;
34984 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34987 PyObject
*swig_obj
[1] ;
34989 if (!args
) SWIG_fail
;
34990 swig_obj
[0] = args
;
34991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
34992 if (!SWIG_IsOK(res1
)) {
34993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34995 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35000 wxPyEndAllowThreads(__tstate
);
35001 if (PyErr_Occurred()) SWIG_fail
;
35003 resultobj
= SWIG_Py_Void();
35010 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35011 PyObject
*resultobj
= 0;
35012 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35015 PyObject
*swig_obj
[1] ;
35017 if (!args
) SWIG_fail
;
35018 swig_obj
[0] = args
;
35019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35020 if (!SWIG_IsOK(res1
)) {
35021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35023 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35026 (arg1
)->RemoveAll();
35027 wxPyEndAllowThreads(__tstate
);
35028 if (PyErr_Occurred()) SWIG_fail
;
35030 resultobj
= SWIG_Py_Void();
35037 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35038 PyObject
*resultobj
= 0;
35039 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35043 PyObject
*swig_obj
[1] ;
35045 if (!args
) SWIG_fail
;
35046 swig_obj
[0] = args
;
35047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35048 if (!SWIG_IsOK(res1
)) {
35049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35051 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35054 result
= (int)(arg1
)->GetLen();
35055 wxPyEndAllowThreads(__tstate
);
35056 if (PyErr_Occurred()) SWIG_fail
;
35058 resultobj
= SWIG_From_int(static_cast< int >(result
));
35065 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35066 PyObject
*resultobj
= 0;
35067 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35073 PyObject
* obj0
= 0 ;
35074 PyObject
* obj1
= 0 ;
35075 char * kwnames
[] = {
35076 (char *) "self",(char *) "id", NULL
35079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35081 if (!SWIG_IsOK(res1
)) {
35082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35084 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35086 if (!SWIG_IsOK(ecode2
)) {
35087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35089 arg2
= static_cast< int >(val2
);
35091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35092 (arg1
)->SetId(arg2
);
35093 wxPyEndAllowThreads(__tstate
);
35094 if (PyErr_Occurred()) SWIG_fail
;
35096 resultobj
= SWIG_Py_Void();
35103 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35104 PyObject
*resultobj
= 0;
35105 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35111 PyObject
* obj0
= 0 ;
35112 PyObject
* obj1
= 0 ;
35113 char * kwnames
[] = {
35114 (char *) "self",(char *) "id", NULL
35117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35119 if (!SWIG_IsOK(res1
)) {
35120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35122 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35124 if (!SWIG_IsOK(ecode2
)) {
35125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35127 arg2
= static_cast< int >(val2
);
35129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35130 (arg1
)->ClearId(arg2
);
35131 wxPyEndAllowThreads(__tstate
);
35132 if (PyErr_Occurred()) SWIG_fail
;
35134 resultobj
= SWIG_Py_Void();
35141 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35142 PyObject
*resultobj
= 0;
35143 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35149 PyObject
* obj0
= 0 ;
35150 PyObject
* obj1
= 0 ;
35151 char * kwnames
[] = {
35152 (char *) "self",(char *) "id", NULL
35155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35157 if (!SWIG_IsOK(res1
)) {
35158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35160 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35162 if (!SWIG_IsOK(ecode2
)) {
35163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35165 arg2
= static_cast< int >(val2
);
35167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35168 (arg1
)->RemoveId(arg2
);
35169 wxPyEndAllowThreads(__tstate
);
35170 if (PyErr_Occurred()) SWIG_fail
;
35172 resultobj
= SWIG_Py_Void();
35179 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35180 PyObject
*resultobj
= 0;
35181 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35193 PyObject
* obj0
= 0 ;
35194 PyObject
* obj1
= 0 ;
35195 PyObject
* obj2
= 0 ;
35196 PyObject
* obj3
= 0 ;
35197 char * kwnames
[] = {
35198 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35203 if (!SWIG_IsOK(res1
)) {
35204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35206 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35208 if (!SWIG_IsOK(ecode2
)) {
35209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35211 arg2
= static_cast< int >(val2
);
35212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35213 if (!SWIG_IsOK(ecode3
)) {
35214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35216 arg3
= static_cast< int >(val3
);
35217 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35218 if (!SWIG_IsOK(ecode4
)) {
35219 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35221 arg4
= static_cast< int >(val4
);
35223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35224 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35225 wxPyEndAllowThreads(__tstate
);
35226 if (PyErr_Occurred()) SWIG_fail
;
35228 resultobj
= SWIG_Py_Void();
35235 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35236 PyObject
*resultobj
= 0;
35237 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35239 bool arg3
= (bool) true ;
35246 PyObject
* obj0
= 0 ;
35247 PyObject
* obj1
= 0 ;
35248 PyObject
* obj2
= 0 ;
35249 char * kwnames
[] = {
35250 (char *) "self",(char *) "id",(char *) "greyout", NULL
35253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35255 if (!SWIG_IsOK(res1
)) {
35256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35258 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35260 if (!SWIG_IsOK(ecode2
)) {
35261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35263 arg2
= static_cast< int >(val2
);
35265 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35266 if (!SWIG_IsOK(ecode3
)) {
35267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35269 arg3
= static_cast< bool >(val3
);
35272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35273 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35274 wxPyEndAllowThreads(__tstate
);
35275 if (PyErr_Occurred()) SWIG_fail
;
35277 resultobj
= SWIG_Py_Void();
35284 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35285 PyObject
*resultobj
= 0;
35286 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35293 PyObject
* obj0
= 0 ;
35294 PyObject
* obj1
= 0 ;
35295 char * kwnames
[] = {
35296 (char *) "self",(char *) "id", NULL
35299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35301 if (!SWIG_IsOK(res1
)) {
35302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35304 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35306 if (!SWIG_IsOK(ecode2
)) {
35307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35309 arg2
= static_cast< int >(val2
);
35311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35312 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35313 wxPyEndAllowThreads(__tstate
);
35314 if (PyErr_Occurred()) SWIG_fail
;
35317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35325 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35326 PyObject
*resultobj
= 0;
35327 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35330 int arg4
= (int) 1 ;
35331 wxColor
const &arg5_defvalue
= *wxWHITE
;
35332 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35333 PyObject
*result
= 0 ;
35344 PyObject
* obj0
= 0 ;
35345 PyObject
* obj1
= 0 ;
35346 PyObject
* obj2
= 0 ;
35347 PyObject
* obj3
= 0 ;
35348 PyObject
* obj4
= 0 ;
35349 char * kwnames
[] = {
35350 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35355 if (!SWIG_IsOK(res1
)) {
35356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35358 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35360 if (!SWIG_IsOK(ecode2
)) {
35361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35363 arg2
= static_cast< int >(val2
);
35364 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35365 if (!SWIG_IsOK(ecode3
)) {
35366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35368 arg3
= static_cast< int >(val3
);
35370 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35371 if (!SWIG_IsOK(ecode4
)) {
35372 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35374 arg4
= static_cast< int >(val4
);
35377 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35378 if (!SWIG_IsOK(res5
)) {
35379 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35384 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35387 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35388 if (PyErr_Occurred()) SWIG_fail
;
35390 resultobj
= result
;
35397 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35398 PyObject
*resultobj
= 0;
35399 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35402 PyObject
*result
= 0 ;
35409 PyObject
* obj0
= 0 ;
35410 PyObject
* obj1
= 0 ;
35411 PyObject
* obj2
= 0 ;
35412 char * kwnames
[] = {
35413 (char *) "self",(char *) "x",(char *) "y", NULL
35416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35418 if (!SWIG_IsOK(res1
)) {
35419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35421 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35423 if (!SWIG_IsOK(ecode2
)) {
35424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35426 arg2
= static_cast< int >(val2
);
35427 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35428 if (!SWIG_IsOK(ecode3
)) {
35429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35431 arg3
= static_cast< int >(val3
);
35433 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35434 if (PyErr_Occurred()) SWIG_fail
;
35436 resultobj
= result
;
35443 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35444 PyObject
*resultobj
= 0;
35445 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35447 wxDC
*arg3
= (wxDC
*) 0 ;
35454 PyObject
* obj0
= 0 ;
35455 PyObject
* obj1
= 0 ;
35456 PyObject
* obj2
= 0 ;
35457 char * kwnames
[] = {
35458 (char *) "self",(char *) "id",(char *) "dc", NULL
35461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35463 if (!SWIG_IsOK(res1
)) {
35464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35466 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35468 if (!SWIG_IsOK(ecode2
)) {
35469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35471 arg2
= static_cast< int >(val2
);
35472 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35473 if (!SWIG_IsOK(res3
)) {
35474 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35476 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35479 (arg1
)->DrawIdToDC(arg2
,arg3
);
35480 wxPyEndAllowThreads(__tstate
);
35481 if (PyErr_Occurred()) SWIG_fail
;
35483 resultobj
= SWIG_Py_Void();
35490 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35491 PyObject
*resultobj
= 0;
35492 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35500 PyObject
* obj0
= 0 ;
35501 PyObject
* obj1
= 0 ;
35502 PyObject
* obj2
= 0 ;
35503 char * kwnames
[] = {
35504 (char *) "self",(char *) "id",(char *) "rect", NULL
35507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35509 if (!SWIG_IsOK(res1
)) {
35510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35512 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35514 if (!SWIG_IsOK(ecode2
)) {
35515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35517 arg2
= static_cast< int >(val2
);
35520 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35524 (arg1
)->SetIdBounds(arg2
,*arg3
);
35525 wxPyEndAllowThreads(__tstate
);
35526 if (PyErr_Occurred()) SWIG_fail
;
35528 resultobj
= SWIG_Py_Void();
35535 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35536 PyObject
*resultobj
= 0;
35537 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35544 PyObject
* obj0
= 0 ;
35545 PyObject
* obj1
= 0 ;
35546 char * kwnames
[] = {
35547 (char *) "self",(char *) "id", NULL
35550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35552 if (!SWIG_IsOK(res1
)) {
35553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35555 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35557 if (!SWIG_IsOK(ecode2
)) {
35558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35560 arg2
= static_cast< int >(val2
);
35562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35563 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35564 wxPyEndAllowThreads(__tstate
);
35565 if (PyErr_Occurred()) SWIG_fail
;
35567 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35574 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35575 PyObject
*resultobj
= 0;
35576 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35577 wxDC
*arg2
= (wxDC
*) 0 ;
35584 PyObject
* obj0
= 0 ;
35585 PyObject
* obj1
= 0 ;
35586 PyObject
* obj2
= 0 ;
35587 char * kwnames
[] = {
35588 (char *) "self",(char *) "dc",(char *) "rect", NULL
35591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35593 if (!SWIG_IsOK(res1
)) {
35594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35596 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35597 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35598 if (!SWIG_IsOK(res2
)) {
35599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35601 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35604 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35608 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35609 wxPyEndAllowThreads(__tstate
);
35610 if (PyErr_Occurred()) SWIG_fail
;
35612 resultobj
= SWIG_Py_Void();
35619 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35620 PyObject
*resultobj
= 0;
35621 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35622 wxDC
*arg2
= (wxDC
*) 0 ;
35623 wxRegion
*arg3
= 0 ;
35630 PyObject
* obj0
= 0 ;
35631 PyObject
* obj1
= 0 ;
35632 PyObject
* obj2
= 0 ;
35633 char * kwnames
[] = {
35634 (char *) "self",(char *) "dc",(char *) "region", NULL
35637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35639 if (!SWIG_IsOK(res1
)) {
35640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35642 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35643 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35644 if (!SWIG_IsOK(res2
)) {
35645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35647 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35648 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35649 if (!SWIG_IsOK(res3
)) {
35650 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35655 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35658 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35659 wxPyEndAllowThreads(__tstate
);
35660 if (PyErr_Occurred()) SWIG_fail
;
35662 resultobj
= SWIG_Py_Void();
35669 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35670 PyObject
*resultobj
= 0;
35671 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35672 wxDC
*arg2
= (wxDC
*) 0 ;
35677 PyObject
* obj0
= 0 ;
35678 PyObject
* obj1
= 0 ;
35679 char * kwnames
[] = {
35680 (char *) "self",(char *) "dc", NULL
35683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35685 if (!SWIG_IsOK(res1
)) {
35686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35688 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35689 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35690 if (!SWIG_IsOK(res2
)) {
35691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35693 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35696 (arg1
)->DrawToDC(arg2
);
35697 wxPyEndAllowThreads(__tstate
);
35698 if (PyErr_Occurred()) SWIG_fail
;
35700 resultobj
= SWIG_Py_Void();
35707 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35708 PyObject
*resultobj
= 0;
35709 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35712 wxColour
*arg4
= 0 ;
35713 int arg5
= (int) wxFLOOD_SURFACE
;
35723 PyObject
* obj0
= 0 ;
35724 PyObject
* obj1
= 0 ;
35725 PyObject
* obj2
= 0 ;
35726 PyObject
* obj3
= 0 ;
35727 PyObject
* obj4
= 0 ;
35728 char * kwnames
[] = {
35729 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35734 if (!SWIG_IsOK(res1
)) {
35735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35737 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35739 if (!SWIG_IsOK(ecode2
)) {
35740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35742 arg2
= static_cast< int >(val2
);
35743 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35744 if (!SWIG_IsOK(ecode3
)) {
35745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35747 arg3
= static_cast< int >(val3
);
35750 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35753 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35754 if (!SWIG_IsOK(ecode5
)) {
35755 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35757 arg5
= static_cast< int >(val5
);
35760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35761 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35762 wxPyEndAllowThreads(__tstate
);
35763 if (PyErr_Occurred()) SWIG_fail
;
35765 resultobj
= SWIG_Py_Void();
35772 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35773 PyObject
*resultobj
= 0;
35774 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35775 wxPoint
*arg2
= 0 ;
35776 wxColour
*arg3
= 0 ;
35777 int arg4
= (int) wxFLOOD_SURFACE
;
35784 PyObject
* obj0
= 0 ;
35785 PyObject
* obj1
= 0 ;
35786 PyObject
* obj2
= 0 ;
35787 PyObject
* obj3
= 0 ;
35788 char * kwnames
[] = {
35789 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
35792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35794 if (!SWIG_IsOK(res1
)) {
35795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35797 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35800 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35804 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35807 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35808 if (!SWIG_IsOK(ecode4
)) {
35809 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
35811 arg4
= static_cast< int >(val4
);
35814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35815 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
35816 wxPyEndAllowThreads(__tstate
);
35817 if (PyErr_Occurred()) SWIG_fail
;
35819 resultobj
= SWIG_Py_Void();
35826 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35827 PyObject
*resultobj
= 0;
35828 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35843 PyObject
* obj0
= 0 ;
35844 PyObject
* obj1
= 0 ;
35845 PyObject
* obj2
= 0 ;
35846 PyObject
* obj3
= 0 ;
35847 PyObject
* obj4
= 0 ;
35848 char * kwnames
[] = {
35849 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
35852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35854 if (!SWIG_IsOK(res1
)) {
35855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35857 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35859 if (!SWIG_IsOK(ecode2
)) {
35860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
35862 arg2
= static_cast< int >(val2
);
35863 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35864 if (!SWIG_IsOK(ecode3
)) {
35865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
35867 arg3
= static_cast< int >(val3
);
35868 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35869 if (!SWIG_IsOK(ecode4
)) {
35870 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
35872 arg4
= static_cast< int >(val4
);
35873 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35874 if (!SWIG_IsOK(ecode5
)) {
35875 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
35877 arg5
= static_cast< int >(val5
);
35879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35880 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
35881 wxPyEndAllowThreads(__tstate
);
35882 if (PyErr_Occurred()) SWIG_fail
;
35884 resultobj
= SWIG_Py_Void();
35891 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35892 PyObject
*resultobj
= 0;
35893 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35894 wxPoint
*arg2
= 0 ;
35895 wxPoint
*arg3
= 0 ;
35900 PyObject
* obj0
= 0 ;
35901 PyObject
* obj1
= 0 ;
35902 PyObject
* obj2
= 0 ;
35903 char * kwnames
[] = {
35904 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
35907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35909 if (!SWIG_IsOK(res1
)) {
35910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35912 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35915 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35919 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35923 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
35924 wxPyEndAllowThreads(__tstate
);
35925 if (PyErr_Occurred()) SWIG_fail
;
35927 resultobj
= SWIG_Py_Void();
35934 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35935 PyObject
*resultobj
= 0;
35936 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35945 PyObject
* obj0
= 0 ;
35946 PyObject
* obj1
= 0 ;
35947 PyObject
* obj2
= 0 ;
35948 char * kwnames
[] = {
35949 (char *) "self",(char *) "x",(char *) "y", NULL
35952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35954 if (!SWIG_IsOK(res1
)) {
35955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35957 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35959 if (!SWIG_IsOK(ecode2
)) {
35960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
35962 arg2
= static_cast< int >(val2
);
35963 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35964 if (!SWIG_IsOK(ecode3
)) {
35965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
35967 arg3
= static_cast< int >(val3
);
35969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35970 (arg1
)->CrossHair(arg2
,arg3
);
35971 wxPyEndAllowThreads(__tstate
);
35972 if (PyErr_Occurred()) SWIG_fail
;
35974 resultobj
= SWIG_Py_Void();
35981 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35982 PyObject
*resultobj
= 0;
35983 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35984 wxPoint
*arg2
= 0 ;
35988 PyObject
* obj0
= 0 ;
35989 PyObject
* obj1
= 0 ;
35990 char * kwnames
[] = {
35991 (char *) "self",(char *) "pt", NULL
35994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35996 if (!SWIG_IsOK(res1
)) {
35997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35999 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36002 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36006 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36007 wxPyEndAllowThreads(__tstate
);
36008 if (PyErr_Occurred()) SWIG_fail
;
36010 resultobj
= SWIG_Py_Void();
36017 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36018 PyObject
*resultobj
= 0;
36019 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36040 PyObject
* obj0
= 0 ;
36041 PyObject
* obj1
= 0 ;
36042 PyObject
* obj2
= 0 ;
36043 PyObject
* obj3
= 0 ;
36044 PyObject
* obj4
= 0 ;
36045 PyObject
* obj5
= 0 ;
36046 PyObject
* obj6
= 0 ;
36047 char * kwnames
[] = {
36048 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36053 if (!SWIG_IsOK(res1
)) {
36054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36056 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36058 if (!SWIG_IsOK(ecode2
)) {
36059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36061 arg2
= static_cast< int >(val2
);
36062 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36063 if (!SWIG_IsOK(ecode3
)) {
36064 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36066 arg3
= static_cast< int >(val3
);
36067 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36068 if (!SWIG_IsOK(ecode4
)) {
36069 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36071 arg4
= static_cast< int >(val4
);
36072 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36073 if (!SWIG_IsOK(ecode5
)) {
36074 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36076 arg5
= static_cast< int >(val5
);
36077 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36078 if (!SWIG_IsOK(ecode6
)) {
36079 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36081 arg6
= static_cast< int >(val6
);
36082 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36083 if (!SWIG_IsOK(ecode7
)) {
36084 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36086 arg7
= static_cast< int >(val7
);
36088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36089 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36090 wxPyEndAllowThreads(__tstate
);
36091 if (PyErr_Occurred()) SWIG_fail
;
36093 resultobj
= SWIG_Py_Void();
36100 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36101 PyObject
*resultobj
= 0;
36102 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36103 wxPoint
*arg2
= 0 ;
36104 wxPoint
*arg3
= 0 ;
36105 wxPoint
*arg4
= 0 ;
36111 PyObject
* obj0
= 0 ;
36112 PyObject
* obj1
= 0 ;
36113 PyObject
* obj2
= 0 ;
36114 PyObject
* obj3
= 0 ;
36115 char * kwnames
[] = {
36116 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36121 if (!SWIG_IsOK(res1
)) {
36122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36124 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36127 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36131 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36135 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36139 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36140 wxPyEndAllowThreads(__tstate
);
36141 if (PyErr_Occurred()) SWIG_fail
;
36143 resultobj
= SWIG_Py_Void();
36150 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36151 PyObject
*resultobj
= 0;
36152 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36167 PyObject
* obj0
= 0 ;
36168 PyObject
* obj1
= 0 ;
36169 PyObject
* obj2
= 0 ;
36170 PyObject
* obj3
= 0 ;
36171 PyObject
* obj4
= 0 ;
36172 char * kwnames
[] = {
36173 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36178 if (!SWIG_IsOK(res1
)) {
36179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36181 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36183 if (!SWIG_IsOK(ecode2
)) {
36184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36186 arg2
= static_cast< int >(val2
);
36187 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36188 if (!SWIG_IsOK(ecode3
)) {
36189 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36191 arg3
= static_cast< int >(val3
);
36192 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36193 if (!SWIG_IsOK(ecode4
)) {
36194 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36196 arg4
= static_cast< int >(val4
);
36197 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36198 if (!SWIG_IsOK(ecode5
)) {
36199 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36201 arg5
= static_cast< int >(val5
);
36203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36204 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36205 wxPyEndAllowThreads(__tstate
);
36206 if (PyErr_Occurred()) SWIG_fail
;
36208 resultobj
= SWIG_Py_Void();
36215 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36216 PyObject
*resultobj
= 0;
36217 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36222 PyObject
* obj0
= 0 ;
36223 PyObject
* obj1
= 0 ;
36224 char * kwnames
[] = {
36225 (char *) "self",(char *) "rect", NULL
36228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36230 if (!SWIG_IsOK(res1
)) {
36231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36233 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36236 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36240 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36241 wxPyEndAllowThreads(__tstate
);
36242 if (PyErr_Occurred()) SWIG_fail
;
36244 resultobj
= SWIG_Py_Void();
36251 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36252 PyObject
*resultobj
= 0;
36253 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36274 PyObject
* obj0
= 0 ;
36275 PyObject
* obj1
= 0 ;
36276 PyObject
* obj2
= 0 ;
36277 PyObject
* obj3
= 0 ;
36278 PyObject
* obj4
= 0 ;
36279 PyObject
* obj5
= 0 ;
36280 PyObject
* obj6
= 0 ;
36281 char * kwnames
[] = {
36282 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36287 if (!SWIG_IsOK(res1
)) {
36288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36290 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36292 if (!SWIG_IsOK(ecode2
)) {
36293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36295 arg2
= static_cast< int >(val2
);
36296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36297 if (!SWIG_IsOK(ecode3
)) {
36298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36300 arg3
= static_cast< int >(val3
);
36301 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36302 if (!SWIG_IsOK(ecode4
)) {
36303 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36305 arg4
= static_cast< int >(val4
);
36306 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36307 if (!SWIG_IsOK(ecode5
)) {
36308 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36310 arg5
= static_cast< int >(val5
);
36311 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36312 if (!SWIG_IsOK(ecode6
)) {
36313 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36315 arg6
= static_cast< double >(val6
);
36316 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36317 if (!SWIG_IsOK(ecode7
)) {
36318 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36320 arg7
= static_cast< double >(val7
);
36322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36323 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36324 wxPyEndAllowThreads(__tstate
);
36325 if (PyErr_Occurred()) SWIG_fail
;
36327 resultobj
= SWIG_Py_Void();
36334 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36335 PyObject
*resultobj
= 0;
36336 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36337 wxPoint
*arg2
= 0 ;
36349 PyObject
* obj0
= 0 ;
36350 PyObject
* obj1
= 0 ;
36351 PyObject
* obj2
= 0 ;
36352 PyObject
* obj3
= 0 ;
36353 PyObject
* obj4
= 0 ;
36354 char * kwnames
[] = {
36355 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36360 if (!SWIG_IsOK(res1
)) {
36361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36363 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36366 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36370 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36372 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36373 if (!SWIG_IsOK(ecode4
)) {
36374 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36376 arg4
= static_cast< double >(val4
);
36377 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36378 if (!SWIG_IsOK(ecode5
)) {
36379 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36381 arg5
= static_cast< double >(val5
);
36383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36384 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36385 wxPyEndAllowThreads(__tstate
);
36386 if (PyErr_Occurred()) SWIG_fail
;
36388 resultobj
= SWIG_Py_Void();
36395 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36396 PyObject
*resultobj
= 0;
36397 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36406 PyObject
* obj0
= 0 ;
36407 PyObject
* obj1
= 0 ;
36408 PyObject
* obj2
= 0 ;
36409 char * kwnames
[] = {
36410 (char *) "self",(char *) "x",(char *) "y", NULL
36413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36415 if (!SWIG_IsOK(res1
)) {
36416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36418 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36420 if (!SWIG_IsOK(ecode2
)) {
36421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36423 arg2
= static_cast< int >(val2
);
36424 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36425 if (!SWIG_IsOK(ecode3
)) {
36426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36428 arg3
= static_cast< int >(val3
);
36430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36431 (arg1
)->DrawPoint(arg2
,arg3
);
36432 wxPyEndAllowThreads(__tstate
);
36433 if (PyErr_Occurred()) SWIG_fail
;
36435 resultobj
= SWIG_Py_Void();
36442 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36443 PyObject
*resultobj
= 0;
36444 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36445 wxPoint
*arg2
= 0 ;
36449 PyObject
* obj0
= 0 ;
36450 PyObject
* obj1
= 0 ;
36451 char * kwnames
[] = {
36452 (char *) "self",(char *) "pt", NULL
36455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36457 if (!SWIG_IsOK(res1
)) {
36458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36460 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36463 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36467 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36468 wxPyEndAllowThreads(__tstate
);
36469 if (PyErr_Occurred()) SWIG_fail
;
36471 resultobj
= SWIG_Py_Void();
36478 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36479 PyObject
*resultobj
= 0;
36480 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36495 PyObject
* obj0
= 0 ;
36496 PyObject
* obj1
= 0 ;
36497 PyObject
* obj2
= 0 ;
36498 PyObject
* obj3
= 0 ;
36499 PyObject
* obj4
= 0 ;
36500 char * kwnames
[] = {
36501 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36506 if (!SWIG_IsOK(res1
)) {
36507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36509 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36511 if (!SWIG_IsOK(ecode2
)) {
36512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36514 arg2
= static_cast< int >(val2
);
36515 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36516 if (!SWIG_IsOK(ecode3
)) {
36517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36519 arg3
= static_cast< int >(val3
);
36520 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36521 if (!SWIG_IsOK(ecode4
)) {
36522 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36524 arg4
= static_cast< int >(val4
);
36525 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36526 if (!SWIG_IsOK(ecode5
)) {
36527 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36529 arg5
= static_cast< int >(val5
);
36531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36532 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36533 wxPyEndAllowThreads(__tstate
);
36534 if (PyErr_Occurred()) SWIG_fail
;
36536 resultobj
= SWIG_Py_Void();
36543 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36544 PyObject
*resultobj
= 0;
36545 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36550 PyObject
* obj0
= 0 ;
36551 PyObject
* obj1
= 0 ;
36552 char * kwnames
[] = {
36553 (char *) "self",(char *) "rect", NULL
36556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36558 if (!SWIG_IsOK(res1
)) {
36559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36561 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36564 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36568 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36569 wxPyEndAllowThreads(__tstate
);
36570 if (PyErr_Occurred()) SWIG_fail
;
36572 resultobj
= SWIG_Py_Void();
36579 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36580 PyObject
*resultobj
= 0;
36581 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36582 wxPoint
*arg2
= 0 ;
36588 PyObject
* obj0
= 0 ;
36589 PyObject
* obj1
= 0 ;
36590 PyObject
* obj2
= 0 ;
36591 char * kwnames
[] = {
36592 (char *) "self",(char *) "pt",(char *) "sz", NULL
36595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36597 if (!SWIG_IsOK(res1
)) {
36598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36600 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36603 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36607 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36611 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36612 wxPyEndAllowThreads(__tstate
);
36613 if (PyErr_Occurred()) SWIG_fail
;
36615 resultobj
= SWIG_Py_Void();
36622 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36623 PyObject
*resultobj
= 0;
36624 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36642 PyObject
* obj0
= 0 ;
36643 PyObject
* obj1
= 0 ;
36644 PyObject
* obj2
= 0 ;
36645 PyObject
* obj3
= 0 ;
36646 PyObject
* obj4
= 0 ;
36647 PyObject
* obj5
= 0 ;
36648 char * kwnames
[] = {
36649 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36654 if (!SWIG_IsOK(res1
)) {
36655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36657 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36658 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36659 if (!SWIG_IsOK(ecode2
)) {
36660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36662 arg2
= static_cast< int >(val2
);
36663 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36664 if (!SWIG_IsOK(ecode3
)) {
36665 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36667 arg3
= static_cast< int >(val3
);
36668 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36669 if (!SWIG_IsOK(ecode4
)) {
36670 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36672 arg4
= static_cast< int >(val4
);
36673 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36674 if (!SWIG_IsOK(ecode5
)) {
36675 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36677 arg5
= static_cast< int >(val5
);
36678 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36679 if (!SWIG_IsOK(ecode6
)) {
36680 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36682 arg6
= static_cast< double >(val6
);
36684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36685 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36686 wxPyEndAllowThreads(__tstate
);
36687 if (PyErr_Occurred()) SWIG_fail
;
36689 resultobj
= SWIG_Py_Void();
36696 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36697 PyObject
*resultobj
= 0;
36698 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36706 PyObject
* obj0
= 0 ;
36707 PyObject
* obj1
= 0 ;
36708 PyObject
* obj2
= 0 ;
36709 char * kwnames
[] = {
36710 (char *) "self",(char *) "r",(char *) "radius", NULL
36713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36715 if (!SWIG_IsOK(res1
)) {
36716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36718 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36721 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36723 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36724 if (!SWIG_IsOK(ecode3
)) {
36725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36727 arg3
= static_cast< double >(val3
);
36729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36730 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36731 wxPyEndAllowThreads(__tstate
);
36732 if (PyErr_Occurred()) SWIG_fail
;
36734 resultobj
= SWIG_Py_Void();
36741 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36742 PyObject
*resultobj
= 0;
36743 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36744 wxPoint
*arg2
= 0 ;
36753 PyObject
* obj0
= 0 ;
36754 PyObject
* obj1
= 0 ;
36755 PyObject
* obj2
= 0 ;
36756 PyObject
* obj3
= 0 ;
36757 char * kwnames
[] = {
36758 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36763 if (!SWIG_IsOK(res1
)) {
36764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36766 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36769 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36773 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36775 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36776 if (!SWIG_IsOK(ecode4
)) {
36777 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
36779 arg4
= static_cast< double >(val4
);
36781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36782 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
36783 wxPyEndAllowThreads(__tstate
);
36784 if (PyErr_Occurred()) SWIG_fail
;
36786 resultobj
= SWIG_Py_Void();
36793 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36794 PyObject
*resultobj
= 0;
36795 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36807 PyObject
* obj0
= 0 ;
36808 PyObject
* obj1
= 0 ;
36809 PyObject
* obj2
= 0 ;
36810 PyObject
* obj3
= 0 ;
36811 char * kwnames
[] = {
36812 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
36815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36817 if (!SWIG_IsOK(res1
)) {
36818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36820 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36822 if (!SWIG_IsOK(ecode2
)) {
36823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
36825 arg2
= static_cast< int >(val2
);
36826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36827 if (!SWIG_IsOK(ecode3
)) {
36828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
36830 arg3
= static_cast< int >(val3
);
36831 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36832 if (!SWIG_IsOK(ecode4
)) {
36833 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
36835 arg4
= static_cast< int >(val4
);
36837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36838 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
36839 wxPyEndAllowThreads(__tstate
);
36840 if (PyErr_Occurred()) SWIG_fail
;
36842 resultobj
= SWIG_Py_Void();
36849 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36850 PyObject
*resultobj
= 0;
36851 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36852 wxPoint
*arg2
= 0 ;
36859 PyObject
* obj0
= 0 ;
36860 PyObject
* obj1
= 0 ;
36861 PyObject
* obj2
= 0 ;
36862 char * kwnames
[] = {
36863 (char *) "self",(char *) "pt",(char *) "radius", NULL
36866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36868 if (!SWIG_IsOK(res1
)) {
36869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36871 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36874 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36876 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36877 if (!SWIG_IsOK(ecode3
)) {
36878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
36880 arg3
= static_cast< int >(val3
);
36882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36883 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
36884 wxPyEndAllowThreads(__tstate
);
36885 if (PyErr_Occurred()) SWIG_fail
;
36887 resultobj
= SWIG_Py_Void();
36894 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36895 PyObject
*resultobj
= 0;
36896 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36911 PyObject
* obj0
= 0 ;
36912 PyObject
* obj1
= 0 ;
36913 PyObject
* obj2
= 0 ;
36914 PyObject
* obj3
= 0 ;
36915 PyObject
* obj4
= 0 ;
36916 char * kwnames
[] = {
36917 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36922 if (!SWIG_IsOK(res1
)) {
36923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36925 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36927 if (!SWIG_IsOK(ecode2
)) {
36928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
36930 arg2
= static_cast< int >(val2
);
36931 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36932 if (!SWIG_IsOK(ecode3
)) {
36933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
36935 arg3
= static_cast< int >(val3
);
36936 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36937 if (!SWIG_IsOK(ecode4
)) {
36938 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
36940 arg4
= static_cast< int >(val4
);
36941 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36942 if (!SWIG_IsOK(ecode5
)) {
36943 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
36945 arg5
= static_cast< int >(val5
);
36947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36948 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
36949 wxPyEndAllowThreads(__tstate
);
36950 if (PyErr_Occurred()) SWIG_fail
;
36952 resultobj
= SWIG_Py_Void();
36959 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36960 PyObject
*resultobj
= 0;
36961 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36966 PyObject
* obj0
= 0 ;
36967 PyObject
* obj1
= 0 ;
36968 char * kwnames
[] = {
36969 (char *) "self",(char *) "rect", NULL
36972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36974 if (!SWIG_IsOK(res1
)) {
36975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36977 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36980 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36984 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
36985 wxPyEndAllowThreads(__tstate
);
36986 if (PyErr_Occurred()) SWIG_fail
;
36988 resultobj
= SWIG_Py_Void();
36995 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36996 PyObject
*resultobj
= 0;
36997 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36998 wxPoint
*arg2
= 0 ;
37004 PyObject
* obj0
= 0 ;
37005 PyObject
* obj1
= 0 ;
37006 PyObject
* obj2
= 0 ;
37007 char * kwnames
[] = {
37008 (char *) "self",(char *) "pt",(char *) "sz", NULL
37011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37013 if (!SWIG_IsOK(res1
)) {
37014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37016 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37019 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37023 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37027 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37028 wxPyEndAllowThreads(__tstate
);
37029 if (PyErr_Occurred()) SWIG_fail
;
37031 resultobj
= SWIG_Py_Void();
37038 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37039 PyObject
*resultobj
= 0;
37040 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37052 PyObject
* obj0
= 0 ;
37053 PyObject
* obj1
= 0 ;
37054 PyObject
* obj2
= 0 ;
37055 PyObject
* obj3
= 0 ;
37056 char * kwnames
[] = {
37057 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37062 if (!SWIG_IsOK(res1
)) {
37063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37065 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37066 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37067 if (!SWIG_IsOK(res2
)) {
37068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37073 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37074 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37075 if (!SWIG_IsOK(ecode3
)) {
37076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37078 arg3
= static_cast< int >(val3
);
37079 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37080 if (!SWIG_IsOK(ecode4
)) {
37081 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37083 arg4
= static_cast< int >(val4
);
37085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37086 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37087 wxPyEndAllowThreads(__tstate
);
37088 if (PyErr_Occurred()) SWIG_fail
;
37090 resultobj
= SWIG_Py_Void();
37097 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37098 PyObject
*resultobj
= 0;
37099 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37101 wxPoint
*arg3
= 0 ;
37107 PyObject
* obj0
= 0 ;
37108 PyObject
* obj1
= 0 ;
37109 PyObject
* obj2
= 0 ;
37110 char * kwnames
[] = {
37111 (char *) "self",(char *) "icon",(char *) "pt", NULL
37114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37116 if (!SWIG_IsOK(res1
)) {
37117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37119 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37120 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37121 if (!SWIG_IsOK(res2
)) {
37122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37127 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37130 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37134 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37135 wxPyEndAllowThreads(__tstate
);
37136 if (PyErr_Occurred()) SWIG_fail
;
37138 resultobj
= SWIG_Py_Void();
37145 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37146 PyObject
*resultobj
= 0;
37147 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37148 wxBitmap
*arg2
= 0 ;
37151 bool arg5
= (bool) false ;
37162 PyObject
* obj0
= 0 ;
37163 PyObject
* obj1
= 0 ;
37164 PyObject
* obj2
= 0 ;
37165 PyObject
* obj3
= 0 ;
37166 PyObject
* obj4
= 0 ;
37167 char * kwnames
[] = {
37168 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37173 if (!SWIG_IsOK(res1
)) {
37174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37176 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37177 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37178 if (!SWIG_IsOK(res2
)) {
37179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37184 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37185 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37186 if (!SWIG_IsOK(ecode3
)) {
37187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37189 arg3
= static_cast< int >(val3
);
37190 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37191 if (!SWIG_IsOK(ecode4
)) {
37192 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37194 arg4
= static_cast< int >(val4
);
37196 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37197 if (!SWIG_IsOK(ecode5
)) {
37198 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37200 arg5
= static_cast< bool >(val5
);
37203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37204 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37205 wxPyEndAllowThreads(__tstate
);
37206 if (PyErr_Occurred()) SWIG_fail
;
37208 resultobj
= SWIG_Py_Void();
37215 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37216 PyObject
*resultobj
= 0;
37217 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37218 wxBitmap
*arg2
= 0 ;
37219 wxPoint
*arg3
= 0 ;
37220 bool arg4
= (bool) false ;
37228 PyObject
* obj0
= 0 ;
37229 PyObject
* obj1
= 0 ;
37230 PyObject
* obj2
= 0 ;
37231 PyObject
* obj3
= 0 ;
37232 char * kwnames
[] = {
37233 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37238 if (!SWIG_IsOK(res1
)) {
37239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37241 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37242 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37243 if (!SWIG_IsOK(res2
)) {
37244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37249 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37252 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37255 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37256 if (!SWIG_IsOK(ecode4
)) {
37257 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37259 arg4
= static_cast< bool >(val4
);
37262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37263 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37264 wxPyEndAllowThreads(__tstate
);
37265 if (PyErr_Occurred()) SWIG_fail
;
37267 resultobj
= SWIG_Py_Void();
37274 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37275 PyObject
*resultobj
= 0;
37276 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37277 wxString
*arg2
= 0 ;
37282 bool temp2
= false ;
37287 PyObject
* obj0
= 0 ;
37288 PyObject
* obj1
= 0 ;
37289 PyObject
* obj2
= 0 ;
37290 PyObject
* obj3
= 0 ;
37291 char * kwnames
[] = {
37292 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37297 if (!SWIG_IsOK(res1
)) {
37298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37300 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37302 arg2
= wxString_in_helper(obj1
);
37303 if (arg2
== NULL
) SWIG_fail
;
37306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37307 if (!SWIG_IsOK(ecode3
)) {
37308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37310 arg3
= static_cast< int >(val3
);
37311 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37312 if (!SWIG_IsOK(ecode4
)) {
37313 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37315 arg4
= static_cast< int >(val4
);
37317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37318 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37319 wxPyEndAllowThreads(__tstate
);
37320 if (PyErr_Occurred()) SWIG_fail
;
37322 resultobj
= SWIG_Py_Void();
37337 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37338 PyObject
*resultobj
= 0;
37339 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37340 wxString
*arg2
= 0 ;
37341 wxPoint
*arg3
= 0 ;
37344 bool temp2
= false ;
37346 PyObject
* obj0
= 0 ;
37347 PyObject
* obj1
= 0 ;
37348 PyObject
* obj2
= 0 ;
37349 char * kwnames
[] = {
37350 (char *) "self",(char *) "text",(char *) "pt", NULL
37353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37355 if (!SWIG_IsOK(res1
)) {
37356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37358 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37360 arg2
= wxString_in_helper(obj1
);
37361 if (arg2
== NULL
) SWIG_fail
;
37366 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37370 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37371 wxPyEndAllowThreads(__tstate
);
37372 if (PyErr_Occurred()) SWIG_fail
;
37374 resultobj
= SWIG_Py_Void();
37389 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37390 PyObject
*resultobj
= 0;
37391 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37392 wxString
*arg2
= 0 ;
37398 bool temp2
= false ;
37405 PyObject
* obj0
= 0 ;
37406 PyObject
* obj1
= 0 ;
37407 PyObject
* obj2
= 0 ;
37408 PyObject
* obj3
= 0 ;
37409 PyObject
* obj4
= 0 ;
37410 char * kwnames
[] = {
37411 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37416 if (!SWIG_IsOK(res1
)) {
37417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37419 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37421 arg2
= wxString_in_helper(obj1
);
37422 if (arg2
== NULL
) SWIG_fail
;
37425 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37426 if (!SWIG_IsOK(ecode3
)) {
37427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37429 arg3
= static_cast< int >(val3
);
37430 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37431 if (!SWIG_IsOK(ecode4
)) {
37432 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37434 arg4
= static_cast< int >(val4
);
37435 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37436 if (!SWIG_IsOK(ecode5
)) {
37437 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37439 arg5
= static_cast< double >(val5
);
37441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37442 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37443 wxPyEndAllowThreads(__tstate
);
37444 if (PyErr_Occurred()) SWIG_fail
;
37446 resultobj
= SWIG_Py_Void();
37461 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37462 PyObject
*resultobj
= 0;
37463 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37464 wxString
*arg2
= 0 ;
37465 wxPoint
*arg3
= 0 ;
37469 bool temp2
= false ;
37473 PyObject
* obj0
= 0 ;
37474 PyObject
* obj1
= 0 ;
37475 PyObject
* obj2
= 0 ;
37476 PyObject
* obj3
= 0 ;
37477 char * kwnames
[] = {
37478 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37483 if (!SWIG_IsOK(res1
)) {
37484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37486 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37488 arg2
= wxString_in_helper(obj1
);
37489 if (arg2
== NULL
) SWIG_fail
;
37494 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37496 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37497 if (!SWIG_IsOK(ecode4
)) {
37498 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37500 arg4
= static_cast< double >(val4
);
37502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37503 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37504 wxPyEndAllowThreads(__tstate
);
37505 if (PyErr_Occurred()) SWIG_fail
;
37507 resultobj
= SWIG_Py_Void();
37522 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37523 PyObject
*resultobj
= 0;
37524 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37526 wxPoint
*arg3
= (wxPoint
*) 0 ;
37527 int arg4
= (int) 0 ;
37528 int arg5
= (int) 0 ;
37535 PyObject
* obj0
= 0 ;
37536 PyObject
* obj1
= 0 ;
37537 PyObject
* obj2
= 0 ;
37538 PyObject
* obj3
= 0 ;
37539 char * kwnames
[] = {
37540 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37545 if (!SWIG_IsOK(res1
)) {
37546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37548 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37550 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37551 if (arg3
== NULL
) SWIG_fail
;
37554 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37555 if (!SWIG_IsOK(ecode4
)) {
37556 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37558 arg4
= static_cast< int >(val4
);
37561 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37562 if (!SWIG_IsOK(ecode5
)) {
37563 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37565 arg5
= static_cast< int >(val5
);
37568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37569 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37570 wxPyEndAllowThreads(__tstate
);
37571 if (PyErr_Occurred()) SWIG_fail
;
37573 resultobj
= SWIG_Py_Void();
37575 if (arg3
) delete [] arg3
;
37580 if (arg3
) delete [] arg3
;
37586 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37587 PyObject
*resultobj
= 0;
37588 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37590 wxPoint
*arg3
= (wxPoint
*) 0 ;
37591 int arg4
= (int) 0 ;
37592 int arg5
= (int) 0 ;
37593 int arg6
= (int) wxODDEVEN_RULE
;
37602 PyObject
* obj0
= 0 ;
37603 PyObject
* obj1
= 0 ;
37604 PyObject
* obj2
= 0 ;
37605 PyObject
* obj3
= 0 ;
37606 PyObject
* obj4
= 0 ;
37607 char * kwnames
[] = {
37608 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37613 if (!SWIG_IsOK(res1
)) {
37614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37616 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37618 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37619 if (arg3
== NULL
) SWIG_fail
;
37622 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37623 if (!SWIG_IsOK(ecode4
)) {
37624 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37626 arg4
= static_cast< int >(val4
);
37629 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37630 if (!SWIG_IsOK(ecode5
)) {
37631 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37633 arg5
= static_cast< int >(val5
);
37636 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37637 if (!SWIG_IsOK(ecode6
)) {
37638 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37640 arg6
= static_cast< int >(val6
);
37643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37644 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37645 wxPyEndAllowThreads(__tstate
);
37646 if (PyErr_Occurred()) SWIG_fail
;
37648 resultobj
= SWIG_Py_Void();
37650 if (arg3
) delete [] arg3
;
37655 if (arg3
) delete [] arg3
;
37661 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37662 PyObject
*resultobj
= 0;
37663 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37664 wxString
*arg2
= 0 ;
37666 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37667 int arg5
= (int) -1 ;
37670 bool temp2
= false ;
37676 PyObject
* obj0
= 0 ;
37677 PyObject
* obj1
= 0 ;
37678 PyObject
* obj2
= 0 ;
37679 PyObject
* obj3
= 0 ;
37680 PyObject
* obj4
= 0 ;
37681 char * kwnames
[] = {
37682 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37687 if (!SWIG_IsOK(res1
)) {
37688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37690 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37692 arg2
= wxString_in_helper(obj1
);
37693 if (arg2
== NULL
) SWIG_fail
;
37698 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37701 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37702 if (!SWIG_IsOK(ecode4
)) {
37703 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37705 arg4
= static_cast< int >(val4
);
37708 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37709 if (!SWIG_IsOK(ecode5
)) {
37710 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37712 arg5
= static_cast< int >(val5
);
37715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37716 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37717 wxPyEndAllowThreads(__tstate
);
37718 if (PyErr_Occurred()) SWIG_fail
;
37720 resultobj
= SWIG_Py_Void();
37735 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37736 PyObject
*resultobj
= 0;
37737 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37738 wxString
*arg2
= 0 ;
37739 wxBitmap
*arg3
= 0 ;
37741 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37742 int arg6
= (int) -1 ;
37745 bool temp2
= false ;
37753 PyObject
* obj0
= 0 ;
37754 PyObject
* obj1
= 0 ;
37755 PyObject
* obj2
= 0 ;
37756 PyObject
* obj3
= 0 ;
37757 PyObject
* obj4
= 0 ;
37758 PyObject
* obj5
= 0 ;
37759 char * kwnames
[] = {
37760 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37765 if (!SWIG_IsOK(res1
)) {
37766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37768 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37770 arg2
= wxString_in_helper(obj1
);
37771 if (arg2
== NULL
) SWIG_fail
;
37774 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37775 if (!SWIG_IsOK(res3
)) {
37776 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37781 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
37784 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
37787 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37788 if (!SWIG_IsOK(ecode5
)) {
37789 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
37791 arg5
= static_cast< int >(val5
);
37794 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37795 if (!SWIG_IsOK(ecode6
)) {
37796 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
37798 arg6
= static_cast< int >(val6
);
37801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37802 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
37803 wxPyEndAllowThreads(__tstate
);
37804 if (PyErr_Occurred()) SWIG_fail
;
37806 resultobj
= SWIG_Py_Void();
37821 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37822 PyObject
*resultobj
= 0;
37823 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37825 wxPoint
*arg3
= (wxPoint
*) 0 ;
37828 PyObject
* obj0
= 0 ;
37829 PyObject
* obj1
= 0 ;
37830 char * kwnames
[] = {
37831 (char *) "self",(char *) "points", NULL
37834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37836 if (!SWIG_IsOK(res1
)) {
37837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37839 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37841 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37842 if (arg3
== NULL
) SWIG_fail
;
37845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37846 (arg1
)->DrawSpline(arg2
,arg3
);
37847 wxPyEndAllowThreads(__tstate
);
37848 if (PyErr_Occurred()) SWIG_fail
;
37850 resultobj
= SWIG_Py_Void();
37852 if (arg3
) delete [] arg3
;
37857 if (arg3
) delete [] arg3
;
37863 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37864 PyObject
*resultobj
= 0;
37865 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37868 PyObject
*swig_obj
[1] ;
37870 if (!args
) SWIG_fail
;
37871 swig_obj
[0] = args
;
37872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37873 if (!SWIG_IsOK(res1
)) {
37874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37876 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37880 wxPyEndAllowThreads(__tstate
);
37881 if (PyErr_Occurred()) SWIG_fail
;
37883 resultobj
= SWIG_Py_Void();
37890 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37891 PyObject
*resultobj
= 0;
37892 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37898 PyObject
* obj0
= 0 ;
37899 PyObject
* obj1
= 0 ;
37900 char * kwnames
[] = {
37901 (char *) "self",(char *) "font", NULL
37904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37906 if (!SWIG_IsOK(res1
)) {
37907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37909 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37910 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
37911 if (!SWIG_IsOK(res2
)) {
37912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37917 arg2
= reinterpret_cast< wxFont
* >(argp2
);
37919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37920 (arg1
)->SetFont((wxFont
const &)*arg2
);
37921 wxPyEndAllowThreads(__tstate
);
37922 if (PyErr_Occurred()) SWIG_fail
;
37924 resultobj
= SWIG_Py_Void();
37931 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37932 PyObject
*resultobj
= 0;
37933 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37939 PyObject
* obj0
= 0 ;
37940 PyObject
* obj1
= 0 ;
37941 char * kwnames
[] = {
37942 (char *) "self",(char *) "pen", NULL
37945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37947 if (!SWIG_IsOK(res1
)) {
37948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37950 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37951 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
37952 if (!SWIG_IsOK(res2
)) {
37953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
37956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
37958 arg2
= reinterpret_cast< wxPen
* >(argp2
);
37960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37961 (arg1
)->SetPen((wxPen
const &)*arg2
);
37962 wxPyEndAllowThreads(__tstate
);
37963 if (PyErr_Occurred()) SWIG_fail
;
37965 resultobj
= SWIG_Py_Void();
37972 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37973 PyObject
*resultobj
= 0;
37974 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37975 wxBrush
*arg2
= 0 ;
37980 PyObject
* obj0
= 0 ;
37981 PyObject
* obj1
= 0 ;
37982 char * kwnames
[] = {
37983 (char *) "self",(char *) "brush", NULL
37986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37988 if (!SWIG_IsOK(res1
)) {
37989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37991 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37992 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
37993 if (!SWIG_IsOK(res2
)) {
37994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
37997 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
37999 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38002 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38003 wxPyEndAllowThreads(__tstate
);
38004 if (PyErr_Occurred()) SWIG_fail
;
38006 resultobj
= SWIG_Py_Void();
38013 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38014 PyObject
*resultobj
= 0;
38015 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38016 wxBrush
*arg2
= 0 ;
38021 PyObject
* obj0
= 0 ;
38022 PyObject
* obj1
= 0 ;
38023 char * kwnames
[] = {
38024 (char *) "self",(char *) "brush", NULL
38027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38029 if (!SWIG_IsOK(res1
)) {
38030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38032 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38033 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38034 if (!SWIG_IsOK(res2
)) {
38035 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38040 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38043 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38044 wxPyEndAllowThreads(__tstate
);
38045 if (PyErr_Occurred()) SWIG_fail
;
38047 resultobj
= SWIG_Py_Void();
38054 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38055 PyObject
*resultobj
= 0;
38056 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38062 PyObject
* obj0
= 0 ;
38063 PyObject
* obj1
= 0 ;
38064 char * kwnames
[] = {
38065 (char *) "self",(char *) "mode", NULL
38068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38070 if (!SWIG_IsOK(res1
)) {
38071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38073 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38075 if (!SWIG_IsOK(ecode2
)) {
38076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38078 arg2
= static_cast< int >(val2
);
38080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38081 (arg1
)->SetBackgroundMode(arg2
);
38082 wxPyEndAllowThreads(__tstate
);
38083 if (PyErr_Occurred()) SWIG_fail
;
38085 resultobj
= SWIG_Py_Void();
38092 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38093 PyObject
*resultobj
= 0;
38094 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38095 wxPalette
*arg2
= 0 ;
38100 PyObject
* obj0
= 0 ;
38101 PyObject
* obj1
= 0 ;
38102 char * kwnames
[] = {
38103 (char *) "self",(char *) "palette", NULL
38106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38108 if (!SWIG_IsOK(res1
)) {
38109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38111 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38112 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38113 if (!SWIG_IsOK(res2
)) {
38114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38119 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38122 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38123 wxPyEndAllowThreads(__tstate
);
38124 if (PyErr_Occurred()) SWIG_fail
;
38126 resultobj
= SWIG_Py_Void();
38133 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38134 PyObject
*resultobj
= 0;
38135 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38136 wxColour
*arg2
= 0 ;
38140 PyObject
* obj0
= 0 ;
38141 PyObject
* obj1
= 0 ;
38142 char * kwnames
[] = {
38143 (char *) "self",(char *) "colour", NULL
38146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38148 if (!SWIG_IsOK(res1
)) {
38149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38151 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38154 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38158 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38159 wxPyEndAllowThreads(__tstate
);
38160 if (PyErr_Occurred()) SWIG_fail
;
38162 resultobj
= SWIG_Py_Void();
38169 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38170 PyObject
*resultobj
= 0;
38171 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38172 wxColour
*arg2
= 0 ;
38176 PyObject
* obj0
= 0 ;
38177 PyObject
* obj1
= 0 ;
38178 char * kwnames
[] = {
38179 (char *) "self",(char *) "colour", NULL
38182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38184 if (!SWIG_IsOK(res1
)) {
38185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38187 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38190 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38194 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38195 wxPyEndAllowThreads(__tstate
);
38196 if (PyErr_Occurred()) SWIG_fail
;
38198 resultobj
= SWIG_Py_Void();
38205 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38206 PyObject
*resultobj
= 0;
38207 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38213 PyObject
* obj0
= 0 ;
38214 PyObject
* obj1
= 0 ;
38215 char * kwnames
[] = {
38216 (char *) "self",(char *) "function", NULL
38219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38221 if (!SWIG_IsOK(res1
)) {
38222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38224 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38226 if (!SWIG_IsOK(ecode2
)) {
38227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38229 arg2
= static_cast< int >(val2
);
38231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38232 (arg1
)->SetLogicalFunction(arg2
);
38233 wxPyEndAllowThreads(__tstate
);
38234 if (PyErr_Occurred()) SWIG_fail
;
38236 resultobj
= SWIG_Py_Void();
38243 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38245 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38246 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38247 return SWIG_Py_Void();
38250 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38251 return SWIG_Python_InitShadowInstance(args
);
38254 static PyMethodDef SwigMethods
[] = {
38255 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38256 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38257 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38258 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38259 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38260 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38261 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38262 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38263 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38264 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38265 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38266 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38267 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38268 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38269 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38270 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38271 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38272 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38273 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38274 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38275 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38276 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38277 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38278 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38279 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38280 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38281 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38282 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38283 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38284 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38285 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38286 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38287 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38288 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38289 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38290 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38291 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38292 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38293 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38294 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38295 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38296 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38297 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38298 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38299 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38300 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38301 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38302 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38303 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38304 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
38305 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38306 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38307 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38308 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38309 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38310 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38311 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38312 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38313 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38314 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38315 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38316 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38317 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38318 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38319 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38320 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38321 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38322 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38323 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38324 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38325 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38326 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38327 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38328 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38329 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38330 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38331 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38332 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38333 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38334 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38335 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38336 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38337 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38338 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38339 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38340 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38341 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38342 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38343 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38344 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38345 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38346 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38347 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38348 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38349 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38350 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38351 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38352 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38353 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38354 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38355 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38356 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38357 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38358 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38359 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38360 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38361 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38362 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38363 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38364 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38365 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38366 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38367 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38368 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38369 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38370 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38371 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38372 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38373 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38374 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38375 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38376 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38377 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38378 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38379 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38380 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38381 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38382 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38383 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38384 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38385 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38386 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38387 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38388 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38389 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38390 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38391 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38392 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38393 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38394 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38395 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38396 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38397 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38398 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38399 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38400 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38401 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38402 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38403 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38404 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38405 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38406 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38407 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38408 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38409 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38410 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38411 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38412 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38413 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38414 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38415 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38416 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38417 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38418 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38419 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38420 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38421 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38422 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38423 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38424 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38425 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38426 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38427 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38428 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38429 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38430 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38431 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38432 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38433 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38434 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38435 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38436 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38437 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38438 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38439 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38440 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38441 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38442 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38443 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38444 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38445 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38446 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38447 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38448 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38449 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38450 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38451 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38452 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38453 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38454 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38455 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38456 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38457 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38458 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38459 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38460 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38461 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38462 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38463 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38464 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38465 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38466 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38467 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38468 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38469 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38470 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38471 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38472 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38473 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38474 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38475 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38476 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38477 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38478 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38479 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38480 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38481 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38482 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38483 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38484 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38485 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38486 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38487 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38488 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38489 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38490 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38491 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38492 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38493 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38494 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38495 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38496 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38497 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38498 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38499 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38500 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38501 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38502 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38503 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38504 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38505 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38506 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38507 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38508 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38509 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38510 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38511 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38512 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38513 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38514 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38515 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38516 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38517 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38518 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38519 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38520 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38521 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38522 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38523 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38524 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38525 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38526 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38527 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38528 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38529 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38530 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38531 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38532 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38533 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38534 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38535 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38536 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38537 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38538 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38539 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38540 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38541 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38542 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38543 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38544 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38545 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38546 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38547 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38548 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38549 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38550 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38551 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38552 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38553 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38554 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38555 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38556 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38557 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38558 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38559 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38560 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38561 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38562 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38563 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38564 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38565 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38566 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38567 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38568 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38569 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38570 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38571 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38572 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38573 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38574 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38575 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38576 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38577 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38578 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38579 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38580 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38581 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38582 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38583 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38584 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38585 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38586 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38587 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38588 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38589 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38590 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38591 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38592 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38593 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38594 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38595 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38596 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38597 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38598 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38599 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38600 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38601 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38602 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38603 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38604 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38605 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38606 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38607 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38608 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38609 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38610 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38611 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38612 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38613 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38614 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38615 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38616 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38617 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38618 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38619 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38620 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38621 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38622 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38623 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38624 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38625 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38626 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38627 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38628 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38629 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38630 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38631 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38632 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38633 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38634 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38635 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38636 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38637 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38638 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38639 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38640 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38641 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38642 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38643 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38644 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38645 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38646 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38647 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38648 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38649 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38650 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38651 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38652 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38653 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38654 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38655 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38656 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38657 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38658 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38659 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38660 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38661 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38662 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38663 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38664 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38665 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38666 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38667 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38668 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38669 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38670 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38671 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38672 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38673 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38674 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38675 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38676 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38677 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38678 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38679 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38680 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38681 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38682 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38683 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38684 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38685 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38686 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38687 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38688 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38689 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38690 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38691 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38692 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38693 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38694 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38695 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38696 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38697 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38698 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38699 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38700 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38701 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38702 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38703 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38704 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38705 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38706 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38707 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38708 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38709 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38710 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38711 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38712 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38713 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38714 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38715 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38716 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38717 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38718 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38719 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38720 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38721 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38722 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38723 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38724 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38725 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38726 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38727 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38728 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38729 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38730 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38731 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38733 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38734 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38735 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38736 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38737 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38738 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38739 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38740 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38741 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38742 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38743 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38744 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38745 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38746 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38747 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38748 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38749 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38750 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38751 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38752 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38753 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38754 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38755 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38756 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38757 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38758 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38759 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38760 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38761 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38762 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38763 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38764 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
38765 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38766 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38767 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
38768 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
38769 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
38770 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
38771 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
38772 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
38773 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
38774 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38775 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38776 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38777 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38778 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38779 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38780 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38781 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
38782 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38783 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
38784 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
38785 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
38786 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38787 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
38788 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
38789 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
38790 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38791 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
38792 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
38793 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
38794 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
38795 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
38796 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
38797 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
38798 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
38799 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38800 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38801 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
38802 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
38803 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
38804 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38805 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
38806 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
38807 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38808 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
38809 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
38810 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38811 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
38812 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
38813 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38814 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38815 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38816 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38817 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
38818 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
38819 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
38820 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
38821 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
38822 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38823 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
38824 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
38825 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
38826 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38827 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38828 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38829 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38830 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38831 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38832 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38833 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38834 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
38835 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
38836 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38837 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
38838 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38839 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38840 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
38841 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
38842 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
38843 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38844 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
38845 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
38846 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38847 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
38848 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
38849 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38850 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
38851 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
38852 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38853 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
38854 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
38855 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
38856 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
38857 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
38858 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
38859 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
38860 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
38861 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
38862 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
38863 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
38864 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
38865 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
38866 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
38867 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
38868 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
38869 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
38870 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
38871 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
38872 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38873 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38874 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
38875 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38876 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
38877 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38878 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38879 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38880 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38881 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38882 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
38883 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
38884 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
38885 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
38886 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
38887 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
38888 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
38889 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
38890 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38891 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
38892 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
38893 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
38894 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38895 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38896 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38897 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38898 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38899 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38900 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
38901 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38902 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38903 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
38904 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
38905 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
38906 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
38907 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
38908 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
38909 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
38910 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38911 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38912 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
38913 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38914 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38915 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38916 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38917 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38918 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38919 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
38920 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
38921 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38922 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38923 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
38924 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
38925 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38926 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38927 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38928 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38929 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38930 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
38931 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
38932 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
38933 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
38934 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38935 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38936 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38937 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38938 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38939 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38940 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38941 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38942 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38943 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38944 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38945 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38946 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38947 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38948 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38949 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38950 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38951 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
38952 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
38953 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
38954 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
38955 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
38956 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
38957 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38958 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38959 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
38960 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38961 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38962 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38963 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38964 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38965 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38966 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
38967 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
38968 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
38969 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
38970 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38971 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
38972 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
38973 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
38974 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
38975 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
38976 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
38977 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
38978 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
38979 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
38980 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
38981 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
38982 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
38983 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38984 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
38985 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38986 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38987 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38988 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38989 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38990 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38991 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38992 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
38993 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38994 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
38995 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38996 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
38997 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
38998 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
38999 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39000 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39001 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39002 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39003 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39004 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39005 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39006 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39007 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39008 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39009 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39010 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39011 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39012 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39013 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39014 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39015 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39016 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39017 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39018 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39019 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39020 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39021 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39022 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39023 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39024 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39025 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39026 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39027 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39028 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39029 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39030 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39031 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39032 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39033 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39034 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39035 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39036 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39037 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39038 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39039 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39040 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39041 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39042 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39043 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39044 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39045 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39046 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39047 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39048 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39049 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39050 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39051 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39052 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39053 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39054 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39055 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39056 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39057 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39058 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39059 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39060 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39061 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39062 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39063 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39064 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39065 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39066 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39067 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39068 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39069 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39070 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39071 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39072 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39073 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39074 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39075 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39076 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39077 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39078 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39079 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39080 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39081 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39082 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39083 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39084 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39085 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39086 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39087 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39088 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39089 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39090 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39091 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39092 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39093 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39094 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39095 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39096 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39097 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39098 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39099 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39100 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39101 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39102 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39103 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39104 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39105 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39106 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39107 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39108 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39109 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39110 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39111 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39113 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39114 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39115 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39116 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39117 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39118 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39119 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39120 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39121 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39122 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39123 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39124 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39125 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39126 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39127 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39128 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39129 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39130 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39131 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39132 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39133 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39135 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39137 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39138 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39140 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39141 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39142 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39143 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39144 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39145 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39146 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39147 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39148 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39149 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39150 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39151 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39152 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39153 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39154 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39155 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39156 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39157 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39158 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39159 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39160 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39161 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39162 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39168 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39169 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39170 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39171 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39172 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39173 { NULL
, NULL
, 0, NULL
}
39177 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39179 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39180 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39182 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39183 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39185 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39186 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39188 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39189 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39191 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39192 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39194 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39195 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39197 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39198 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39200 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39201 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39203 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39204 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39206 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39207 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39209 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39210 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39212 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39213 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39215 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39216 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39218 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39219 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39221 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39222 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39224 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39225 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39227 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39228 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39230 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39231 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39233 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39234 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39236 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39237 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39239 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39240 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39242 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39243 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39245 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39246 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39248 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39249 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39251 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39252 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39254 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39255 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39257 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39258 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39260 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39261 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39263 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39264 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39266 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39267 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39269 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39270 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39272 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39273 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39275 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39276 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39278 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39279 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39281 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39282 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39284 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39285 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39287 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39288 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39290 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39291 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39293 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39294 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39296 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39297 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39299 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39300 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39302 static void *_p_wxPenTo_p_wxObject(void *x
) {
39303 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39305 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39306 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39308 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39309 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39311 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39312 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39314 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39315 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39317 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39318 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39320 static void *_p_wxIconTo_p_wxObject(void *x
) {
39321 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39323 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39324 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39326 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39327 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39329 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39330 return (void *)((wxObject
*) ((wxSizer
*) x
));
39332 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39333 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39335 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39336 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39338 static void *_p_wxEventTo_p_wxObject(void *x
) {
39339 return (void *)((wxObject
*) ((wxEvent
*) x
));
39341 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39342 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39344 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39345 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39347 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39348 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39350 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39351 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39353 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39354 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39356 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39357 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39359 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39360 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39362 static void *_p_wxDCTo_p_wxObject(void *x
) {
39363 return (void *)((wxObject
*) ((wxDC
*) x
));
39365 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39366 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39368 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39369 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39371 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39372 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39374 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39375 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39377 static void *_p_wxControlTo_p_wxObject(void *x
) {
39378 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39380 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39381 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39383 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39384 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39386 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39387 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39389 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39390 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39392 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39393 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
39395 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39396 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39398 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39399 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39401 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39402 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39404 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39405 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39407 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39408 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39410 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39411 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39413 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39414 return (void *)((wxObject
*) ((wxEffects
*) x
));
39416 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39417 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39419 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39420 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39422 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39423 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39425 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39426 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39428 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39429 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39431 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39432 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39434 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39435 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39437 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39438 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39440 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39441 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39443 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39444 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39446 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39447 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39449 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39450 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39452 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39453 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39455 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39456 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39458 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39459 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39461 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39462 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39464 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39465 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39467 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39468 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39470 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39471 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39473 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39474 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39476 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39477 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39479 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39480 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39482 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39483 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39485 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39486 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39488 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39489 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39491 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39492 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39494 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39495 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39497 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39498 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39500 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39501 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39503 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39504 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39506 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39507 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39509 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39510 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39512 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39513 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39515 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39516 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39518 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39519 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39521 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39522 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39524 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39525 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39527 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39528 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39530 static void *_p_wxImageTo_p_wxObject(void *x
) {
39531 return (void *)((wxObject
*) ((wxImage
*) x
));
39533 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39534 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39536 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39537 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39539 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39540 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39542 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39543 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39545 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39546 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39548 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39549 return (void *)((wxObject
*) ((wxImageList
*) x
));
39551 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39552 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39554 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39555 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39557 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39558 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39560 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39561 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39563 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39564 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39566 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39567 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39569 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39570 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39572 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39573 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39575 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39576 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39578 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39579 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39581 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39582 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39584 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39585 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39587 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39588 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39590 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39591 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39593 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39594 return (void *)((wxObject
*) ((wxMask
*) x
));
39596 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39597 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39599 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39600 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39602 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39603 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39605 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39606 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39608 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39609 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39611 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39612 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39614 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39615 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39617 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39618 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39620 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39621 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39623 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39624 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39626 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39627 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39629 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39630 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39632 static void *_p_wxFontTo_p_wxObject(void *x
) {
39633 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39635 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39636 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39638 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39639 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39641 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39644 static void *_p_wxColourTo_p_wxObject(void *x
) {
39645 return (void *)((wxObject
*) ((wxColour
*) x
));
39647 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39648 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39650 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39651 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39653 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39654 return (void *)((wxWindow
*) ((wxControl
*) x
));
39656 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39657 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39659 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39660 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39662 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39663 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39665 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39666 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39668 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39669 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39670 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39671 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};
39672 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39673 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39674 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39675 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39676 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39677 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39678 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39679 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39680 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39681 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39682 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39683 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39684 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39685 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
39686 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39687 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
39688 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39689 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39690 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39691 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39692 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39693 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39694 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39695 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39696 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39697 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39698 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39699 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39700 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39701 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39702 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39703 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39704 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39705 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39706 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39707 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39708 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39709 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39710 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39711 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39712 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39713 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39714 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39715 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39716 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39717 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39718 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39719 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39720 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39721 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39722 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39723 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39724 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39725 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39726 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39727 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39728 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39729 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39730 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39731 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39732 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39733 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39734 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39735 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39736 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39737 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39738 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39739 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39740 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39741 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39742 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39743 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39744 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39745 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39746 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39747 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39748 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39749 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39750 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39751 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39752 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39753 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39754 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39755 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39756 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39757 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39758 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39759 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39760 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
39761 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
39762 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
39763 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
39764 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
39765 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
39766 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
39767 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
39768 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
39769 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
39770 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
39771 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
39772 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
39773 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
39774 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
39775 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
39776 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
39777 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
39778 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
39779 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
39780 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
39781 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
39782 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
39783 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
39784 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
39785 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
39786 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
39787 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
39788 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
39789 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
39790 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
39791 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
39792 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
39793 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
39794 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
39795 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
39796 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
39797 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
39798 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
39799 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
39800 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
39801 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
39802 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
39803 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
39804 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
39805 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
39806 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
39807 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
39808 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
39809 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
39810 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
39811 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
39812 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
39813 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
39814 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
39815 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
39816 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
39817 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
39818 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
39819 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
39820 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
39821 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
39822 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
39823 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
39824 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
39825 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
39826 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
39827 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
39828 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
39829 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
39830 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
39831 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
39832 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
39833 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
39834 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
39835 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
39836 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
39837 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
39838 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
39840 static swig_type_info
*swig_type_initial
[] = {
39844 &_swigt__p_form_ops_t
,
39846 &_swigt__p_unsigned_char
,
39847 &_swigt__p_unsigned_int
,
39848 &_swigt__p_unsigned_long
,
39850 &_swigt__p_wxANIHandler
,
39851 &_swigt__p_wxAcceleratorTable
,
39852 &_swigt__p_wxActivateEvent
,
39853 &_swigt__p_wxAlphaPixelData
,
39854 &_swigt__p_wxAlphaPixelData_Accessor
,
39855 &_swigt__p_wxAutoBufferedPaintDC
,
39856 &_swigt__p_wxBMPHandler
,
39857 &_swigt__p_wxBitmap
,
39858 &_swigt__p_wxBoxSizer
,
39859 &_swigt__p_wxBrush
,
39860 &_swigt__p_wxBrushList
,
39861 &_swigt__p_wxBufferedDC
,
39862 &_swigt__p_wxBufferedPaintDC
,
39863 &_swigt__p_wxCURHandler
,
39865 &_swigt__p_wxChildFocusEvent
,
39866 &_swigt__p_wxClientDC
,
39867 &_swigt__p_wxClipboardTextEvent
,
39868 &_swigt__p_wxCloseEvent
,
39869 &_swigt__p_wxColor
,
39870 &_swigt__p_wxColour
,
39871 &_swigt__p_wxColourDatabase
,
39872 &_swigt__p_wxCommandEvent
,
39873 &_swigt__p_wxContextMenuEvent
,
39874 &_swigt__p_wxControl
,
39875 &_swigt__p_wxControlWithItems
,
39876 &_swigt__p_wxCursor
,
39878 &_swigt__p_wxDCBrushChanger
,
39879 &_swigt__p_wxDCClipper
,
39880 &_swigt__p_wxDCOverlay
,
39881 &_swigt__p_wxDCPenChanger
,
39882 &_swigt__p_wxDCTextColourChanger
,
39884 &_swigt__p_wxDateEvent
,
39885 &_swigt__p_wxDisplayChangedEvent
,
39886 &_swigt__p_wxDropFilesEvent
,
39887 &_swigt__p_wxDuplexMode
,
39888 &_swigt__p_wxEffects
,
39889 &_swigt__p_wxEncodingConverter
,
39890 &_swigt__p_wxEraseEvent
,
39891 &_swigt__p_wxEvent
,
39892 &_swigt__p_wxEvtHandler
,
39893 &_swigt__p_wxFSFile
,
39894 &_swigt__p_wxFileSystem
,
39895 &_swigt__p_wxFlexGridSizer
,
39896 &_swigt__p_wxFocusEvent
,
39898 &_swigt__p_wxFontList
,
39899 &_swigt__p_wxFontMapper
,
39900 &_swigt__p_wxGBSizerItem
,
39902 &_swigt__p_wxGDIObjListBase
,
39903 &_swigt__p_wxGDIObject
,
39904 &_swigt__p_wxGIFHandler
,
39905 &_swigt__p_wxGraphicsBrush
,
39906 &_swigt__p_wxGraphicsContext
,
39907 &_swigt__p_wxGraphicsFont
,
39908 &_swigt__p_wxGraphicsMatrix
,
39909 &_swigt__p_wxGraphicsObject
,
39910 &_swigt__p_wxGraphicsPath
,
39911 &_swigt__p_wxGraphicsPen
,
39912 &_swigt__p_wxGraphicsRenderer
,
39913 &_swigt__p_wxGridBagSizer
,
39914 &_swigt__p_wxGridSizer
,
39915 &_swigt__p_wxHeaderButtonParams
,
39916 &_swigt__p_wxICOHandler
,
39918 &_swigt__p_wxIconBundle
,
39919 &_swigt__p_wxIconLocation
,
39920 &_swigt__p_wxIconizeEvent
,
39921 &_swigt__p_wxIdleEvent
,
39922 &_swigt__p_wxImage
,
39923 &_swigt__p_wxImageHandler
,
39924 &_swigt__p_wxImageList
,
39925 &_swigt__p_wxIndividualLayoutConstraint
,
39926 &_swigt__p_wxInitDialogEvent
,
39927 &_swigt__p_wxJPEGHandler
,
39928 &_swigt__p_wxKeyEvent
,
39929 &_swigt__p_wxLanguageInfo
,
39930 &_swigt__p_wxLayoutConstraints
,
39931 &_swigt__p_wxLocale
,
39933 &_swigt__p_wxMaximizeEvent
,
39934 &_swigt__p_wxMemoryDC
,
39936 &_swigt__p_wxMenuBar
,
39937 &_swigt__p_wxMenuEvent
,
39938 &_swigt__p_wxMenuItem
,
39939 &_swigt__p_wxMetaFile
,
39940 &_swigt__p_wxMetaFileDC
,
39941 &_swigt__p_wxMirrorDC
,
39942 &_swigt__p_wxMouseCaptureChangedEvent
,
39943 &_swigt__p_wxMouseCaptureLostEvent
,
39944 &_swigt__p_wxMouseEvent
,
39945 &_swigt__p_wxMoveEvent
,
39946 &_swigt__p_wxNativeEncodingInfo
,
39947 &_swigt__p_wxNativeFontInfo
,
39948 &_swigt__p_wxNativePixelData
,
39949 &_swigt__p_wxNativePixelData_Accessor
,
39950 &_swigt__p_wxNavigationKeyEvent
,
39951 &_swigt__p_wxNcPaintEvent
,
39952 &_swigt__p_wxNotifyEvent
,
39953 &_swigt__p_wxObject
,
39954 &_swigt__p_wxOverlay
,
39955 &_swigt__p_wxPCXHandler
,
39956 &_swigt__p_wxPNGHandler
,
39957 &_swigt__p_wxPNMHandler
,
39958 &_swigt__p_wxPaintDC
,
39959 &_swigt__p_wxPaintEvent
,
39960 &_swigt__p_wxPalette
,
39961 &_swigt__p_wxPaletteChangedEvent
,
39962 &_swigt__p_wxPaperSize
,
39964 &_swigt__p_wxPenList
,
39965 &_swigt__p_wxPixelDataBase
,
39966 &_swigt__p_wxPoint
,
39967 &_swigt__p_wxPoint2D
,
39968 &_swigt__p_wxPoint2DDouble
,
39969 &_swigt__p_wxPostScriptDC
,
39970 &_swigt__p_wxPrintData
,
39971 &_swigt__p_wxPrinterDC
,
39972 &_swigt__p_wxPseudoDC
,
39973 &_swigt__p_wxPyApp
,
39974 &_swigt__p_wxPyCommandEvent
,
39975 &_swigt__p_wxPyEvent
,
39976 &_swigt__p_wxPyFontEnumerator
,
39977 &_swigt__p_wxPyImageHandler
,
39978 &_swigt__p_wxPyLocale
,
39979 &_swigt__p_wxPySizer
,
39980 &_swigt__p_wxPyValidator
,
39981 &_swigt__p_wxQueryNewPaletteEvent
,
39983 &_swigt__p_wxRect2DDouble
,
39984 &_swigt__p_wxRegion
,
39985 &_swigt__p_wxRegionIterator
,
39986 &_swigt__p_wxRendererNative
,
39987 &_swigt__p_wxRendererVersion
,
39988 &_swigt__p_wxScreenDC
,
39989 &_swigt__p_wxScrollEvent
,
39990 &_swigt__p_wxScrollWinEvent
,
39991 &_swigt__p_wxSetCursorEvent
,
39992 &_swigt__p_wxShowEvent
,
39994 &_swigt__p_wxSizeEvent
,
39995 &_swigt__p_wxSizer
,
39996 &_swigt__p_wxSizerItem
,
39997 &_swigt__p_wxSplitterRenderParams
,
39998 &_swigt__p_wxStaticBoxSizer
,
39999 &_swigt__p_wxStdDialogButtonSizer
,
40000 &_swigt__p_wxStockGDI
,
40001 &_swigt__p_wxString
,
40002 &_swigt__p_wxSysColourChangedEvent
,
40003 &_swigt__p_wxTGAHandler
,
40004 &_swigt__p_wxTIFFHandler
,
40005 &_swigt__p_wxUpdateUIEvent
,
40006 &_swigt__p_wxValidator
,
40007 &_swigt__p_wxWindow
,
40008 &_swigt__p_wxWindowCreateEvent
,
40009 &_swigt__p_wxWindowDC
,
40010 &_swigt__p_wxWindowDestroyEvent
,
40011 &_swigt__p_wxXPMHandler
,
40014 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40015 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40016 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40017 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40018 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40019 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40020 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40021 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40022 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40023 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40024 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40025 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40026 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40027 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40028 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40029 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}};
40030 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40031 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40032 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}};
40033 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
40034 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40035 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40036 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40037 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}};
40038 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40039 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40040 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40041 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40042 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40043 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40044 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40045 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40046 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40047 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40048 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40049 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40050 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40051 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}};
40052 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}};
40053 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40054 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40055 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40056 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40057 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}};
40058 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40059 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40060 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40061 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40062 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40063 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40064 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40065 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40066 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40067 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40068 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}};
40069 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40070 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}};
40071 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40072 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40073 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40074 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40075 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40076 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40077 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40078 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40079 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40080 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40081 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40082 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40083 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40084 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40085 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40086 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40087 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40088 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40089 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40090 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40091 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40092 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40093 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40094 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40095 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40096 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40097 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40098 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40099 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40100 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40101 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40102 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40103 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40104 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40105 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40106 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40107 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40108 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40109 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40110 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40111 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40112 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40113 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40114 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40115 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40116 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40117 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40118 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40119 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40120 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40121 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40122 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40123 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40124 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40125 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40126 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40127 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40128 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40129 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40130 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40131 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40132 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40133 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40134 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40135 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40136 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40137 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40138 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40139 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40140 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40141 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40142 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40143 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40144 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40145 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40146 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40147 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40148 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40149 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40150 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40151 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40152 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40153 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40154 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40155 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}};
40156 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40157 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40158 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40159 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40160 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40161 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40162 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}};
40163 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40164 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40165 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40166 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40167 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40168 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40169 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40170 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40171 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40172 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40173 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40174 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40175 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40176 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40177 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40178 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40179 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40180 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40181 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40182 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40183 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}};
40184 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}};
40186 static swig_cast_info
*swig_cast_initial
[] = {
40190 _swigc__p_form_ops_t
,
40192 _swigc__p_unsigned_char
,
40193 _swigc__p_unsigned_int
,
40194 _swigc__p_unsigned_long
,
40196 _swigc__p_wxANIHandler
,
40197 _swigc__p_wxAcceleratorTable
,
40198 _swigc__p_wxActivateEvent
,
40199 _swigc__p_wxAlphaPixelData
,
40200 _swigc__p_wxAlphaPixelData_Accessor
,
40201 _swigc__p_wxAutoBufferedPaintDC
,
40202 _swigc__p_wxBMPHandler
,
40203 _swigc__p_wxBitmap
,
40204 _swigc__p_wxBoxSizer
,
40206 _swigc__p_wxBrushList
,
40207 _swigc__p_wxBufferedDC
,
40208 _swigc__p_wxBufferedPaintDC
,
40209 _swigc__p_wxCURHandler
,
40211 _swigc__p_wxChildFocusEvent
,
40212 _swigc__p_wxClientDC
,
40213 _swigc__p_wxClipboardTextEvent
,
40214 _swigc__p_wxCloseEvent
,
40216 _swigc__p_wxColour
,
40217 _swigc__p_wxColourDatabase
,
40218 _swigc__p_wxCommandEvent
,
40219 _swigc__p_wxContextMenuEvent
,
40220 _swigc__p_wxControl
,
40221 _swigc__p_wxControlWithItems
,
40222 _swigc__p_wxCursor
,
40224 _swigc__p_wxDCBrushChanger
,
40225 _swigc__p_wxDCClipper
,
40226 _swigc__p_wxDCOverlay
,
40227 _swigc__p_wxDCPenChanger
,
40228 _swigc__p_wxDCTextColourChanger
,
40230 _swigc__p_wxDateEvent
,
40231 _swigc__p_wxDisplayChangedEvent
,
40232 _swigc__p_wxDropFilesEvent
,
40233 _swigc__p_wxDuplexMode
,
40234 _swigc__p_wxEffects
,
40235 _swigc__p_wxEncodingConverter
,
40236 _swigc__p_wxEraseEvent
,
40238 _swigc__p_wxEvtHandler
,
40239 _swigc__p_wxFSFile
,
40240 _swigc__p_wxFileSystem
,
40241 _swigc__p_wxFlexGridSizer
,
40242 _swigc__p_wxFocusEvent
,
40244 _swigc__p_wxFontList
,
40245 _swigc__p_wxFontMapper
,
40246 _swigc__p_wxGBSizerItem
,
40248 _swigc__p_wxGDIObjListBase
,
40249 _swigc__p_wxGDIObject
,
40250 _swigc__p_wxGIFHandler
,
40251 _swigc__p_wxGraphicsBrush
,
40252 _swigc__p_wxGraphicsContext
,
40253 _swigc__p_wxGraphicsFont
,
40254 _swigc__p_wxGraphicsMatrix
,
40255 _swigc__p_wxGraphicsObject
,
40256 _swigc__p_wxGraphicsPath
,
40257 _swigc__p_wxGraphicsPen
,
40258 _swigc__p_wxGraphicsRenderer
,
40259 _swigc__p_wxGridBagSizer
,
40260 _swigc__p_wxGridSizer
,
40261 _swigc__p_wxHeaderButtonParams
,
40262 _swigc__p_wxICOHandler
,
40264 _swigc__p_wxIconBundle
,
40265 _swigc__p_wxIconLocation
,
40266 _swigc__p_wxIconizeEvent
,
40267 _swigc__p_wxIdleEvent
,
40269 _swigc__p_wxImageHandler
,
40270 _swigc__p_wxImageList
,
40271 _swigc__p_wxIndividualLayoutConstraint
,
40272 _swigc__p_wxInitDialogEvent
,
40273 _swigc__p_wxJPEGHandler
,
40274 _swigc__p_wxKeyEvent
,
40275 _swigc__p_wxLanguageInfo
,
40276 _swigc__p_wxLayoutConstraints
,
40277 _swigc__p_wxLocale
,
40279 _swigc__p_wxMaximizeEvent
,
40280 _swigc__p_wxMemoryDC
,
40282 _swigc__p_wxMenuBar
,
40283 _swigc__p_wxMenuEvent
,
40284 _swigc__p_wxMenuItem
,
40285 _swigc__p_wxMetaFile
,
40286 _swigc__p_wxMetaFileDC
,
40287 _swigc__p_wxMirrorDC
,
40288 _swigc__p_wxMouseCaptureChangedEvent
,
40289 _swigc__p_wxMouseCaptureLostEvent
,
40290 _swigc__p_wxMouseEvent
,
40291 _swigc__p_wxMoveEvent
,
40292 _swigc__p_wxNativeEncodingInfo
,
40293 _swigc__p_wxNativeFontInfo
,
40294 _swigc__p_wxNativePixelData
,
40295 _swigc__p_wxNativePixelData_Accessor
,
40296 _swigc__p_wxNavigationKeyEvent
,
40297 _swigc__p_wxNcPaintEvent
,
40298 _swigc__p_wxNotifyEvent
,
40299 _swigc__p_wxObject
,
40300 _swigc__p_wxOverlay
,
40301 _swigc__p_wxPCXHandler
,
40302 _swigc__p_wxPNGHandler
,
40303 _swigc__p_wxPNMHandler
,
40304 _swigc__p_wxPaintDC
,
40305 _swigc__p_wxPaintEvent
,
40306 _swigc__p_wxPalette
,
40307 _swigc__p_wxPaletteChangedEvent
,
40308 _swigc__p_wxPaperSize
,
40310 _swigc__p_wxPenList
,
40311 _swigc__p_wxPixelDataBase
,
40313 _swigc__p_wxPoint2D
,
40314 _swigc__p_wxPoint2DDouble
,
40315 _swigc__p_wxPostScriptDC
,
40316 _swigc__p_wxPrintData
,
40317 _swigc__p_wxPrinterDC
,
40318 _swigc__p_wxPseudoDC
,
40320 _swigc__p_wxPyCommandEvent
,
40321 _swigc__p_wxPyEvent
,
40322 _swigc__p_wxPyFontEnumerator
,
40323 _swigc__p_wxPyImageHandler
,
40324 _swigc__p_wxPyLocale
,
40325 _swigc__p_wxPySizer
,
40326 _swigc__p_wxPyValidator
,
40327 _swigc__p_wxQueryNewPaletteEvent
,
40329 _swigc__p_wxRect2DDouble
,
40330 _swigc__p_wxRegion
,
40331 _swigc__p_wxRegionIterator
,
40332 _swigc__p_wxRendererNative
,
40333 _swigc__p_wxRendererVersion
,
40334 _swigc__p_wxScreenDC
,
40335 _swigc__p_wxScrollEvent
,
40336 _swigc__p_wxScrollWinEvent
,
40337 _swigc__p_wxSetCursorEvent
,
40338 _swigc__p_wxShowEvent
,
40340 _swigc__p_wxSizeEvent
,
40342 _swigc__p_wxSizerItem
,
40343 _swigc__p_wxSplitterRenderParams
,
40344 _swigc__p_wxStaticBoxSizer
,
40345 _swigc__p_wxStdDialogButtonSizer
,
40346 _swigc__p_wxStockGDI
,
40347 _swigc__p_wxString
,
40348 _swigc__p_wxSysColourChangedEvent
,
40349 _swigc__p_wxTGAHandler
,
40350 _swigc__p_wxTIFFHandler
,
40351 _swigc__p_wxUpdateUIEvent
,
40352 _swigc__p_wxValidator
,
40353 _swigc__p_wxWindow
,
40354 _swigc__p_wxWindowCreateEvent
,
40355 _swigc__p_wxWindowDC
,
40356 _swigc__p_wxWindowDestroyEvent
,
40357 _swigc__p_wxXPMHandler
,
40361 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40363 static swig_const_info swig_const_table
[] = {
40364 {0, 0, 0, 0.0, 0, 0}};
40369 /* -----------------------------------------------------------------------------
40370 * Type initialization:
40371 * This problem is tough by the requirement that no dynamic
40372 * memory is used. Also, since swig_type_info structures store pointers to
40373 * swig_cast_info structures and swig_cast_info structures store pointers back
40374 * to swig_type_info structures, we need some lookup code at initialization.
40375 * The idea is that swig generates all the structures that are needed.
40376 * The runtime then collects these partially filled structures.
40377 * The SWIG_InitializeModule function takes these initial arrays out of
40378 * swig_module, and does all the lookup, filling in the swig_module.types
40379 * array with the correct data and linking the correct swig_cast_info
40380 * structures together.
40382 * The generated swig_type_info structures are assigned staticly to an initial
40383 * array. We just loop though that array, and handle each type individually.
40384 * First we lookup if this type has been already loaded, and if so, use the
40385 * loaded structure instead of the generated one. Then we have to fill in the
40386 * cast linked list. The cast data is initially stored in something like a
40387 * two-dimensional array. Each row corresponds to a type (there are the same
40388 * number of rows as there are in the swig_type_initial array). Each entry in
40389 * a column is one of the swig_cast_info structures for that type.
40390 * The cast_initial array is actually an array of arrays, because each row has
40391 * a variable number of columns. So to actually build the cast linked list,
40392 * we find the array of casts associated with the type, and loop through it
40393 * adding the casts to the list. The one last trick we need to do is making
40394 * sure the type pointer in the swig_cast_info struct is correct.
40396 * First off, we lookup the cast->type name to see if it is already loaded.
40397 * There are three cases to handle:
40398 * 1) If the cast->type has already been loaded AND the type we are adding
40399 * casting info to has not been loaded (it is in this module), THEN we
40400 * replace the cast->type pointer with the type pointer that has already
40402 * 2) If BOTH types (the one we are adding casting info to, and the
40403 * cast->type) are loaded, THEN the cast info has already been loaded by
40404 * the previous module so we just ignore it.
40405 * 3) Finally, if cast->type has not already been loaded, then we add that
40406 * swig_cast_info to the linked list (because the cast->type) pointer will
40408 * ----------------------------------------------------------------------------- */
40418 #define SWIGRUNTIME_DEBUG
40422 SWIG_InitializeModule(void *clientdata
) {
40424 swig_module_info
*module_head
;
40425 static int init_run
= 0;
40427 clientdata
= clientdata
;
40429 if (init_run
) return;
40432 /* Initialize the swig_module */
40433 swig_module
.type_initial
= swig_type_initial
;
40434 swig_module
.cast_initial
= swig_cast_initial
;
40436 /* Try and load any already created modules */
40437 module_head
= SWIG_GetModule(clientdata
);
40439 swig_module
.next
= module_head
->next
;
40440 module_head
->next
= &swig_module
;
40442 /* This is the first module loaded */
40443 swig_module
.next
= &swig_module
;
40444 SWIG_SetModule(clientdata
, &swig_module
);
40447 /* Now work on filling in swig_module.types */
40448 #ifdef SWIGRUNTIME_DEBUG
40449 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40451 for (i
= 0; i
< swig_module
.size
; ++i
) {
40452 swig_type_info
*type
= 0;
40453 swig_type_info
*ret
;
40454 swig_cast_info
*cast
;
40456 #ifdef SWIGRUNTIME_DEBUG
40457 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40460 /* if there is another module already loaded */
40461 if (swig_module
.next
!= &swig_module
) {
40462 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40465 /* Overwrite clientdata field */
40466 #ifdef SWIGRUNTIME_DEBUG
40467 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40469 if (swig_module
.type_initial
[i
]->clientdata
) {
40470 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40471 #ifdef SWIGRUNTIME_DEBUG
40472 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40476 type
= swig_module
.type_initial
[i
];
40479 /* Insert casting types */
40480 cast
= swig_module
.cast_initial
[i
];
40481 while (cast
->type
) {
40482 /* Don't need to add information already in the list */
40484 #ifdef SWIGRUNTIME_DEBUG
40485 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40487 if (swig_module
.next
!= &swig_module
) {
40488 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40489 #ifdef SWIGRUNTIME_DEBUG
40490 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40494 if (type
== swig_module
.type_initial
[i
]) {
40495 #ifdef SWIGRUNTIME_DEBUG
40496 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40501 /* Check for casting already in the list */
40502 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40503 #ifdef SWIGRUNTIME_DEBUG
40504 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40506 if (!ocast
) ret
= 0;
40511 #ifdef SWIGRUNTIME_DEBUG
40512 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40515 type
->cast
->prev
= cast
;
40516 cast
->next
= type
->cast
;
40522 /* Set entry in modules->types array equal to the type */
40523 swig_module
.types
[i
] = type
;
40525 swig_module
.types
[i
] = 0;
40527 #ifdef SWIGRUNTIME_DEBUG
40528 printf("**** SWIG_InitializeModule: Cast List ******\n");
40529 for (i
= 0; i
< swig_module
.size
; ++i
) {
40531 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40532 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40533 while (cast
->type
) {
40534 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40538 printf("---- Total casts: %d\n",j
);
40540 printf("**** SWIG_InitializeModule: Cast List ******\n");
40544 /* This function will propagate the clientdata field of type to
40545 * any new swig_type_info structures that have been added into the list
40546 * of equivalent types. It is like calling
40547 * SWIG_TypeClientData(type, clientdata) a second time.
40550 SWIG_PropagateClientData(void) {
40552 swig_cast_info
*equiv
;
40553 static int init_run
= 0;
40555 if (init_run
) return;
40558 for (i
= 0; i
< swig_module
.size
; i
++) {
40559 if (swig_module
.types
[i
]->clientdata
) {
40560 equiv
= swig_module
.types
[i
]->cast
;
40562 if (!equiv
->converter
) {
40563 if (equiv
->type
&& !equiv
->type
->clientdata
)
40564 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40566 equiv
= equiv
->next
;
40586 /* Python-specific SWIG API */
40587 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40588 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40589 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40591 /* -----------------------------------------------------------------------------
40592 * global variable support code.
40593 * ----------------------------------------------------------------------------- */
40595 typedef struct swig_globalvar
{
40596 char *name
; /* Name of global variable */
40597 PyObject
*(*get_attr
)(void); /* Return the current value */
40598 int (*set_attr
)(PyObject
*); /* Set the value */
40599 struct swig_globalvar
*next
;
40602 typedef struct swig_varlinkobject
{
40604 swig_globalvar
*vars
;
40605 } swig_varlinkobject
;
40607 SWIGINTERN PyObject
*
40608 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40609 return PyString_FromString("<Swig global variables>");
40612 SWIGINTERN PyObject
*
40613 swig_varlink_str(swig_varlinkobject
*v
) {
40614 PyObject
*str
= PyString_FromString("(");
40615 swig_globalvar
*var
;
40616 for (var
= v
->vars
; var
; var
=var
->next
) {
40617 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40618 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40620 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40625 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40626 PyObject
*str
= swig_varlink_str(v
);
40627 fprintf(fp
,"Swig global variables ");
40628 fprintf(fp
,"%s\n", PyString_AsString(str
));
40634 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40635 swig_globalvar
*var
= v
->vars
;
40637 swig_globalvar
*n
= var
->next
;
40644 SWIGINTERN PyObject
*
40645 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40646 PyObject
*res
= NULL
;
40647 swig_globalvar
*var
= v
->vars
;
40649 if (strcmp(var
->name
,n
) == 0) {
40650 res
= (*var
->get_attr
)();
40655 if (res
== NULL
&& !PyErr_Occurred()) {
40656 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40662 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40664 swig_globalvar
*var
= v
->vars
;
40666 if (strcmp(var
->name
,n
) == 0) {
40667 res
= (*var
->set_attr
)(p
);
40672 if (res
== 1 && !PyErr_Occurred()) {
40673 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40678 SWIGINTERN PyTypeObject
*
40679 swig_varlink_type(void) {
40680 static char varlink__doc__
[] = "Swig var link object";
40681 static PyTypeObject varlink_type
;
40682 static int type_init
= 0;
40684 const PyTypeObject tmp
40686 PyObject_HEAD_INIT(NULL
)
40687 0, /* Number of items in variable part (ob_size) */
40688 (char *)"swigvarlink", /* Type name (tp_name) */
40689 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40690 0, /* Itemsize (tp_itemsize) */
40691 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40692 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40693 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40694 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40695 0, /* tp_compare */
40696 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40697 0, /* tp_as_number */
40698 0, /* tp_as_sequence */
40699 0, /* tp_as_mapping */
40702 (reprfunc
)swig_varlink_str
, /* tp_str */
40703 0, /* tp_getattro */
40704 0, /* tp_setattro */
40705 0, /* tp_as_buffer */
40707 varlink__doc__
, /* tp_doc */
40708 0, /* tp_traverse */
40710 0, /* tp_richcompare */
40711 0, /* tp_weaklistoffset */
40712 #if PY_VERSION_HEX >= 0x02020000
40713 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40715 #if PY_VERSION_HEX >= 0x02030000
40718 #ifdef COUNT_ALLOCS
40719 0,0,0,0 /* tp_alloc -> tp_next */
40722 varlink_type
= tmp
;
40723 varlink_type
.ob_type
= &PyType_Type
;
40726 return &varlink_type
;
40729 /* Create a variable linking object for use later */
40730 SWIGINTERN PyObject
*
40731 SWIG_Python_newvarlink(void) {
40732 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40736 return ((PyObject
*) result
);
40740 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40741 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40742 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40744 size_t size
= strlen(name
)+1;
40745 gv
->name
= (char *)malloc(size
);
40747 strncpy(gv
->name
,name
,size
);
40748 gv
->get_attr
= get_attr
;
40749 gv
->set_attr
= set_attr
;
40750 gv
->next
= v
->vars
;
40756 SWIGINTERN PyObject
*
40758 static PyObject
*_SWIG_globals
= 0;
40759 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40760 return _SWIG_globals
;
40763 /* -----------------------------------------------------------------------------
40764 * constants/methods manipulation
40765 * ----------------------------------------------------------------------------- */
40767 /* Install Constants */
40769 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
40772 for (i
= 0; constants
[i
].type
; ++i
) {
40773 switch(constants
[i
].type
) {
40774 case SWIG_PY_POINTER
:
40775 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
40777 case SWIG_PY_BINARY
:
40778 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
40785 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
40791 /* -----------------------------------------------------------------------------*/
40792 /* Fix SwigMethods to carry the callback ptrs when needed */
40793 /* -----------------------------------------------------------------------------*/
40796 SWIG_Python_FixMethods(PyMethodDef
*methods
,
40797 swig_const_info
*const_table
,
40798 swig_type_info
**types
,
40799 swig_type_info
**types_initial
) {
40801 for (i
= 0; methods
[i
].ml_name
; ++i
) {
40802 const char *c
= methods
[i
].ml_doc
;
40803 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
40805 swig_const_info
*ci
= 0;
40806 const char *name
= c
+ 10;
40807 for (j
= 0; const_table
[j
].type
; ++j
) {
40808 if (strncmp(const_table
[j
].name
, name
,
40809 strlen(const_table
[j
].name
)) == 0) {
40810 ci
= &(const_table
[j
]);
40815 size_t shift
= (ci
->ptype
) - types
;
40816 swig_type_info
*ty
= types_initial
[shift
];
40817 size_t ldoc
= (c
- methods
[i
].ml_doc
);
40818 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
40819 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
40822 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
40824 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
40826 strncpy(buff
, "swig_ptr: ", 10);
40828 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
40829 methods
[i
].ml_doc
= ndoc
;
40841 /* -----------------------------------------------------------------------------*
40842 * Partial Init method
40843 * -----------------------------------------------------------------------------*/
40848 SWIGEXPORT
void SWIG_init(void) {
40851 /* Fix SwigMethods to carry the callback ptrs when needed */
40852 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
40854 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
40855 d
= PyModule_GetDict(m
);
40857 SWIG_InitializeModule(0);
40858 SWIG_InstallConstants(d
,swig_const_table
);
40861 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
40862 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
40863 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
40864 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
40865 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
40866 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
40867 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
40868 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
40869 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
40870 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
40871 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
40872 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
40873 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
40874 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
40875 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
40876 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
40877 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
40878 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
40879 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
40880 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
40881 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
40882 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
40883 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
40884 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
40885 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
40886 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
40887 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
40888 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
40889 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
40890 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
40891 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
40892 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
40893 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
40894 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
40895 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
40896 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
40897 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
40898 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
40899 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
40900 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
40901 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
40902 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
40903 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
40904 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
40905 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
40906 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
40907 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
40908 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
40909 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
40910 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
40911 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
40912 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
40913 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
40914 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
40915 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
40916 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
40917 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
40918 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
40919 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
40920 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
40921 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
40922 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
40923 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
40924 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
40925 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
40926 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
40927 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
40928 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
40929 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
40930 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
40931 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
40932 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
40933 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
40934 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
40935 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
40936 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
40937 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
40938 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
40939 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
40940 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
40941 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
40942 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
40943 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
40944 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
40945 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
40946 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
40947 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
40948 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
40949 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
40950 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
40951 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
40952 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
40953 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
40954 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
40955 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
40956 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
40957 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
40958 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
40959 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
40960 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
40961 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
40962 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
40963 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
40964 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
40965 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
40966 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
40967 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
40968 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
40969 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
40970 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
40971 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
40972 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
40973 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
40974 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
40975 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
40976 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
40977 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
40978 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
40979 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
40980 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
40981 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
40982 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
40983 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
40984 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
40985 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
40986 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
40987 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
40988 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
40989 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
40990 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
40991 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
40992 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
40994 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
40996 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
40997 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
40998 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
40999 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41000 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41001 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41002 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41003 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41004 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41005 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41006 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41007 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41008 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41009 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41010 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41011 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41012 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41013 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41014 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41015 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41016 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41017 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41018 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41019 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41020 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41021 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41022 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41023 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41024 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41025 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41026 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41027 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41028 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41029 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41030 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41031 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41032 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41033 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41034 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41035 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41036 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41037 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41038 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41039 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41040 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41041 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41042 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41043 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41044 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41045 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41046 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41047 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41048 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41049 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41050 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41051 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41052 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41053 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41054 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41055 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41056 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41057 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41058 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41059 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41060 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41061 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41062 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41063 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41064 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41065 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41066 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41067 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41068 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41069 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41070 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41071 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41072 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41073 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41074 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41075 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41076 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41077 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41078 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41079 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41080 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41081 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41082 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41083 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41084 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41085 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41086 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41087 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41088 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41089 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41090 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41091 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41092 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41093 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41094 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41095 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41096 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41097 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41098 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41099 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41100 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41101 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41102 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41103 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41104 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41105 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41106 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41107 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41108 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41109 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41110 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41111 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41112 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41113 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41114 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41115 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41116 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41117 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41118 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41119 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41120 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41121 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41122 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41123 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41124 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41125 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41126 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41127 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41128 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41129 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41130 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41131 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41132 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41133 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41134 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41135 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41136 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41137 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41138 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41139 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41140 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41141 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41142 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41143 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41144 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41145 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41146 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41147 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41148 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41149 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41150 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41151 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41152 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41153 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41154 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41155 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41156 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41157 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41158 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41159 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41160 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41161 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41162 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41163 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41164 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41165 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41166 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41167 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41168 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41169 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41170 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41171 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41172 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41173 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41174 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41175 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41176 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41177 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41178 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41179 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41180 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41181 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41182 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41183 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41184 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41185 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41186 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41187 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41188 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41189 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41190 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41191 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41192 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41193 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41194 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41195 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41196 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41197 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41198 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41199 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41200 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41201 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41202 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41203 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41204 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41205 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41206 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41207 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41208 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41209 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41210 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41211 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41212 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41213 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41214 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41215 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41216 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41217 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41218 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41219 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41220 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41221 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41222 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41223 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41224 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41225 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41226 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41227 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41228 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41229 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41230 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41231 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41232 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41233 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41234 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41235 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41236 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41237 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41238 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41239 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41240 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41241 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41242 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41243 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41244 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41245 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41246 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41247 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41248 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41249 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41250 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41251 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41252 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41253 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41254 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41255 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41256 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41257 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41258 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41259 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41260 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41261 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41262 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41263 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41264 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41265 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41266 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41267 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41268 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41269 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41270 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41271 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41272 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41273 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41274 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41275 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41276 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41277 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41278 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41279 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41280 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41281 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41282 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41283 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41284 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41285 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41286 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41287 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41288 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41289 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41290 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41291 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41292 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41293 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41294 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41295 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41296 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41297 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41298 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41299 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41300 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41301 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41302 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41303 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41304 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41305 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41306 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41307 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41308 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41309 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41310 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41311 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41312 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41313 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41314 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41315 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41316 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41317 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41318 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41319 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41321 // Work around a chicken/egg problem in drawlist.cpp
41322 wxPyDrawList_SetAPIPtr();