1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCBrushChanger swig_types[37]
2504 #define SWIGTYPE_p_wxDCClipper swig_types[38]
2505 #define SWIGTYPE_p_wxDCOverlay swig_types[39]
2506 #define SWIGTYPE_p_wxDCPenChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[41]
2508 #define SWIGTYPE_p_wxDash swig_types[42]
2509 #define SWIGTYPE_p_wxDateEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2513 #define SWIGTYPE_p_wxEffects swig_types[47]
2514 #define SWIGTYPE_p_wxEncodingConverter swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileSystem swig_types[53]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[55]
2522 #define SWIGTYPE_p_wxFont swig_types[56]
2523 #define SWIGTYPE_p_wxFontList swig_types[57]
2524 #define SWIGTYPE_p_wxFontMapper swig_types[58]
2525 #define SWIGTYPE_p_wxGBSizerItem swig_types[59]
2526 #define SWIGTYPE_p_wxGCDC swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObjListBase swig_types[61]
2528 #define SWIGTYPE_p_wxGDIObject swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsBrush swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsContext swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsFont swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsObject swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPath swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsPen swig_types[70]
2537 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[71]
2538 #define SWIGTYPE_p_wxGridBagSizer swig_types[72]
2539 #define SWIGTYPE_p_wxGridSizer swig_types[73]
2540 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconBundle swig_types[77]
2544 #define SWIGTYPE_p_wxIconLocation swig_types[78]
2545 #define SWIGTYPE_p_wxIconizeEvent swig_types[79]
2546 #define SWIGTYPE_p_wxIdleEvent swig_types[80]
2547 #define SWIGTYPE_p_wxImage swig_types[81]
2548 #define SWIGTYPE_p_wxImageHandler swig_types[82]
2549 #define SWIGTYPE_p_wxImageList swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLanguageInfo swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxLocale swig_types[90]
2557 #define SWIGTYPE_p_wxMask swig_types[91]
2558 #define SWIGTYPE_p_wxMaximizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMemoryDC swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFile swig_types[98]
2565 #define SWIGTYPE_p_wxMetaFileDC swig_types[99]
2566 #define SWIGTYPE_p_wxMirrorDC swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativeFontInfo swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData swig_types[107]
2574 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[108]
2575 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNcPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxNotifyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxObject swig_types[112]
2579 #define SWIGTYPE_p_wxOverlay swig_types[113]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPaintDC swig_types[117]
2584 #define SWIGTYPE_p_wxPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPalette swig_types[119]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPaperSize swig_types[121]
2588 #define SWIGTYPE_p_wxPen swig_types[122]
2589 #define SWIGTYPE_p_wxPenList swig_types[123]
2590 #define SWIGTYPE_p_wxPixelDataBase swig_types[124]
2591 #define SWIGTYPE_p_wxPoint swig_types[125]
2592 #define SWIGTYPE_p_wxPoint2D swig_types[126]
2593 #define SWIGTYPE_p_wxPoint2DDouble swig_types[127]
2594 #define SWIGTYPE_p_wxPostScriptDC swig_types[128]
2595 #define SWIGTYPE_p_wxPrintData swig_types[129]
2596 #define SWIGTYPE_p_wxPrinterDC swig_types[130]
2597 #define SWIGTYPE_p_wxPseudoDC swig_types[131]
2598 #define SWIGTYPE_p_wxPyApp swig_types[132]
2599 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyEvent swig_types[134]
2601 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[135]
2602 #define SWIGTYPE_p_wxPyImageHandler swig_types[136]
2603 #define SWIGTYPE_p_wxPyLocale swig_types[137]
2604 #define SWIGTYPE_p_wxPySizer swig_types[138]
2605 #define SWIGTYPE_p_wxPyValidator swig_types[139]
2606 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[140]
2607 #define SWIGTYPE_p_wxRect swig_types[141]
2608 #define SWIGTYPE_p_wxRect2DDouble swig_types[142]
2609 #define SWIGTYPE_p_wxRegion swig_types[143]
2610 #define SWIGTYPE_p_wxRegionIterator swig_types[144]
2611 #define SWIGTYPE_p_wxRendererNative swig_types[145]
2612 #define SWIGTYPE_p_wxRendererVersion swig_types[146]
2613 #define SWIGTYPE_p_wxScreenDC swig_types[147]
2614 #define SWIGTYPE_p_wxScrollEvent swig_types[148]
2615 #define SWIGTYPE_p_wxScrollWinEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSetCursorEvent swig_types[150]
2617 #define SWIGTYPE_p_wxShowEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSize swig_types[152]
2619 #define SWIGTYPE_p_wxSizeEvent swig_types[153]
2620 #define SWIGTYPE_p_wxSizer swig_types[154]
2621 #define SWIGTYPE_p_wxSizerItem swig_types[155]
2622 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[156]
2623 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[158]
2625 #define SWIGTYPE_p_wxStockGDI swig_types[159]
2626 #define SWIGTYPE_p_wxString swig_types[160]
2627 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTIFFHandler swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxWindow swig_types[165]
2632 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDC swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info
*swig_types
[171];
2637 static swig_module_info swig_module
= {swig_types
, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2641 /* -------- TYPES TABLE (END) -------- */
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2658 /*-----------------------------------------------
2659 @(target):= _gdi_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_gdi_
2663 #define SWIG_name "_gdi_"
2665 #define SWIGVERSION 0x010329
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2672 #include <stdexcept>
2676 class PyObject_ptr
{
2681 PyObject_ptr() :_obj(0)
2685 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2690 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2692 if (initial_ref
) Py_XINCREF(_obj
);
2695 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2697 Py_XINCREF(item
._obj
);
2708 operator PyObject
*() const
2713 PyObject
*operator->() const
2722 struct PyObject_var
: PyObject_ptr
{
2723 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2725 PyObject_var
& operator = (PyObject
* obj
)
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyEmptyString(wxEmptyString
);
2741 #define SWIG_From_long PyInt_FromLong
2744 SWIGINTERNINLINE PyObject
*
2745 SWIG_From_int (int value
)
2747 return SWIG_From_long (value
);
2753 # define LLONG_MIN LONG_LONG_MIN
2756 # define LLONG_MAX LONG_LONG_MAX
2759 # define ULLONG_MAX ULONG_LONG_MAX
2764 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2766 if (PyNumber_Check(obj
)) {
2767 if (val
) *val
= PyInt_AsLong(obj
);
2770 return SWIG_TypeError
;
2775 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2778 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2779 return SWIG_TypeError
;
2782 *val
= (unsigned long)v
;
2788 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2791 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2792 if (SWIG_IsOK(res
)) {
2793 if ((v
> UCHAR_MAX
)) {
2794 return SWIG_OverflowError
;
2796 if (val
) *val
= static_cast< unsigned char >(v
);
2803 SWIGINTERNINLINE PyObject
*
2804 SWIG_From_unsigned_SS_long (unsigned long value
)
2806 return (value
> LONG_MAX
) ?
2807 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2811 SWIGINTERNINLINE PyObject
*
2812 SWIG_From_unsigned_SS_char (unsigned char value
)
2814 return SWIG_From_unsigned_SS_long (value
);
2817 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2818 wxColour temp
, *obj
= &temp
;
2819 if ( other
== Py_None
) return false;
2820 if ( ! wxColour_helper(other
, &obj
) ) {
2824 return self
->operator==(*obj
);
2826 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2827 wxColour temp
, *obj
= &temp
;
2828 if ( other
== Py_None
) return true;
2829 if ( ! wxColour_helper(other
, &obj
)) {
2833 return self
->operator!=(*obj
);
2837 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2839 if (obj
== Py_True
) {
2840 if (val
) *val
= true;
2842 } else if (obj
== Py_False
) {
2843 if (val
) *val
= false;
2847 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2848 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2853 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2854 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2858 int alpha
= wxALPHA_OPAQUE
;
2861 green
= self
->Green();
2862 blue
= self
->Blue();
2863 alpha
= self
->Alpha();
2865 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2866 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2867 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2869 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2872 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2873 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2877 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2880 int res
= SWIG_AsVal_long (obj
, &v
);
2881 if (SWIG_IsOK(res
)) {
2882 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2883 return SWIG_OverflowError
;
2885 if (val
) *val
= static_cast< int >(v
);
2891 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2893 int count
= self
->GetDashes(&dashes
);
2894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2895 PyObject
* retval
= PyList_New(0);
2896 for (int x
=0; x
<count
; x
++) {
2897 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2898 PyList_Append(retval
, pyint
);
2901 wxPyEndBlockThreads(blocked
);
2904 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2905 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2906 int size
= PyList_Size(pyDashes
);
2907 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2909 // black magic warning! The array of wxDashes needs to exist as
2910 // long as the pen does because wxPen does not copy the array. So
2911 // stick a copy in a Python string object and attach it to _self,
2912 // and then call SetDashes with a pointer to that array. Then
2913 // when the Python pen object is destroyed the array will be
2915 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2916 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2918 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2920 Py_DECREF(strDashes
);
2921 wxPyEndBlockThreads(blocked
);
2923 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2924 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2926 SWIGINTERNINLINE PyObject
*
2927 SWIG_From_short (short value
)
2929 return SWIG_From_long (value
);
2934 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2937 int res
= SWIG_AsVal_long (obj
, &v
);
2938 if (SWIG_IsOK(res
)) {
2939 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2940 return SWIG_OverflowError
;
2942 if (val
) *val
= static_cast< short >(v
);
2949 #include <wx/rawbmp.h>
2952 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2953 // appears to me that the other platforms are already doing it, so I'll just
2954 // automatically do it for wxMSW here.
2956 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2957 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2959 #define wxPy_premultiply(p, a) (p)
2960 #define wxPy_unpremultiply(p, a) (p)
2964 #include <wx/image.h>
2966 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2967 char** cArray
= NULL
;
2970 if (!PyList_Check(listOfStrings
)) {
2971 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2974 count
= PyList_Size(listOfStrings
);
2975 cArray
= new char*[count
];
2977 for(int x
=0; x
<count
; x
++) {
2978 // TODO: Need some validation and error checking here
2979 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2985 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2986 char** cArray
= NULL
;
2989 cArray
= ConvertListOfStrings(listOfStrings
);
2992 bmp
= new wxBitmap(cArray
);
2996 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2999 PyString_AsStringAndSize(bits
, &buf
, &length
);
3000 return new wxBitmap(buf
, width
, height
, depth
);
3002 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
3003 wxSize
size(self
->GetWidth(), self
->GetHeight());
3006 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
3007 wxMask
*mask
= new wxMask(*self
, colour
);
3008 self
->SetMask(mask
);
3010 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
3011 self
->SetWidth(size
.x
);
3012 self
->SetHeight(size
.y
);
3014 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
3015 int height
=self
->GetHeight();
3016 int width
=self
->GetWidth();
3018 if (DATASIZE
!= width
* height
* 3) {
3019 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3021 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3023 // raise an exception...
3024 wxPyErr_SetString(PyExc_RuntimeError
,
3025 "Failed to gain raw access to bitmap data.");
3029 wxNativePixelData::Iterator
p(pixData
);
3030 for (int y
=0; y
<height
; y
++) {
3031 wxNativePixelData::Iterator rowStart
= p
;
3032 for (int x
=0; x
<width
; x
++) {
3033 p
.Red() = *(data
++);
3034 p
.Green() = *(data
++);
3035 p
.Blue() = *(data
++);
3039 p
.OffsetY(pixData
, 1);
3042 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3043 int height
=self
->GetHeight();
3044 int width
=self
->GetWidth();
3046 if (DATASIZE
!= width
* height
* 4) {
3047 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3049 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3051 // raise an exception...
3052 wxPyErr_SetString(PyExc_RuntimeError
,
3053 "Failed to gain raw access to bitmap data.");
3058 wxAlphaPixelData::Iterator
p(pixData
);
3059 for (int y
=0; y
<height
; y
++) {
3060 wxAlphaPixelData::Iterator rowStart
= p
;
3061 for (int x
=0; x
<width
; x
++) {
3063 p
.Red() = wxPy_premultiply(*(data
++), a
);
3064 p
.Green() = wxPy_premultiply(*(data
++), a
);
3065 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3066 p
.Alpha() = a
; data
++;
3070 p
.OffsetY(pixData
, 1);
3073 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3074 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3076 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3077 buffer data
, int DATASIZE
,
3078 buffer alpha
, int ALPHASIZE
)
3080 if (DATASIZE
!= width
*height
*3) {
3081 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3085 if (ALPHASIZE
!= width
*height
) {
3086 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3090 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3091 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3093 // raise an exception...
3094 wxPyErr_SetString(PyExc_RuntimeError
,
3095 "Failed to gain raw access to bitmap data.");
3100 wxAlphaPixelData::Iterator
p(pixData
);
3101 for (int y
=0; y
<height
; y
++) {
3102 wxAlphaPixelData::Iterator rowStart
= p
;
3103 for (int x
=0; x
<width
; x
++) {
3104 byte a
= *(alpha
++);
3105 p
.Red() = wxPy_premultiply(*(data
++), a
);
3106 p
.Green() = wxPy_premultiply(*(data
++), a
);
3107 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3112 p
.OffsetY(pixData
, 1);
3117 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3119 if (DATASIZE
!= width
*height
*3) {
3120 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3124 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3125 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3127 // raise an exception...
3128 wxPyErr_SetString(PyExc_RuntimeError
,
3129 "Failed to gain raw access to bitmap data.");
3133 wxNativePixelData::Iterator
p(pixData
);
3134 for (int y
=0; y
<height
; y
++) {
3135 wxNativePixelData::Iterator rowStart
= p
;
3136 for (int x
=0; x
<width
; x
++) {
3137 p
.Red() = *(data
++);
3138 p
.Green() = *(data
++);
3139 p
.Blue() = *(data
++);
3143 p
.OffsetY(pixData
, 1);
3149 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3151 if (DATASIZE
!= width
*height
*4) {
3152 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3156 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3157 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3159 // raise an exception...
3160 wxPyErr_SetString(PyExc_RuntimeError
,
3161 "Failed to gain raw access to bitmap data.");
3166 wxAlphaPixelData::Iterator
p(pixData
);
3167 for (int y
=0; y
<height
; y
++) {
3168 wxAlphaPixelData::Iterator rowStart
= p
;
3169 for (int x
=0; x
<width
; x
++) {
3171 p
.Red() = wxPy_premultiply(*(data
++), a
);
3172 p
.Green() = wxPy_premultiply(*(data
++), a
);
3173 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3174 p
.Alpha() = a
; data
++;
3178 p
.OffsetY(pixData
, 1);
3184 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3186 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3187 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3188 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3190 self
->Green() = green
;
3191 self
->Blue() = blue
;
3193 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3194 PyObject
* rv
= PyTuple_New(3);
3195 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3196 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3197 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3201 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3203 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3204 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3205 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3206 self
->Red() = wxPy_premultiply(red
, alpha
);
3207 self
->Green() = wxPy_premultiply(green
, alpha
);
3208 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3209 self
->Alpha() = alpha
;
3211 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3212 PyObject
* rv
= PyTuple_New(4);
3213 int red
= self
->Red();
3214 int green
= self
->Green();
3215 int blue
= self
->Blue();
3216 int alpha
= self
->Alpha();
3218 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3219 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3220 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3221 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3224 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3225 if ( !colour
.IsOk() )
3226 return new wxMask(bitmap
, *wxBLACK
);
3228 return new wxMask(bitmap
, colour
);
3231 #include <wx/iconbndl.h>
3233 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3234 wxIcon
* icon
= new wxIcon();
3235 icon
->CopyFromBitmap(bmp
);
3238 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3239 char** cArray
= NULL
;
3242 cArray
= ConvertListOfStrings(listOfStrings
);
3245 icon
= new wxIcon(cArray
);
3249 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3253 return new wxIconLocation(*filename
);
3256 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3263 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3270 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3272 wxImage
img(cursorName
, type
);
3273 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3274 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3275 return new wxCursor(img
);
3277 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3282 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3285 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3286 return self
->operator bool();
3289 #include <wx/fontutil.h>
3290 #include <wx/fontmap.h>
3291 #include <wx/fontenum.h>
3293 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3294 return self
->ToString();
3297 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3298 static wxNativeEncodingInfo info
;
3299 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3306 SWIGINTERNINLINE PyObject
*
3307 SWIG_From_size_t (size_t value
)
3309 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3313 SWIGINTERNINLINE
int
3314 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3317 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3318 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3322 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3323 wxFontEncoding alt_enc
;
3324 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3325 return PyInt_FromLong(alt_enc
);
3331 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3332 wxNativeFontInfo nfi
;
3333 nfi
.FromString(info
);
3334 return new wxFont(nfi
);
3336 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3337 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3339 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3340 return wxFontBase::New(pixelSize
, family
,
3341 style
, weight
, underlined
,
3344 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3345 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3347 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3348 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3350 class wxPyFontEnumerator
: public wxFontEnumerator
{
3352 wxPyFontEnumerator() {}
3353 ~wxPyFontEnumerator() {}
3355 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3356 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3361 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3362 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3365 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3367 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3368 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3369 ret
= wxArrayString2PyList_helper(arr
);
3370 wxPyEndBlockThreads(blocked
);
3373 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3375 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3376 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3377 ret
= wxArrayString2PyList_helper(arr
);
3378 wxPyEndBlockThreads(blocked
);
3384 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3387 loc
= new wxLocale();
3389 loc
= new wxLocale(language
, flags
);
3390 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3391 // for the floating point conversions and such to work right.
3392 #if PY_VERSION_HEX < 0x02040000
3393 setlocale(LC_NUMERIC
, "C");
3397 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3398 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3399 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3400 // for the floating point conversions and such to work right.
3401 #if PY_VERSION_HEX < 0x02040000
3402 setlocale(LC_NUMERIC
, "C");
3406 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3407 bool rc
= self
->Init(language
, flags
);
3408 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3409 // for the floating point conversions and such to work right.
3410 #if PY_VERSION_HEX < 0x02040000
3411 setlocale(LC_NUMERIC
, "C");
3416 class wxPyLocale
: public wxLocale
3421 wxPyLocale(const wxChar
*szName
, // name (for messages)
3422 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3423 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3424 bool bLoadDefault
= true, // preload wxstd.mo?
3425 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3427 wxPyLocale(int language
, // wxLanguage id or custom language
3428 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3432 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3433 const wxChar
*szDomain
= NULL
) const;
3434 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3435 const wxChar
*szOrigString2
, size_t n
,
3436 const wxChar
*szDomain
= NULL
) const;
3438 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3439 const wxChar
*szDomain
= NULL
) const;
3440 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3441 const wxChar
*szOrigString2
, size_t n
,
3442 const wxChar
*szDomain
= NULL
) const;
3446 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3449 wxPyLocale::wxPyLocale() : wxLocale()
3453 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3454 const wxChar
*szShort
, // dir prefix (for msg files)
3455 const wxChar
*szLocale
, // locale (for setlocale)
3456 bool bLoadDefault
, // preload wxstd.mo?
3457 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3458 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3462 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3463 int flags
) : wxLocale(language
, flags
)
3467 wxPyLocale::~wxPyLocale()
3471 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3472 const wxChar
*szDomain
) const
3474 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3475 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3478 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3479 const wxChar
*szOrigString2
, size_t n
,
3480 const wxChar
*szDomain
) const
3482 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3483 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3486 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3487 const wxChar
*szDomain
) const
3490 static wxString str
;
3491 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.
3492 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3493 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3494 PyObject
* param1
= wx2PyString(szOrigString
);
3495 PyObject
* param2
= wx2PyString(szDomain
);
3496 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3500 str
= Py2wxString(ret
);
3504 wxPyEndBlockThreads(blocked
);
3505 return (found
? (wxChar
*)str
.c_str() : NULL
);
3508 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3509 const wxChar
*szOrigString2
, size_t n
,
3510 const wxChar
*szDomain
) const
3513 static wxString str
;
3514 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.
3515 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3516 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3517 PyObject
* param1
= wx2PyString(szOrigString
);
3518 PyObject
* param2
= wx2PyString(szOrigString2
);
3519 PyObject
* param4
= wx2PyString(szDomain
);
3520 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3525 str
= Py2wxString(ret
);
3529 wxPyEndBlockThreads(blocked
);
3530 return (found
? (wxChar
*)str
.c_str() : NULL
);
3533 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3536 loc
= new wxPyLocale();
3538 loc
= new wxPyLocale(language
, flags
);
3539 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3540 // for the floating point conversions and such to work right.
3541 #if PY_VERSION_HEX < 0x02040000
3542 setlocale(LC_NUMERIC
, "C");
3547 #include "wx/wxPython/pydrawxxx.h"
3549 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3551 self
->GetPixel(x
, y
, &col
);
3554 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3556 self
->GetPixel(pt
, &col
);
3561 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3563 if (PyNumber_Check(obj
)) {
3564 if (val
) *val
= PyFloat_AsDouble(obj
);
3567 return SWIG_TypeError
;
3570 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3572 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3575 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3577 self
->GetClippingBox(rect
);
3580 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3582 self
->GetPartialTextExtents(text
, widths
);
3586 #define SWIG_From_double PyFloat_FromDouble
3588 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3589 self
->SetLogicalOrigin(point
.x
, point
.y
);
3591 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3592 self
->SetDeviceOrigin(point
.x
, point
.y
);
3594 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3595 self
->CalcBoundingBox(point
.x
, point
.y
);
3597 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3598 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3600 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3601 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3603 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3604 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3606 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3607 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3609 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3610 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3612 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3613 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3616 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3624 #include <wx/dcbuffer.h>
3627 #include <wx/dcps.h>
3630 #include <wx/metafile.h>
3633 #include <wx/graphics.h>
3636 #if !wxUSE_GRAPHICS_CONTEXT
3637 // C++ stub classes for platforms or build configurations that don't have
3638 // wxGraphicsContext yet.
3641 class wxGraphicsObject
: public wxObject
3644 wxGraphicsObject( wxGraphicsRenderer
* ) {
3645 PyErr_SetString(PyExc_NotImplementedError
,
3646 "wx.GraphicsObject is not available on this platform.");
3648 wxGraphicsObject( const wxGraphicsObject
& ) {}
3649 virtual ~wxGraphicsObject() {}
3650 bool IsNull() const { return false; }
3651 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3656 class wxGraphicsPen
: public wxGraphicsObject
3659 virtual ~wxGraphicsPen() {}
3661 wxGraphicsPen wxNullGraphicsPen
;
3665 class wxGraphicsBrush
: public wxGraphicsObject
3668 wxGraphicsBrush() {}
3669 virtual ~wxGraphicsBrush() {}
3671 wxGraphicsBrush wxNullGraphicsBrush
;
3675 class wxGraphicsFont
: public wxGraphicsObject
3679 virtual ~wxGraphicsFont() {}
3681 wxGraphicsFont wxNullGraphicsFont
;
3685 class wxGraphicsPath
: public wxGraphicsObject
3688 wxGraphicsPath(wxGraphicsRenderer
* ) {
3689 PyErr_SetString(PyExc_NotImplementedError
,
3690 "wx.GraphicsPath is not available on this platform.");
3692 virtual ~wxGraphicsPath() {}
3694 void MoveToPoint( wxDouble
, wxDouble
) {}
3695 void MoveToPoint( const wxPoint2DDouble
& ) {}
3696 void AddLineToPoint( wxDouble
, wxDouble
) {}
3697 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3698 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3699 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3700 void AddPath( const wxGraphicsPath
* ) {}
3701 void CloseSubpath() {}
3702 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3703 wxPoint2DDouble
GetCurrentPoint() { reutrn
wxPoint2D(0,0); }
3704 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3705 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3707 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3708 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3709 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3710 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3712 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3713 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3714 void * GetNativePath() const { return NULL
; }
3715 void UnGetNativePath(void *) {}
3716 void Transform( wxGraphicsMatrix
* ) {}
3717 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) {}
3718 wxRect2D
GetBox() { return wxRect2D(0,0,0,0); }
3720 bool Contains( wxDouble
, wxDouble
, int ) { return false; }
3721 bool Contains( const wxPoint2DDouble
& , int ) { return false; }
3723 wxGraphicsPath wxNullGraphicsPath
;
3726 class wxGraphicsMatrix
: public wxGraphicsObject
3729 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3730 PyErr_SetString(PyExc_NotImplementedError
,
3731 "wx.GraphicsMatrix is not available on this platform.");
3733 virtual ~wxGraphicsMatrix() {}
3734 virtual void Concat( const wxGraphicsMatrix
* ) {}
3735 virtual void Copy( const wxGraphicsMatrix
* ) {}
3736 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3737 wxDouble
, wxDouble
) {}
3738 virtual void Invert() {}
3739 virtual bool IsEqual( const wxGraphicsMatrix
* t
) const {}
3740 virtual bool IsIdentity() { return false; }
3741 virtual void Translate( wxDouble
, wxDouble
) {}
3742 virtual void Scale( wxDouble
, wxDouble
) {}
3743 virtual void Rotate( wxDouble
) {}
3744 virtual void TransformPoint( wxDouble
*, wxDouble
* ) {}
3745 virtual void TransformDistance( wxDouble
*, wxDouble
* ) {}
3746 virtual void * GetNativeMatrix() const { return NULL
; }
3748 wxGraphicsMatrix wxNullGraphicsMatrix
;
3751 class wxGraphicsContext
: public wxGraphicsObject
3755 wxGraphicsContext(wxGraphicsRenderer
* ) {
3756 PyErr_SetString(PyExc_NotImplementedError
,
3757 "wx.GraphicsContext is not available on this platform.");
3760 virtual ~wxGraphicsContext() {}
3762 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3763 PyErr_SetString(PyExc_NotImplementedError
,
3764 "wx.GraphicsContext is not available on this platform.");
3767 static wxGraphicsContext
* CreateFromNative( void * ) {
3768 PyErr_SetString(PyExc_NotImplementedError
,
3769 "wx.GraphicsContext is not available on this platform.");
3772 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3773 PyErr_SetString(PyExc_NotImplementedError
,
3774 "wx.GraphicsContext is not available on this platform.");
3777 static wxGraphicsContext
* Create( wxWindow
* ) {
3778 PyErr_SetString(PyExc_NotImplementedError
,
3779 "wx.GraphicsContext is not available on this platform.");
3782 wxGraphicsPath
* CreatePath() { return NULL
; }
3784 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return NULL
; }
3786 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return NULL
; }
3788 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3789 const wxColour
&, const wxColour
&) { return NULL
; }
3791 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3792 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3793 const wxColour
&oColor
, const wxColour
&cColor
) { return NULL
; }
3795 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return NULL
; }
3797 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3798 wxDouble
, wxDouble
) { return NULL
; }
3800 virtual void PushState() {}
3801 virtual void PopState() {}
3802 virtual void Clip( const wxRegion
& ) {}
3803 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3804 virtual void ResetClip() {}
3805 virtual void * GetNativeContext() { return NULL
; }
3806 virtual void Translate( wxDouble
, wxDouble
) {}
3807 virtual void Scale( wxDouble
, wxDouble
) {}
3808 virtual void Rotate( wxDouble
) {}
3809 virtual void ConcatTransform( const wxGraphicsMatrix
* ) {}
3810 virtual void SetTransform( const wxGraphicsMatrix
* ) {}
3811 virtual void GetTransform( wxGraphicsMatrix
* ) {}
3813 virtual void SetPen( const wxGraphicsPen
& ) {}
3814 void SetPen( const wxPen
& ) {}
3816 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3817 void SetBrush( const wxBrush
& ) {}
3819 virtual void SetFont( const wxGraphicsFont
& ) {}
3820 void SetFont( const wxFont
&, const wxColour
& ) {}
3822 virtual void StrokePath( const wxGraphicsPath
* ) {}
3823 virtual void FillPath( const wxGraphicsPath
*, int ) {}
3824 virtual void DrawPath( const wxGraphicsPath
*, int ) {}
3826 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3827 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3828 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3829 wxDouble
*, wxDouble
* ) const {}
3830 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3832 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3833 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3835 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3836 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3837 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3838 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3839 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3840 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3841 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3842 virtual bool ShouldOffset() const { return false; }
3846 class wxGraphicsRenderer
: public wxObject
3849 wxGraphicsRenderer() {
3850 PyErr_SetString(PyExc_NotImplementedError
,
3851 "wx.GraphicsRenderer is not available on this platform.");
3854 virtual ~wxGraphicsRenderer() {}
3856 static wxGraphicsRenderer
* GetDefaultRenderer(
3857 PyErr_SetString(PyExc_NotImplementedError
,
3858 "wx.GraphicsRenderer is not available on this platform.");
3861 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3862 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3863 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3864 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3866 virtual wxGraphicsPath
* CreatePath() { return NULL
; }
3868 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3869 wxDouble
, wxDouble
) { return NULL
; }
3871 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGaphicsPen
; }
3872 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGaphicsBrush
; }
3873 virtual wxGraphicsBrush
CreateLinearGradientBrush(xDouble
, wxDouble
, wxDouble
, wxDouble
,
3874 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3875 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3876 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3877 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGaphicsFont
; }
3882 class wxGCDC
: public wxWindowDC
3885 wxGCDC(const wxWindowDC
&) {
3886 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3887 PyErr_SetString(PyExc_NotImplementedError
,
3888 "wxGCDC is not available on this platform.");
3889 wxPyEndBlockThreads(blocked
);
3893 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3894 PyErr_SetString(PyExc_NotImplementedError
,
3895 "wxGCDC is not available on this platform.");
3896 wxPyEndBlockThreads(blocked
);
3899 virtual ~wxGCDC() {}
3901 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3902 void SetGraphicsContext( wxGraphicsContext
* ) {}
3907 SWIGINTERN
void wxGraphicsMatrix_Copy(wxGraphicsMatrix
*self
,wxGraphicsMatrix
const &t
){
3910 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3911 wxDouble width
= 0.0,
3913 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3914 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3915 PyObject
* rv
= PyTuple_New(2);
3916 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3917 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3920 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3921 wxArrayDouble widths
;
3922 self
->GetPartialTextExtents(text
, widths
);
3925 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3926 size_t c1
, c2
, count
;
3927 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3928 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3930 if ( beginP
!= NULL
&& endP
!= NULL
)
3932 count
= wxMin(c1
, c2
);
3933 self
->StrokeLines(count
, beginP
, endP
);
3939 #include "wx/dcgraph.h"
3942 #include <wx/overlay.h>
3946 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3947 self
->AddColour(name
, wxColour(red
, green
, blue
));
3950 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3951 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3952 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3953 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3956 #include <wx/effects.h>
3959 #include "wx/renderer.h"
3962 SWIGINTERNINLINE PyObject
*
3963 SWIG_From_bool (bool value
)
3965 return PyBool_FromLong(value
? 1 : 0);
3969 #include "wx/wxPython/pseudodc.h"
3971 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3973 self
->GetIdBounds(id
, rect
);
3979 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3980 PyObject
*resultobj
= 0;
3981 wxGDIObject
*result
= 0 ;
3983 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3985 if (!wxPyCheckForApp()) SWIG_fail
;
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 result
= (wxGDIObject
*)new wxGDIObject();
3988 wxPyEndAllowThreads(__tstate
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3998 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3999 PyObject
*resultobj
= 0;
4000 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4003 PyObject
*swig_obj
[1] ;
4005 if (!args
) SWIG_fail
;
4007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4008 if (!SWIG_IsOK(res1
)) {
4009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4011 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4016 wxPyEndAllowThreads(__tstate
);
4017 if (PyErr_Occurred()) SWIG_fail
;
4019 resultobj
= SWIG_Py_Void();
4026 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4027 PyObject
*resultobj
= 0;
4028 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4032 PyObject
*swig_obj
[1] ;
4034 if (!args
) SWIG_fail
;
4036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4037 if (!SWIG_IsOK(res1
)) {
4038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4040 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4043 result
= (bool)(arg1
)->IsNull();
4044 wxPyEndAllowThreads(__tstate
);
4045 if (PyErr_Occurred()) SWIG_fail
;
4048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4056 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4058 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4059 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4060 return SWIG_Py_Void();
4063 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4064 return SWIG_Python_InitShadowInstance(args
);
4067 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
*resultobj
= 0;
4069 byte arg1
= (byte
) 0 ;
4070 byte arg2
= (byte
) 0 ;
4071 byte arg3
= (byte
) 0 ;
4072 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4073 wxColour
*result
= 0 ;
4074 unsigned char val1
;
4076 unsigned char val2
;
4078 unsigned char val3
;
4080 unsigned char val4
;
4082 PyObject
* obj0
= 0 ;
4083 PyObject
* obj1
= 0 ;
4084 PyObject
* obj2
= 0 ;
4085 PyObject
* obj3
= 0 ;
4086 char * kwnames
[] = {
4087 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4092 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4093 if (!SWIG_IsOK(ecode1
)) {
4094 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4096 arg1
= static_cast< byte
>(val1
);
4099 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4100 if (!SWIG_IsOK(ecode2
)) {
4101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4103 arg2
= static_cast< byte
>(val2
);
4106 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4107 if (!SWIG_IsOK(ecode3
)) {
4108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4110 arg3
= static_cast< byte
>(val3
);
4113 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4114 if (!SWIG_IsOK(ecode4
)) {
4115 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4117 arg4
= static_cast< byte
>(val4
);
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) SWIG_fail
;
4125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4132 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
*resultobj
= 0;
4134 wxString
*arg1
= 0 ;
4135 wxColour
*result
= 0 ;
4136 bool temp1
= false ;
4137 PyObject
* obj0
= 0 ;
4138 char * kwnames
[] = {
4139 (char *) "colorName", NULL
4142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4144 arg1
= wxString_in_helper(obj0
);
4145 if (arg1
== NULL
) SWIG_fail
;
4149 if (!wxPyCheckForApp()) SWIG_fail
;
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4170 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
*resultobj
= 0;
4172 unsigned long arg1
;
4173 wxColour
*result
= 0 ;
4174 unsigned long val1
;
4176 PyObject
* obj0
= 0 ;
4177 char * kwnames
[] = {
4178 (char *) "colRGB", NULL
4181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4182 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4183 if (!SWIG_IsOK(ecode1
)) {
4184 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4186 arg1
= static_cast< unsigned long >(val1
);
4188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4189 result
= (wxColour
*)new wxColour(arg1
);
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4200 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4201 PyObject
*resultobj
= 0;
4202 wxColour
*arg1
= (wxColour
*) 0 ;
4205 PyObject
*swig_obj
[1] ;
4207 if (!args
) SWIG_fail
;
4209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4210 if (!SWIG_IsOK(res1
)) {
4211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4213 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4218 wxPyEndAllowThreads(__tstate
);
4219 if (PyErr_Occurred()) SWIG_fail
;
4221 resultobj
= SWIG_Py_Void();
4228 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4229 PyObject
*resultobj
= 0;
4230 wxColour
*arg1
= (wxColour
*) 0 ;
4234 PyObject
*swig_obj
[1] ;
4236 if (!args
) SWIG_fail
;
4238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4239 if (!SWIG_IsOK(res1
)) {
4240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4242 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4245 result
= (byte
)(arg1
)->Red();
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) SWIG_fail
;
4249 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4256 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4257 PyObject
*resultobj
= 0;
4258 wxColour
*arg1
= (wxColour
*) 0 ;
4262 PyObject
*swig_obj
[1] ;
4264 if (!args
) SWIG_fail
;
4266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4267 if (!SWIG_IsOK(res1
)) {
4268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4270 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4273 result
= (byte
)(arg1
)->Green();
4274 wxPyEndAllowThreads(__tstate
);
4275 if (PyErr_Occurred()) SWIG_fail
;
4277 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4284 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4285 PyObject
*resultobj
= 0;
4286 wxColour
*arg1
= (wxColour
*) 0 ;
4290 PyObject
*swig_obj
[1] ;
4292 if (!args
) SWIG_fail
;
4294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4295 if (!SWIG_IsOK(res1
)) {
4296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4298 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4301 result
= (byte
)(arg1
)->Blue();
4302 wxPyEndAllowThreads(__tstate
);
4303 if (PyErr_Occurred()) SWIG_fail
;
4305 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4312 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4313 PyObject
*resultobj
= 0;
4314 wxColour
*arg1
= (wxColour
*) 0 ;
4318 PyObject
*swig_obj
[1] ;
4320 if (!args
) SWIG_fail
;
4322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4323 if (!SWIG_IsOK(res1
)) {
4324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4326 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4329 result
= (byte
)(arg1
)->Alpha();
4330 wxPyEndAllowThreads(__tstate
);
4331 if (PyErr_Occurred()) SWIG_fail
;
4333 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4340 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4341 PyObject
*resultobj
= 0;
4342 wxColour
*arg1
= (wxColour
*) 0 ;
4346 PyObject
*swig_obj
[1] ;
4348 if (!args
) SWIG_fail
;
4350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4351 if (!SWIG_IsOK(res1
)) {
4352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4354 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4357 result
= (bool)(arg1
)->IsOk();
4358 wxPyEndAllowThreads(__tstate
);
4359 if (PyErr_Occurred()) SWIG_fail
;
4362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4370 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
*resultobj
= 0;
4372 wxColour
*arg1
= (wxColour
*) 0 ;
4376 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4379 unsigned char val2
;
4381 unsigned char val3
;
4383 unsigned char val4
;
4385 unsigned char val5
;
4387 PyObject
* obj0
= 0 ;
4388 PyObject
* obj1
= 0 ;
4389 PyObject
* obj2
= 0 ;
4390 PyObject
* obj3
= 0 ;
4391 PyObject
* obj4
= 0 ;
4392 char * kwnames
[] = {
4393 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4398 if (!SWIG_IsOK(res1
)) {
4399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4401 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4402 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4403 if (!SWIG_IsOK(ecode2
)) {
4404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4406 arg2
= static_cast< byte
>(val2
);
4407 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4408 if (!SWIG_IsOK(ecode3
)) {
4409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4411 arg3
= static_cast< byte
>(val3
);
4412 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4413 if (!SWIG_IsOK(ecode4
)) {
4414 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4416 arg4
= static_cast< byte
>(val4
);
4418 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4419 if (!SWIG_IsOK(ecode5
)) {
4420 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4422 arg5
= static_cast< byte
>(val5
);
4425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4426 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4427 wxPyEndAllowThreads(__tstate
);
4428 if (PyErr_Occurred()) SWIG_fail
;
4430 resultobj
= SWIG_Py_Void();
4437 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
*resultobj
= 0;
4439 wxColour
*arg1
= (wxColour
*) 0 ;
4440 unsigned long arg2
;
4443 unsigned long val2
;
4445 PyObject
* obj0
= 0 ;
4446 PyObject
* obj1
= 0 ;
4447 char * kwnames
[] = {
4448 (char *) "self",(char *) "colRGB", NULL
4451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4453 if (!SWIG_IsOK(res1
)) {
4454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4456 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4457 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4458 if (!SWIG_IsOK(ecode2
)) {
4459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4461 arg2
= static_cast< unsigned long >(val2
);
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4468 resultobj
= SWIG_Py_Void();
4475 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
*resultobj
= 0;
4477 wxColour
*arg1
= (wxColour
*) 0 ;
4478 wxString
*arg2
= 0 ;
4481 bool temp2
= false ;
4482 PyObject
* obj0
= 0 ;
4483 PyObject
* obj1
= 0 ;
4484 char * kwnames
[] = {
4485 (char *) "self",(char *) "colourName", NULL
4488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4490 if (!SWIG_IsOK(res1
)) {
4491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4493 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4495 arg2
= wxString_in_helper(obj1
);
4496 if (arg2
== NULL
) SWIG_fail
;
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 (arg1
)->Set((wxString
const &)*arg2
);
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4505 resultobj
= SWIG_Py_Void();
4520 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
= 0;
4522 wxColour
*arg1
= (wxColour
*) 0 ;
4523 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4529 PyObject
* obj0
= 0 ;
4530 PyObject
* obj1
= 0 ;
4531 char * kwnames
[] = {
4532 (char *) "self",(char *) "flags", NULL
4535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4537 if (!SWIG_IsOK(res1
)) {
4538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4540 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4542 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4543 if (!SWIG_IsOK(ecode2
)) {
4544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4546 arg2
= static_cast< long >(val2
);
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4556 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4558 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4567 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4568 PyObject
*resultobj
= 0;
4569 wxColour
*arg1
= (wxColour
*) 0 ;
4573 PyObject
*swig_obj
[1] ;
4575 if (!args
) SWIG_fail
;
4577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4578 if (!SWIG_IsOK(res1
)) {
4579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4581 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) SWIG_fail
;
4588 resultobj
= SWIG_From_long(static_cast< long >(result
));
4595 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
*resultobj
= 0;
4597 wxColour
*arg1
= (wxColour
*) 0 ;
4598 PyObject
*arg2
= (PyObject
*) 0 ;
4602 PyObject
* obj0
= 0 ;
4603 PyObject
* obj1
= 0 ;
4604 char * kwnames
[] = {
4605 (char *) "self",(char *) "other", NULL
4608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4610 if (!SWIG_IsOK(res1
)) {
4611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4613 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4616 result
= (bool)wxColour___eq__(arg1
,arg2
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4628 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
*resultobj
= 0;
4630 wxColour
*arg1
= (wxColour
*) 0 ;
4631 PyObject
*arg2
= (PyObject
*) 0 ;
4635 PyObject
* obj0
= 0 ;
4636 PyObject
* obj1
= 0 ;
4637 char * kwnames
[] = {
4638 (char *) "self",(char *) "other", NULL
4641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4643 if (!SWIG_IsOK(res1
)) {
4644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4646 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4649 result
= (bool)wxColour___ne__(arg1
,arg2
);
4650 if (PyErr_Occurred()) SWIG_fail
;
4653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4661 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
= 0;
4663 wxColour
*arg1
= (wxColour
*) 0 ;
4664 bool arg2
= (bool) false ;
4665 PyObject
*result
= 0 ;
4670 PyObject
* obj0
= 0 ;
4671 PyObject
* obj1
= 0 ;
4672 char * kwnames
[] = {
4673 (char *) "self",(char *) "includeAlpha", NULL
4676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4678 if (!SWIG_IsOK(res1
)) {
4679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4681 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4683 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4684 if (!SWIG_IsOK(ecode2
)) {
4685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4687 arg2
= static_cast< bool >(val2
);
4690 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4700 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4701 PyObject
*resultobj
= 0;
4702 wxColour
*arg1
= (wxColour
*) 0 ;
4703 unsigned long result
;
4706 PyObject
*swig_obj
[1] ;
4708 if (!args
) SWIG_fail
;
4710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4711 if (!SWIG_IsOK(res1
)) {
4712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4714 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4716 result
= (unsigned long)wxColour_GetRGB(arg1
);
4717 if (PyErr_Occurred()) SWIG_fail
;
4719 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4726 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4729 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4730 return SWIG_Py_Void();
4733 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4734 return SWIG_Python_InitShadowInstance(args
);
4737 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
*resultobj
= 0;
4740 unsigned char *arg2
= (unsigned char *) 0 ;
4741 unsigned char *arg3
= (unsigned char *) 0 ;
4742 unsigned char *arg4
= (unsigned char *) 0 ;
4743 wxPalette
*result
= 0 ;
4752 PyObject
* obj0
= 0 ;
4753 PyObject
* obj1
= 0 ;
4754 PyObject
* obj2
= 0 ;
4755 PyObject
* obj3
= 0 ;
4756 char * kwnames
[] = {
4757 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4761 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4762 if (!SWIG_IsOK(ecode1
)) {
4763 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4765 arg1
= static_cast< int >(val1
);
4766 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4767 if (!SWIG_IsOK(res2
)) {
4768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4770 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4771 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4772 if (!SWIG_IsOK(res3
)) {
4773 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4775 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4776 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4777 if (!SWIG_IsOK(res4
)) {
4778 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4780 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4782 if (!wxPyCheckForApp()) SWIG_fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4785 wxPyEndAllowThreads(__tstate
);
4786 if (PyErr_Occurred()) SWIG_fail
;
4788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4795 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4796 PyObject
*resultobj
= 0;
4797 wxPalette
*arg1
= (wxPalette
*) 0 ;
4800 PyObject
*swig_obj
[1] ;
4802 if (!args
) SWIG_fail
;
4804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4805 if (!SWIG_IsOK(res1
)) {
4806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4808 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4816 resultobj
= SWIG_Py_Void();
4823 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
*resultobj
= 0;
4825 wxPalette
*arg1
= (wxPalette
*) 0 ;
4832 unsigned char val2
;
4834 unsigned char val3
;
4836 unsigned char val4
;
4838 PyObject
* obj0
= 0 ;
4839 PyObject
* obj1
= 0 ;
4840 PyObject
* obj2
= 0 ;
4841 PyObject
* obj3
= 0 ;
4842 char * kwnames
[] = {
4843 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4848 if (!SWIG_IsOK(res1
)) {
4849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4851 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4852 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4853 if (!SWIG_IsOK(ecode2
)) {
4854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4856 arg2
= static_cast< byte
>(val2
);
4857 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4858 if (!SWIG_IsOK(ecode3
)) {
4859 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4861 arg3
= static_cast< byte
>(val3
);
4862 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4863 if (!SWIG_IsOK(ecode4
)) {
4864 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4866 arg4
= static_cast< byte
>(val4
);
4868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4869 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4870 wxPyEndAllowThreads(__tstate
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4873 resultobj
= SWIG_From_int(static_cast< int >(result
));
4880 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
*resultobj
= 0;
4882 wxPalette
*arg1
= (wxPalette
*) 0 ;
4884 byte
*arg3
= (byte
*) 0 ;
4885 byte
*arg4
= (byte
*) 0 ;
4886 byte
*arg5
= (byte
*) 0 ;
4893 int res3
= SWIG_TMPOBJ
;
4895 int res4
= SWIG_TMPOBJ
;
4897 int res5
= SWIG_TMPOBJ
;
4898 PyObject
* obj0
= 0 ;
4899 PyObject
* obj1
= 0 ;
4900 char * kwnames
[] = {
4901 (char *) "self",(char *) "pixel", NULL
4907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4909 if (!SWIG_IsOK(res1
)) {
4910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4912 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4914 if (!SWIG_IsOK(ecode2
)) {
4915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4917 arg2
= static_cast< int >(val2
);
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4920 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4927 if (SWIG_IsTmpObj(res3
)) {
4928 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4930 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4933 if (SWIG_IsTmpObj(res4
)) {
4934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4936 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4937 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4939 if (SWIG_IsTmpObj(res5
)) {
4940 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4942 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4943 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4951 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4952 PyObject
*resultobj
= 0;
4953 wxPalette
*arg1
= (wxPalette
*) 0 ;
4957 PyObject
*swig_obj
[1] ;
4959 if (!args
) SWIG_fail
;
4961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4962 if (!SWIG_IsOK(res1
)) {
4963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4965 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4969 wxPyEndAllowThreads(__tstate
);
4970 if (PyErr_Occurred()) SWIG_fail
;
4972 resultobj
= SWIG_From_int(static_cast< int >(result
));
4979 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4980 PyObject
*resultobj
= 0;
4981 wxPalette
*arg1
= (wxPalette
*) 0 ;
4985 PyObject
*swig_obj
[1] ;
4987 if (!args
) SWIG_fail
;
4989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4990 if (!SWIG_IsOK(res1
)) {
4991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4993 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 result
= (bool)(arg1
)->IsOk();
4997 wxPyEndAllowThreads(__tstate
);
4998 if (PyErr_Occurred()) SWIG_fail
;
5001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5009 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5011 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5012 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5013 return SWIG_Py_Void();
5016 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5017 return SWIG_Python_InitShadowInstance(args
);
5020 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
*resultobj
= 0;
5022 wxColour
*arg1
= 0 ;
5023 int arg2
= (int) 1 ;
5024 int arg3
= (int) wxSOLID
;
5031 PyObject
* obj0
= 0 ;
5032 PyObject
* obj1
= 0 ;
5033 PyObject
* obj2
= 0 ;
5034 char * kwnames
[] = {
5035 (char *) "colour",(char *) "width",(char *) "style", NULL
5038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5041 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5045 if (!SWIG_IsOK(ecode2
)) {
5046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5048 arg2
= static_cast< int >(val2
);
5051 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5052 if (!SWIG_IsOK(ecode3
)) {
5053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5055 arg3
= static_cast< int >(val3
);
5058 if (!wxPyCheckForApp()) SWIG_fail
;
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5060 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5061 wxPyEndAllowThreads(__tstate
);
5062 if (PyErr_Occurred()) SWIG_fail
;
5064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5071 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5072 PyObject
*resultobj
= 0;
5073 wxPen
*arg1
= (wxPen
*) 0 ;
5076 PyObject
*swig_obj
[1] ;
5078 if (!args
) SWIG_fail
;
5080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5081 if (!SWIG_IsOK(res1
)) {
5082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5084 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 wxPyEndAllowThreads(__tstate
);
5090 if (PyErr_Occurred()) SWIG_fail
;
5092 resultobj
= SWIG_Py_Void();
5099 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5100 PyObject
*resultobj
= 0;
5101 wxPen
*arg1
= (wxPen
*) 0 ;
5105 PyObject
*swig_obj
[1] ;
5107 if (!args
) SWIG_fail
;
5109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5110 if (!SWIG_IsOK(res1
)) {
5111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5113 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5116 result
= (int)(arg1
)->GetCap();
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5120 resultobj
= SWIG_From_int(static_cast< int >(result
));
5127 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5128 PyObject
*resultobj
= 0;
5129 wxPen
*arg1
= (wxPen
*) 0 ;
5133 PyObject
*swig_obj
[1] ;
5135 if (!args
) SWIG_fail
;
5137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5138 if (!SWIG_IsOK(res1
)) {
5139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5141 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5144 result
= (arg1
)->GetColour();
5145 wxPyEndAllowThreads(__tstate
);
5146 if (PyErr_Occurred()) SWIG_fail
;
5148 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5155 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5156 PyObject
*resultobj
= 0;
5157 wxPen
*arg1
= (wxPen
*) 0 ;
5161 PyObject
*swig_obj
[1] ;
5163 if (!args
) SWIG_fail
;
5165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5166 if (!SWIG_IsOK(res1
)) {
5167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5169 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5172 result
= (int)(arg1
)->GetJoin();
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 resultobj
= SWIG_From_int(static_cast< int >(result
));
5183 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5184 PyObject
*resultobj
= 0;
5185 wxPen
*arg1
= (wxPen
*) 0 ;
5189 PyObject
*swig_obj
[1] ;
5191 if (!args
) SWIG_fail
;
5193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5194 if (!SWIG_IsOK(res1
)) {
5195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5197 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 result
= (int)(arg1
)->GetStyle();
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= SWIG_From_int(static_cast< int >(result
));
5211 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5212 PyObject
*resultobj
= 0;
5213 wxPen
*arg1
= (wxPen
*) 0 ;
5217 PyObject
*swig_obj
[1] ;
5219 if (!args
) SWIG_fail
;
5221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5222 if (!SWIG_IsOK(res1
)) {
5223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5225 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5228 result
= (int)(arg1
)->GetWidth();
5229 wxPyEndAllowThreads(__tstate
);
5230 if (PyErr_Occurred()) SWIG_fail
;
5232 resultobj
= SWIG_From_int(static_cast< int >(result
));
5239 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5240 PyObject
*resultobj
= 0;
5241 wxPen
*arg1
= (wxPen
*) 0 ;
5245 PyObject
*swig_obj
[1] ;
5247 if (!args
) SWIG_fail
;
5249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5250 if (!SWIG_IsOK(res1
)) {
5251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5253 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 result
= (bool)(arg1
)->IsOk();
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5269 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5270 PyObject
*resultobj
= 0;
5271 wxPen
*arg1
= (wxPen
*) 0 ;
5277 PyObject
* obj0
= 0 ;
5278 PyObject
* obj1
= 0 ;
5279 char * kwnames
[] = {
5280 (char *) "self",(char *) "cap_style", NULL
5283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5285 if (!SWIG_IsOK(res1
)) {
5286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5288 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5290 if (!SWIG_IsOK(ecode2
)) {
5291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5293 arg2
= static_cast< int >(val2
);
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 (arg1
)->SetCap(arg2
);
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5300 resultobj
= SWIG_Py_Void();
5307 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
= 0;
5309 wxPen
*arg1
= (wxPen
*) 0 ;
5310 wxColour
*arg2
= 0 ;
5314 PyObject
* obj0
= 0 ;
5315 PyObject
* obj1
= 0 ;
5316 char * kwnames
[] = {
5317 (char *) "self",(char *) "colour", NULL
5320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5322 if (!SWIG_IsOK(res1
)) {
5323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5325 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5328 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 (arg1
)->SetColour(*arg2
);
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5336 resultobj
= SWIG_Py_Void();
5343 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
*resultobj
= 0;
5345 wxPen
*arg1
= (wxPen
*) 0 ;
5351 PyObject
* obj0
= 0 ;
5352 PyObject
* obj1
= 0 ;
5353 char * kwnames
[] = {
5354 (char *) "self",(char *) "join_style", NULL
5357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5359 if (!SWIG_IsOK(res1
)) {
5360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5362 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5364 if (!SWIG_IsOK(ecode2
)) {
5365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5367 arg2
= static_cast< int >(val2
);
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 (arg1
)->SetJoin(arg2
);
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5374 resultobj
= SWIG_Py_Void();
5381 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
*resultobj
= 0;
5383 wxPen
*arg1
= (wxPen
*) 0 ;
5389 PyObject
* obj0
= 0 ;
5390 PyObject
* obj1
= 0 ;
5391 char * kwnames
[] = {
5392 (char *) "self",(char *) "style", NULL
5395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5397 if (!SWIG_IsOK(res1
)) {
5398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5400 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5402 if (!SWIG_IsOK(ecode2
)) {
5403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5405 arg2
= static_cast< int >(val2
);
5407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5408 (arg1
)->SetStyle(arg2
);
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) SWIG_fail
;
5412 resultobj
= SWIG_Py_Void();
5419 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
*resultobj
= 0;
5421 wxPen
*arg1
= (wxPen
*) 0 ;
5427 PyObject
* obj0
= 0 ;
5428 PyObject
* obj1
= 0 ;
5429 char * kwnames
[] = {
5430 (char *) "self",(char *) "width", NULL
5433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5435 if (!SWIG_IsOK(res1
)) {
5436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5438 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5440 if (!SWIG_IsOK(ecode2
)) {
5441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5443 arg2
= static_cast< int >(val2
);
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 (arg1
)->SetWidth(arg2
);
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5450 resultobj
= SWIG_Py_Void();
5457 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5458 PyObject
*resultobj
= 0;
5459 wxPen
*arg1
= (wxPen
*) 0 ;
5461 wxDash
*arg3
= (wxDash
*) 0 ;
5464 PyObject
* obj0
= 0 ;
5465 PyObject
* obj1
= 0 ;
5466 char * kwnames
[] = {
5467 (char *) "self",(char *) "dashes", NULL
5470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5472 if (!SWIG_IsOK(res1
)) {
5473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5475 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5477 arg2
= PyList_Size(obj1
);
5478 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5479 if (arg3
== NULL
) SWIG_fail
;
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 (arg1
)->SetDashes(arg2
,arg3
);
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5487 resultobj
= SWIG_Py_Void();
5489 if (arg3
) delete [] arg3
;
5494 if (arg3
) delete [] arg3
;
5500 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5501 PyObject
*resultobj
= 0;
5502 wxPen
*arg1
= (wxPen
*) 0 ;
5503 PyObject
*result
= 0 ;
5506 PyObject
*swig_obj
[1] ;
5508 if (!args
) SWIG_fail
;
5510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5511 if (!SWIG_IsOK(res1
)) {
5512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5514 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5518 wxPyEndAllowThreads(__tstate
);
5519 if (PyErr_Occurred()) SWIG_fail
;
5528 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
*resultobj
= 0;
5530 wxPen
*arg1
= (wxPen
*) 0 ;
5531 PyObject
*arg2
= (PyObject
*) 0 ;
5532 PyObject
*arg3
= (PyObject
*) 0 ;
5535 PyObject
* obj0
= 0 ;
5536 PyObject
* obj1
= 0 ;
5537 PyObject
* obj2
= 0 ;
5538 char * kwnames
[] = {
5539 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5544 if (!SWIG_IsOK(res1
)) {
5545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5547 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 wxPen__SetDashes(arg1
,arg2
,arg3
);
5553 wxPyEndAllowThreads(__tstate
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5556 resultobj
= SWIG_Py_Void();
5563 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
= 0;
5565 wxPen
*arg1
= (wxPen
*) 0 ;
5566 wxPen
*arg2
= (wxPen
*) 0 ;
5572 PyObject
* obj0
= 0 ;
5573 PyObject
* obj1
= 0 ;
5574 char * kwnames
[] = {
5575 (char *) "self",(char *) "other", NULL
5578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5580 if (!SWIG_IsOK(res1
)) {
5581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5583 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5584 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5585 if (!SWIG_IsOK(res2
)) {
5586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5588 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5591 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5604 SWIGINTERN PyObject
*_wrap_Pen___ne__(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___ne__",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___ne__" "', 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___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5629 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5632 result
= (bool)wxPen___ne__(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
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5647 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5648 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5649 return SWIG_Py_Void();
5652 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5653 return SWIG_Python_InitShadowInstance(args
);
5656 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
= 0;
5658 wxColour
*arg1
= 0 ;
5659 int arg2
= (int) wxSOLID
;
5660 wxBrush
*result
= 0 ;
5664 PyObject
* obj0
= 0 ;
5665 PyObject
* obj1
= 0 ;
5666 char * kwnames
[] = {
5667 (char *) "colour",(char *) "style", NULL
5670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5673 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5677 if (!SWIG_IsOK(ecode2
)) {
5678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5680 arg2
= static_cast< int >(val2
);
5683 if (!wxPyCheckForApp()) SWIG_fail
;
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5686 wxPyEndAllowThreads(__tstate
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5696 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
*resultobj
= 0;
5698 wxBitmap
*arg1
= 0 ;
5699 wxBrush
*result
= 0 ;
5702 PyObject
* obj0
= 0 ;
5703 char * kwnames
[] = {
5704 (char *) "stippleBitmap", NULL
5707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5708 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5709 if (!SWIG_IsOK(res1
)) {
5710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5715 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5717 if (!wxPyCheckForApp()) SWIG_fail
;
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5720 wxPyEndAllowThreads(__tstate
);
5721 if (PyErr_Occurred()) SWIG_fail
;
5723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5730 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5731 PyObject
*resultobj
= 0;
5732 wxBrush
*arg1
= (wxBrush
*) 0 ;
5735 PyObject
*swig_obj
[1] ;
5737 if (!args
) SWIG_fail
;
5739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5740 if (!SWIG_IsOK(res1
)) {
5741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5743 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5751 resultobj
= SWIG_Py_Void();
5758 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
*resultobj
= 0;
5760 wxBrush
*arg1
= (wxBrush
*) 0 ;
5761 wxColour
*arg2
= 0 ;
5765 PyObject
* obj0
= 0 ;
5766 PyObject
* obj1
= 0 ;
5767 char * kwnames
[] = {
5768 (char *) "self",(char *) "col", NULL
5771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5773 if (!SWIG_IsOK(res1
)) {
5774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5776 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5779 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 (arg1
)->SetColour((wxColour
const &)*arg2
);
5784 wxPyEndAllowThreads(__tstate
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5787 resultobj
= SWIG_Py_Void();
5794 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
*resultobj
= 0;
5796 wxBrush
*arg1
= (wxBrush
*) 0 ;
5802 PyObject
* obj0
= 0 ;
5803 PyObject
* obj1
= 0 ;
5804 char * kwnames
[] = {
5805 (char *) "self",(char *) "style", NULL
5808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5810 if (!SWIG_IsOK(res1
)) {
5811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5813 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5815 if (!SWIG_IsOK(ecode2
)) {
5816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5818 arg2
= static_cast< int >(val2
);
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 (arg1
)->SetStyle(arg2
);
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5825 resultobj
= SWIG_Py_Void();
5832 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
*resultobj
= 0;
5834 wxBrush
*arg1
= (wxBrush
*) 0 ;
5835 wxBitmap
*arg2
= 0 ;
5840 PyObject
* obj0
= 0 ;
5841 PyObject
* obj1
= 0 ;
5842 char * kwnames
[] = {
5843 (char *) "self",(char *) "stipple", NULL
5846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5848 if (!SWIG_IsOK(res1
)) {
5849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5851 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5852 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5853 if (!SWIG_IsOK(res2
)) {
5854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5859 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5866 resultobj
= SWIG_Py_Void();
5873 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5874 PyObject
*resultobj
= 0;
5875 wxBrush
*arg1
= (wxBrush
*) 0 ;
5879 PyObject
*swig_obj
[1] ;
5881 if (!args
) SWIG_fail
;
5883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5884 if (!SWIG_IsOK(res1
)) {
5885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5887 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 result
= ((wxBrush
const *)arg1
)->GetColour();
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5894 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5901 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5902 PyObject
*resultobj
= 0;
5903 wxBrush
*arg1
= (wxBrush
*) 0 ;
5907 PyObject
*swig_obj
[1] ;
5909 if (!args
) SWIG_fail
;
5911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5912 if (!SWIG_IsOK(res1
)) {
5913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5915 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5918 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5922 resultobj
= SWIG_From_int(static_cast< int >(result
));
5929 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5930 PyObject
*resultobj
= 0;
5931 wxBrush
*arg1
= (wxBrush
*) 0 ;
5932 wxBitmap
*result
= 0 ;
5935 PyObject
*swig_obj
[1] ;
5937 if (!args
) SWIG_fail
;
5939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5940 if (!SWIG_IsOK(res1
)) {
5941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5943 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5957 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5958 PyObject
*resultobj
= 0;
5959 wxBrush
*arg1
= (wxBrush
*) 0 ;
5963 PyObject
*swig_obj
[1] ;
5965 if (!args
) SWIG_fail
;
5967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5968 if (!SWIG_IsOK(res1
)) {
5969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5971 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5987 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5988 PyObject
*resultobj
= 0;
5989 wxBrush
*arg1
= (wxBrush
*) 0 ;
5993 PyObject
*swig_obj
[1] ;
5995 if (!args
) SWIG_fail
;
5997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5998 if (!SWIG_IsOK(res1
)) {
5999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6001 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 result
= (bool)(arg1
)->IsOk();
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) SWIG_fail
;
6009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6017 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6018 PyObject
*resultobj
= 0;
6019 wxBrush
*arg1
= (wxBrush
*) 0 ;
6023 PyObject
*swig_obj
[1] ;
6025 if (!args
) SWIG_fail
;
6027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6028 if (!SWIG_IsOK(res1
)) {
6029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6031 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6034 result
= (short)(arg1
)->MacGetTheme();
6035 wxPyEndAllowThreads(__tstate
);
6036 if (PyErr_Occurred()) SWIG_fail
;
6038 resultobj
= SWIG_From_short(static_cast< short >(result
));
6045 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6046 PyObject
*resultobj
= 0;
6047 wxBrush
*arg1
= (wxBrush
*) 0 ;
6053 PyObject
* obj0
= 0 ;
6054 PyObject
* obj1
= 0 ;
6055 char * kwnames
[] = {
6056 (char *) "self",(char *) "macThemeBrush", NULL
6059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6061 if (!SWIG_IsOK(res1
)) {
6062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6064 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6065 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
6066 if (!SWIG_IsOK(ecode2
)) {
6067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
6069 arg2
= static_cast< short >(val2
);
6071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6072 (arg1
)->MacSetTheme(arg2
);
6073 wxPyEndAllowThreads(__tstate
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6076 resultobj
= SWIG_Py_Void();
6083 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6085 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6086 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6087 return SWIG_Py_Void();
6090 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6091 return SWIG_Python_InitShadowInstance(args
);
6094 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
*resultobj
= 0;
6096 wxString
*arg1
= 0 ;
6097 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6098 wxBitmap
*result
= 0 ;
6099 bool temp1
= false ;
6102 PyObject
* obj0
= 0 ;
6103 PyObject
* obj1
= 0 ;
6104 char * kwnames
[] = {
6105 (char *) "name",(char *) "type", NULL
6108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6110 arg1
= wxString_in_helper(obj0
);
6111 if (arg1
== NULL
) SWIG_fail
;
6115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6116 if (!SWIG_IsOK(ecode2
)) {
6117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6119 arg2
= static_cast< wxBitmapType
>(val2
);
6122 if (!wxPyCheckForApp()) SWIG_fail
;
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6143 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6144 PyObject
*resultobj
= 0;
6145 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6148 PyObject
*swig_obj
[1] ;
6150 if (!args
) SWIG_fail
;
6152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6153 if (!SWIG_IsOK(res1
)) {
6154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6156 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 resultobj
= SWIG_Py_Void();
6169 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
= 0;
6173 int arg3
= (int) -1 ;
6174 wxBitmap
*result
= 0 ;
6181 PyObject
* obj0
= 0 ;
6182 PyObject
* obj1
= 0 ;
6183 PyObject
* obj2
= 0 ;
6184 char * kwnames
[] = {
6185 (char *) "width",(char *) "height",(char *) "depth", NULL
6188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6189 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6190 if (!SWIG_IsOK(ecode1
)) {
6191 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6193 arg1
= static_cast< int >(val1
);
6194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6195 if (!SWIG_IsOK(ecode2
)) {
6196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6198 arg2
= static_cast< int >(val2
);
6200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6201 if (!SWIG_IsOK(ecode3
)) {
6202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6204 arg3
= static_cast< int >(val3
);
6207 if (!wxPyCheckForApp()) SWIG_fail
;
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6220 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
*resultobj
= 0;
6223 wxBitmap
*result
= 0 ;
6226 PyObject
* obj0
= 0 ;
6227 char * kwnames
[] = {
6228 (char *) "icon", NULL
6231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6232 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6233 if (!SWIG_IsOK(res1
)) {
6234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6239 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6241 if (!wxPyCheckForApp()) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) SWIG_fail
;
6247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6254 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
*resultobj
= 0;
6257 int arg2
= (int) -1 ;
6258 wxBitmap
*result
= 0 ;
6263 PyObject
* obj0
= 0 ;
6264 PyObject
* obj1
= 0 ;
6265 char * kwnames
[] = {
6266 (char *) "image",(char *) "depth", NULL
6269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6270 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6271 if (!SWIG_IsOK(res1
)) {
6272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6277 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6280 if (!SWIG_IsOK(ecode2
)) {
6281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6283 arg2
= static_cast< int >(val2
);
6286 if (!wxPyCheckForApp()) SWIG_fail
;
6287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
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_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
= 0;
6301 PyObject
*arg1
= (PyObject
*) 0 ;
6302 wxBitmap
*result
= 0 ;
6303 PyObject
* obj0
= 0 ;
6304 char * kwnames
[] = {
6305 (char *) "listOfStrings", NULL
6308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6311 if (!wxPyCheckForApp()) SWIG_fail
;
6312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6314 wxPyEndAllowThreads(__tstate
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6324 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6325 PyObject
*resultobj
= 0;
6326 PyObject
*arg1
= (PyObject
*) 0 ;
6329 int arg4
= (int) 1 ;
6330 wxBitmap
*result
= 0 ;
6337 PyObject
* obj0
= 0 ;
6338 PyObject
* obj1
= 0 ;
6339 PyObject
* obj2
= 0 ;
6340 PyObject
* obj3
= 0 ;
6341 char * kwnames
[] = {
6342 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6348 if (!SWIG_IsOK(ecode2
)) {
6349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6351 arg2
= static_cast< int >(val2
);
6352 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6353 if (!SWIG_IsOK(ecode3
)) {
6354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6356 arg3
= static_cast< int >(val3
);
6358 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6359 if (!SWIG_IsOK(ecode4
)) {
6360 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6362 arg4
= static_cast< int >(val4
);
6365 if (!wxPyCheckForApp()) SWIG_fail
;
6366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6367 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) SWIG_fail
;
6371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6378 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6379 PyObject
*resultobj
= 0;
6380 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6384 PyObject
*swig_obj
[1] ;
6386 if (!args
) SWIG_fail
;
6388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6389 if (!SWIG_IsOK(res1
)) {
6390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6392 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6394 result
= (bool)(arg1
)->IsOk();
6395 if (PyErr_Occurred()) SWIG_fail
;
6398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6406 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6407 PyObject
*resultobj
= 0;
6408 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6412 PyObject
*swig_obj
[1] ;
6414 if (!args
) SWIG_fail
;
6416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6417 if (!SWIG_IsOK(res1
)) {
6418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6420 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6422 result
= (int)(arg1
)->GetWidth();
6423 if (PyErr_Occurred()) SWIG_fail
;
6425 resultobj
= SWIG_From_int(static_cast< int >(result
));
6432 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6433 PyObject
*resultobj
= 0;
6434 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6438 PyObject
*swig_obj
[1] ;
6440 if (!args
) SWIG_fail
;
6442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6443 if (!SWIG_IsOK(res1
)) {
6444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6446 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6448 result
= (int)(arg1
)->GetHeight();
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 resultobj
= SWIG_From_int(static_cast< int >(result
));
6458 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6459 PyObject
*resultobj
= 0;
6460 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6464 PyObject
*swig_obj
[1] ;
6466 if (!args
) SWIG_fail
;
6468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6469 if (!SWIG_IsOK(res1
)) {
6470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6472 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6474 result
= (int)(arg1
)->GetDepth();
6475 if (PyErr_Occurred()) SWIG_fail
;
6477 resultobj
= SWIG_From_int(static_cast< int >(result
));
6484 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6485 PyObject
*resultobj
= 0;
6486 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6490 PyObject
*swig_obj
[1] ;
6492 if (!args
) SWIG_fail
;
6494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6495 if (!SWIG_IsOK(res1
)) {
6496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6498 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6500 result
= wxBitmap_GetSize(arg1
);
6501 if (PyErr_Occurred()) SWIG_fail
;
6503 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6510 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6511 PyObject
*resultobj
= 0;
6512 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6513 SwigValueWrapper
<wxImage
> result
;
6516 PyObject
*swig_obj
[1] ;
6518 if (!args
) SWIG_fail
;
6520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6521 if (!SWIG_IsOK(res1
)) {
6522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6524 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6526 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6527 if (PyErr_Occurred()) SWIG_fail
;
6529 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6536 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6537 PyObject
*resultobj
= 0;
6538 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6539 wxMask
*result
= 0 ;
6542 PyObject
*swig_obj
[1] ;
6544 if (!args
) SWIG_fail
;
6546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6547 if (!SWIG_IsOK(res1
)) {
6548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6550 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6552 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6553 if (PyErr_Occurred()) SWIG_fail
;
6555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6562 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
*resultobj
= 0;
6564 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6565 wxMask
*arg2
= (wxMask
*) 0 ;
6569 PyObject
* obj0
= 0 ;
6570 PyObject
* obj1
= 0 ;
6571 char * kwnames
[] = {
6572 (char *) "self",(char *) "mask", NULL
6575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6577 if (!SWIG_IsOK(res1
)) {
6578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6580 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6581 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6582 if (!SWIG_IsOK(res2
)) {
6583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6586 (arg1
)->SetMask(arg2
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6589 resultobj
= SWIG_Py_Void();
6596 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
*resultobj
= 0;
6598 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6599 wxColour
*arg2
= 0 ;
6603 PyObject
* obj0
= 0 ;
6604 PyObject
* obj1
= 0 ;
6605 char * kwnames
[] = {
6606 (char *) "self",(char *) "colour", NULL
6609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6611 if (!SWIG_IsOK(res1
)) {
6612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6614 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6617 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6620 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6623 resultobj
= SWIG_Py_Void();
6630 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
*resultobj
= 0;
6632 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6634 SwigValueWrapper
<wxBitmap
> result
;
6638 PyObject
* obj0
= 0 ;
6639 PyObject
* obj1
= 0 ;
6640 char * kwnames
[] = {
6641 (char *) "self",(char *) "rect", NULL
6644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6646 if (!SWIG_IsOK(res1
)) {
6647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6649 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6652 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6655 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6658 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6665 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
*resultobj
= 0;
6667 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6668 wxString
*arg2
= 0 ;
6670 wxPalette
*arg4
= (wxPalette
*) NULL
;
6674 bool temp2
= false ;
6679 PyObject
* obj0
= 0 ;
6680 PyObject
* obj1
= 0 ;
6681 PyObject
* obj2
= 0 ;
6682 PyObject
* obj3
= 0 ;
6683 char * kwnames
[] = {
6684 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6689 if (!SWIG_IsOK(res1
)) {
6690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6692 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6694 arg2
= wxString_in_helper(obj1
);
6695 if (arg2
== NULL
) SWIG_fail
;
6698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6699 if (!SWIG_IsOK(ecode3
)) {
6700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6702 arg3
= static_cast< wxBitmapType
>(val3
);
6704 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6705 if (!SWIG_IsOK(res4
)) {
6706 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6708 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6711 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6731 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
*resultobj
= 0;
6733 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6734 wxString
*arg2
= 0 ;
6739 bool temp2
= false ;
6742 PyObject
* obj0
= 0 ;
6743 PyObject
* obj1
= 0 ;
6744 PyObject
* obj2
= 0 ;
6745 char * kwnames
[] = {
6746 (char *) "self",(char *) "name",(char *) "type", NULL
6749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6751 if (!SWIG_IsOK(res1
)) {
6752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6754 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6756 arg2
= wxString_in_helper(obj1
);
6757 if (arg2
== NULL
) SWIG_fail
;
6760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6761 if (!SWIG_IsOK(ecode3
)) {
6762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6764 arg3
= static_cast< wxBitmapType
>(val3
);
6766 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6786 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6787 PyObject
*resultobj
= 0;
6788 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6789 wxPalette
*result
= 0 ;
6792 PyObject
*swig_obj
[1] ;
6794 if (!args
) SWIG_fail
;
6796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6797 if (!SWIG_IsOK(res1
)) {
6798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6800 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6802 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6812 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
= 0;
6814 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6821 PyObject
* obj0
= 0 ;
6822 PyObject
* obj1
= 0 ;
6823 char * kwnames
[] = {
6824 (char *) "self",(char *) "icon", NULL
6827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6829 if (!SWIG_IsOK(res1
)) {
6830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6832 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6834 if (!SWIG_IsOK(res2
)) {
6835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6840 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6842 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6854 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
= 0;
6856 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6862 PyObject
* obj0
= 0 ;
6863 PyObject
* obj1
= 0 ;
6864 char * kwnames
[] = {
6865 (char *) "self",(char *) "height", NULL
6868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6870 if (!SWIG_IsOK(res1
)) {
6871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6873 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6875 if (!SWIG_IsOK(ecode2
)) {
6876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6878 arg2
= static_cast< int >(val2
);
6880 (arg1
)->SetHeight(arg2
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6883 resultobj
= SWIG_Py_Void();
6890 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
*resultobj
= 0;
6892 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6898 PyObject
* obj0
= 0 ;
6899 PyObject
* obj1
= 0 ;
6900 char * kwnames
[] = {
6901 (char *) "self",(char *) "width", NULL
6904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6906 if (!SWIG_IsOK(res1
)) {
6907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6909 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6911 if (!SWIG_IsOK(ecode2
)) {
6912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6914 arg2
= static_cast< int >(val2
);
6916 (arg1
)->SetWidth(arg2
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6919 resultobj
= SWIG_Py_Void();
6926 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
*resultobj
= 0;
6928 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6934 PyObject
* obj0
= 0 ;
6935 PyObject
* obj1
= 0 ;
6936 char * kwnames
[] = {
6937 (char *) "self",(char *) "depth", NULL
6940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6942 if (!SWIG_IsOK(res1
)) {
6943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6945 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6947 if (!SWIG_IsOK(ecode2
)) {
6948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6950 arg2
= static_cast< int >(val2
);
6952 (arg1
)->SetDepth(arg2
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= SWIG_Py_Void();
6962 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
= 0;
6964 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6969 PyObject
* obj0
= 0 ;
6970 PyObject
* obj1
= 0 ;
6971 char * kwnames
[] = {
6972 (char *) "self",(char *) "size", NULL
6975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6977 if (!SWIG_IsOK(res1
)) {
6978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6980 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6983 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6986 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6989 resultobj
= SWIG_Py_Void();
6996 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
*resultobj
= 0;
6998 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7004 PyObject
* obj0
= 0 ;
7005 PyObject
* obj1
= 0 ;
7006 char * kwnames
[] = {
7007 (char *) "self",(char *) "data", NULL
7010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7012 if (!SWIG_IsOK(res1
)) {
7013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7015 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7017 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7021 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7022 if (PyErr_Occurred()) SWIG_fail
;
7024 resultobj
= SWIG_Py_Void();
7031 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7032 PyObject
*resultobj
= 0;
7033 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7039 PyObject
* obj0
= 0 ;
7040 PyObject
* obj1
= 0 ;
7041 char * kwnames
[] = {
7042 (char *) "self",(char *) "data", NULL
7045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7047 if (!SWIG_IsOK(res1
)) {
7048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7050 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7052 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7056 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7059 resultobj
= SWIG_Py_Void();
7066 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7067 PyObject
*resultobj
= 0;
7068 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7069 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7075 PyObject
* obj0
= 0 ;
7076 PyObject
* obj1
= 0 ;
7077 char * kwnames
[] = {
7078 (char *) "self",(char *) "other", NULL
7081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7083 if (!SWIG_IsOK(res1
)) {
7084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7086 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7087 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7088 if (!SWIG_IsOK(res2
)) {
7089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7091 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7093 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7105 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
*resultobj
= 0;
7107 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7108 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7114 PyObject
* obj0
= 0 ;
7115 PyObject
* obj1
= 0 ;
7116 char * kwnames
[] = {
7117 (char *) "self",(char *) "other", NULL
7120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7122 if (!SWIG_IsOK(res1
)) {
7123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7125 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7126 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7127 if (!SWIG_IsOK(res2
)) {
7128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7130 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7132 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7144 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7146 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7147 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7148 return SWIG_Py_Void();
7151 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7152 return SWIG_Python_InitShadowInstance(args
);
7155 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
*resultobj
= 0;
7163 wxBitmap
*result
= 0 ;
7170 PyObject
* obj0
= 0 ;
7171 PyObject
* obj1
= 0 ;
7172 PyObject
* obj2
= 0 ;
7173 PyObject
* obj3
= 0 ;
7174 char * kwnames
[] = {
7175 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7179 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7180 if (!SWIG_IsOK(ecode1
)) {
7181 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7183 arg1
= static_cast< int >(val1
);
7184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7185 if (!SWIG_IsOK(ecode2
)) {
7186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7188 arg2
= static_cast< int >(val2
);
7190 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7194 if (obj3
!= Py_None
) {
7195 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7200 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7210 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
*resultobj
= 0;
7216 wxBitmap
*result
= 0 ;
7222 PyObject
* obj0
= 0 ;
7223 PyObject
* obj1
= 0 ;
7224 PyObject
* obj2
= 0 ;
7225 char * kwnames
[] = {
7226 (char *) "width",(char *) "height",(char *) "data", NULL
7229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7230 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7231 if (!SWIG_IsOK(ecode1
)) {
7232 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7234 arg1
= static_cast< int >(val1
);
7235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7236 if (!SWIG_IsOK(ecode2
)) {
7237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7239 arg2
= static_cast< int >(val2
);
7241 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7245 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7255 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
*resultobj
= 0;
7261 wxBitmap
*result
= 0 ;
7267 PyObject
* obj0
= 0 ;
7268 PyObject
* obj1
= 0 ;
7269 PyObject
* obj2
= 0 ;
7270 char * kwnames
[] = {
7271 (char *) "width",(char *) "height",(char *) "data", NULL
7274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7275 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7276 if (!SWIG_IsOK(ecode1
)) {
7277 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7279 arg1
= static_cast< int >(val1
);
7280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7281 if (!SWIG_IsOK(ecode2
)) {
7282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7284 arg2
= static_cast< int >(val2
);
7286 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7290 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7291 if (PyErr_Occurred()) SWIG_fail
;
7293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7300 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7301 PyObject
*resultobj
= 0;
7302 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7306 PyObject
*swig_obj
[1] ;
7308 if (!args
) SWIG_fail
;
7310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7311 if (!SWIG_IsOK(res1
)) {
7312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7314 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7316 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7317 if (PyErr_Occurred()) SWIG_fail
;
7319 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7326 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7327 PyObject
*resultobj
= 0;
7328 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7332 PyObject
*swig_obj
[1] ;
7334 if (!args
) SWIG_fail
;
7336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7337 if (!SWIG_IsOK(res1
)) {
7338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7340 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7342 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7343 if (PyErr_Occurred()) SWIG_fail
;
7345 resultobj
= SWIG_From_int(static_cast< int >(result
));
7352 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7353 PyObject
*resultobj
= 0;
7354 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7358 PyObject
*swig_obj
[1] ;
7360 if (!args
) SWIG_fail
;
7362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7363 if (!SWIG_IsOK(res1
)) {
7364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7366 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7368 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 resultobj
= SWIG_From_int(static_cast< int >(result
));
7378 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7379 PyObject
*resultobj
= 0;
7380 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7384 PyObject
*swig_obj
[1] ;
7386 if (!args
) SWIG_fail
;
7388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7389 if (!SWIG_IsOK(res1
)) {
7390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7392 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7394 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7395 if (PyErr_Occurred()) SWIG_fail
;
7397 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7404 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7405 PyObject
*resultobj
= 0;
7406 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7410 PyObject
*swig_obj
[1] ;
7412 if (!args
) SWIG_fail
;
7414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7415 if (!SWIG_IsOK(res1
)) {
7416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7418 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7420 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7421 if (PyErr_Occurred()) SWIG_fail
;
7423 resultobj
= SWIG_From_int(static_cast< int >(result
));
7430 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7433 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7434 return SWIG_Py_Void();
7437 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7438 PyObject
*resultobj
= 0;
7439 wxBitmap
*arg1
= 0 ;
7440 wxNativePixelData
*result
= 0 ;
7444 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7446 if (!SWIG_IsOK(res1
)) {
7447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7452 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7454 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7464 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7465 PyObject
*resultobj
= 0;
7466 wxBitmap
*arg1
= 0 ;
7468 wxNativePixelData
*result
= 0 ;
7473 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7475 if (!SWIG_IsOK(res1
)) {
7476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7481 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7484 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7487 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7497 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7498 PyObject
*resultobj
= 0;
7499 wxBitmap
*arg1
= 0 ;
7502 wxNativePixelData
*result
= 0 ;
7508 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7510 if (!SWIG_IsOK(res1
)) {
7511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7516 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7519 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7523 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7526 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7536 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7540 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7543 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7546 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7549 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7553 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7558 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7559 PyObject
*resultobj
= 0;
7560 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7563 PyObject
*swig_obj
[1] ;
7565 if (!args
) SWIG_fail
;
7567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7568 if (!SWIG_IsOK(res1
)) {
7569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7571 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= SWIG_Py_Void();
7584 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7585 PyObject
*resultobj
= 0;
7586 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7587 wxNativePixelData_Accessor result
;
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_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7598 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7600 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7601 if (PyErr_Occurred()) SWIG_fail
;
7603 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7610 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7611 PyObject
*resultobj
= 0;
7612 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7615 PyObject
*swig_obj
[1] ;
7617 if (!args
) SWIG_fail
;
7619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7620 if (!SWIG_IsOK(res1
)) {
7621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7623 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= SWIG_Py_Void();
7635 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7636 PyObject
*resultobj
= 0;
7637 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7641 PyObject
*swig_obj
[1] ;
7643 if (!args
) SWIG_fail
;
7645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7646 if (!SWIG_IsOK(res1
)) {
7647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7649 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7651 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7663 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7665 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7666 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7667 return SWIG_Py_Void();
7670 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7671 return SWIG_Python_InitShadowInstance(args
);
7674 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7675 PyObject
*resultobj
= 0;
7676 wxNativePixelData
*arg1
= 0 ;
7677 wxNativePixelData_Accessor
*result
= 0 ;
7681 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7683 if (!SWIG_IsOK(res1
)) {
7684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7689 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7691 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7701 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7702 PyObject
*resultobj
= 0;
7703 wxBitmap
*arg1
= 0 ;
7704 wxNativePixelData
*arg2
= 0 ;
7705 wxNativePixelData_Accessor
*result
= 0 ;
7711 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7713 if (!SWIG_IsOK(res1
)) {
7714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7719 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7720 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7721 if (!SWIG_IsOK(res2
)) {
7722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7727 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7729 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7739 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7740 PyObject
*resultobj
= 0;
7741 wxNativePixelData_Accessor
*result
= 0 ;
7743 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7745 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7746 if (PyErr_Occurred()) SWIG_fail
;
7748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7755 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7759 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7762 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7765 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7768 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7772 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7777 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7778 PyObject
*resultobj
= 0;
7779 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7782 PyObject
*swig_obj
[1] ;
7784 if (!args
) SWIG_fail
;
7786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7787 if (!SWIG_IsOK(res1
)) {
7788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7790 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7796 resultobj
= SWIG_Py_Void();
7803 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
= 0;
7805 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7806 wxNativePixelData
*arg2
= 0 ;
7811 PyObject
* obj0
= 0 ;
7812 PyObject
* obj1
= 0 ;
7813 char * kwnames
[] = {
7814 (char *) "self",(char *) "data", NULL
7817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7819 if (!SWIG_IsOK(res1
)) {
7820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7822 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7823 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7824 if (!SWIG_IsOK(res2
)) {
7825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7830 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7832 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7835 resultobj
= SWIG_Py_Void();
7842 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7843 PyObject
*resultobj
= 0;
7844 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7848 PyObject
*swig_obj
[1] ;
7850 if (!args
) SWIG_fail
;
7852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7853 if (!SWIG_IsOK(res1
)) {
7854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7856 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7858 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7859 if (PyErr_Occurred()) SWIG_fail
;
7862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7870 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7871 PyObject
*resultobj
= 0;
7872 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7875 PyObject
*swig_obj
[1] ;
7877 if (!args
) SWIG_fail
;
7879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7880 if (!SWIG_IsOK(res1
)) {
7881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7883 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7885 wxNativePixelData_Accessor_nextPixel(arg1
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= SWIG_Py_Void();
7895 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
= 0;
7897 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7898 wxNativePixelData
*arg2
= 0 ;
7909 PyObject
* obj0
= 0 ;
7910 PyObject
* obj1
= 0 ;
7911 PyObject
* obj2
= 0 ;
7912 PyObject
* obj3
= 0 ;
7913 char * kwnames
[] = {
7914 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7919 if (!SWIG_IsOK(res1
)) {
7920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7922 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7923 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7924 if (!SWIG_IsOK(res2
)) {
7925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7928 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7930 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7931 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7932 if (!SWIG_IsOK(ecode3
)) {
7933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7935 arg3
= static_cast< int >(val3
);
7936 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7937 if (!SWIG_IsOK(ecode4
)) {
7938 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7940 arg4
= static_cast< int >(val4
);
7942 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= SWIG_Py_Void();
7952 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
*resultobj
= 0;
7954 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7955 wxNativePixelData
*arg2
= 0 ;
7963 PyObject
* obj0
= 0 ;
7964 PyObject
* obj1
= 0 ;
7965 PyObject
* obj2
= 0 ;
7966 char * kwnames
[] = {
7967 (char *) "self",(char *) "data",(char *) "x", NULL
7970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7972 if (!SWIG_IsOK(res1
)) {
7973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7975 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7976 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7977 if (!SWIG_IsOK(res2
)) {
7978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7983 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7985 if (!SWIG_IsOK(ecode3
)) {
7986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7988 arg3
= static_cast< int >(val3
);
7990 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7993 resultobj
= SWIG_Py_Void();
8000 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8001 PyObject
*resultobj
= 0;
8002 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8003 wxNativePixelData
*arg2
= 0 ;
8011 PyObject
* obj0
= 0 ;
8012 PyObject
* obj1
= 0 ;
8013 PyObject
* obj2
= 0 ;
8014 char * kwnames
[] = {
8015 (char *) "self",(char *) "data",(char *) "y", NULL
8018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8020 if (!SWIG_IsOK(res1
)) {
8021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8023 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8024 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8025 if (!SWIG_IsOK(res2
)) {
8026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8031 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8032 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8033 if (!SWIG_IsOK(ecode3
)) {
8034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8036 arg3
= static_cast< int >(val3
);
8038 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8039 if (PyErr_Occurred()) SWIG_fail
;
8041 resultobj
= SWIG_Py_Void();
8048 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
*resultobj
= 0;
8050 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8051 wxNativePixelData
*arg2
= 0 ;
8062 PyObject
* obj0
= 0 ;
8063 PyObject
* obj1
= 0 ;
8064 PyObject
* obj2
= 0 ;
8065 PyObject
* obj3
= 0 ;
8066 char * kwnames
[] = {
8067 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8072 if (!SWIG_IsOK(res1
)) {
8073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8075 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8076 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8077 if (!SWIG_IsOK(res2
)) {
8078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8083 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8085 if (!SWIG_IsOK(ecode3
)) {
8086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8088 arg3
= static_cast< int >(val3
);
8089 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8090 if (!SWIG_IsOK(ecode4
)) {
8091 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8093 arg4
= static_cast< int >(val4
);
8095 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= SWIG_Py_Void();
8105 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
= 0;
8107 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8113 unsigned char val2
;
8115 unsigned char val3
;
8117 unsigned char val4
;
8119 PyObject
* obj0
= 0 ;
8120 PyObject
* obj1
= 0 ;
8121 PyObject
* obj2
= 0 ;
8122 PyObject
* obj3
= 0 ;
8123 char * kwnames
[] = {
8124 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8129 if (!SWIG_IsOK(res1
)) {
8130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8132 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8133 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8134 if (!SWIG_IsOK(ecode2
)) {
8135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8137 arg2
= static_cast< byte
>(val2
);
8138 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8139 if (!SWIG_IsOK(ecode3
)) {
8140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8142 arg3
= static_cast< byte
>(val3
);
8143 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8144 if (!SWIG_IsOK(ecode4
)) {
8145 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8147 arg4
= static_cast< byte
>(val4
);
8149 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 resultobj
= SWIG_Py_Void();
8159 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8160 PyObject
*resultobj
= 0;
8161 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8162 PyObject
*result
= 0 ;
8165 PyObject
*swig_obj
[1] ;
8167 if (!args
) SWIG_fail
;
8169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8170 if (!SWIG_IsOK(res1
)) {
8171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8173 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8175 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8185 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8187 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8188 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8189 return SWIG_Py_Void();
8192 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8193 return SWIG_Python_InitShadowInstance(args
);
8196 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8197 PyObject
*resultobj
= 0;
8198 wxBitmap
*arg1
= 0 ;
8199 wxAlphaPixelData
*result
= 0 ;
8203 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8205 if (!SWIG_IsOK(res1
)) {
8206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8211 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8213 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8223 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8224 PyObject
*resultobj
= 0;
8225 wxBitmap
*arg1
= 0 ;
8227 wxAlphaPixelData
*result
= 0 ;
8232 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8234 if (!SWIG_IsOK(res1
)) {
8235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8240 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8243 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8246 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8256 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8257 PyObject
*resultobj
= 0;
8258 wxBitmap
*arg1
= 0 ;
8261 wxAlphaPixelData
*result
= 0 ;
8267 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8269 if (!SWIG_IsOK(res1
)) {
8270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8273 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8275 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8278 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8282 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8285 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8295 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8299 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8302 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8305 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8308 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8312 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8317 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8318 PyObject
*resultobj
= 0;
8319 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8322 PyObject
*swig_obj
[1] ;
8324 if (!args
) SWIG_fail
;
8326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8327 if (!SWIG_IsOK(res1
)) {
8328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8330 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= SWIG_Py_Void();
8343 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8344 PyObject
*resultobj
= 0;
8345 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8346 wxAlphaPixelData_Accessor result
;
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_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8357 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8359 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8360 if (PyErr_Occurred()) SWIG_fail
;
8362 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8369 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8370 PyObject
*resultobj
= 0;
8371 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8374 PyObject
*swig_obj
[1] ;
8376 if (!args
) SWIG_fail
;
8378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8379 if (!SWIG_IsOK(res1
)) {
8380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8382 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8385 if (PyErr_Occurred()) SWIG_fail
;
8387 resultobj
= SWIG_Py_Void();
8394 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8395 PyObject
*resultobj
= 0;
8396 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8400 PyObject
*swig_obj
[1] ;
8402 if (!args
) SWIG_fail
;
8404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8405 if (!SWIG_IsOK(res1
)) {
8406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8408 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8410 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8411 if (PyErr_Occurred()) SWIG_fail
;
8414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8422 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8425 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8426 return SWIG_Py_Void();
8429 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8430 return SWIG_Python_InitShadowInstance(args
);
8433 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8434 PyObject
*resultobj
= 0;
8435 wxAlphaPixelData
*arg1
= 0 ;
8436 wxAlphaPixelData_Accessor
*result
= 0 ;
8440 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8442 if (!SWIG_IsOK(res1
)) {
8443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8448 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8450 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8460 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8461 PyObject
*resultobj
= 0;
8462 wxBitmap
*arg1
= 0 ;
8463 wxAlphaPixelData
*arg2
= 0 ;
8464 wxAlphaPixelData_Accessor
*result
= 0 ;
8470 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8472 if (!SWIG_IsOK(res1
)) {
8473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8478 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8479 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8480 if (!SWIG_IsOK(res2
)) {
8481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8486 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8488 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8489 if (PyErr_Occurred()) SWIG_fail
;
8491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8498 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8499 PyObject
*resultobj
= 0;
8500 wxAlphaPixelData_Accessor
*result
= 0 ;
8502 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8504 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8505 if (PyErr_Occurred()) SWIG_fail
;
8507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8514 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8518 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8521 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8524 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8527 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8531 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8536 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8537 PyObject
*resultobj
= 0;
8538 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8541 PyObject
*swig_obj
[1] ;
8543 if (!args
) SWIG_fail
;
8545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8546 if (!SWIG_IsOK(res1
)) {
8547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8549 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8555 resultobj
= SWIG_Py_Void();
8562 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8563 PyObject
*resultobj
= 0;
8564 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8565 wxAlphaPixelData
*arg2
= 0 ;
8570 PyObject
* obj0
= 0 ;
8571 PyObject
* obj1
= 0 ;
8572 char * kwnames
[] = {
8573 (char *) "self",(char *) "data", NULL
8576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8578 if (!SWIG_IsOK(res1
)) {
8579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8581 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8583 if (!SWIG_IsOK(res2
)) {
8584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8589 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8591 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8594 resultobj
= SWIG_Py_Void();
8601 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8602 PyObject
*resultobj
= 0;
8603 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8607 PyObject
*swig_obj
[1] ;
8609 if (!args
) SWIG_fail
;
8611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8612 if (!SWIG_IsOK(res1
)) {
8613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8615 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8617 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8618 if (PyErr_Occurred()) SWIG_fail
;
8621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8629 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8630 PyObject
*resultobj
= 0;
8631 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8634 PyObject
*swig_obj
[1] ;
8636 if (!args
) SWIG_fail
;
8638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8639 if (!SWIG_IsOK(res1
)) {
8640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8642 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8644 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8647 resultobj
= SWIG_Py_Void();
8654 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8655 PyObject
*resultobj
= 0;
8656 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8657 wxAlphaPixelData
*arg2
= 0 ;
8668 PyObject
* obj0
= 0 ;
8669 PyObject
* obj1
= 0 ;
8670 PyObject
* obj2
= 0 ;
8671 PyObject
* obj3
= 0 ;
8672 char * kwnames
[] = {
8673 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8678 if (!SWIG_IsOK(res1
)) {
8679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8681 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8682 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8683 if (!SWIG_IsOK(res2
)) {
8684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8689 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8691 if (!SWIG_IsOK(ecode3
)) {
8692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8694 arg3
= static_cast< int >(val3
);
8695 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8696 if (!SWIG_IsOK(ecode4
)) {
8697 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8699 arg4
= static_cast< int >(val4
);
8701 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8704 resultobj
= SWIG_Py_Void();
8711 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8712 PyObject
*resultobj
= 0;
8713 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8714 wxAlphaPixelData
*arg2
= 0 ;
8722 PyObject
* obj0
= 0 ;
8723 PyObject
* obj1
= 0 ;
8724 PyObject
* obj2
= 0 ;
8725 char * kwnames
[] = {
8726 (char *) "self",(char *) "data",(char *) "x", NULL
8729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8731 if (!SWIG_IsOK(res1
)) {
8732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8734 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8735 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8736 if (!SWIG_IsOK(res2
)) {
8737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8742 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8743 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8744 if (!SWIG_IsOK(ecode3
)) {
8745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8747 arg3
= static_cast< int >(val3
);
8749 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8752 resultobj
= SWIG_Py_Void();
8759 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8760 PyObject
*resultobj
= 0;
8761 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8762 wxAlphaPixelData
*arg2
= 0 ;
8770 PyObject
* obj0
= 0 ;
8771 PyObject
* obj1
= 0 ;
8772 PyObject
* obj2
= 0 ;
8773 char * kwnames
[] = {
8774 (char *) "self",(char *) "data",(char *) "y", NULL
8777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8779 if (!SWIG_IsOK(res1
)) {
8780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8782 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8783 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8784 if (!SWIG_IsOK(res2
)) {
8785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8790 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8791 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8792 if (!SWIG_IsOK(ecode3
)) {
8793 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8795 arg3
= static_cast< int >(val3
);
8797 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8800 resultobj
= SWIG_Py_Void();
8807 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
= 0;
8809 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8810 wxAlphaPixelData
*arg2
= 0 ;
8821 PyObject
* obj0
= 0 ;
8822 PyObject
* obj1
= 0 ;
8823 PyObject
* obj2
= 0 ;
8824 PyObject
* obj3
= 0 ;
8825 char * kwnames
[] = {
8826 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8831 if (!SWIG_IsOK(res1
)) {
8832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8834 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8835 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8836 if (!SWIG_IsOK(res2
)) {
8837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8842 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8843 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8844 if (!SWIG_IsOK(ecode3
)) {
8845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8847 arg3
= static_cast< int >(val3
);
8848 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8849 if (!SWIG_IsOK(ecode4
)) {
8850 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8852 arg4
= static_cast< int >(val4
);
8854 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 resultobj
= SWIG_Py_Void();
8864 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
= 0;
8866 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8873 unsigned char val2
;
8875 unsigned char val3
;
8877 unsigned char val4
;
8879 unsigned char val5
;
8881 PyObject
* obj0
= 0 ;
8882 PyObject
* obj1
= 0 ;
8883 PyObject
* obj2
= 0 ;
8884 PyObject
* obj3
= 0 ;
8885 PyObject
* obj4
= 0 ;
8886 char * kwnames
[] = {
8887 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8892 if (!SWIG_IsOK(res1
)) {
8893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8895 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8896 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8897 if (!SWIG_IsOK(ecode2
)) {
8898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8900 arg2
= static_cast< byte
>(val2
);
8901 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8902 if (!SWIG_IsOK(ecode3
)) {
8903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8905 arg3
= static_cast< byte
>(val3
);
8906 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8907 if (!SWIG_IsOK(ecode4
)) {
8908 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8910 arg4
= static_cast< byte
>(val4
);
8911 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8912 if (!SWIG_IsOK(ecode5
)) {
8913 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8915 arg5
= static_cast< byte
>(val5
);
8917 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8920 resultobj
= SWIG_Py_Void();
8927 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8928 PyObject
*resultobj
= 0;
8929 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8930 PyObject
*result
= 0 ;
8933 PyObject
*swig_obj
[1] ;
8935 if (!args
) SWIG_fail
;
8937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8938 if (!SWIG_IsOK(res1
)) {
8939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8941 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8943 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8953 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8955 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8956 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8957 return SWIG_Py_Void();
8960 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8961 return SWIG_Python_InitShadowInstance(args
);
8964 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
= 0;
8966 wxBitmap
*arg1
= 0 ;
8967 wxColour
const &arg2_defvalue
= wxNullColour
;
8968 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8969 wxMask
*result
= 0 ;
8973 PyObject
* obj0
= 0 ;
8974 PyObject
* obj1
= 0 ;
8975 char * kwnames
[] = {
8976 (char *) "bitmap",(char *) "colour", NULL
8979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8980 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8981 if (!SWIG_IsOK(res1
)) {
8982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8987 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8991 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8995 if (!wxPyCheckForApp()) SWIG_fail
;
8996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8997 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9008 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9009 PyObject
*resultobj
= 0;
9010 wxMask
*arg1
= (wxMask
*) 0 ;
9013 PyObject
*swig_obj
[1] ;
9015 if (!args
) SWIG_fail
;
9017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9018 if (!SWIG_IsOK(res1
)) {
9019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9021 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9027 resultobj
= SWIG_Py_Void();
9034 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9036 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9037 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9038 return SWIG_Py_Void();
9041 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9042 return SWIG_Python_InitShadowInstance(args
);
9045 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
= 0;
9047 wxString
*arg1
= 0 ;
9049 int arg3
= (int) -1 ;
9050 int arg4
= (int) -1 ;
9051 wxIcon
*result
= 0 ;
9052 bool temp1
= false ;
9059 PyObject
* obj0
= 0 ;
9060 PyObject
* obj1
= 0 ;
9061 PyObject
* obj2
= 0 ;
9062 PyObject
* obj3
= 0 ;
9063 char * kwnames
[] = {
9064 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9069 arg1
= wxString_in_helper(obj0
);
9070 if (arg1
== NULL
) SWIG_fail
;
9073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9074 if (!SWIG_IsOK(ecode2
)) {
9075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9077 arg2
= static_cast< wxBitmapType
>(val2
);
9079 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9080 if (!SWIG_IsOK(ecode3
)) {
9081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9083 arg3
= static_cast< int >(val3
);
9086 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9087 if (!SWIG_IsOK(ecode4
)) {
9088 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9090 arg4
= static_cast< int >(val4
);
9093 if (!wxPyCheckForApp()) SWIG_fail
;
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9095 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9096 wxPyEndAllowThreads(__tstate
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9114 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9115 PyObject
*resultobj
= 0;
9116 wxIcon
*arg1
= (wxIcon
*) 0 ;
9119 PyObject
*swig_obj
[1] ;
9121 if (!args
) SWIG_fail
;
9123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9124 if (!SWIG_IsOK(res1
)) {
9125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9127 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 resultobj
= SWIG_Py_Void();
9142 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9143 PyObject
*resultobj
= 0;
9144 wxIcon
*result
= 0 ;
9146 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9148 if (!wxPyCheckForApp()) SWIG_fail
;
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 result
= (wxIcon
*)new wxIcon();
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9161 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9162 PyObject
*resultobj
= 0;
9163 wxIconLocation
*arg1
= 0 ;
9164 wxIcon
*result
= 0 ;
9167 PyObject
* obj0
= 0 ;
9168 char * kwnames
[] = {
9169 (char *) "loc", NULL
9172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9173 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9174 if (!SWIG_IsOK(res1
)) {
9175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9180 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9182 if (!wxPyCheckForApp()) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9195 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
= 0;
9197 wxBitmap
*arg1
= 0 ;
9198 wxIcon
*result
= 0 ;
9201 PyObject
* obj0
= 0 ;
9202 char * kwnames
[] = {
9203 (char *) "bmp", NULL
9206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9207 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9208 if (!SWIG_IsOK(res1
)) {
9209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9214 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9216 if (!wxPyCheckForApp()) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*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_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
*resultobj
= 0;
9231 PyObject
*arg1
= (PyObject
*) 0 ;
9232 wxIcon
*result
= 0 ;
9233 PyObject
* obj0
= 0 ;
9234 char * kwnames
[] = {
9235 (char *) "listOfStrings", NULL
9238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9241 if (!wxPyCheckForApp()) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 result
= (wxIcon
*)new_wxIcon(arg1
);
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9254 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9255 PyObject
*resultobj
= 0;
9256 wxIcon
*arg1
= (wxIcon
*) 0 ;
9260 PyObject
*swig_obj
[1] ;
9262 if (!args
) SWIG_fail
;
9264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9265 if (!SWIG_IsOK(res1
)) {
9266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9268 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9271 result
= (bool)(arg1
)->IsOk();
9272 wxPyEndAllowThreads(__tstate
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9284 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9285 PyObject
*resultobj
= 0;
9286 wxIcon
*arg1
= (wxIcon
*) 0 ;
9290 PyObject
*swig_obj
[1] ;
9292 if (!args
) SWIG_fail
;
9294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9295 if (!SWIG_IsOK(res1
)) {
9296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9298 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 result
= (int)(arg1
)->GetWidth();
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9305 resultobj
= SWIG_From_int(static_cast< int >(result
));
9312 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9313 PyObject
*resultobj
= 0;
9314 wxIcon
*arg1
= (wxIcon
*) 0 ;
9318 PyObject
*swig_obj
[1] ;
9320 if (!args
) SWIG_fail
;
9322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9323 if (!SWIG_IsOK(res1
)) {
9324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9326 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9329 result
= (int)(arg1
)->GetHeight();
9330 wxPyEndAllowThreads(__tstate
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9333 resultobj
= SWIG_From_int(static_cast< int >(result
));
9340 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9341 PyObject
*resultobj
= 0;
9342 wxIcon
*arg1
= (wxIcon
*) 0 ;
9346 PyObject
*swig_obj
[1] ;
9348 if (!args
) SWIG_fail
;
9350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9351 if (!SWIG_IsOK(res1
)) {
9352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9354 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9357 result
= (int)(arg1
)->GetDepth();
9358 wxPyEndAllowThreads(__tstate
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9361 resultobj
= SWIG_From_int(static_cast< int >(result
));
9368 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9369 PyObject
*resultobj
= 0;
9370 wxIcon
*arg1
= (wxIcon
*) 0 ;
9376 PyObject
* obj0
= 0 ;
9377 PyObject
* obj1
= 0 ;
9378 char * kwnames
[] = {
9379 (char *) "self",(char *) "w", NULL
9382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9384 if (!SWIG_IsOK(res1
)) {
9385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9387 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9389 if (!SWIG_IsOK(ecode2
)) {
9390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9392 arg2
= static_cast< int >(val2
);
9394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 (arg1
)->SetWidth(arg2
);
9396 wxPyEndAllowThreads(__tstate
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9399 resultobj
= SWIG_Py_Void();
9406 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9407 PyObject
*resultobj
= 0;
9408 wxIcon
*arg1
= (wxIcon
*) 0 ;
9414 PyObject
* obj0
= 0 ;
9415 PyObject
* obj1
= 0 ;
9416 char * kwnames
[] = {
9417 (char *) "self",(char *) "h", NULL
9420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9422 if (!SWIG_IsOK(res1
)) {
9423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9425 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9427 if (!SWIG_IsOK(ecode2
)) {
9428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9430 arg2
= static_cast< int >(val2
);
9432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9433 (arg1
)->SetHeight(arg2
);
9434 wxPyEndAllowThreads(__tstate
);
9435 if (PyErr_Occurred()) SWIG_fail
;
9437 resultobj
= SWIG_Py_Void();
9444 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9445 PyObject
*resultobj
= 0;
9446 wxIcon
*arg1
= (wxIcon
*) 0 ;
9452 PyObject
* obj0
= 0 ;
9453 PyObject
* obj1
= 0 ;
9454 char * kwnames
[] = {
9455 (char *) "self",(char *) "d", NULL
9458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9460 if (!SWIG_IsOK(res1
)) {
9461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9463 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9465 if (!SWIG_IsOK(ecode2
)) {
9466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9468 arg2
= static_cast< int >(val2
);
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9471 (arg1
)->SetDepth(arg2
);
9472 wxPyEndAllowThreads(__tstate
);
9473 if (PyErr_Occurred()) SWIG_fail
;
9475 resultobj
= SWIG_Py_Void();
9482 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
*resultobj
= 0;
9484 wxIcon
*arg1
= (wxIcon
*) 0 ;
9485 wxBitmap
*arg2
= 0 ;
9490 PyObject
* obj0
= 0 ;
9491 PyObject
* obj1
= 0 ;
9492 char * kwnames
[] = {
9493 (char *) "self",(char *) "bmp", NULL
9496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9498 if (!SWIG_IsOK(res1
)) {
9499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9501 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9502 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9503 if (!SWIG_IsOK(res2
)) {
9504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9509 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9516 resultobj
= SWIG_Py_Void();
9523 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9525 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9526 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9527 return SWIG_Py_Void();
9530 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9531 return SWIG_Python_InitShadowInstance(args
);
9534 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
*resultobj
= 0;
9536 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9537 int arg2
= (int) 0 ;
9538 wxIconLocation
*result
= 0 ;
9539 bool temp1
= false ;
9542 PyObject
* obj0
= 0 ;
9543 PyObject
* obj1
= 0 ;
9544 char * kwnames
[] = {
9545 (char *) "filename",(char *) "num", NULL
9548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9551 arg1
= wxString_in_helper(obj0
);
9552 if (arg1
== NULL
) SWIG_fail
;
9557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9558 if (!SWIG_IsOK(ecode2
)) {
9559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9561 arg2
= static_cast< int >(val2
);
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9566 wxPyEndAllowThreads(__tstate
);
9567 if (PyErr_Occurred()) SWIG_fail
;
9569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9584 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9585 PyObject
*resultobj
= 0;
9586 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9589 PyObject
*swig_obj
[1] ;
9591 if (!args
) SWIG_fail
;
9593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9594 if (!SWIG_IsOK(res1
)) {
9595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9597 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9602 wxPyEndAllowThreads(__tstate
);
9603 if (PyErr_Occurred()) SWIG_fail
;
9605 resultobj
= SWIG_Py_Void();
9612 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9613 PyObject
*resultobj
= 0;
9614 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9618 PyObject
*swig_obj
[1] ;
9620 if (!args
) SWIG_fail
;
9622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9623 if (!SWIG_IsOK(res1
)) {
9624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9626 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9629 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9630 wxPyEndAllowThreads(__tstate
);
9631 if (PyErr_Occurred()) SWIG_fail
;
9634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9642 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9643 PyObject
*resultobj
= 0;
9644 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9645 wxString
*arg2
= 0 ;
9648 bool temp2
= false ;
9649 PyObject
* obj0
= 0 ;
9650 PyObject
* obj1
= 0 ;
9651 char * kwnames
[] = {
9652 (char *) "self",(char *) "filename", NULL
9655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9657 if (!SWIG_IsOK(res1
)) {
9658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9660 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9662 arg2
= wxString_in_helper(obj1
);
9663 if (arg2
== NULL
) SWIG_fail
;
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 (arg1
)->SetFileName((wxString
const &)*arg2
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9672 resultobj
= SWIG_Py_Void();
9687 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9688 PyObject
*resultobj
= 0;
9689 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9690 wxString
*result
= 0 ;
9693 PyObject
*swig_obj
[1] ;
9695 if (!args
) SWIG_fail
;
9697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9698 if (!SWIG_IsOK(res1
)) {
9699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9701 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9706 result
= (wxString
*) &_result_ref
;
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9713 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9715 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9724 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9725 PyObject
*resultobj
= 0;
9726 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9732 PyObject
* obj0
= 0 ;
9733 PyObject
* obj1
= 0 ;
9734 char * kwnames
[] = {
9735 (char *) "self",(char *) "num", NULL
9738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9740 if (!SWIG_IsOK(res1
)) {
9741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9743 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9744 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9745 if (!SWIG_IsOK(ecode2
)) {
9746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9748 arg2
= static_cast< int >(val2
);
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 wxIconLocation_SetIndex(arg1
,arg2
);
9752 wxPyEndAllowThreads(__tstate
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9755 resultobj
= SWIG_Py_Void();
9762 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9763 PyObject
*resultobj
= 0;
9764 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9768 PyObject
*swig_obj
[1] ;
9770 if (!args
) SWIG_fail
;
9772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9773 if (!SWIG_IsOK(res1
)) {
9774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9776 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9779 result
= (int)wxIconLocation_GetIndex(arg1
);
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9783 resultobj
= SWIG_From_int(static_cast< int >(result
));
9790 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9792 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9793 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9794 return SWIG_Py_Void();
9797 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9798 return SWIG_Python_InitShadowInstance(args
);
9801 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9802 PyObject
*resultobj
= 0;
9803 wxIconBundle
*result
= 0 ;
9805 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9808 result
= (wxIconBundle
*)new wxIconBundle();
9809 wxPyEndAllowThreads(__tstate
);
9810 if (PyErr_Occurred()) SWIG_fail
;
9812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9819 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9820 PyObject
*resultobj
= 0;
9821 wxString
*arg1
= 0 ;
9823 wxIconBundle
*result
= 0 ;
9824 bool temp1
= false ;
9827 PyObject
* obj0
= 0 ;
9828 PyObject
* obj1
= 0 ;
9829 char * kwnames
[] = {
9830 (char *) "file",(char *) "type", NULL
9833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9835 arg1
= wxString_in_helper(obj0
);
9836 if (arg1
== NULL
) SWIG_fail
;
9839 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9840 if (!SWIG_IsOK(ecode2
)) {
9841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9843 arg2
= static_cast< long >(val2
);
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9865 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9866 PyObject
*resultobj
= 0;
9868 wxIconBundle
*result
= 0 ;
9871 PyObject
* obj0
= 0 ;
9872 char * kwnames
[] = {
9873 (char *) "icon", NULL
9876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9877 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9878 if (!SWIG_IsOK(res1
)) {
9879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9884 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9888 wxPyEndAllowThreads(__tstate
);
9889 if (PyErr_Occurred()) SWIG_fail
;
9891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9898 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9899 PyObject
*resultobj
= 0;
9900 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9903 PyObject
*swig_obj
[1] ;
9905 if (!args
) SWIG_fail
;
9907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9908 if (!SWIG_IsOK(res1
)) {
9909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9911 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9919 resultobj
= SWIG_Py_Void();
9926 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9927 PyObject
*resultobj
= 0;
9928 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9934 PyObject
* obj0
= 0 ;
9935 PyObject
* obj1
= 0 ;
9936 char * kwnames
[] = {
9937 (char *) "self",(char *) "icon", NULL
9940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9942 if (!SWIG_IsOK(res1
)) {
9943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9945 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9946 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9947 if (!SWIG_IsOK(res2
)) {
9948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9953 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9957 wxPyEndAllowThreads(__tstate
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9960 resultobj
= SWIG_Py_Void();
9967 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9968 PyObject
*resultobj
= 0;
9969 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9970 wxString
*arg2
= 0 ;
9974 bool temp2
= false ;
9977 PyObject
* obj0
= 0 ;
9978 PyObject
* obj1
= 0 ;
9979 PyObject
* obj2
= 0 ;
9980 char * kwnames
[] = {
9981 (char *) "self",(char *) "file",(char *) "type", NULL
9984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9986 if (!SWIG_IsOK(res1
)) {
9987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9989 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9991 arg2
= wxString_in_helper(obj1
);
9992 if (arg2
== NULL
) SWIG_fail
;
9995 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9996 if (!SWIG_IsOK(ecode3
)) {
9997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9999 arg3
= static_cast< long >(val3
);
10001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10003 wxPyEndAllowThreads(__tstate
);
10004 if (PyErr_Occurred()) SWIG_fail
;
10006 resultobj
= SWIG_Py_Void();
10021 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10022 PyObject
*resultobj
= 0;
10023 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10025 wxIcon
*result
= 0 ;
10029 PyObject
* obj0
= 0 ;
10030 PyObject
* obj1
= 0 ;
10031 char * kwnames
[] = {
10032 (char *) "self",(char *) "size", NULL
10035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10037 if (!SWIG_IsOK(res1
)) {
10038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10040 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10043 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10048 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10049 result
= (wxIcon
*) &_result_ref
;
10051 wxPyEndAllowThreads(__tstate
);
10052 if (PyErr_Occurred()) SWIG_fail
;
10055 wxIcon
* resultptr
= new wxIcon(*result
);
10056 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10064 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10067 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10068 return SWIG_Py_Void();
10071 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10072 return SWIG_Python_InitShadowInstance(args
);
10075 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
*resultobj
= 0;
10077 wxString
*arg1
= 0 ;
10079 int arg3
= (int) 0 ;
10080 int arg4
= (int) 0 ;
10081 wxCursor
*result
= 0 ;
10082 bool temp1
= false ;
10089 PyObject
* obj0
= 0 ;
10090 PyObject
* obj1
= 0 ;
10091 PyObject
* obj2
= 0 ;
10092 PyObject
* obj3
= 0 ;
10093 char * kwnames
[] = {
10094 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10099 arg1
= wxString_in_helper(obj0
);
10100 if (arg1
== NULL
) SWIG_fail
;
10103 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10104 if (!SWIG_IsOK(ecode2
)) {
10105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10107 arg2
= static_cast< long >(val2
);
10109 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10110 if (!SWIG_IsOK(ecode3
)) {
10111 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10113 arg3
= static_cast< int >(val3
);
10116 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10117 if (!SWIG_IsOK(ecode4
)) {
10118 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10120 arg4
= static_cast< int >(val4
);
10123 if (!wxPyCheckForApp()) SWIG_fail
;
10124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10125 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10144 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10145 PyObject
*resultobj
= 0;
10146 wxCursor
*arg1
= (wxCursor
*) 0 ;
10149 PyObject
*swig_obj
[1] ;
10151 if (!args
) SWIG_fail
;
10152 swig_obj
[0] = args
;
10153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10154 if (!SWIG_IsOK(res1
)) {
10155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10157 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10165 resultobj
= SWIG_Py_Void();
10172 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10173 PyObject
*resultobj
= 0;
10175 wxCursor
*result
= 0 ;
10178 PyObject
* obj0
= 0 ;
10179 char * kwnames
[] = {
10180 (char *) "id", NULL
10183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10184 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10185 if (!SWIG_IsOK(ecode1
)) {
10186 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10188 arg1
= static_cast< int >(val1
);
10190 if (!wxPyCheckForApp()) SWIG_fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 result
= (wxCursor
*)new wxCursor(arg1
);
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10203 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
= 0;
10205 wxImage
*arg1
= 0 ;
10206 wxCursor
*result
= 0 ;
10209 PyObject
* obj0
= 0 ;
10210 char * kwnames
[] = {
10211 (char *) "image", NULL
10214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10215 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10216 if (!SWIG_IsOK(res1
)) {
10217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10222 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10224 if (!wxPyCheckForApp()) SWIG_fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10237 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10238 PyObject
*resultobj
= 0;
10239 wxCursor
*arg1
= (wxCursor
*) 0 ;
10243 PyObject
*swig_obj
[1] ;
10245 if (!args
) SWIG_fail
;
10246 swig_obj
[0] = args
;
10247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10248 if (!SWIG_IsOK(res1
)) {
10249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10251 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 result
= (bool)(arg1
)->IsOk();
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10267 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10269 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10270 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10271 return SWIG_Py_Void();
10274 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10275 return SWIG_Python_InitShadowInstance(args
);
10278 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10279 PyObject
*resultobj
= 0;
10280 int arg1
= (int) 0 ;
10281 int arg2
= (int) 0 ;
10282 int arg3
= (int) 0 ;
10283 int arg4
= (int) 0 ;
10284 wxRegion
*result
= 0 ;
10293 PyObject
* obj0
= 0 ;
10294 PyObject
* obj1
= 0 ;
10295 PyObject
* obj2
= 0 ;
10296 PyObject
* obj3
= 0 ;
10297 char * kwnames
[] = {
10298 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10303 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10304 if (!SWIG_IsOK(ecode1
)) {
10305 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10307 arg1
= static_cast< int >(val1
);
10310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10311 if (!SWIG_IsOK(ecode2
)) {
10312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10314 arg2
= static_cast< int >(val2
);
10317 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10318 if (!SWIG_IsOK(ecode3
)) {
10319 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10321 arg3
= static_cast< int >(val3
);
10324 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10325 if (!SWIG_IsOK(ecode4
)) {
10326 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10328 arg4
= static_cast< int >(val4
);
10331 if (!wxPyCheckForApp()) SWIG_fail
;
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10333 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10344 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10345 PyObject
*resultobj
= 0;
10346 wxBitmap
*arg1
= 0 ;
10347 wxRegion
*result
= 0 ;
10350 PyObject
* obj0
= 0 ;
10351 char * kwnames
[] = {
10352 (char *) "bmp", NULL
10355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10356 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10357 if (!SWIG_IsOK(res1
)) {
10358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10363 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10365 if (!wxPyCheckForApp()) SWIG_fail
;
10366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10368 wxPyEndAllowThreads(__tstate
);
10369 if (PyErr_Occurred()) SWIG_fail
;
10371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10378 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
*resultobj
= 0;
10380 wxBitmap
*arg1
= 0 ;
10381 wxColour
*arg2
= 0 ;
10382 int arg3
= (int) 0 ;
10383 wxRegion
*result
= 0 ;
10389 PyObject
* obj0
= 0 ;
10390 PyObject
* obj1
= 0 ;
10391 PyObject
* obj2
= 0 ;
10392 char * kwnames
[] = {
10393 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10397 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10398 if (!SWIG_IsOK(res1
)) {
10399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10404 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10407 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10410 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10411 if (!SWIG_IsOK(ecode3
)) {
10412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10414 arg3
= static_cast< int >(val3
);
10417 if (!wxPyCheckForApp()) SWIG_fail
;
10418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10419 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10420 wxPyEndAllowThreads(__tstate
);
10421 if (PyErr_Occurred()) SWIG_fail
;
10423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10430 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10431 PyObject
*resultobj
= 0;
10433 wxPoint
*arg2
= (wxPoint
*) 0 ;
10434 int arg3
= (int) wxWINDING_RULE
;
10435 wxRegion
*result
= 0 ;
10438 PyObject
* obj0
= 0 ;
10439 PyObject
* obj1
= 0 ;
10440 char * kwnames
[] = {
10441 (char *) "points",(char *) "fillStyle", NULL
10444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10446 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10447 if (arg2
== NULL
) SWIG_fail
;
10450 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10451 if (!SWIG_IsOK(ecode3
)) {
10452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10454 arg3
= static_cast< int >(val3
);
10457 if (!wxPyCheckForApp()) SWIG_fail
;
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10465 if (arg2
) delete [] arg2
;
10470 if (arg2
) delete [] arg2
;
10476 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10477 PyObject
*resultobj
= 0;
10478 wxRegion
*arg1
= (wxRegion
*) 0 ;
10481 PyObject
*swig_obj
[1] ;
10483 if (!args
) SWIG_fail
;
10484 swig_obj
[0] = args
;
10485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10486 if (!SWIG_IsOK(res1
)) {
10487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10489 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 wxPyEndAllowThreads(__tstate
);
10495 if (PyErr_Occurred()) SWIG_fail
;
10497 resultobj
= SWIG_Py_Void();
10504 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10505 PyObject
*resultobj
= 0;
10506 wxRegion
*arg1
= (wxRegion
*) 0 ;
10509 PyObject
*swig_obj
[1] ;
10511 if (!args
) SWIG_fail
;
10512 swig_obj
[0] = args
;
10513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10514 if (!SWIG_IsOK(res1
)) {
10515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10517 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10524 resultobj
= SWIG_Py_Void();
10531 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
*resultobj
= 0;
10533 wxRegion
*arg1
= (wxRegion
*) 0 ;
10543 PyObject
* obj0
= 0 ;
10544 PyObject
* obj1
= 0 ;
10545 PyObject
* obj2
= 0 ;
10546 char * kwnames
[] = {
10547 (char *) "self",(char *) "x",(char *) "y", NULL
10550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10552 if (!SWIG_IsOK(res1
)) {
10553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10555 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10557 if (!SWIG_IsOK(ecode2
)) {
10558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10560 arg2
= static_cast< int >(val2
);
10561 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10562 if (!SWIG_IsOK(ecode3
)) {
10563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10565 arg3
= static_cast< int >(val3
);
10567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10568 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10569 wxPyEndAllowThreads(__tstate
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10581 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
*resultobj
= 0;
10583 wxRegion
*arg1
= (wxRegion
*) 0 ;
10586 wxRegionContain result
;
10593 PyObject
* obj0
= 0 ;
10594 PyObject
* obj1
= 0 ;
10595 PyObject
* obj2
= 0 ;
10596 char * kwnames
[] = {
10597 (char *) "self",(char *) "x",(char *) "y", NULL
10600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10602 if (!SWIG_IsOK(res1
)) {
10603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10605 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10607 if (!SWIG_IsOK(ecode2
)) {
10608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10610 arg2
= static_cast< int >(val2
);
10611 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10612 if (!SWIG_IsOK(ecode3
)) {
10613 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10615 arg3
= static_cast< int >(val3
);
10617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10618 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10619 wxPyEndAllowThreads(__tstate
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10622 resultobj
= SWIG_From_int(static_cast< int >(result
));
10629 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10630 PyObject
*resultobj
= 0;
10631 wxRegion
*arg1
= (wxRegion
*) 0 ;
10632 wxPoint
*arg2
= 0 ;
10633 wxRegionContain result
;
10637 PyObject
* obj0
= 0 ;
10638 PyObject
* obj1
= 0 ;
10639 char * kwnames
[] = {
10640 (char *) "self",(char *) "pt", NULL
10643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10645 if (!SWIG_IsOK(res1
)) {
10646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10648 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10651 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10659 resultobj
= SWIG_From_int(static_cast< int >(result
));
10666 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10667 PyObject
*resultobj
= 0;
10668 wxRegion
*arg1
= (wxRegion
*) 0 ;
10670 wxRegionContain result
;
10674 PyObject
* obj0
= 0 ;
10675 PyObject
* obj1
= 0 ;
10676 char * kwnames
[] = {
10677 (char *) "self",(char *) "rect", NULL
10680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10682 if (!SWIG_IsOK(res1
)) {
10683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10685 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10688 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10692 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10693 wxPyEndAllowThreads(__tstate
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10696 resultobj
= SWIG_From_int(static_cast< int >(result
));
10703 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10704 PyObject
*resultobj
= 0;
10705 wxRegion
*arg1
= (wxRegion
*) 0 ;
10710 wxRegionContain result
;
10721 PyObject
* obj0
= 0 ;
10722 PyObject
* obj1
= 0 ;
10723 PyObject
* obj2
= 0 ;
10724 PyObject
* obj3
= 0 ;
10725 PyObject
* obj4
= 0 ;
10726 char * kwnames
[] = {
10727 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10732 if (!SWIG_IsOK(res1
)) {
10733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10735 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10737 if (!SWIG_IsOK(ecode2
)) {
10738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10740 arg2
= static_cast< int >(val2
);
10741 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10742 if (!SWIG_IsOK(ecode3
)) {
10743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10745 arg3
= static_cast< int >(val3
);
10746 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10747 if (!SWIG_IsOK(ecode4
)) {
10748 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10750 arg4
= static_cast< int >(val4
);
10751 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10752 if (!SWIG_IsOK(ecode5
)) {
10753 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10755 arg5
= static_cast< int >(val5
);
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10758 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10762 resultobj
= SWIG_From_int(static_cast< int >(result
));
10769 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10770 PyObject
*resultobj
= 0;
10771 wxRegion
*arg1
= (wxRegion
*) 0 ;
10775 PyObject
*swig_obj
[1] ;
10777 if (!args
) SWIG_fail
;
10778 swig_obj
[0] = args
;
10779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10780 if (!SWIG_IsOK(res1
)) {
10781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10783 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10786 result
= (arg1
)->GetBox();
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10797 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
= 0;
10799 wxRegion
*arg1
= (wxRegion
*) 0 ;
10815 PyObject
* obj0
= 0 ;
10816 PyObject
* obj1
= 0 ;
10817 PyObject
* obj2
= 0 ;
10818 PyObject
* obj3
= 0 ;
10819 PyObject
* obj4
= 0 ;
10820 char * kwnames
[] = {
10821 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10826 if (!SWIG_IsOK(res1
)) {
10827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10829 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10831 if (!SWIG_IsOK(ecode2
)) {
10832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10834 arg2
= static_cast< int >(val2
);
10835 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10836 if (!SWIG_IsOK(ecode3
)) {
10837 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10839 arg3
= static_cast< int >(val3
);
10840 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10841 if (!SWIG_IsOK(ecode4
)) {
10842 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10844 arg4
= static_cast< int >(val4
);
10845 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10846 if (!SWIG_IsOK(ecode5
)) {
10847 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10849 arg5
= static_cast< int >(val5
);
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10853 wxPyEndAllowThreads(__tstate
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10865 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10866 PyObject
*resultobj
= 0;
10867 wxRegion
*arg1
= (wxRegion
*) 0 ;
10873 PyObject
* obj0
= 0 ;
10874 PyObject
* obj1
= 0 ;
10875 char * kwnames
[] = {
10876 (char *) "self",(char *) "rect", NULL
10879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10881 if (!SWIG_IsOK(res1
)) {
10882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10884 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10887 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10891 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10892 wxPyEndAllowThreads(__tstate
);
10893 if (PyErr_Occurred()) SWIG_fail
;
10896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10904 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10905 PyObject
*resultobj
= 0;
10906 wxRegion
*arg1
= (wxRegion
*) 0 ;
10907 wxRegion
*arg2
= 0 ;
10913 PyObject
* obj0
= 0 ;
10914 PyObject
* obj1
= 0 ;
10915 char * kwnames
[] = {
10916 (char *) "self",(char *) "region", NULL
10919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10921 if (!SWIG_IsOK(res1
)) {
10922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10924 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10925 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10926 if (!SWIG_IsOK(res2
)) {
10927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10932 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10948 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10949 PyObject
*resultobj
= 0;
10950 wxRegion
*arg1
= (wxRegion
*) 0 ;
10954 PyObject
*swig_obj
[1] ;
10956 if (!args
) SWIG_fail
;
10957 swig_obj
[0] = args
;
10958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10959 if (!SWIG_IsOK(res1
)) {
10960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10962 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10965 result
= (bool)(arg1
)->IsEmpty();
10966 wxPyEndAllowThreads(__tstate
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10978 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10979 PyObject
*resultobj
= 0;
10980 wxRegion
*arg1
= (wxRegion
*) 0 ;
10981 wxRegion
*arg2
= 0 ;
10987 PyObject
* obj0
= 0 ;
10988 PyObject
* obj1
= 0 ;
10989 char * kwnames
[] = {
10990 (char *) "self",(char *) "region", NULL
10993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10995 if (!SWIG_IsOK(res1
)) {
10996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
10998 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10999 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11000 if (!SWIG_IsOK(res2
)) {
11001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11006 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11009 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11010 wxPyEndAllowThreads(__tstate
);
11011 if (PyErr_Occurred()) SWIG_fail
;
11014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11022 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11023 PyObject
*resultobj
= 0;
11024 wxRegion
*arg1
= (wxRegion
*) 0 ;
11040 PyObject
* obj0
= 0 ;
11041 PyObject
* obj1
= 0 ;
11042 PyObject
* obj2
= 0 ;
11043 PyObject
* obj3
= 0 ;
11044 PyObject
* obj4
= 0 ;
11045 char * kwnames
[] = {
11046 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11051 if (!SWIG_IsOK(res1
)) {
11052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11054 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11056 if (!SWIG_IsOK(ecode2
)) {
11057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11059 arg2
= static_cast< int >(val2
);
11060 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11061 if (!SWIG_IsOK(ecode3
)) {
11062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11064 arg3
= static_cast< int >(val3
);
11065 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11066 if (!SWIG_IsOK(ecode4
)) {
11067 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11069 arg4
= static_cast< int >(val4
);
11070 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11071 if (!SWIG_IsOK(ecode5
)) {
11072 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11074 arg5
= static_cast< int >(val5
);
11076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11077 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11078 wxPyEndAllowThreads(__tstate
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11090 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11091 PyObject
*resultobj
= 0;
11092 wxRegion
*arg1
= (wxRegion
*) 0 ;
11098 PyObject
* obj0
= 0 ;
11099 PyObject
* obj1
= 0 ;
11100 char * kwnames
[] = {
11101 (char *) "self",(char *) "rect", NULL
11104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11106 if (!SWIG_IsOK(res1
)) {
11107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11109 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11112 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11116 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11117 wxPyEndAllowThreads(__tstate
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11129 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
*resultobj
= 0;
11131 wxRegion
*arg1
= (wxRegion
*) 0 ;
11132 wxRegion
*arg2
= 0 ;
11138 PyObject
* obj0
= 0 ;
11139 PyObject
* obj1
= 0 ;
11140 char * kwnames
[] = {
11141 (char *) "self",(char *) "region", NULL
11144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11146 if (!SWIG_IsOK(res1
)) {
11147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11149 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11150 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11151 if (!SWIG_IsOK(res2
)) {
11152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11157 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11173 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11174 PyObject
*resultobj
= 0;
11175 wxRegion
*arg1
= (wxRegion
*) 0 ;
11191 PyObject
* obj0
= 0 ;
11192 PyObject
* obj1
= 0 ;
11193 PyObject
* obj2
= 0 ;
11194 PyObject
* obj3
= 0 ;
11195 PyObject
* obj4
= 0 ;
11196 char * kwnames
[] = {
11197 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11202 if (!SWIG_IsOK(res1
)) {
11203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11205 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11207 if (!SWIG_IsOK(ecode2
)) {
11208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11210 arg2
= static_cast< int >(val2
);
11211 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11212 if (!SWIG_IsOK(ecode3
)) {
11213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11215 arg3
= static_cast< int >(val3
);
11216 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11217 if (!SWIG_IsOK(ecode4
)) {
11218 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11220 arg4
= static_cast< int >(val4
);
11221 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11222 if (!SWIG_IsOK(ecode5
)) {
11223 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11225 arg5
= static_cast< int >(val5
);
11227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11228 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11241 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
= 0;
11243 wxRegion
*arg1
= (wxRegion
*) 0 ;
11249 PyObject
* obj0
= 0 ;
11250 PyObject
* obj1
= 0 ;
11251 char * kwnames
[] = {
11252 (char *) "self",(char *) "rect", NULL
11255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11257 if (!SWIG_IsOK(res1
)) {
11258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11260 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11263 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11280 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
*resultobj
= 0;
11282 wxRegion
*arg1
= (wxRegion
*) 0 ;
11283 wxRegion
*arg2
= 0 ;
11289 PyObject
* obj0
= 0 ;
11290 PyObject
* obj1
= 0 ;
11291 char * kwnames
[] = {
11292 (char *) "self",(char *) "region", NULL
11295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11297 if (!SWIG_IsOK(res1
)) {
11298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11300 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11301 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11302 if (!SWIG_IsOK(res2
)) {
11303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11308 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11311 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11312 wxPyEndAllowThreads(__tstate
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11324 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11325 PyObject
*resultobj
= 0;
11326 wxRegion
*arg1
= (wxRegion
*) 0 ;
11342 PyObject
* obj0
= 0 ;
11343 PyObject
* obj1
= 0 ;
11344 PyObject
* obj2
= 0 ;
11345 PyObject
* obj3
= 0 ;
11346 PyObject
* obj4
= 0 ;
11347 char * kwnames
[] = {
11348 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11353 if (!SWIG_IsOK(res1
)) {
11354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11356 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11358 if (!SWIG_IsOK(ecode2
)) {
11359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11361 arg2
= static_cast< int >(val2
);
11362 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11363 if (!SWIG_IsOK(ecode3
)) {
11364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11366 arg3
= static_cast< int >(val3
);
11367 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11368 if (!SWIG_IsOK(ecode4
)) {
11369 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11371 arg4
= static_cast< int >(val4
);
11372 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11373 if (!SWIG_IsOK(ecode5
)) {
11374 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11376 arg5
= static_cast< int >(val5
);
11378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11379 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11392 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11393 PyObject
*resultobj
= 0;
11394 wxRegion
*arg1
= (wxRegion
*) 0 ;
11400 PyObject
* obj0
= 0 ;
11401 PyObject
* obj1
= 0 ;
11402 char * kwnames
[] = {
11403 (char *) "self",(char *) "rect", NULL
11406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11408 if (!SWIG_IsOK(res1
)) {
11409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11411 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11414 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11431 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11432 PyObject
*resultobj
= 0;
11433 wxRegion
*arg1
= (wxRegion
*) 0 ;
11434 wxRegion
*arg2
= 0 ;
11440 PyObject
* obj0
= 0 ;
11441 PyObject
* obj1
= 0 ;
11442 char * kwnames
[] = {
11443 (char *) "self",(char *) "region", NULL
11446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11448 if (!SWIG_IsOK(res1
)) {
11449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11451 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11452 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11453 if (!SWIG_IsOK(res2
)) {
11454 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11457 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11459 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11462 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11475 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11476 PyObject
*resultobj
= 0;
11477 wxRegion
*arg1
= (wxRegion
*) 0 ;
11478 SwigValueWrapper
<wxBitmap
> result
;
11481 PyObject
*swig_obj
[1] ;
11483 if (!args
) SWIG_fail
;
11484 swig_obj
[0] = args
;
11485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11486 if (!SWIG_IsOK(res1
)) {
11487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11489 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11492 result
= (arg1
)->ConvertToBitmap();
11493 wxPyEndAllowThreads(__tstate
);
11494 if (PyErr_Occurred()) SWIG_fail
;
11496 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11503 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11504 PyObject
*resultobj
= 0;
11505 wxRegion
*arg1
= (wxRegion
*) 0 ;
11506 wxBitmap
*arg2
= 0 ;
11512 PyObject
* obj0
= 0 ;
11513 PyObject
* obj1
= 0 ;
11514 char * kwnames
[] = {
11515 (char *) "self",(char *) "bmp", NULL
11518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11520 if (!SWIG_IsOK(res1
)) {
11521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11523 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11524 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11525 if (!SWIG_IsOK(res2
)) {
11526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11531 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11534 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11535 wxPyEndAllowThreads(__tstate
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11547 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11548 PyObject
*resultobj
= 0;
11549 wxRegion
*arg1
= (wxRegion
*) 0 ;
11550 wxBitmap
*arg2
= 0 ;
11551 wxColour
*arg3
= 0 ;
11552 int arg4
= (int) 0 ;
11561 PyObject
* obj0
= 0 ;
11562 PyObject
* obj1
= 0 ;
11563 PyObject
* obj2
= 0 ;
11564 PyObject
* obj3
= 0 ;
11565 char * kwnames
[] = {
11566 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11571 if (!SWIG_IsOK(res1
)) {
11572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11574 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11575 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11576 if (!SWIG_IsOK(res2
)) {
11577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11582 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11585 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11588 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11589 if (!SWIG_IsOK(ecode4
)) {
11590 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11592 arg4
= static_cast< int >(val4
);
11595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11596 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11597 wxPyEndAllowThreads(__tstate
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11609 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11611 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11612 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11613 return SWIG_Py_Void();
11616 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11617 return SWIG_Python_InitShadowInstance(args
);
11620 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11621 PyObject
*resultobj
= 0;
11622 wxRegion
*arg1
= 0 ;
11623 wxRegionIterator
*result
= 0 ;
11626 PyObject
* obj0
= 0 ;
11627 char * kwnames
[] = {
11628 (char *) "region", NULL
11631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11632 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11633 if (!SWIG_IsOK(res1
)) {
11634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11639 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11641 if (!wxPyCheckForApp()) SWIG_fail
;
11642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11643 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11654 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11655 PyObject
*resultobj
= 0;
11656 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11659 PyObject
*swig_obj
[1] ;
11661 if (!args
) SWIG_fail
;
11662 swig_obj
[0] = args
;
11663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11664 if (!SWIG_IsOK(res1
)) {
11665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11667 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11672 wxPyEndAllowThreads(__tstate
);
11673 if (PyErr_Occurred()) SWIG_fail
;
11675 resultobj
= SWIG_Py_Void();
11682 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11683 PyObject
*resultobj
= 0;
11684 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11688 PyObject
*swig_obj
[1] ;
11690 if (!args
) SWIG_fail
;
11691 swig_obj
[0] = args
;
11692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11693 if (!SWIG_IsOK(res1
)) {
11694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11696 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11699 result
= (int)(arg1
)->GetX();
11700 wxPyEndAllowThreads(__tstate
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11703 resultobj
= SWIG_From_int(static_cast< int >(result
));
11710 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11711 PyObject
*resultobj
= 0;
11712 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11716 PyObject
*swig_obj
[1] ;
11718 if (!args
) SWIG_fail
;
11719 swig_obj
[0] = args
;
11720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11721 if (!SWIG_IsOK(res1
)) {
11722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11724 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11727 result
= (int)(arg1
)->GetY();
11728 wxPyEndAllowThreads(__tstate
);
11729 if (PyErr_Occurred()) SWIG_fail
;
11731 resultobj
= SWIG_From_int(static_cast< int >(result
));
11738 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11739 PyObject
*resultobj
= 0;
11740 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11744 PyObject
*swig_obj
[1] ;
11746 if (!args
) SWIG_fail
;
11747 swig_obj
[0] = args
;
11748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11749 if (!SWIG_IsOK(res1
)) {
11750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11752 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11755 result
= (int)(arg1
)->GetW();
11756 wxPyEndAllowThreads(__tstate
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11759 resultobj
= SWIG_From_int(static_cast< int >(result
));
11766 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11767 PyObject
*resultobj
= 0;
11768 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11772 PyObject
*swig_obj
[1] ;
11774 if (!args
) SWIG_fail
;
11775 swig_obj
[0] = args
;
11776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11777 if (!SWIG_IsOK(res1
)) {
11778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11780 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 result
= (int)(arg1
)->GetWidth();
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11787 resultobj
= SWIG_From_int(static_cast< int >(result
));
11794 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11795 PyObject
*resultobj
= 0;
11796 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11800 PyObject
*swig_obj
[1] ;
11802 if (!args
) SWIG_fail
;
11803 swig_obj
[0] = args
;
11804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11805 if (!SWIG_IsOK(res1
)) {
11806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11808 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11811 result
= (int)(arg1
)->GetH();
11812 wxPyEndAllowThreads(__tstate
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11815 resultobj
= SWIG_From_int(static_cast< int >(result
));
11822 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11823 PyObject
*resultobj
= 0;
11824 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11828 PyObject
*swig_obj
[1] ;
11830 if (!args
) SWIG_fail
;
11831 swig_obj
[0] = args
;
11832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11833 if (!SWIG_IsOK(res1
)) {
11834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11836 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 result
= (int)(arg1
)->GetHeight();
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11843 resultobj
= SWIG_From_int(static_cast< int >(result
));
11850 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11851 PyObject
*resultobj
= 0;
11852 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11856 PyObject
*swig_obj
[1] ;
11858 if (!args
) SWIG_fail
;
11859 swig_obj
[0] = args
;
11860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11861 if (!SWIG_IsOK(res1
)) {
11862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11864 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= (arg1
)->GetRect();
11868 wxPyEndAllowThreads(__tstate
);
11869 if (PyErr_Occurred()) SWIG_fail
;
11871 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11878 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11879 PyObject
*resultobj
= 0;
11880 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11884 PyObject
*swig_obj
[1] ;
11886 if (!args
) SWIG_fail
;
11887 swig_obj
[0] = args
;
11888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11889 if (!SWIG_IsOK(res1
)) {
11890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11892 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 result
= (bool)(arg1
)->HaveRects();
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11908 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11909 PyObject
*resultobj
= 0;
11910 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11913 PyObject
*swig_obj
[1] ;
11915 if (!args
) SWIG_fail
;
11916 swig_obj
[0] = args
;
11917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11918 if (!SWIG_IsOK(res1
)) {
11919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11921 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11928 resultobj
= SWIG_Py_Void();
11935 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11936 PyObject
*resultobj
= 0;
11937 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11940 PyObject
*swig_obj
[1] ;
11942 if (!args
) SWIG_fail
;
11943 swig_obj
[0] = args
;
11944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11945 if (!SWIG_IsOK(res1
)) {
11946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11948 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 wxRegionIterator_Next(arg1
);
11952 wxPyEndAllowThreads(__tstate
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11955 resultobj
= SWIG_Py_Void();
11962 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11963 PyObject
*resultobj
= 0;
11964 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11968 PyObject
*swig_obj
[1] ;
11970 if (!args
) SWIG_fail
;
11971 swig_obj
[0] = args
;
11972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11973 if (!SWIG_IsOK(res1
)) {
11974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11976 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11980 wxPyEndAllowThreads(__tstate
);
11981 if (PyErr_Occurred()) SWIG_fail
;
11984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11992 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11994 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11995 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11996 return SWIG_Py_Void();
11999 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12000 return SWIG_Python_InitShadowInstance(args
);
12003 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12004 PyObject
*resultobj
= 0;
12005 wxNativeFontInfo
*result
= 0 ;
12007 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12010 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12011 wxPyEndAllowThreads(__tstate
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12014 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12021 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12022 PyObject
*resultobj
= 0;
12023 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12026 PyObject
*swig_obj
[1] ;
12028 if (!args
) SWIG_fail
;
12029 swig_obj
[0] = args
;
12030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12031 if (!SWIG_IsOK(res1
)) {
12032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12034 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 wxPyEndAllowThreads(__tstate
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12042 resultobj
= SWIG_Py_Void();
12049 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12050 PyObject
*resultobj
= 0;
12051 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12054 PyObject
*swig_obj
[1] ;
12056 if (!args
) SWIG_fail
;
12057 swig_obj
[0] = args
;
12058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12059 if (!SWIG_IsOK(res1
)) {
12060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12062 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12066 wxPyEndAllowThreads(__tstate
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12069 resultobj
= SWIG_Py_Void();
12076 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12077 PyObject
*resultobj
= 0;
12078 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12084 PyObject
* obj0
= 0 ;
12085 PyObject
* obj1
= 0 ;
12086 char * kwnames
[] = {
12087 (char *) "self",(char *) "font", NULL
12090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12092 if (!SWIG_IsOK(res1
)) {
12093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12095 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12096 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12097 if (!SWIG_IsOK(res2
)) {
12098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12103 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= SWIG_Py_Void();
12117 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12118 PyObject
*resultobj
= 0;
12119 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12123 PyObject
*swig_obj
[1] ;
12125 if (!args
) SWIG_fail
;
12126 swig_obj
[0] = args
;
12127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12128 if (!SWIG_IsOK(res1
)) {
12129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12131 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12134 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12138 resultobj
= SWIG_From_int(static_cast< int >(result
));
12145 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12146 PyObject
*resultobj
= 0;
12147 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12148 wxFontStyle result
;
12151 PyObject
*swig_obj
[1] ;
12153 if (!args
) SWIG_fail
;
12154 swig_obj
[0] = args
;
12155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12156 if (!SWIG_IsOK(res1
)) {
12157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12159 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12162 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12166 resultobj
= SWIG_From_int(static_cast< int >(result
));
12173 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12174 PyObject
*resultobj
= 0;
12175 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12176 wxFontWeight result
;
12179 PyObject
*swig_obj
[1] ;
12181 if (!args
) SWIG_fail
;
12182 swig_obj
[0] = args
;
12183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12184 if (!SWIG_IsOK(res1
)) {
12185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12187 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12190 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 resultobj
= SWIG_From_int(static_cast< int >(result
));
12201 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12202 PyObject
*resultobj
= 0;
12203 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12207 PyObject
*swig_obj
[1] ;
12209 if (!args
) SWIG_fail
;
12210 swig_obj
[0] = args
;
12211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12212 if (!SWIG_IsOK(res1
)) {
12213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12215 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12231 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12232 PyObject
*resultobj
= 0;
12233 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12237 PyObject
*swig_obj
[1] ;
12239 if (!args
) SWIG_fail
;
12240 swig_obj
[0] = args
;
12241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12242 if (!SWIG_IsOK(res1
)) {
12243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12245 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12249 wxPyEndAllowThreads(__tstate
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12265 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12266 PyObject
*resultobj
= 0;
12267 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12268 wxFontFamily result
;
12271 PyObject
*swig_obj
[1] ;
12273 if (!args
) SWIG_fail
;
12274 swig_obj
[0] = args
;
12275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12276 if (!SWIG_IsOK(res1
)) {
12277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12279 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12282 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12283 wxPyEndAllowThreads(__tstate
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12286 resultobj
= SWIG_From_int(static_cast< int >(result
));
12293 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12294 PyObject
*resultobj
= 0;
12295 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12296 wxFontEncoding result
;
12299 PyObject
*swig_obj
[1] ;
12301 if (!args
) SWIG_fail
;
12302 swig_obj
[0] = args
;
12303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12304 if (!SWIG_IsOK(res1
)) {
12305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12307 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12311 wxPyEndAllowThreads(__tstate
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12314 resultobj
= SWIG_From_int(static_cast< int >(result
));
12321 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
= 0;
12323 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12329 PyObject
* obj0
= 0 ;
12330 PyObject
* obj1
= 0 ;
12331 char * kwnames
[] = {
12332 (char *) "self",(char *) "pointsize", NULL
12335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12337 if (!SWIG_IsOK(res1
)) {
12338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12340 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12342 if (!SWIG_IsOK(ecode2
)) {
12343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12345 arg2
= static_cast< int >(val2
);
12347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12348 (arg1
)->SetPointSize(arg2
);
12349 wxPyEndAllowThreads(__tstate
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12352 resultobj
= SWIG_Py_Void();
12359 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12360 PyObject
*resultobj
= 0;
12361 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12367 PyObject
* obj0
= 0 ;
12368 PyObject
* obj1
= 0 ;
12369 char * kwnames
[] = {
12370 (char *) "self",(char *) "style", NULL
12373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12375 if (!SWIG_IsOK(res1
)) {
12376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12378 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12380 if (!SWIG_IsOK(ecode2
)) {
12381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12383 arg2
= static_cast< wxFontStyle
>(val2
);
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 (arg1
)->SetStyle(arg2
);
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12390 resultobj
= SWIG_Py_Void();
12397 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
= 0;
12399 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12400 wxFontWeight arg2
;
12405 PyObject
* obj0
= 0 ;
12406 PyObject
* obj1
= 0 ;
12407 char * kwnames
[] = {
12408 (char *) "self",(char *) "weight", NULL
12411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12413 if (!SWIG_IsOK(res1
)) {
12414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12416 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12418 if (!SWIG_IsOK(ecode2
)) {
12419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12421 arg2
= static_cast< wxFontWeight
>(val2
);
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 (arg1
)->SetWeight(arg2
);
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 resultobj
= SWIG_Py_Void();
12435 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
= 0;
12437 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12443 PyObject
* obj0
= 0 ;
12444 PyObject
* obj1
= 0 ;
12445 char * kwnames
[] = {
12446 (char *) "self",(char *) "underlined", NULL
12449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12451 if (!SWIG_IsOK(res1
)) {
12452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12454 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12455 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12456 if (!SWIG_IsOK(ecode2
)) {
12457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12459 arg2
= static_cast< bool >(val2
);
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 (arg1
)->SetUnderlined(arg2
);
12463 wxPyEndAllowThreads(__tstate
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12466 resultobj
= SWIG_Py_Void();
12473 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12474 PyObject
*resultobj
= 0;
12475 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12480 PyObject
* obj0
= 0 ;
12481 PyObject
* obj1
= 0 ;
12482 char * kwnames
[] = {
12483 (char *) "self",(char *) "facename", NULL
12486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12488 if (!SWIG_IsOK(res1
)) {
12489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12491 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12493 wxString
* sptr
= wxString_in_helper(obj1
);
12494 if (sptr
== NULL
) SWIG_fail
;
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 result
= (bool)(arg1
)->SetFaceName(arg2
);
12501 wxPyEndAllowThreads(__tstate
);
12502 if (PyErr_Occurred()) SWIG_fail
;
12505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12513 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12514 PyObject
*resultobj
= 0;
12515 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12516 wxFontFamily arg2
;
12521 PyObject
* obj0
= 0 ;
12522 PyObject
* obj1
= 0 ;
12523 char * kwnames
[] = {
12524 (char *) "self",(char *) "family", NULL
12527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12529 if (!SWIG_IsOK(res1
)) {
12530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12532 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12534 if (!SWIG_IsOK(ecode2
)) {
12535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12537 arg2
= static_cast< wxFontFamily
>(val2
);
12539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12540 (arg1
)->SetFamily(arg2
);
12541 wxPyEndAllowThreads(__tstate
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12544 resultobj
= SWIG_Py_Void();
12551 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12552 PyObject
*resultobj
= 0;
12553 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12554 wxFontEncoding arg2
;
12559 PyObject
* obj0
= 0 ;
12560 PyObject
* obj1
= 0 ;
12561 char * kwnames
[] = {
12562 (char *) "self",(char *) "encoding", NULL
12565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12567 if (!SWIG_IsOK(res1
)) {
12568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12570 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12572 if (!SWIG_IsOK(ecode2
)) {
12573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12575 arg2
= static_cast< wxFontEncoding
>(val2
);
12577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12578 (arg1
)->SetEncoding(arg2
);
12579 wxPyEndAllowThreads(__tstate
);
12580 if (PyErr_Occurred()) SWIG_fail
;
12582 resultobj
= SWIG_Py_Void();
12589 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12590 PyObject
*resultobj
= 0;
12591 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12592 wxString
*arg2
= 0 ;
12596 bool temp2
= false ;
12597 PyObject
* obj0
= 0 ;
12598 PyObject
* obj1
= 0 ;
12599 char * kwnames
[] = {
12600 (char *) "self",(char *) "s", NULL
12603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12605 if (!SWIG_IsOK(res1
)) {
12606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12608 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12610 arg2
= wxString_in_helper(obj1
);
12611 if (arg2
== NULL
) SWIG_fail
;
12615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12616 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12617 wxPyEndAllowThreads(__tstate
);
12618 if (PyErr_Occurred()) SWIG_fail
;
12621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12637 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12638 PyObject
*resultobj
= 0;
12639 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12643 PyObject
*swig_obj
[1] ;
12645 if (!args
) SWIG_fail
;
12646 swig_obj
[0] = args
;
12647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12648 if (!SWIG_IsOK(res1
)) {
12649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12651 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12654 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12655 wxPyEndAllowThreads(__tstate
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12671 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12672 PyObject
*resultobj
= 0;
12673 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12677 PyObject
*swig_obj
[1] ;
12679 if (!args
) SWIG_fail
;
12680 swig_obj
[0] = args
;
12681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12682 if (!SWIG_IsOK(res1
)) {
12683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12685 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 result
= wxNativeFontInfo___str__(arg1
);
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12705 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12706 PyObject
*resultobj
= 0;
12707 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12708 wxString
*arg2
= 0 ;
12712 bool temp2
= false ;
12713 PyObject
* obj0
= 0 ;
12714 PyObject
* obj1
= 0 ;
12715 char * kwnames
[] = {
12716 (char *) "self",(char *) "s", NULL
12719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12721 if (!SWIG_IsOK(res1
)) {
12722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12724 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12726 arg2
= wxString_in_helper(obj1
);
12727 if (arg2
== NULL
) SWIG_fail
;
12731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12732 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12733 wxPyEndAllowThreads(__tstate
);
12734 if (PyErr_Occurred()) SWIG_fail
;
12737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12753 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12754 PyObject
*resultobj
= 0;
12755 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12759 PyObject
*swig_obj
[1] ;
12761 if (!args
) SWIG_fail
;
12762 swig_obj
[0] = args
;
12763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12764 if (!SWIG_IsOK(res1
)) {
12765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12767 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12776 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12778 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12787 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12789 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12790 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12791 return SWIG_Py_Void();
12794 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12795 return SWIG_Python_InitShadowInstance(args
);
12798 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12799 PyObject
*resultobj
= 0;
12800 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12801 wxString
*arg2
= (wxString
*) 0 ;
12804 bool temp2
= false ;
12805 PyObject
*swig_obj
[2] ;
12807 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12809 if (!SWIG_IsOK(res1
)) {
12810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12812 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12814 arg2
= wxString_in_helper(swig_obj
[1]);
12815 if (arg2
== NULL
) SWIG_fail
;
12818 if (arg1
) (arg1
)->facename
= *arg2
;
12820 resultobj
= SWIG_Py_Void();
12835 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12836 PyObject
*resultobj
= 0;
12837 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12838 wxString
*result
= 0 ;
12841 PyObject
*swig_obj
[1] ;
12843 if (!args
) SWIG_fail
;
12844 swig_obj
[0] = args
;
12845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12846 if (!SWIG_IsOK(res1
)) {
12847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12849 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12850 result
= (wxString
*)& ((arg1
)->facename
);
12853 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12855 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12864 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12865 PyObject
*resultobj
= 0;
12866 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12867 wxFontEncoding arg2
;
12872 PyObject
*swig_obj
[2] ;
12874 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12876 if (!SWIG_IsOK(res1
)) {
12877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12879 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12880 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12881 if (!SWIG_IsOK(ecode2
)) {
12882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12884 arg2
= static_cast< wxFontEncoding
>(val2
);
12885 if (arg1
) (arg1
)->encoding
= arg2
;
12887 resultobj
= SWIG_Py_Void();
12894 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12895 PyObject
*resultobj
= 0;
12896 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12897 wxFontEncoding result
;
12900 PyObject
*swig_obj
[1] ;
12902 if (!args
) SWIG_fail
;
12903 swig_obj
[0] = args
;
12904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12905 if (!SWIG_IsOK(res1
)) {
12906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12908 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12909 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12910 resultobj
= SWIG_From_int(static_cast< int >(result
));
12917 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12918 PyObject
*resultobj
= 0;
12919 wxNativeEncodingInfo
*result
= 0 ;
12921 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12924 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12935 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12936 PyObject
*resultobj
= 0;
12937 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12940 PyObject
*swig_obj
[1] ;
12942 if (!args
) SWIG_fail
;
12943 swig_obj
[0] = args
;
12944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12945 if (!SWIG_IsOK(res1
)) {
12946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12948 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12956 resultobj
= SWIG_Py_Void();
12963 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12964 PyObject
*resultobj
= 0;
12965 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12966 wxString
*arg2
= 0 ;
12970 bool temp2
= false ;
12971 PyObject
* obj0
= 0 ;
12972 PyObject
* obj1
= 0 ;
12973 char * kwnames
[] = {
12974 (char *) "self",(char *) "s", NULL
12977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12979 if (!SWIG_IsOK(res1
)) {
12980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12982 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12984 arg2
= wxString_in_helper(obj1
);
12985 if (arg2
== NULL
) SWIG_fail
;
12989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12990 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12991 wxPyEndAllowThreads(__tstate
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13011 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13012 PyObject
*resultobj
= 0;
13013 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13017 PyObject
*swig_obj
[1] ;
13019 if (!args
) SWIG_fail
;
13020 swig_obj
[0] = args
;
13021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13022 if (!SWIG_IsOK(res1
)) {
13023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13025 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13028 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13029 wxPyEndAllowThreads(__tstate
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13045 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13047 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13048 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13049 return SWIG_Py_Void();
13052 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13053 return SWIG_Python_InitShadowInstance(args
);
13056 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13057 PyObject
*resultobj
= 0;
13058 wxFontEncoding arg1
;
13059 wxNativeEncodingInfo
*result
= 0 ;
13062 PyObject
* obj0
= 0 ;
13063 char * kwnames
[] = {
13064 (char *) "encoding", NULL
13067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13068 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13069 if (!SWIG_IsOK(ecode1
)) {
13070 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13072 arg1
= static_cast< wxFontEncoding
>(val1
);
13074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13075 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13076 wxPyEndAllowThreads(__tstate
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13086 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
= 0;
13088 wxNativeEncodingInfo
*arg1
= 0 ;
13092 PyObject
* obj0
= 0 ;
13093 char * kwnames
[] = {
13094 (char *) "info", NULL
13097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13098 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13099 if (!SWIG_IsOK(res1
)) {
13100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13105 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13108 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13109 wxPyEndAllowThreads(__tstate
);
13110 if (PyErr_Occurred()) SWIG_fail
;
13113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13121 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13122 PyObject
*resultobj
= 0;
13123 wxFontMapper
*result
= 0 ;
13125 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13128 result
= (wxFontMapper
*)new wxFontMapper();
13129 wxPyEndAllowThreads(__tstate
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13139 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13140 PyObject
*resultobj
= 0;
13141 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13144 PyObject
*swig_obj
[1] ;
13146 if (!args
) SWIG_fail
;
13147 swig_obj
[0] = args
;
13148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13149 if (!SWIG_IsOK(res1
)) {
13150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13152 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13160 resultobj
= SWIG_Py_Void();
13167 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13168 PyObject
*resultobj
= 0;
13169 wxFontMapper
*result
= 0 ;
13171 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13174 result
= (wxFontMapper
*)wxFontMapper::Get();
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13185 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
= 0;
13187 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13188 wxFontMapper
*result
= 0 ;
13191 PyObject
* obj0
= 0 ;
13192 char * kwnames
[] = {
13193 (char *) "mapper", NULL
13196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13198 if (!SWIG_IsOK(res1
)) {
13199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13201 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13204 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13205 wxPyEndAllowThreads(__tstate
);
13206 if (PyErr_Occurred()) SWIG_fail
;
13208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13215 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13216 PyObject
*resultobj
= 0;
13217 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13218 wxString
*arg2
= 0 ;
13219 bool arg3
= (bool) true ;
13220 wxFontEncoding result
;
13223 bool temp2
= false ;
13226 PyObject
* obj0
= 0 ;
13227 PyObject
* obj1
= 0 ;
13228 PyObject
* obj2
= 0 ;
13229 char * kwnames
[] = {
13230 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13235 if (!SWIG_IsOK(res1
)) {
13236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13238 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13240 arg2
= wxString_in_helper(obj1
);
13241 if (arg2
== NULL
) SWIG_fail
;
13245 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13246 if (!SWIG_IsOK(ecode3
)) {
13247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13249 arg3
= static_cast< bool >(val3
);
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13254 wxPyEndAllowThreads(__tstate
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13257 resultobj
= SWIG_From_int(static_cast< int >(result
));
13272 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13273 PyObject
*resultobj
= 0;
13276 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13279 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13280 wxPyEndAllowThreads(__tstate
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13283 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13290 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13291 PyObject
*resultobj
= 0;
13293 wxFontEncoding result
;
13296 PyObject
* obj0
= 0 ;
13297 char * kwnames
[] = {
13301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13302 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13303 if (!SWIG_IsOK(ecode1
)) {
13304 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13306 arg1
= static_cast< size_t >(val1
);
13308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13309 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13313 resultobj
= SWIG_From_int(static_cast< int >(result
));
13320 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13321 PyObject
*resultobj
= 0;
13322 wxFontEncoding arg1
;
13326 PyObject
* obj0
= 0 ;
13327 char * kwnames
[] = {
13328 (char *) "encoding", NULL
13331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13332 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13333 if (!SWIG_IsOK(ecode1
)) {
13334 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13336 arg1
= static_cast< wxFontEncoding
>(val1
);
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 result
= wxFontMapper::GetEncodingName(arg1
);
13340 wxPyEndAllowThreads(__tstate
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13356 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
= 0;
13358 wxFontEncoding arg1
;
13362 PyObject
* obj0
= 0 ;
13363 char * kwnames
[] = {
13364 (char *) "encoding", NULL
13367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13368 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13369 if (!SWIG_IsOK(ecode1
)) {
13370 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13372 arg1
= static_cast< wxFontEncoding
>(val1
);
13374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13375 result
= wxFontMapper::GetEncodingDescription(arg1
);
13376 wxPyEndAllowThreads(__tstate
);
13377 if (PyErr_Occurred()) SWIG_fail
;
13381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13392 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
= 0;
13394 wxString
*arg1
= 0 ;
13395 wxFontEncoding result
;
13396 bool temp1
= false ;
13397 PyObject
* obj0
= 0 ;
13398 char * kwnames
[] = {
13399 (char *) "name", NULL
13402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13404 arg1
= wxString_in_helper(obj0
);
13405 if (arg1
== NULL
) SWIG_fail
;
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13411 wxPyEndAllowThreads(__tstate
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13414 resultobj
= SWIG_From_int(static_cast< int >(result
));
13429 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13430 PyObject
*resultobj
= 0;
13431 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13432 wxString
*arg2
= 0 ;
13435 bool temp2
= false ;
13436 PyObject
* obj0
= 0 ;
13437 PyObject
* obj1
= 0 ;
13438 char * kwnames
[] = {
13439 (char *) "self",(char *) "prefix", NULL
13442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13444 if (!SWIG_IsOK(res1
)) {
13445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13447 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13449 arg2
= wxString_in_helper(obj1
);
13450 if (arg2
== NULL
) SWIG_fail
;
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13455 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 resultobj
= SWIG_Py_Void();
13474 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13475 PyObject
*resultobj
= 0;
13478 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 result
= wxFontMapper::GetDefaultConfigPath();
13482 wxPyEndAllowThreads(__tstate
);
13483 if (PyErr_Occurred()) SWIG_fail
;
13487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13498 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13499 PyObject
*resultobj
= 0;
13500 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13501 wxFontEncoding arg2
;
13502 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13503 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13504 bool arg4
= (bool) true ;
13505 PyObject
*result
= 0 ;
13510 bool temp3
= false ;
13513 PyObject
* obj0
= 0 ;
13514 PyObject
* obj1
= 0 ;
13515 PyObject
* obj2
= 0 ;
13516 PyObject
* obj3
= 0 ;
13517 char * kwnames
[] = {
13518 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13523 if (!SWIG_IsOK(res1
)) {
13524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13526 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13528 if (!SWIG_IsOK(ecode2
)) {
13529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13531 arg2
= static_cast< wxFontEncoding
>(val2
);
13534 arg3
= wxString_in_helper(obj2
);
13535 if (arg3
== NULL
) SWIG_fail
;
13540 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13541 if (!SWIG_IsOK(ecode4
)) {
13542 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13544 arg4
= static_cast< bool >(val4
);
13547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13548 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13549 wxPyEndAllowThreads(__tstate
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13552 resultobj
= result
;
13567 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13568 PyObject
*resultobj
= 0;
13569 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13570 wxFontEncoding arg2
;
13571 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13572 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13578 bool temp3
= false ;
13579 PyObject
* obj0
= 0 ;
13580 PyObject
* obj1
= 0 ;
13581 PyObject
* obj2
= 0 ;
13582 char * kwnames
[] = {
13583 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13588 if (!SWIG_IsOK(res1
)) {
13589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13591 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13593 if (!SWIG_IsOK(ecode2
)) {
13594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13596 arg2
= static_cast< wxFontEncoding
>(val2
);
13599 arg3
= wxString_in_helper(obj2
);
13600 if (arg3
== NULL
) SWIG_fail
;
13605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13606 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13607 wxPyEndAllowThreads(__tstate
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13627 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13628 PyObject
*resultobj
= 0;
13629 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13630 wxWindow
*arg2
= (wxWindow
*) 0 ;
13635 PyObject
* obj0
= 0 ;
13636 PyObject
* obj1
= 0 ;
13637 char * kwnames
[] = {
13638 (char *) "self",(char *) "parent", NULL
13641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13643 if (!SWIG_IsOK(res1
)) {
13644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13646 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13647 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13648 if (!SWIG_IsOK(res2
)) {
13649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13651 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13654 (arg1
)->SetDialogParent(arg2
);
13655 wxPyEndAllowThreads(__tstate
);
13656 if (PyErr_Occurred()) SWIG_fail
;
13658 resultobj
= SWIG_Py_Void();
13665 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13666 PyObject
*resultobj
= 0;
13667 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13668 wxString
*arg2
= 0 ;
13671 bool temp2
= false ;
13672 PyObject
* obj0
= 0 ;
13673 PyObject
* obj1
= 0 ;
13674 char * kwnames
[] = {
13675 (char *) "self",(char *) "title", NULL
13678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13680 if (!SWIG_IsOK(res1
)) {
13681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13683 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13685 arg2
= wxString_in_helper(obj1
);
13686 if (arg2
== NULL
) SWIG_fail
;
13690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13691 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13695 resultobj
= SWIG_Py_Void();
13710 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13712 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13713 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13714 return SWIG_Py_Void();
13717 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13718 return SWIG_Python_InitShadowInstance(args
);
13721 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13722 PyObject
*resultobj
= 0;
13727 bool arg5
= (bool) false ;
13728 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13729 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13730 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13731 wxFont
*result
= 0 ;
13742 bool temp6
= false ;
13745 PyObject
* obj0
= 0 ;
13746 PyObject
* obj1
= 0 ;
13747 PyObject
* obj2
= 0 ;
13748 PyObject
* obj3
= 0 ;
13749 PyObject
* obj4
= 0 ;
13750 PyObject
* obj5
= 0 ;
13751 PyObject
* obj6
= 0 ;
13752 char * kwnames
[] = {
13753 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13757 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13758 if (!SWIG_IsOK(ecode1
)) {
13759 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13761 arg1
= static_cast< int >(val1
);
13762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13763 if (!SWIG_IsOK(ecode2
)) {
13764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13766 arg2
= static_cast< int >(val2
);
13767 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13768 if (!SWIG_IsOK(ecode3
)) {
13769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13771 arg3
= static_cast< int >(val3
);
13772 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13773 if (!SWIG_IsOK(ecode4
)) {
13774 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13776 arg4
= static_cast< int >(val4
);
13778 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13779 if (!SWIG_IsOK(ecode5
)) {
13780 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13782 arg5
= static_cast< bool >(val5
);
13786 arg6
= wxString_in_helper(obj5
);
13787 if (arg6
== NULL
) SWIG_fail
;
13792 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13793 if (!SWIG_IsOK(ecode7
)) {
13794 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13796 arg7
= static_cast< wxFontEncoding
>(val7
);
13799 if (!wxPyCheckForApp()) SWIG_fail
;
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13820 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13821 PyObject
*resultobj
= 0;
13822 wxFont
*arg1
= (wxFont
*) 0 ;
13825 PyObject
*swig_obj
[1] ;
13827 if (!args
) SWIG_fail
;
13828 swig_obj
[0] = args
;
13829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13830 if (!SWIG_IsOK(res1
)) {
13831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13833 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= SWIG_Py_Void();
13848 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13849 PyObject
*resultobj
= 0;
13850 wxNativeFontInfo
*arg1
= 0 ;
13851 wxFont
*result
= 0 ;
13854 PyObject
* obj0
= 0 ;
13855 char * kwnames
[] = {
13856 (char *) "info", NULL
13859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13860 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13861 if (!SWIG_IsOK(res1
)) {
13862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13867 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13869 if (!wxPyCheckForApp()) SWIG_fail
;
13870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13871 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13872 wxPyEndAllowThreads(__tstate
);
13873 if (PyErr_Occurred()) SWIG_fail
;
13875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13882 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13883 PyObject
*resultobj
= 0;
13884 wxString
*arg1
= 0 ;
13885 wxFont
*result
= 0 ;
13886 bool temp1
= false ;
13887 PyObject
* obj0
= 0 ;
13888 char * kwnames
[] = {
13889 (char *) "info", NULL
13892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13894 arg1
= wxString_in_helper(obj0
);
13895 if (arg1
== NULL
) SWIG_fail
;
13899 if (!wxPyCheckForApp()) SWIG_fail
;
13900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13901 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13920 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13921 PyObject
*resultobj
= 0;
13923 wxFontFamily arg2
;
13924 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13925 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13926 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13927 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13928 wxFont
*result
= 0 ;
13935 bool temp4
= false ;
13938 PyObject
* obj0
= 0 ;
13939 PyObject
* obj1
= 0 ;
13940 PyObject
* obj2
= 0 ;
13941 PyObject
* obj3
= 0 ;
13942 PyObject
* obj4
= 0 ;
13943 char * kwnames
[] = {
13944 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13948 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13949 if (!SWIG_IsOK(ecode1
)) {
13950 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13952 arg1
= static_cast< int >(val1
);
13953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13954 if (!SWIG_IsOK(ecode2
)) {
13955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13957 arg2
= static_cast< wxFontFamily
>(val2
);
13959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13960 if (!SWIG_IsOK(ecode3
)) {
13961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13963 arg3
= static_cast< int >(val3
);
13967 arg4
= wxString_in_helper(obj3
);
13968 if (arg4
== NULL
) SWIG_fail
;
13973 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13974 if (!SWIG_IsOK(ecode5
)) {
13975 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13977 arg5
= static_cast< wxFontEncoding
>(val5
);
13980 if (!wxPyCheckForApp()) SWIG_fail
;
13981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13982 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13983 wxPyEndAllowThreads(__tstate
);
13984 if (PyErr_Occurred()) SWIG_fail
;
13986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14001 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14002 PyObject
*resultobj
= 0;
14007 bool arg5
= (bool) false ;
14008 wxString
const &arg6_defvalue
= wxEmptyString
;
14009 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14010 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14011 wxFont
*result
= 0 ;
14021 bool temp6
= false ;
14024 PyObject
* obj0
= 0 ;
14025 PyObject
* obj1
= 0 ;
14026 PyObject
* obj2
= 0 ;
14027 PyObject
* obj3
= 0 ;
14028 PyObject
* obj4
= 0 ;
14029 PyObject
* obj5
= 0 ;
14030 PyObject
* obj6
= 0 ;
14031 char * kwnames
[] = {
14032 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14038 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14041 if (!SWIG_IsOK(ecode2
)) {
14042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14044 arg2
= static_cast< int >(val2
);
14045 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14046 if (!SWIG_IsOK(ecode3
)) {
14047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14049 arg3
= static_cast< int >(val3
);
14050 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14051 if (!SWIG_IsOK(ecode4
)) {
14052 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14054 arg4
= static_cast< int >(val4
);
14056 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14057 if (!SWIG_IsOK(ecode5
)) {
14058 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14060 arg5
= static_cast< bool >(val5
);
14064 arg6
= wxString_in_helper(obj5
);
14065 if (arg6
== NULL
) SWIG_fail
;
14070 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14071 if (!SWIG_IsOK(ecode7
)) {
14072 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14074 arg7
= static_cast< wxFontEncoding
>(val7
);
14077 if (!wxPyCheckForApp()) SWIG_fail
;
14078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14079 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14080 wxPyEndAllowThreads(__tstate
);
14081 if (PyErr_Occurred()) SWIG_fail
;
14083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14098 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14099 PyObject
*resultobj
= 0;
14101 wxFontFamily arg2
;
14102 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14103 wxString
const &arg4_defvalue
= wxEmptyString
;
14104 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14105 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14106 wxFont
*result
= 0 ;
14112 bool temp4
= false ;
14115 PyObject
* obj0
= 0 ;
14116 PyObject
* obj1
= 0 ;
14117 PyObject
* obj2
= 0 ;
14118 PyObject
* obj3
= 0 ;
14119 PyObject
* obj4
= 0 ;
14120 char * kwnames
[] = {
14121 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14127 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14130 if (!SWIG_IsOK(ecode2
)) {
14131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14133 arg2
= static_cast< wxFontFamily
>(val2
);
14135 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14136 if (!SWIG_IsOK(ecode3
)) {
14137 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14139 arg3
= static_cast< int >(val3
);
14143 arg4
= wxString_in_helper(obj3
);
14144 if (arg4
== NULL
) SWIG_fail
;
14149 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14150 if (!SWIG_IsOK(ecode5
)) {
14151 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14153 arg5
= static_cast< wxFontEncoding
>(val5
);
14156 if (!wxPyCheckForApp()) SWIG_fail
;
14157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14158 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14159 wxPyEndAllowThreads(__tstate
);
14160 if (PyErr_Occurred()) SWIG_fail
;
14162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14177 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14178 PyObject
*resultobj
= 0;
14179 wxFont
*arg1
= (wxFont
*) 0 ;
14183 PyObject
*swig_obj
[1] ;
14185 if (!args
) SWIG_fail
;
14186 swig_obj
[0] = args
;
14187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14188 if (!SWIG_IsOK(res1
)) {
14189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14191 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14195 wxPyEndAllowThreads(__tstate
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14207 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14208 PyObject
*resultobj
= 0;
14209 wxFont
*arg1
= (wxFont
*) 0 ;
14210 wxFont
*arg2
= (wxFont
*) 0 ;
14216 PyObject
* obj0
= 0 ;
14217 PyObject
* obj1
= 0 ;
14218 char * kwnames
[] = {
14219 (char *) "self",(char *) "other", NULL
14222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14224 if (!SWIG_IsOK(res1
)) {
14225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14227 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14228 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14229 if (!SWIG_IsOK(res2
)) {
14230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14232 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14248 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14249 PyObject
*resultobj
= 0;
14250 wxFont
*arg1
= (wxFont
*) 0 ;
14251 wxFont
*arg2
= (wxFont
*) 0 ;
14257 PyObject
* obj0
= 0 ;
14258 PyObject
* obj1
= 0 ;
14259 char * kwnames
[] = {
14260 (char *) "self",(char *) "other", NULL
14263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14265 if (!SWIG_IsOK(res1
)) {
14266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14268 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14269 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14270 if (!SWIG_IsOK(res2
)) {
14271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14273 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14276 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14277 wxPyEndAllowThreads(__tstate
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14289 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14290 PyObject
*resultobj
= 0;
14291 wxFont
*arg1
= (wxFont
*) 0 ;
14295 PyObject
*swig_obj
[1] ;
14297 if (!args
) SWIG_fail
;
14298 swig_obj
[0] = args
;
14299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14300 if (!SWIG_IsOK(res1
)) {
14301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14303 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14306 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14310 resultobj
= SWIG_From_int(static_cast< int >(result
));
14317 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14318 PyObject
*resultobj
= 0;
14319 wxFont
*arg1
= (wxFont
*) 0 ;
14323 PyObject
*swig_obj
[1] ;
14325 if (!args
) SWIG_fail
;
14326 swig_obj
[0] = args
;
14327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14328 if (!SWIG_IsOK(res1
)) {
14329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14331 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14334 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14335 wxPyEndAllowThreads(__tstate
);
14336 if (PyErr_Occurred()) SWIG_fail
;
14338 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14345 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14346 PyObject
*resultobj
= 0;
14347 wxFont
*arg1
= (wxFont
*) 0 ;
14351 PyObject
*swig_obj
[1] ;
14353 if (!args
) SWIG_fail
;
14354 swig_obj
[0] = args
;
14355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14356 if (!SWIG_IsOK(res1
)) {
14357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14359 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14375 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14376 PyObject
*resultobj
= 0;
14377 wxFont
*arg1
= (wxFont
*) 0 ;
14381 PyObject
*swig_obj
[1] ;
14383 if (!args
) SWIG_fail
;
14384 swig_obj
[0] = args
;
14385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14386 if (!SWIG_IsOK(res1
)) {
14387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14389 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14393 wxPyEndAllowThreads(__tstate
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14396 resultobj
= SWIG_From_int(static_cast< int >(result
));
14403 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14404 PyObject
*resultobj
= 0;
14405 wxFont
*arg1
= (wxFont
*) 0 ;
14409 PyObject
*swig_obj
[1] ;
14411 if (!args
) SWIG_fail
;
14412 swig_obj
[0] = args
;
14413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14414 if (!SWIG_IsOK(res1
)) {
14415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14417 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14420 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14421 wxPyEndAllowThreads(__tstate
);
14422 if (PyErr_Occurred()) SWIG_fail
;
14424 resultobj
= SWIG_From_int(static_cast< int >(result
));
14431 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14432 PyObject
*resultobj
= 0;
14433 wxFont
*arg1
= (wxFont
*) 0 ;
14437 PyObject
*swig_obj
[1] ;
14439 if (!args
) SWIG_fail
;
14440 swig_obj
[0] = args
;
14441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14442 if (!SWIG_IsOK(res1
)) {
14443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14445 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14448 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14449 wxPyEndAllowThreads(__tstate
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14452 resultobj
= SWIG_From_int(static_cast< int >(result
));
14459 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14460 PyObject
*resultobj
= 0;
14461 wxFont
*arg1
= (wxFont
*) 0 ;
14465 PyObject
*swig_obj
[1] ;
14467 if (!args
) SWIG_fail
;
14468 swig_obj
[0] = args
;
14469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14470 if (!SWIG_IsOK(res1
)) {
14471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14473 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14476 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14489 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14490 PyObject
*resultobj
= 0;
14491 wxFont
*arg1
= (wxFont
*) 0 ;
14495 PyObject
*swig_obj
[1] ;
14497 if (!args
) SWIG_fail
;
14498 swig_obj
[0] = args
;
14499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14500 if (!SWIG_IsOK(res1
)) {
14501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14503 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14506 result
= ((wxFont
const *)arg1
)->GetFaceName();
14507 wxPyEndAllowThreads(__tstate
);
14508 if (PyErr_Occurred()) SWIG_fail
;
14512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14523 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14524 PyObject
*resultobj
= 0;
14525 wxFont
*arg1
= (wxFont
*) 0 ;
14526 wxFontEncoding result
;
14529 PyObject
*swig_obj
[1] ;
14531 if (!args
) SWIG_fail
;
14532 swig_obj
[0] = args
;
14533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14534 if (!SWIG_IsOK(res1
)) {
14535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14537 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14541 wxPyEndAllowThreads(__tstate
);
14542 if (PyErr_Occurred()) SWIG_fail
;
14544 resultobj
= SWIG_From_int(static_cast< int >(result
));
14551 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14552 PyObject
*resultobj
= 0;
14553 wxFont
*arg1
= (wxFont
*) 0 ;
14554 wxNativeFontInfo
*result
= 0 ;
14557 PyObject
*swig_obj
[1] ;
14559 if (!args
) SWIG_fail
;
14560 swig_obj
[0] = args
;
14561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14562 if (!SWIG_IsOK(res1
)) {
14563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14565 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14569 wxPyEndAllowThreads(__tstate
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14572 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14579 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14580 PyObject
*resultobj
= 0;
14581 wxFont
*arg1
= (wxFont
*) 0 ;
14585 PyObject
*swig_obj
[1] ;
14587 if (!args
) SWIG_fail
;
14588 swig_obj
[0] = args
;
14589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14590 if (!SWIG_IsOK(res1
)) {
14591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14593 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14609 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14610 PyObject
*resultobj
= 0;
14611 wxFont
*arg1
= (wxFont
*) 0 ;
14615 PyObject
*swig_obj
[1] ;
14617 if (!args
) SWIG_fail
;
14618 swig_obj
[0] = args
;
14619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14620 if (!SWIG_IsOK(res1
)) {
14621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14623 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14626 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14632 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14634 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14643 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14644 PyObject
*resultobj
= 0;
14645 wxFont
*arg1
= (wxFont
*) 0 ;
14649 PyObject
*swig_obj
[1] ;
14651 if (!args
) SWIG_fail
;
14652 swig_obj
[0] = args
;
14653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14654 if (!SWIG_IsOK(res1
)) {
14655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14657 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14660 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14677 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14678 PyObject
*resultobj
= 0;
14679 wxFont
*arg1
= (wxFont
*) 0 ;
14685 PyObject
* obj0
= 0 ;
14686 PyObject
* obj1
= 0 ;
14687 char * kwnames
[] = {
14688 (char *) "self",(char *) "pointSize", NULL
14691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14693 if (!SWIG_IsOK(res1
)) {
14694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14696 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14698 if (!SWIG_IsOK(ecode2
)) {
14699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14701 arg2
= static_cast< int >(val2
);
14703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14704 (arg1
)->SetPointSize(arg2
);
14705 wxPyEndAllowThreads(__tstate
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14708 resultobj
= SWIG_Py_Void();
14715 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14716 PyObject
*resultobj
= 0;
14717 wxFont
*arg1
= (wxFont
*) 0 ;
14722 PyObject
* obj0
= 0 ;
14723 PyObject
* obj1
= 0 ;
14724 char * kwnames
[] = {
14725 (char *) "self",(char *) "pixelSize", NULL
14728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14730 if (!SWIG_IsOK(res1
)) {
14731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14733 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14736 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14740 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14741 wxPyEndAllowThreads(__tstate
);
14742 if (PyErr_Occurred()) SWIG_fail
;
14744 resultobj
= SWIG_Py_Void();
14751 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14752 PyObject
*resultobj
= 0;
14753 wxFont
*arg1
= (wxFont
*) 0 ;
14759 PyObject
* obj0
= 0 ;
14760 PyObject
* obj1
= 0 ;
14761 char * kwnames
[] = {
14762 (char *) "self",(char *) "family", NULL
14765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14767 if (!SWIG_IsOK(res1
)) {
14768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14770 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14772 if (!SWIG_IsOK(ecode2
)) {
14773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14775 arg2
= static_cast< int >(val2
);
14777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14778 (arg1
)->SetFamily(arg2
);
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14782 resultobj
= SWIG_Py_Void();
14789 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
= 0;
14791 wxFont
*arg1
= (wxFont
*) 0 ;
14797 PyObject
* obj0
= 0 ;
14798 PyObject
* obj1
= 0 ;
14799 char * kwnames
[] = {
14800 (char *) "self",(char *) "style", NULL
14803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14805 if (!SWIG_IsOK(res1
)) {
14806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14808 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14810 if (!SWIG_IsOK(ecode2
)) {
14811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14813 arg2
= static_cast< int >(val2
);
14815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14816 (arg1
)->SetStyle(arg2
);
14817 wxPyEndAllowThreads(__tstate
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14820 resultobj
= SWIG_Py_Void();
14827 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14828 PyObject
*resultobj
= 0;
14829 wxFont
*arg1
= (wxFont
*) 0 ;
14835 PyObject
* obj0
= 0 ;
14836 PyObject
* obj1
= 0 ;
14837 char * kwnames
[] = {
14838 (char *) "self",(char *) "weight", NULL
14841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14843 if (!SWIG_IsOK(res1
)) {
14844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14846 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14848 if (!SWIG_IsOK(ecode2
)) {
14849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14851 arg2
= static_cast< int >(val2
);
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 (arg1
)->SetWeight(arg2
);
14855 wxPyEndAllowThreads(__tstate
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14858 resultobj
= SWIG_Py_Void();
14865 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14866 PyObject
*resultobj
= 0;
14867 wxFont
*arg1
= (wxFont
*) 0 ;
14868 wxString
*arg2
= 0 ;
14872 bool temp2
= false ;
14873 PyObject
* obj0
= 0 ;
14874 PyObject
* obj1
= 0 ;
14875 char * kwnames
[] = {
14876 (char *) "self",(char *) "faceName", NULL
14879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14881 if (!SWIG_IsOK(res1
)) {
14882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14884 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14886 arg2
= wxString_in_helper(obj1
);
14887 if (arg2
== NULL
) SWIG_fail
;
14891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14893 wxPyEndAllowThreads(__tstate
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14913 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
= 0;
14915 wxFont
*arg1
= (wxFont
*) 0 ;
14921 PyObject
* obj0
= 0 ;
14922 PyObject
* obj1
= 0 ;
14923 char * kwnames
[] = {
14924 (char *) "self",(char *) "underlined", NULL
14927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14929 if (!SWIG_IsOK(res1
)) {
14930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14932 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14933 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14934 if (!SWIG_IsOK(ecode2
)) {
14935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14937 arg2
= static_cast< bool >(val2
);
14939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14940 (arg1
)->SetUnderlined(arg2
);
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14944 resultobj
= SWIG_Py_Void();
14951 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14952 PyObject
*resultobj
= 0;
14953 wxFont
*arg1
= (wxFont
*) 0 ;
14954 wxFontEncoding arg2
;
14959 PyObject
* obj0
= 0 ;
14960 PyObject
* obj1
= 0 ;
14961 char * kwnames
[] = {
14962 (char *) "self",(char *) "encoding", NULL
14965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14967 if (!SWIG_IsOK(res1
)) {
14968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14970 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14971 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14972 if (!SWIG_IsOK(ecode2
)) {
14973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14975 arg2
= static_cast< wxFontEncoding
>(val2
);
14977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14978 (arg1
)->SetEncoding(arg2
);
14979 wxPyEndAllowThreads(__tstate
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14982 resultobj
= SWIG_Py_Void();
14989 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14990 PyObject
*resultobj
= 0;
14991 wxFont
*arg1
= (wxFont
*) 0 ;
14992 wxNativeFontInfo
*arg2
= 0 ;
14997 PyObject
* obj0
= 0 ;
14998 PyObject
* obj1
= 0 ;
14999 char * kwnames
[] = {
15000 (char *) "self",(char *) "info", NULL
15003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15005 if (!SWIG_IsOK(res1
)) {
15006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15008 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15009 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15010 if (!SWIG_IsOK(res2
)) {
15011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15016 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15019 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15023 resultobj
= SWIG_Py_Void();
15030 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15031 PyObject
*resultobj
= 0;
15032 wxFont
*arg1
= (wxFont
*) 0 ;
15033 wxString
*arg2
= 0 ;
15037 bool temp2
= false ;
15038 PyObject
* obj0
= 0 ;
15039 PyObject
* obj1
= 0 ;
15040 char * kwnames
[] = {
15041 (char *) "self",(char *) "info", NULL
15044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15046 if (!SWIG_IsOK(res1
)) {
15047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15049 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15051 arg2
= wxString_in_helper(obj1
);
15052 if (arg2
== NULL
) SWIG_fail
;
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15058 wxPyEndAllowThreads(__tstate
);
15059 if (PyErr_Occurred()) SWIG_fail
;
15062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15078 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15079 PyObject
*resultobj
= 0;
15080 wxFont
*arg1
= (wxFont
*) 0 ;
15081 wxString
*arg2
= 0 ;
15085 bool temp2
= false ;
15086 PyObject
* obj0
= 0 ;
15087 PyObject
* obj1
= 0 ;
15088 char * kwnames
[] = {
15089 (char *) "self",(char *) "info", NULL
15092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15094 if (!SWIG_IsOK(res1
)) {
15095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15097 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15099 arg2
= wxString_in_helper(obj1
);
15100 if (arg2
== NULL
) SWIG_fail
;
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15126 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15127 PyObject
*resultobj
= 0;
15128 wxFont
*arg1
= (wxFont
*) 0 ;
15132 PyObject
*swig_obj
[1] ;
15134 if (!args
) SWIG_fail
;
15135 swig_obj
[0] = args
;
15136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15137 if (!SWIG_IsOK(res1
)) {
15138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15140 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15143 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15144 wxPyEndAllowThreads(__tstate
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15149 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15151 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15160 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15161 PyObject
*resultobj
= 0;
15162 wxFont
*arg1
= (wxFont
*) 0 ;
15166 PyObject
*swig_obj
[1] ;
15168 if (!args
) SWIG_fail
;
15169 swig_obj
[0] = args
;
15170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15171 if (!SWIG_IsOK(res1
)) {
15172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15174 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15177 result
= ((wxFont
const *)arg1
)->GetStyleString();
15178 wxPyEndAllowThreads(__tstate
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15194 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15195 PyObject
*resultobj
= 0;
15196 wxFont
*arg1
= (wxFont
*) 0 ;
15200 PyObject
*swig_obj
[1] ;
15202 if (!args
) SWIG_fail
;
15203 swig_obj
[0] = args
;
15204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15205 if (!SWIG_IsOK(res1
)) {
15206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15208 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15211 result
= ((wxFont
const *)arg1
)->GetWeightString();
15212 wxPyEndAllowThreads(__tstate
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15217 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15219 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15228 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15229 PyObject
*resultobj
= 0;
15230 wxFont
*arg1
= (wxFont
*) 0 ;
15231 bool arg2
= (bool) true ;
15236 PyObject
* obj0
= 0 ;
15237 PyObject
* obj1
= 0 ;
15238 char * kwnames
[] = {
15239 (char *) "self",(char *) "no", NULL
15242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15244 if (!SWIG_IsOK(res1
)) {
15245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15247 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15249 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15250 if (!SWIG_IsOK(ecode2
)) {
15251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15253 arg2
= static_cast< bool >(val2
);
15256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15257 (arg1
)->SetNoAntiAliasing(arg2
);
15258 wxPyEndAllowThreads(__tstate
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15261 resultobj
= SWIG_Py_Void();
15268 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15269 PyObject
*resultobj
= 0;
15270 wxFont
*arg1
= (wxFont
*) 0 ;
15274 PyObject
*swig_obj
[1] ;
15276 if (!args
) SWIG_fail
;
15277 swig_obj
[0] = args
;
15278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15279 if (!SWIG_IsOK(res1
)) {
15280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15282 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15285 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15286 wxPyEndAllowThreads(__tstate
);
15287 if (PyErr_Occurred()) SWIG_fail
;
15290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15298 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15299 PyObject
*resultobj
= 0;
15300 wxFontEncoding result
;
15302 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15304 if (!wxPyCheckForApp()) SWIG_fail
;
15305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15306 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15307 wxPyEndAllowThreads(__tstate
);
15308 if (PyErr_Occurred()) SWIG_fail
;
15310 resultobj
= SWIG_From_int(static_cast< int >(result
));
15317 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15318 PyObject
*resultobj
= 0;
15319 wxFontEncoding arg1
;
15322 PyObject
* obj0
= 0 ;
15323 char * kwnames
[] = {
15324 (char *) "encoding", NULL
15327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15328 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15329 if (!SWIG_IsOK(ecode1
)) {
15330 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15332 arg1
= static_cast< wxFontEncoding
>(val1
);
15334 if (!wxPyCheckForApp()) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 wxFont::SetDefaultEncoding(arg1
);
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15340 resultobj
= SWIG_Py_Void();
15347 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15350 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15351 return SWIG_Py_Void();
15354 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15355 return SWIG_Python_InitShadowInstance(args
);
15358 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15359 PyObject
*resultobj
= 0;
15360 wxPyFontEnumerator
*result
= 0 ;
15362 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15364 if (!wxPyCheckForApp()) SWIG_fail
;
15365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15366 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15367 wxPyEndAllowThreads(__tstate
);
15368 if (PyErr_Occurred()) SWIG_fail
;
15370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15377 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15378 PyObject
*resultobj
= 0;
15379 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15382 PyObject
*swig_obj
[1] ;
15384 if (!args
) SWIG_fail
;
15385 swig_obj
[0] = args
;
15386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15387 if (!SWIG_IsOK(res1
)) {
15388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15390 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15395 wxPyEndAllowThreads(__tstate
);
15396 if (PyErr_Occurred()) SWIG_fail
;
15398 resultobj
= SWIG_Py_Void();
15405 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15406 PyObject
*resultobj
= 0;
15407 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15408 PyObject
*arg2
= (PyObject
*) 0 ;
15409 PyObject
*arg3
= (PyObject
*) 0 ;
15415 PyObject
* obj0
= 0 ;
15416 PyObject
* obj1
= 0 ;
15417 PyObject
* obj2
= 0 ;
15418 PyObject
* obj3
= 0 ;
15419 char * kwnames
[] = {
15420 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15425 if (!SWIG_IsOK(res1
)) {
15426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15428 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15431 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15432 if (!SWIG_IsOK(ecode4
)) {
15433 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15435 arg4
= static_cast< bool >(val4
);
15437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15438 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15439 wxPyEndAllowThreads(__tstate
);
15440 if (PyErr_Occurred()) SWIG_fail
;
15442 resultobj
= SWIG_Py_Void();
15449 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15450 PyObject
*resultobj
= 0;
15451 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15452 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15453 bool arg3
= (bool) false ;
15461 PyObject
* obj0
= 0 ;
15462 PyObject
* obj1
= 0 ;
15463 PyObject
* obj2
= 0 ;
15464 char * kwnames
[] = {
15465 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15470 if (!SWIG_IsOK(res1
)) {
15471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15473 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15476 if (!SWIG_IsOK(ecode2
)) {
15477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15479 arg2
= static_cast< wxFontEncoding
>(val2
);
15482 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15483 if (!SWIG_IsOK(ecode3
)) {
15484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15486 arg3
= static_cast< bool >(val3
);
15489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15490 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15491 wxPyEndAllowThreads(__tstate
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15503 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15504 PyObject
*resultobj
= 0;
15505 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15506 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15507 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15511 bool temp2
= false ;
15512 PyObject
* obj0
= 0 ;
15513 PyObject
* obj1
= 0 ;
15514 char * kwnames
[] = {
15515 (char *) "self",(char *) "facename", NULL
15518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15520 if (!SWIG_IsOK(res1
)) {
15521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15523 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15526 arg2
= wxString_in_helper(obj1
);
15527 if (arg2
== NULL
) SWIG_fail
;
15532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15533 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15534 wxPyEndAllowThreads(__tstate
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15554 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15555 PyObject
*resultobj
= 0;
15556 PyObject
*result
= 0 ;
15558 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15561 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15565 resultobj
= result
;
15572 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15573 PyObject
*resultobj
= 0;
15574 PyObject
*result
= 0 ;
15576 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15579 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15580 wxPyEndAllowThreads(__tstate
);
15581 if (PyErr_Occurred()) SWIG_fail
;
15583 resultobj
= result
;
15590 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15591 PyObject
*resultobj
= 0;
15592 wxString
*arg1
= 0 ;
15594 bool temp1
= false ;
15595 PyObject
* obj0
= 0 ;
15596 char * kwnames
[] = {
15597 (char *) "str", NULL
15600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15602 arg1
= wxString_in_helper(obj0
);
15603 if (arg1
== NULL
) SWIG_fail
;
15607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15608 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15609 wxPyEndAllowThreads(__tstate
);
15610 if (PyErr_Occurred()) SWIG_fail
;
15613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15629 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15631 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15632 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15633 return SWIG_Py_Void();
15636 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15637 return SWIG_Python_InitShadowInstance(args
);
15640 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15641 PyObject
*resultobj
= 0;
15642 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15648 PyObject
*swig_obj
[2] ;
15650 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15652 if (!SWIG_IsOK(res1
)) {
15653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15655 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15656 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15657 if (!SWIG_IsOK(ecode2
)) {
15658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15660 arg2
= static_cast< int >(val2
);
15661 if (arg1
) (arg1
)->Language
= arg2
;
15663 resultobj
= SWIG_Py_Void();
15670 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15671 PyObject
*resultobj
= 0;
15672 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15676 PyObject
*swig_obj
[1] ;
15678 if (!args
) SWIG_fail
;
15679 swig_obj
[0] = args
;
15680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15681 if (!SWIG_IsOK(res1
)) {
15682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15684 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15685 result
= (int) ((arg1
)->Language
);
15686 resultobj
= SWIG_From_int(static_cast< int >(result
));
15693 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15694 PyObject
*resultobj
= 0;
15695 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15696 wxString
*arg2
= (wxString
*) 0 ;
15699 bool temp2
= false ;
15700 PyObject
*swig_obj
[2] ;
15702 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15704 if (!SWIG_IsOK(res1
)) {
15705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15707 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15709 arg2
= wxString_in_helper(swig_obj
[1]);
15710 if (arg2
== NULL
) SWIG_fail
;
15713 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15715 resultobj
= SWIG_Py_Void();
15730 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15731 PyObject
*resultobj
= 0;
15732 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15733 wxString
*result
= 0 ;
15736 PyObject
*swig_obj
[1] ;
15738 if (!args
) SWIG_fail
;
15739 swig_obj
[0] = args
;
15740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15741 if (!SWIG_IsOK(res1
)) {
15742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15744 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15745 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15748 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15750 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15759 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15760 PyObject
*resultobj
= 0;
15761 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15762 wxString
*arg2
= (wxString
*) 0 ;
15765 bool temp2
= false ;
15766 PyObject
*swig_obj
[2] ;
15768 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15770 if (!SWIG_IsOK(res1
)) {
15771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15773 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15775 arg2
= wxString_in_helper(swig_obj
[1]);
15776 if (arg2
== NULL
) SWIG_fail
;
15779 if (arg1
) (arg1
)->Description
= *arg2
;
15781 resultobj
= SWIG_Py_Void();
15796 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15797 PyObject
*resultobj
= 0;
15798 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15799 wxString
*result
= 0 ;
15802 PyObject
*swig_obj
[1] ;
15804 if (!args
) SWIG_fail
;
15805 swig_obj
[0] = args
;
15806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15807 if (!SWIG_IsOK(res1
)) {
15808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15810 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15811 result
= (wxString
*)& ((arg1
)->Description
);
15814 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15816 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15825 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15827 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15828 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15829 return SWIG_Py_Void();
15832 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15833 PyObject
*resultobj
= 0;
15834 int arg1
= (int) -1 ;
15835 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15836 wxLocale
*result
= 0 ;
15841 PyObject
* obj0
= 0 ;
15842 PyObject
* obj1
= 0 ;
15843 char * kwnames
[] = {
15844 (char *) "language",(char *) "flags", NULL
15847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15849 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15850 if (!SWIG_IsOK(ecode1
)) {
15851 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15853 arg1
= static_cast< int >(val1
);
15856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15857 if (!SWIG_IsOK(ecode2
)) {
15858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15860 arg2
= static_cast< int >(val2
);
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15865 wxPyEndAllowThreads(__tstate
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15875 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15876 PyObject
*resultobj
= 0;
15877 wxLocale
*arg1
= (wxLocale
*) 0 ;
15880 PyObject
*swig_obj
[1] ;
15882 if (!args
) SWIG_fail
;
15883 swig_obj
[0] = args
;
15884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15885 if (!SWIG_IsOK(res1
)) {
15886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15888 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15896 resultobj
= SWIG_Py_Void();
15903 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15904 PyObject
*resultobj
= 0;
15905 wxLocale
*arg1
= (wxLocale
*) 0 ;
15906 wxString
*arg2
= 0 ;
15907 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15908 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15909 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15910 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15911 bool arg5
= (bool) true ;
15912 bool arg6
= (bool) false ;
15916 bool temp2
= false ;
15917 bool temp3
= false ;
15918 bool temp4
= false ;
15923 PyObject
* obj0
= 0 ;
15924 PyObject
* obj1
= 0 ;
15925 PyObject
* obj2
= 0 ;
15926 PyObject
* obj3
= 0 ;
15927 PyObject
* obj4
= 0 ;
15928 PyObject
* obj5
= 0 ;
15929 char * kwnames
[] = {
15930 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15935 if (!SWIG_IsOK(res1
)) {
15936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15938 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15940 arg2
= wxString_in_helper(obj1
);
15941 if (arg2
== NULL
) SWIG_fail
;
15946 arg3
= wxString_in_helper(obj2
);
15947 if (arg3
== NULL
) SWIG_fail
;
15953 arg4
= wxString_in_helper(obj3
);
15954 if (arg4
== NULL
) SWIG_fail
;
15959 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15960 if (!SWIG_IsOK(ecode5
)) {
15961 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15963 arg5
= static_cast< bool >(val5
);
15966 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15967 if (!SWIG_IsOK(ecode6
)) {
15968 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15970 arg6
= static_cast< bool >(val6
);
15973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15974 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15975 wxPyEndAllowThreads(__tstate
);
15976 if (PyErr_Occurred()) SWIG_fail
;
15979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16011 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16012 PyObject
*resultobj
= 0;
16013 wxLocale
*arg1
= (wxLocale
*) 0 ;
16014 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16015 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16023 PyObject
* obj0
= 0 ;
16024 PyObject
* obj1
= 0 ;
16025 PyObject
* obj2
= 0 ;
16026 char * kwnames
[] = {
16027 (char *) "self",(char *) "language",(char *) "flags", NULL
16030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16032 if (!SWIG_IsOK(res1
)) {
16033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16035 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16038 if (!SWIG_IsOK(ecode2
)) {
16039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16041 arg2
= static_cast< int >(val2
);
16044 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16045 if (!SWIG_IsOK(ecode3
)) {
16046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16048 arg3
= static_cast< int >(val3
);
16051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16052 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16053 wxPyEndAllowThreads(__tstate
);
16054 if (PyErr_Occurred()) SWIG_fail
;
16057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16065 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16066 PyObject
*resultobj
= 0;
16069 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 result
= (int)wxLocale::GetSystemLanguage();
16073 wxPyEndAllowThreads(__tstate
);
16074 if (PyErr_Occurred()) SWIG_fail
;
16076 resultobj
= SWIG_From_int(static_cast< int >(result
));
16083 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16084 PyObject
*resultobj
= 0;
16085 wxFontEncoding result
;
16087 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16090 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16091 wxPyEndAllowThreads(__tstate
);
16092 if (PyErr_Occurred()) SWIG_fail
;
16094 resultobj
= SWIG_From_int(static_cast< int >(result
));
16101 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16102 PyObject
*resultobj
= 0;
16105 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16108 result
= wxLocale::GetSystemEncodingName();
16109 wxPyEndAllowThreads(__tstate
);
16110 if (PyErr_Occurred()) SWIG_fail
;
16114 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16116 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16125 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16126 PyObject
*resultobj
= 0;
16127 wxLocale
*arg1
= (wxLocale
*) 0 ;
16131 PyObject
*swig_obj
[1] ;
16133 if (!args
) SWIG_fail
;
16134 swig_obj
[0] = args
;
16135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16136 if (!SWIG_IsOK(res1
)) {
16137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16139 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16142 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16143 wxPyEndAllowThreads(__tstate
);
16144 if (PyErr_Occurred()) SWIG_fail
;
16147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16155 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16156 PyObject
*resultobj
= 0;
16157 wxLocale
*arg1
= (wxLocale
*) 0 ;
16161 PyObject
*swig_obj
[1] ;
16163 if (!args
) SWIG_fail
;
16164 swig_obj
[0] = args
;
16165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16166 if (!SWIG_IsOK(res1
)) {
16167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16169 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16172 result
= ((wxLocale
const *)arg1
)->GetLocale();
16173 wxPyEndAllowThreads(__tstate
);
16174 if (PyErr_Occurred()) SWIG_fail
;
16178 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16180 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16189 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16190 PyObject
*resultobj
= 0;
16191 wxLocale
*arg1
= (wxLocale
*) 0 ;
16195 PyObject
*swig_obj
[1] ;
16197 if (!args
) SWIG_fail
;
16198 swig_obj
[0] = args
;
16199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16200 if (!SWIG_IsOK(res1
)) {
16201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16203 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16206 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16207 wxPyEndAllowThreads(__tstate
);
16208 if (PyErr_Occurred()) SWIG_fail
;
16210 resultobj
= SWIG_From_int(static_cast< int >(result
));
16217 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16218 PyObject
*resultobj
= 0;
16219 wxLocale
*arg1
= (wxLocale
*) 0 ;
16223 PyObject
*swig_obj
[1] ;
16225 if (!args
) SWIG_fail
;
16226 swig_obj
[0] = args
;
16227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16228 if (!SWIG_IsOK(res1
)) {
16229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16231 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16234 result
= ((wxLocale
const *)arg1
)->GetSysName();
16235 wxPyEndAllowThreads(__tstate
);
16236 if (PyErr_Occurred()) SWIG_fail
;
16240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16251 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16252 PyObject
*resultobj
= 0;
16253 wxLocale
*arg1
= (wxLocale
*) 0 ;
16257 PyObject
*swig_obj
[1] ;
16259 if (!args
) SWIG_fail
;
16260 swig_obj
[0] = args
;
16261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16262 if (!SWIG_IsOK(res1
)) {
16263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16265 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16268 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16269 wxPyEndAllowThreads(__tstate
);
16270 if (PyErr_Occurred()) SWIG_fail
;
16274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16285 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16286 PyObject
*resultobj
= 0;
16287 wxString
*arg1
= 0 ;
16288 bool temp1
= false ;
16289 PyObject
* obj0
= 0 ;
16290 char * kwnames
[] = {
16291 (char *) "prefix", NULL
16294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16296 arg1
= wxString_in_helper(obj0
);
16297 if (arg1
== NULL
) SWIG_fail
;
16301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16302 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16303 wxPyEndAllowThreads(__tstate
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16306 resultobj
= SWIG_Py_Void();
16321 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16322 PyObject
*resultobj
= 0;
16323 wxLocale
*arg1
= (wxLocale
*) 0 ;
16324 wxString
*arg2
= 0 ;
16328 bool temp2
= false ;
16329 PyObject
* obj0
= 0 ;
16330 PyObject
* obj1
= 0 ;
16331 char * kwnames
[] = {
16332 (char *) "self",(char *) "szDomain", NULL
16335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16337 if (!SWIG_IsOK(res1
)) {
16338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16340 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16342 arg2
= wxString_in_helper(obj1
);
16343 if (arg2
== NULL
) SWIG_fail
;
16347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16348 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16349 wxPyEndAllowThreads(__tstate
);
16350 if (PyErr_Occurred()) SWIG_fail
;
16353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16369 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16370 PyObject
*resultobj
= 0;
16375 PyObject
* obj0
= 0 ;
16376 char * kwnames
[] = {
16377 (char *) "lang", NULL
16380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16381 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16382 if (!SWIG_IsOK(ecode1
)) {
16383 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16385 arg1
= static_cast< int >(val1
);
16387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16388 result
= (bool)wxLocale::IsAvailable(arg1
);
16389 wxPyEndAllowThreads(__tstate
);
16390 if (PyErr_Occurred()) SWIG_fail
;
16393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16401 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
= 0;
16403 wxLocale
*arg1
= (wxLocale
*) 0 ;
16404 wxString
*arg2
= 0 ;
16408 bool temp2
= false ;
16409 PyObject
* obj0
= 0 ;
16410 PyObject
* obj1
= 0 ;
16411 char * kwnames
[] = {
16412 (char *) "self",(char *) "szDomain", NULL
16415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16417 if (!SWIG_IsOK(res1
)) {
16418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16420 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16422 arg2
= wxString_in_helper(obj1
);
16423 if (arg2
== NULL
) SWIG_fail
;
16427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16428 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16429 wxPyEndAllowThreads(__tstate
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16449 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16450 PyObject
*resultobj
= 0;
16452 wxLanguageInfo
*result
= 0 ;
16455 PyObject
* obj0
= 0 ;
16456 char * kwnames
[] = {
16457 (char *) "lang", NULL
16460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16461 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16462 if (!SWIG_IsOK(ecode1
)) {
16463 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16465 arg1
= static_cast< int >(val1
);
16467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16468 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16469 wxPyEndAllowThreads(__tstate
);
16470 if (PyErr_Occurred()) SWIG_fail
;
16472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16479 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16480 PyObject
*resultobj
= 0;
16485 PyObject
* obj0
= 0 ;
16486 char * kwnames
[] = {
16487 (char *) "lang", NULL
16490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16491 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16492 if (!SWIG_IsOK(ecode1
)) {
16493 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16495 arg1
= static_cast< int >(val1
);
16497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16498 result
= wxLocale::GetLanguageName(arg1
);
16499 wxPyEndAllowThreads(__tstate
);
16500 if (PyErr_Occurred()) SWIG_fail
;
16504 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16506 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16515 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
= 0;
16517 wxString
*arg1
= 0 ;
16518 wxLanguageInfo
*result
= 0 ;
16519 bool temp1
= false ;
16520 PyObject
* obj0
= 0 ;
16521 char * kwnames
[] = {
16522 (char *) "locale", NULL
16525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16527 arg1
= wxString_in_helper(obj0
);
16528 if (arg1
== NULL
) SWIG_fail
;
16532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16533 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16534 wxPyEndAllowThreads(__tstate
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16552 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16553 PyObject
*resultobj
= 0;
16554 wxLanguageInfo
*arg1
= 0 ;
16557 PyObject
* obj0
= 0 ;
16558 char * kwnames
[] = {
16559 (char *) "info", NULL
16562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16563 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16564 if (!SWIG_IsOK(res1
)) {
16565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16570 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16574 wxPyEndAllowThreads(__tstate
);
16575 if (PyErr_Occurred()) SWIG_fail
;
16577 resultobj
= SWIG_Py_Void();
16584 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16585 PyObject
*resultobj
= 0;
16586 wxLocale
*arg1
= (wxLocale
*) 0 ;
16587 wxString
*arg2
= 0 ;
16588 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16589 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16593 bool temp2
= false ;
16594 bool temp3
= false ;
16595 PyObject
* obj0
= 0 ;
16596 PyObject
* obj1
= 0 ;
16597 PyObject
* obj2
= 0 ;
16598 char * kwnames
[] = {
16599 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16604 if (!SWIG_IsOK(res1
)) {
16605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16607 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16609 arg2
= wxString_in_helper(obj1
);
16610 if (arg2
== NULL
) SWIG_fail
;
16615 arg3
= wxString_in_helper(obj2
);
16616 if (arg3
== NULL
) SWIG_fail
;
16621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16622 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16623 wxPyEndAllowThreads(__tstate
);
16624 if (PyErr_Occurred()) SWIG_fail
;
16628 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16630 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16655 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16656 PyObject
*resultobj
= 0;
16657 wxLocale
*arg1
= (wxLocale
*) 0 ;
16658 wxString
*result
= 0 ;
16661 PyObject
*swig_obj
[1] ;
16663 if (!args
) SWIG_fail
;
16664 swig_obj
[0] = args
;
16665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16666 if (!SWIG_IsOK(res1
)) {
16667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16669 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16674 result
= (wxString
*) &_result_ref
;
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16681 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16683 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16692 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16694 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16695 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16696 return SWIG_Py_Void();
16699 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16700 return SWIG_Python_InitShadowInstance(args
);
16703 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16704 PyObject
*resultobj
= 0;
16705 int arg1
= (int) -1 ;
16706 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16707 wxPyLocale
*result
= 0 ;
16712 PyObject
* obj0
= 0 ;
16713 PyObject
* obj1
= 0 ;
16714 char * kwnames
[] = {
16715 (char *) "language",(char *) "flags", NULL
16718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16720 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16721 if (!SWIG_IsOK(ecode1
)) {
16722 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16724 arg1
= static_cast< int >(val1
);
16727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16728 if (!SWIG_IsOK(ecode2
)) {
16729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16731 arg2
= static_cast< int >(val2
);
16734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16735 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16736 wxPyEndAllowThreads(__tstate
);
16737 if (PyErr_Occurred()) SWIG_fail
;
16739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16746 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16747 PyObject
*resultobj
= 0;
16748 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16751 PyObject
*swig_obj
[1] ;
16753 if (!args
) SWIG_fail
;
16754 swig_obj
[0] = args
;
16755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16756 if (!SWIG_IsOK(res1
)) {
16757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16759 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16764 wxPyEndAllowThreads(__tstate
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16767 resultobj
= SWIG_Py_Void();
16774 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16775 PyObject
*resultobj
= 0;
16776 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16777 PyObject
*arg2
= (PyObject
*) 0 ;
16778 PyObject
*arg3
= (PyObject
*) 0 ;
16781 PyObject
* obj0
= 0 ;
16782 PyObject
* obj1
= 0 ;
16783 PyObject
* obj2
= 0 ;
16784 char * kwnames
[] = {
16785 (char *) "self",(char *) "self",(char *) "_class", NULL
16788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16790 if (!SWIG_IsOK(res1
)) {
16791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16793 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16798 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16799 wxPyEndAllowThreads(__tstate
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16802 resultobj
= SWIG_Py_Void();
16809 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16810 PyObject
*resultobj
= 0;
16811 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16812 wxChar
*arg2
= (wxChar
*) 0 ;
16813 wxChar
*arg3
= (wxChar
*) NULL
;
16814 wxChar
*result
= 0 ;
16821 PyObject
* obj0
= 0 ;
16822 PyObject
* obj1
= 0 ;
16823 PyObject
* obj2
= 0 ;
16824 char * kwnames
[] = {
16825 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16830 if (!SWIG_IsOK(res1
)) {
16831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16833 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16834 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16835 if (!SWIG_IsOK(res2
)) {
16836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16838 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16840 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16841 if (!SWIG_IsOK(res3
)) {
16842 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16844 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16848 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16849 wxPyEndAllowThreads(__tstate
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16859 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16860 PyObject
*resultobj
= 0;
16861 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16862 wxChar
*arg2
= (wxChar
*) 0 ;
16863 wxChar
*arg3
= (wxChar
*) 0 ;
16865 wxChar
*arg5
= (wxChar
*) NULL
;
16866 wxChar
*result
= 0 ;
16877 PyObject
* obj0
= 0 ;
16878 PyObject
* obj1
= 0 ;
16879 PyObject
* obj2
= 0 ;
16880 PyObject
* obj3
= 0 ;
16881 PyObject
* obj4
= 0 ;
16882 char * kwnames
[] = {
16883 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16888 if (!SWIG_IsOK(res1
)) {
16889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16891 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16892 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16893 if (!SWIG_IsOK(res2
)) {
16894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16896 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16897 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16898 if (!SWIG_IsOK(res3
)) {
16899 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16901 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16902 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16903 if (!SWIG_IsOK(ecode4
)) {
16904 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16906 arg4
= static_cast< size_t >(val4
);
16908 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16909 if (!SWIG_IsOK(res5
)) {
16910 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16912 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16916 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16917 wxPyEndAllowThreads(__tstate
);
16918 if (PyErr_Occurred()) SWIG_fail
;
16920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16927 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16929 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16930 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16931 return SWIG_Py_Void();
16934 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16935 return SWIG_Python_InitShadowInstance(args
);
16938 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16939 PyObject
*resultobj
= 0;
16940 wxLocale
*result
= 0 ;
16942 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16945 result
= (wxLocale
*)wxGetLocale();
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16956 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16957 PyObject
*resultobj
= 0;
16958 wxString
*arg1
= 0 ;
16960 bool temp1
= false ;
16962 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16964 arg1
= wxString_in_helper(swig_obj
[0]);
16965 if (arg1
== NULL
) SWIG_fail
;
16969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16970 result
= wxGetTranslation((wxString
const &)*arg1
);
16971 wxPyEndAllowThreads(__tstate
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16976 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16978 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16995 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16996 PyObject
*resultobj
= 0;
16997 wxString
*arg1
= 0 ;
16998 wxString
*arg2
= 0 ;
17000 bool temp1
= false ;
17001 bool temp2
= false ;
17003 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17005 arg1
= wxString_in_helper(swig_obj
[0]);
17006 if (arg1
== NULL
) SWIG_fail
;
17010 arg2
= wxString_in_helper(swig_obj
[1]);
17011 if (arg2
== NULL
) SWIG_fail
;
17015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17016 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17017 wxPyEndAllowThreads(__tstate
);
17018 if (PyErr_Occurred()) SWIG_fail
;
17022 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17024 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17049 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17050 PyObject
*resultobj
= 0;
17051 wxString
*arg1
= 0 ;
17052 wxString
*arg2
= 0 ;
17055 bool temp1
= false ;
17056 bool temp2
= false ;
17060 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17062 arg1
= wxString_in_helper(swig_obj
[0]);
17063 if (arg1
== NULL
) SWIG_fail
;
17067 arg2
= wxString_in_helper(swig_obj
[1]);
17068 if (arg2
== NULL
) SWIG_fail
;
17071 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17072 if (!SWIG_IsOK(ecode3
)) {
17073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17075 arg3
= static_cast< size_t >(val3
);
17077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17078 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17079 wxPyEndAllowThreads(__tstate
);
17080 if (PyErr_Occurred()) SWIG_fail
;
17084 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17086 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17111 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17112 PyObject
*resultobj
= 0;
17113 wxString
*arg1
= 0 ;
17114 wxString
*arg2
= 0 ;
17116 wxString
*arg4
= 0 ;
17118 bool temp1
= false ;
17119 bool temp2
= false ;
17122 bool temp4
= false ;
17124 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17126 arg1
= wxString_in_helper(swig_obj
[0]);
17127 if (arg1
== NULL
) SWIG_fail
;
17131 arg2
= wxString_in_helper(swig_obj
[1]);
17132 if (arg2
== NULL
) SWIG_fail
;
17135 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17136 if (!SWIG_IsOK(ecode3
)) {
17137 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17139 arg3
= static_cast< size_t >(val3
);
17141 arg4
= wxString_in_helper(swig_obj
[3]);
17142 if (arg4
== NULL
) SWIG_fail
;
17146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17147 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17148 wxPyEndAllowThreads(__tstate
);
17149 if (PyErr_Occurred()) SWIG_fail
;
17153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17188 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17192 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17195 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17198 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17201 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17204 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17208 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17213 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17214 PyObject
*resultobj
= 0;
17215 wxEncodingConverter
*result
= 0 ;
17217 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17220 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17221 wxPyEndAllowThreads(__tstate
);
17222 if (PyErr_Occurred()) SWIG_fail
;
17224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17231 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17232 PyObject
*resultobj
= 0;
17233 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17236 PyObject
*swig_obj
[1] ;
17238 if (!args
) SWIG_fail
;
17239 swig_obj
[0] = args
;
17240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17241 if (!SWIG_IsOK(res1
)) {
17242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17244 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17249 wxPyEndAllowThreads(__tstate
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17252 resultobj
= SWIG_Py_Void();
17259 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17260 PyObject
*resultobj
= 0;
17261 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17262 wxFontEncoding arg2
;
17263 wxFontEncoding arg3
;
17264 int arg4
= (int) wxCONVERT_STRICT
;
17274 PyObject
* obj0
= 0 ;
17275 PyObject
* obj1
= 0 ;
17276 PyObject
* obj2
= 0 ;
17277 PyObject
* obj3
= 0 ;
17278 char * kwnames
[] = {
17279 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17284 if (!SWIG_IsOK(res1
)) {
17285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17287 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17289 if (!SWIG_IsOK(ecode2
)) {
17290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17292 arg2
= static_cast< wxFontEncoding
>(val2
);
17293 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17294 if (!SWIG_IsOK(ecode3
)) {
17295 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17297 arg3
= static_cast< wxFontEncoding
>(val3
);
17299 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17300 if (!SWIG_IsOK(ecode4
)) {
17301 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17303 arg4
= static_cast< int >(val4
);
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17308 wxPyEndAllowThreads(__tstate
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17320 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17321 PyObject
*resultobj
= 0;
17322 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17323 wxString
*arg2
= 0 ;
17327 bool temp2
= false ;
17328 PyObject
* obj0
= 0 ;
17329 PyObject
* obj1
= 0 ;
17330 char * kwnames
[] = {
17331 (char *) "self",(char *) "input", NULL
17334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17336 if (!SWIG_IsOK(res1
)) {
17337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17339 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17341 arg2
= wxString_in_helper(obj1
);
17342 if (arg2
== NULL
) SWIG_fail
;
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17348 wxPyEndAllowThreads(__tstate
);
17349 if (PyErr_Occurred()) SWIG_fail
;
17353 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17355 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17372 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17373 PyObject
*resultobj
= 0;
17374 wxFontEncoding arg1
;
17375 int arg2
= (int) wxPLATFORM_CURRENT
;
17376 wxFontEncodingArray result
;
17381 PyObject
* obj0
= 0 ;
17382 PyObject
* obj1
= 0 ;
17383 char * kwnames
[] = {
17384 (char *) "enc",(char *) "platform", NULL
17387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17388 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17389 if (!SWIG_IsOK(ecode1
)) {
17390 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17392 arg1
= static_cast< wxFontEncoding
>(val1
);
17394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17395 if (!SWIG_IsOK(ecode2
)) {
17396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17398 arg2
= static_cast< int >(val2
);
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17403 wxPyEndAllowThreads(__tstate
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17407 resultobj
= PyList_New(0);
17408 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17409 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17410 PyList_Append(resultobj
, number
);
17420 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17421 PyObject
*resultobj
= 0;
17422 wxFontEncoding arg1
;
17423 wxFontEncodingArray result
;
17426 PyObject
* obj0
= 0 ;
17427 char * kwnames
[] = {
17428 (char *) "enc", NULL
17431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17432 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17433 if (!SWIG_IsOK(ecode1
)) {
17434 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17436 arg1
= static_cast< wxFontEncoding
>(val1
);
17438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17439 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17440 wxPyEndAllowThreads(__tstate
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17444 resultobj
= PyList_New(0);
17445 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17446 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17447 PyList_Append(resultobj
, number
);
17457 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17458 PyObject
*resultobj
= 0;
17459 wxFontEncoding arg1
;
17460 wxFontEncoding arg2
;
17466 PyObject
* obj0
= 0 ;
17467 PyObject
* obj1
= 0 ;
17468 char * kwnames
[] = {
17469 (char *) "encIn",(char *) "encOut", NULL
17472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17473 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17474 if (!SWIG_IsOK(ecode1
)) {
17475 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17477 arg1
= static_cast< wxFontEncoding
>(val1
);
17478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17479 if (!SWIG_IsOK(ecode2
)) {
17480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17482 arg2
= static_cast< wxFontEncoding
>(val2
);
17484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17486 wxPyEndAllowThreads(__tstate
);
17487 if (PyErr_Occurred()) SWIG_fail
;
17490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17498 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17500 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17501 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17502 return SWIG_Py_Void();
17505 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17506 return SWIG_Python_InitShadowInstance(args
);
17509 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17510 PyObject
*resultobj
= 0;
17511 wxDC
*arg1
= (wxDC
*) 0 ;
17514 PyObject
*swig_obj
[1] ;
17516 if (!args
) SWIG_fail
;
17517 swig_obj
[0] = args
;
17518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17519 if (!SWIG_IsOK(res1
)) {
17520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17522 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17530 resultobj
= SWIG_Py_Void();
17537 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17538 PyObject
*resultobj
= 0;
17539 wxDC
*arg1
= (wxDC
*) 0 ;
17542 wxColour
*arg4
= 0 ;
17543 int arg5
= (int) wxFLOOD_SURFACE
;
17554 PyObject
* obj0
= 0 ;
17555 PyObject
* obj1
= 0 ;
17556 PyObject
* obj2
= 0 ;
17557 PyObject
* obj3
= 0 ;
17558 PyObject
* obj4
= 0 ;
17559 char * kwnames
[] = {
17560 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17565 if (!SWIG_IsOK(res1
)) {
17566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17568 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17569 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17570 if (!SWIG_IsOK(ecode2
)) {
17571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17573 arg2
= static_cast< int >(val2
);
17574 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17575 if (!SWIG_IsOK(ecode3
)) {
17576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17578 arg3
= static_cast< int >(val3
);
17581 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17584 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17585 if (!SWIG_IsOK(ecode5
)) {
17586 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17588 arg5
= static_cast< int >(val5
);
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17592 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17593 wxPyEndAllowThreads(__tstate
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17605 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17606 PyObject
*resultobj
= 0;
17607 wxDC
*arg1
= (wxDC
*) 0 ;
17608 wxPoint
*arg2
= 0 ;
17609 wxColour
*arg3
= 0 ;
17610 int arg4
= (int) wxFLOOD_SURFACE
;
17618 PyObject
* obj0
= 0 ;
17619 PyObject
* obj1
= 0 ;
17620 PyObject
* obj2
= 0 ;
17621 PyObject
* obj3
= 0 ;
17622 char * kwnames
[] = {
17623 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17628 if (!SWIG_IsOK(res1
)) {
17629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17631 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17634 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17638 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17641 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17642 if (!SWIG_IsOK(ecode4
)) {
17643 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17645 arg4
= static_cast< int >(val4
);
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17650 wxPyEndAllowThreads(__tstate
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17662 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17663 PyObject
*resultobj
= 0;
17664 wxDC
*arg1
= (wxDC
*) 0 ;
17666 wxColour
*arg3
= 0 ;
17667 wxColour
*arg4
= 0 ;
17668 wxPoint
*arg5
= 0 ;
17675 PyObject
* obj0
= 0 ;
17676 PyObject
* obj1
= 0 ;
17677 PyObject
* obj2
= 0 ;
17678 PyObject
* obj3
= 0 ;
17679 PyObject
* obj4
= 0 ;
17680 char * kwnames
[] = {
17681 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17686 if (!SWIG_IsOK(res1
)) {
17687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17689 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17692 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17696 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17700 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17704 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17708 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17709 wxPyEndAllowThreads(__tstate
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17712 resultobj
= SWIG_Py_Void();
17719 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17720 PyObject
*resultobj
= 0;
17721 wxDC
*arg1
= (wxDC
*) 0 ;
17723 wxColour
*arg3
= 0 ;
17724 wxColour
*arg4
= 0 ;
17725 wxDirection arg5
= (wxDirection
) wxEAST
;
17733 PyObject
* obj0
= 0 ;
17734 PyObject
* obj1
= 0 ;
17735 PyObject
* obj2
= 0 ;
17736 PyObject
* obj3
= 0 ;
17737 PyObject
* obj4
= 0 ;
17738 char * kwnames
[] = {
17739 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17744 if (!SWIG_IsOK(res1
)) {
17745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17747 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17750 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17754 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17758 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17761 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17762 if (!SWIG_IsOK(ecode5
)) {
17763 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17765 arg5
= static_cast< wxDirection
>(val5
);
17768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17769 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17770 wxPyEndAllowThreads(__tstate
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17773 resultobj
= SWIG_Py_Void();
17780 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17781 PyObject
*resultobj
= 0;
17782 wxDC
*arg1
= (wxDC
*) 0 ;
17792 PyObject
* obj0
= 0 ;
17793 PyObject
* obj1
= 0 ;
17794 PyObject
* obj2
= 0 ;
17795 char * kwnames
[] = {
17796 (char *) "self",(char *) "x",(char *) "y", NULL
17799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17801 if (!SWIG_IsOK(res1
)) {
17802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17804 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17806 if (!SWIG_IsOK(ecode2
)) {
17807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17809 arg2
= static_cast< int >(val2
);
17810 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17811 if (!SWIG_IsOK(ecode3
)) {
17812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17814 arg3
= static_cast< int >(val3
);
17816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17817 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17828 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17829 PyObject
*resultobj
= 0;
17830 wxDC
*arg1
= (wxDC
*) 0 ;
17831 wxPoint
*arg2
= 0 ;
17836 PyObject
* obj0
= 0 ;
17837 PyObject
* obj1
= 0 ;
17838 char * kwnames
[] = {
17839 (char *) "self",(char *) "pt", NULL
17842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17844 if (!SWIG_IsOK(res1
)) {
17845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17847 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17850 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17854 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17855 wxPyEndAllowThreads(__tstate
);
17856 if (PyErr_Occurred()) SWIG_fail
;
17858 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17865 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17866 PyObject
*resultobj
= 0;
17867 wxDC
*arg1
= (wxDC
*) 0 ;
17882 PyObject
* obj0
= 0 ;
17883 PyObject
* obj1
= 0 ;
17884 PyObject
* obj2
= 0 ;
17885 PyObject
* obj3
= 0 ;
17886 PyObject
* obj4
= 0 ;
17887 char * kwnames
[] = {
17888 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17893 if (!SWIG_IsOK(res1
)) {
17894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17896 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17898 if (!SWIG_IsOK(ecode2
)) {
17899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17901 arg2
= static_cast< int >(val2
);
17902 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17903 if (!SWIG_IsOK(ecode3
)) {
17904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17906 arg3
= static_cast< int >(val3
);
17907 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17908 if (!SWIG_IsOK(ecode4
)) {
17909 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17911 arg4
= static_cast< int >(val4
);
17912 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17913 if (!SWIG_IsOK(ecode5
)) {
17914 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17916 arg5
= static_cast< int >(val5
);
17918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17919 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17920 wxPyEndAllowThreads(__tstate
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17923 resultobj
= SWIG_Py_Void();
17930 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17931 PyObject
*resultobj
= 0;
17932 wxDC
*arg1
= (wxDC
*) 0 ;
17933 wxPoint
*arg2
= 0 ;
17934 wxPoint
*arg3
= 0 ;
17939 PyObject
* obj0
= 0 ;
17940 PyObject
* obj1
= 0 ;
17941 PyObject
* obj2
= 0 ;
17942 char * kwnames
[] = {
17943 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17948 if (!SWIG_IsOK(res1
)) {
17949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17951 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17954 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17958 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17963 wxPyEndAllowThreads(__tstate
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17966 resultobj
= SWIG_Py_Void();
17973 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17974 PyObject
*resultobj
= 0;
17975 wxDC
*arg1
= (wxDC
*) 0 ;
17984 PyObject
* obj0
= 0 ;
17985 PyObject
* obj1
= 0 ;
17986 PyObject
* obj2
= 0 ;
17987 char * kwnames
[] = {
17988 (char *) "self",(char *) "x",(char *) "y", NULL
17991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17993 if (!SWIG_IsOK(res1
)) {
17994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17996 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17998 if (!SWIG_IsOK(ecode2
)) {
17999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18001 arg2
= static_cast< int >(val2
);
18002 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18003 if (!SWIG_IsOK(ecode3
)) {
18004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18006 arg3
= static_cast< int >(val3
);
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18009 (arg1
)->CrossHair(arg2
,arg3
);
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18013 resultobj
= SWIG_Py_Void();
18020 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18021 PyObject
*resultobj
= 0;
18022 wxDC
*arg1
= (wxDC
*) 0 ;
18023 wxPoint
*arg2
= 0 ;
18027 PyObject
* obj0
= 0 ;
18028 PyObject
* obj1
= 0 ;
18029 char * kwnames
[] = {
18030 (char *) "self",(char *) "pt", NULL
18033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18035 if (!SWIG_IsOK(res1
)) {
18036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18038 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18041 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18045 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18046 wxPyEndAllowThreads(__tstate
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18049 resultobj
= SWIG_Py_Void();
18056 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18057 PyObject
*resultobj
= 0;
18058 wxDC
*arg1
= (wxDC
*) 0 ;
18079 PyObject
* obj0
= 0 ;
18080 PyObject
* obj1
= 0 ;
18081 PyObject
* obj2
= 0 ;
18082 PyObject
* obj3
= 0 ;
18083 PyObject
* obj4
= 0 ;
18084 PyObject
* obj5
= 0 ;
18085 PyObject
* obj6
= 0 ;
18086 char * kwnames
[] = {
18087 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18092 if (!SWIG_IsOK(res1
)) {
18093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18095 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18097 if (!SWIG_IsOK(ecode2
)) {
18098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18100 arg2
= static_cast< int >(val2
);
18101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18102 if (!SWIG_IsOK(ecode3
)) {
18103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18105 arg3
= static_cast< int >(val3
);
18106 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18107 if (!SWIG_IsOK(ecode4
)) {
18108 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18110 arg4
= static_cast< int >(val4
);
18111 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18112 if (!SWIG_IsOK(ecode5
)) {
18113 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18115 arg5
= static_cast< int >(val5
);
18116 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18117 if (!SWIG_IsOK(ecode6
)) {
18118 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18120 arg6
= static_cast< int >(val6
);
18121 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18122 if (!SWIG_IsOK(ecode7
)) {
18123 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18125 arg7
= static_cast< int >(val7
);
18127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18128 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18129 wxPyEndAllowThreads(__tstate
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18132 resultobj
= SWIG_Py_Void();
18139 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18140 PyObject
*resultobj
= 0;
18141 wxDC
*arg1
= (wxDC
*) 0 ;
18142 wxPoint
*arg2
= 0 ;
18143 wxPoint
*arg3
= 0 ;
18144 wxPoint
*arg4
= 0 ;
18150 PyObject
* obj0
= 0 ;
18151 PyObject
* obj1
= 0 ;
18152 PyObject
* obj2
= 0 ;
18153 PyObject
* obj3
= 0 ;
18154 char * kwnames
[] = {
18155 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18160 if (!SWIG_IsOK(res1
)) {
18161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18163 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18166 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18170 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18174 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18178 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18179 wxPyEndAllowThreads(__tstate
);
18180 if (PyErr_Occurred()) SWIG_fail
;
18182 resultobj
= SWIG_Py_Void();
18189 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
= 0;
18191 wxDC
*arg1
= (wxDC
*) 0 ;
18206 PyObject
* obj0
= 0 ;
18207 PyObject
* obj1
= 0 ;
18208 PyObject
* obj2
= 0 ;
18209 PyObject
* obj3
= 0 ;
18210 PyObject
* obj4
= 0 ;
18211 char * kwnames
[] = {
18212 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18217 if (!SWIG_IsOK(res1
)) {
18218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18220 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18221 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18222 if (!SWIG_IsOK(ecode2
)) {
18223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18225 arg2
= static_cast< int >(val2
);
18226 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18227 if (!SWIG_IsOK(ecode3
)) {
18228 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18230 arg3
= static_cast< int >(val3
);
18231 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18232 if (!SWIG_IsOK(ecode4
)) {
18233 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18235 arg4
= static_cast< int >(val4
);
18236 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18237 if (!SWIG_IsOK(ecode5
)) {
18238 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18240 arg5
= static_cast< int >(val5
);
18242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18243 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18244 wxPyEndAllowThreads(__tstate
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18247 resultobj
= SWIG_Py_Void();
18254 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18255 PyObject
*resultobj
= 0;
18256 wxDC
*arg1
= (wxDC
*) 0 ;
18261 PyObject
* obj0
= 0 ;
18262 PyObject
* obj1
= 0 ;
18263 char * kwnames
[] = {
18264 (char *) "self",(char *) "rect", NULL
18267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18269 if (!SWIG_IsOK(res1
)) {
18270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18272 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18275 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18279 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18280 wxPyEndAllowThreads(__tstate
);
18281 if (PyErr_Occurred()) SWIG_fail
;
18283 resultobj
= SWIG_Py_Void();
18290 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18291 PyObject
*resultobj
= 0;
18292 wxDC
*arg1
= (wxDC
*) 0 ;
18313 PyObject
* obj0
= 0 ;
18314 PyObject
* obj1
= 0 ;
18315 PyObject
* obj2
= 0 ;
18316 PyObject
* obj3
= 0 ;
18317 PyObject
* obj4
= 0 ;
18318 PyObject
* obj5
= 0 ;
18319 PyObject
* obj6
= 0 ;
18320 char * kwnames
[] = {
18321 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18326 if (!SWIG_IsOK(res1
)) {
18327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18329 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18331 if (!SWIG_IsOK(ecode2
)) {
18332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18334 arg2
= static_cast< int >(val2
);
18335 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18336 if (!SWIG_IsOK(ecode3
)) {
18337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18339 arg3
= static_cast< int >(val3
);
18340 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18341 if (!SWIG_IsOK(ecode4
)) {
18342 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18344 arg4
= static_cast< int >(val4
);
18345 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18346 if (!SWIG_IsOK(ecode5
)) {
18347 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18349 arg5
= static_cast< int >(val5
);
18350 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18351 if (!SWIG_IsOK(ecode6
)) {
18352 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18354 arg6
= static_cast< double >(val6
);
18355 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18356 if (!SWIG_IsOK(ecode7
)) {
18357 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18359 arg7
= static_cast< double >(val7
);
18361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18362 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18363 wxPyEndAllowThreads(__tstate
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18366 resultobj
= SWIG_Py_Void();
18373 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18374 PyObject
*resultobj
= 0;
18375 wxDC
*arg1
= (wxDC
*) 0 ;
18376 wxPoint
*arg2
= 0 ;
18388 PyObject
* obj0
= 0 ;
18389 PyObject
* obj1
= 0 ;
18390 PyObject
* obj2
= 0 ;
18391 PyObject
* obj3
= 0 ;
18392 PyObject
* obj4
= 0 ;
18393 char * kwnames
[] = {
18394 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18399 if (!SWIG_IsOK(res1
)) {
18400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18402 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18405 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18409 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18411 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18412 if (!SWIG_IsOK(ecode4
)) {
18413 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18415 arg4
= static_cast< double >(val4
);
18416 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18417 if (!SWIG_IsOK(ecode5
)) {
18418 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18420 arg5
= static_cast< double >(val5
);
18422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18423 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18427 resultobj
= SWIG_Py_Void();
18434 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18435 PyObject
*resultobj
= 0;
18436 wxDC
*arg1
= (wxDC
*) 0 ;
18445 PyObject
* obj0
= 0 ;
18446 PyObject
* obj1
= 0 ;
18447 PyObject
* obj2
= 0 ;
18448 char * kwnames
[] = {
18449 (char *) "self",(char *) "x",(char *) "y", NULL
18452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18454 if (!SWIG_IsOK(res1
)) {
18455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18457 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18459 if (!SWIG_IsOK(ecode2
)) {
18460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18462 arg2
= static_cast< int >(val2
);
18463 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18464 if (!SWIG_IsOK(ecode3
)) {
18465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18467 arg3
= static_cast< int >(val3
);
18469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18470 (arg1
)->DrawPoint(arg2
,arg3
);
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18474 resultobj
= SWIG_Py_Void();
18481 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18482 PyObject
*resultobj
= 0;
18483 wxDC
*arg1
= (wxDC
*) 0 ;
18484 wxPoint
*arg2
= 0 ;
18488 PyObject
* obj0
= 0 ;
18489 PyObject
* obj1
= 0 ;
18490 char * kwnames
[] = {
18491 (char *) "self",(char *) "pt", NULL
18494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18496 if (!SWIG_IsOK(res1
)) {
18497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18502 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18507 wxPyEndAllowThreads(__tstate
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18510 resultobj
= SWIG_Py_Void();
18517 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
= 0;
18519 wxDC
*arg1
= (wxDC
*) 0 ;
18534 PyObject
* obj0
= 0 ;
18535 PyObject
* obj1
= 0 ;
18536 PyObject
* obj2
= 0 ;
18537 PyObject
* obj3
= 0 ;
18538 PyObject
* obj4
= 0 ;
18539 char * kwnames
[] = {
18540 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18545 if (!SWIG_IsOK(res1
)) {
18546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18548 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18550 if (!SWIG_IsOK(ecode2
)) {
18551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18553 arg2
= static_cast< int >(val2
);
18554 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18555 if (!SWIG_IsOK(ecode3
)) {
18556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18558 arg3
= static_cast< int >(val3
);
18559 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18560 if (!SWIG_IsOK(ecode4
)) {
18561 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18563 arg4
= static_cast< int >(val4
);
18564 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18565 if (!SWIG_IsOK(ecode5
)) {
18566 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18568 arg5
= static_cast< int >(val5
);
18570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18571 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18572 wxPyEndAllowThreads(__tstate
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 resultobj
= SWIG_Py_Void();
18582 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18583 PyObject
*resultobj
= 0;
18584 wxDC
*arg1
= (wxDC
*) 0 ;
18589 PyObject
* obj0
= 0 ;
18590 PyObject
* obj1
= 0 ;
18591 char * kwnames
[] = {
18592 (char *) "self",(char *) "rect", NULL
18595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18597 if (!SWIG_IsOK(res1
)) {
18598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18600 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18603 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18607 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18608 wxPyEndAllowThreads(__tstate
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18611 resultobj
= SWIG_Py_Void();
18618 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18619 PyObject
*resultobj
= 0;
18620 wxDC
*arg1
= (wxDC
*) 0 ;
18621 wxPoint
*arg2
= 0 ;
18627 PyObject
* obj0
= 0 ;
18628 PyObject
* obj1
= 0 ;
18629 PyObject
* obj2
= 0 ;
18630 char * kwnames
[] = {
18631 (char *) "self",(char *) "pt",(char *) "sz", NULL
18634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18636 if (!SWIG_IsOK(res1
)) {
18637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18639 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18642 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18646 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18650 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18651 wxPyEndAllowThreads(__tstate
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18654 resultobj
= SWIG_Py_Void();
18661 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18662 PyObject
*resultobj
= 0;
18663 wxDC
*arg1
= (wxDC
*) 0 ;
18681 PyObject
* obj0
= 0 ;
18682 PyObject
* obj1
= 0 ;
18683 PyObject
* obj2
= 0 ;
18684 PyObject
* obj3
= 0 ;
18685 PyObject
* obj4
= 0 ;
18686 PyObject
* obj5
= 0 ;
18687 char * kwnames
[] = {
18688 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18693 if (!SWIG_IsOK(res1
)) {
18694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18696 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18698 if (!SWIG_IsOK(ecode2
)) {
18699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18701 arg2
= static_cast< int >(val2
);
18702 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18703 if (!SWIG_IsOK(ecode3
)) {
18704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18706 arg3
= static_cast< int >(val3
);
18707 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18708 if (!SWIG_IsOK(ecode4
)) {
18709 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18711 arg4
= static_cast< int >(val4
);
18712 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18713 if (!SWIG_IsOK(ecode5
)) {
18714 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18716 arg5
= static_cast< int >(val5
);
18717 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18718 if (!SWIG_IsOK(ecode6
)) {
18719 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18721 arg6
= static_cast< double >(val6
);
18723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18724 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18725 wxPyEndAllowThreads(__tstate
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18728 resultobj
= SWIG_Py_Void();
18735 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18736 PyObject
*resultobj
= 0;
18737 wxDC
*arg1
= (wxDC
*) 0 ;
18745 PyObject
* obj0
= 0 ;
18746 PyObject
* obj1
= 0 ;
18747 PyObject
* obj2
= 0 ;
18748 char * kwnames
[] = {
18749 (char *) "self",(char *) "r",(char *) "radius", NULL
18752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18754 if (!SWIG_IsOK(res1
)) {
18755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18757 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18760 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18762 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18763 if (!SWIG_IsOK(ecode3
)) {
18764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18766 arg3
= static_cast< double >(val3
);
18768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18769 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18770 wxPyEndAllowThreads(__tstate
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18773 resultobj
= SWIG_Py_Void();
18780 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18781 PyObject
*resultobj
= 0;
18782 wxDC
*arg1
= (wxDC
*) 0 ;
18783 wxPoint
*arg2
= 0 ;
18792 PyObject
* obj0
= 0 ;
18793 PyObject
* obj1
= 0 ;
18794 PyObject
* obj2
= 0 ;
18795 PyObject
* obj3
= 0 ;
18796 char * kwnames
[] = {
18797 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18802 if (!SWIG_IsOK(res1
)) {
18803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18805 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18808 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18812 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18814 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18815 if (!SWIG_IsOK(ecode4
)) {
18816 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18818 arg4
= static_cast< double >(val4
);
18820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18821 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18822 wxPyEndAllowThreads(__tstate
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18825 resultobj
= SWIG_Py_Void();
18832 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18833 PyObject
*resultobj
= 0;
18834 wxDC
*arg1
= (wxDC
*) 0 ;
18846 PyObject
* obj0
= 0 ;
18847 PyObject
* obj1
= 0 ;
18848 PyObject
* obj2
= 0 ;
18849 PyObject
* obj3
= 0 ;
18850 char * kwnames
[] = {
18851 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18856 if (!SWIG_IsOK(res1
)) {
18857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18859 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18861 if (!SWIG_IsOK(ecode2
)) {
18862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18864 arg2
= static_cast< int >(val2
);
18865 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18866 if (!SWIG_IsOK(ecode3
)) {
18867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18869 arg3
= static_cast< int >(val3
);
18870 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18871 if (!SWIG_IsOK(ecode4
)) {
18872 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18874 arg4
= static_cast< int >(val4
);
18876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18878 wxPyEndAllowThreads(__tstate
);
18879 if (PyErr_Occurred()) SWIG_fail
;
18881 resultobj
= SWIG_Py_Void();
18888 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18889 PyObject
*resultobj
= 0;
18890 wxDC
*arg1
= (wxDC
*) 0 ;
18891 wxPoint
*arg2
= 0 ;
18898 PyObject
* obj0
= 0 ;
18899 PyObject
* obj1
= 0 ;
18900 PyObject
* obj2
= 0 ;
18901 char * kwnames
[] = {
18902 (char *) "self",(char *) "pt",(char *) "radius", NULL
18905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18907 if (!SWIG_IsOK(res1
)) {
18908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18910 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18913 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18915 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18916 if (!SWIG_IsOK(ecode3
)) {
18917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18919 arg3
= static_cast< int >(val3
);
18921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18922 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18923 wxPyEndAllowThreads(__tstate
);
18924 if (PyErr_Occurred()) SWIG_fail
;
18926 resultobj
= SWIG_Py_Void();
18933 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18934 PyObject
*resultobj
= 0;
18935 wxDC
*arg1
= (wxDC
*) 0 ;
18950 PyObject
* obj0
= 0 ;
18951 PyObject
* obj1
= 0 ;
18952 PyObject
* obj2
= 0 ;
18953 PyObject
* obj3
= 0 ;
18954 PyObject
* obj4
= 0 ;
18955 char * kwnames
[] = {
18956 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18961 if (!SWIG_IsOK(res1
)) {
18962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18964 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18965 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18966 if (!SWIG_IsOK(ecode2
)) {
18967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18969 arg2
= static_cast< int >(val2
);
18970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18971 if (!SWIG_IsOK(ecode3
)) {
18972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18974 arg3
= static_cast< int >(val3
);
18975 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18976 if (!SWIG_IsOK(ecode4
)) {
18977 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18979 arg4
= static_cast< int >(val4
);
18980 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18981 if (!SWIG_IsOK(ecode5
)) {
18982 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18984 arg5
= static_cast< int >(val5
);
18986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18987 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18988 wxPyEndAllowThreads(__tstate
);
18989 if (PyErr_Occurred()) SWIG_fail
;
18991 resultobj
= SWIG_Py_Void();
18998 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18999 PyObject
*resultobj
= 0;
19000 wxDC
*arg1
= (wxDC
*) 0 ;
19005 PyObject
* obj0
= 0 ;
19006 PyObject
* obj1
= 0 ;
19007 char * kwnames
[] = {
19008 (char *) "self",(char *) "rect", NULL
19011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19013 if (!SWIG_IsOK(res1
)) {
19014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19016 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19019 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19023 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19024 wxPyEndAllowThreads(__tstate
);
19025 if (PyErr_Occurred()) SWIG_fail
;
19027 resultobj
= SWIG_Py_Void();
19034 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19035 PyObject
*resultobj
= 0;
19036 wxDC
*arg1
= (wxDC
*) 0 ;
19037 wxPoint
*arg2
= 0 ;
19043 PyObject
* obj0
= 0 ;
19044 PyObject
* obj1
= 0 ;
19045 PyObject
* obj2
= 0 ;
19046 char * kwnames
[] = {
19047 (char *) "self",(char *) "pt",(char *) "sz", NULL
19050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19052 if (!SWIG_IsOK(res1
)) {
19053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19055 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19058 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19062 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19066 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19067 wxPyEndAllowThreads(__tstate
);
19068 if (PyErr_Occurred()) SWIG_fail
;
19070 resultobj
= SWIG_Py_Void();
19077 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19078 PyObject
*resultobj
= 0;
19079 wxDC
*arg1
= (wxDC
*) 0 ;
19091 PyObject
* obj0
= 0 ;
19092 PyObject
* obj1
= 0 ;
19093 PyObject
* obj2
= 0 ;
19094 PyObject
* obj3
= 0 ;
19095 char * kwnames
[] = {
19096 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19101 if (!SWIG_IsOK(res1
)) {
19102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19104 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19105 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19106 if (!SWIG_IsOK(res2
)) {
19107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19112 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19113 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19114 if (!SWIG_IsOK(ecode3
)) {
19115 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19117 arg3
= static_cast< int >(val3
);
19118 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19119 if (!SWIG_IsOK(ecode4
)) {
19120 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19122 arg4
= static_cast< int >(val4
);
19124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19125 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19126 wxPyEndAllowThreads(__tstate
);
19127 if (PyErr_Occurred()) SWIG_fail
;
19129 resultobj
= SWIG_Py_Void();
19136 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19137 PyObject
*resultobj
= 0;
19138 wxDC
*arg1
= (wxDC
*) 0 ;
19140 wxPoint
*arg3
= 0 ;
19146 PyObject
* obj0
= 0 ;
19147 PyObject
* obj1
= 0 ;
19148 PyObject
* obj2
= 0 ;
19149 char * kwnames
[] = {
19150 (char *) "self",(char *) "icon",(char *) "pt", NULL
19153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19155 if (!SWIG_IsOK(res1
)) {
19156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19158 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19159 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19160 if (!SWIG_IsOK(res2
)) {
19161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19166 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19169 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19173 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19177 resultobj
= SWIG_Py_Void();
19184 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19185 PyObject
*resultobj
= 0;
19186 wxDC
*arg1
= (wxDC
*) 0 ;
19187 wxBitmap
*arg2
= 0 ;
19190 bool arg5
= (bool) false ;
19201 PyObject
* obj0
= 0 ;
19202 PyObject
* obj1
= 0 ;
19203 PyObject
* obj2
= 0 ;
19204 PyObject
* obj3
= 0 ;
19205 PyObject
* obj4
= 0 ;
19206 char * kwnames
[] = {
19207 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19212 if (!SWIG_IsOK(res1
)) {
19213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19215 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19216 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19217 if (!SWIG_IsOK(res2
)) {
19218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19223 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19224 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19225 if (!SWIG_IsOK(ecode3
)) {
19226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19228 arg3
= static_cast< int >(val3
);
19229 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19230 if (!SWIG_IsOK(ecode4
)) {
19231 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19233 arg4
= static_cast< int >(val4
);
19235 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19236 if (!SWIG_IsOK(ecode5
)) {
19237 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19239 arg5
= static_cast< bool >(val5
);
19242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19243 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19244 wxPyEndAllowThreads(__tstate
);
19245 if (PyErr_Occurred()) SWIG_fail
;
19247 resultobj
= SWIG_Py_Void();
19254 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
= 0;
19256 wxDC
*arg1
= (wxDC
*) 0 ;
19257 wxBitmap
*arg2
= 0 ;
19258 wxPoint
*arg3
= 0 ;
19259 bool arg4
= (bool) false ;
19267 PyObject
* obj0
= 0 ;
19268 PyObject
* obj1
= 0 ;
19269 PyObject
* obj2
= 0 ;
19270 PyObject
* obj3
= 0 ;
19271 char * kwnames
[] = {
19272 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19277 if (!SWIG_IsOK(res1
)) {
19278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19280 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19281 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19282 if (!SWIG_IsOK(res2
)) {
19283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19288 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19291 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19294 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19295 if (!SWIG_IsOK(ecode4
)) {
19296 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19298 arg4
= static_cast< bool >(val4
);
19301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19302 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19303 wxPyEndAllowThreads(__tstate
);
19304 if (PyErr_Occurred()) SWIG_fail
;
19306 resultobj
= SWIG_Py_Void();
19313 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19314 PyObject
*resultobj
= 0;
19315 wxDC
*arg1
= (wxDC
*) 0 ;
19316 wxString
*arg2
= 0 ;
19321 bool temp2
= false ;
19326 PyObject
* obj0
= 0 ;
19327 PyObject
* obj1
= 0 ;
19328 PyObject
* obj2
= 0 ;
19329 PyObject
* obj3
= 0 ;
19330 char * kwnames
[] = {
19331 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19336 if (!SWIG_IsOK(res1
)) {
19337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19339 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19341 arg2
= wxString_in_helper(obj1
);
19342 if (arg2
== NULL
) SWIG_fail
;
19345 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19346 if (!SWIG_IsOK(ecode3
)) {
19347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19349 arg3
= static_cast< int >(val3
);
19350 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19351 if (!SWIG_IsOK(ecode4
)) {
19352 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19354 arg4
= static_cast< int >(val4
);
19356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19357 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19358 wxPyEndAllowThreads(__tstate
);
19359 if (PyErr_Occurred()) SWIG_fail
;
19361 resultobj
= SWIG_Py_Void();
19376 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19377 PyObject
*resultobj
= 0;
19378 wxDC
*arg1
= (wxDC
*) 0 ;
19379 wxString
*arg2
= 0 ;
19380 wxPoint
*arg3
= 0 ;
19383 bool temp2
= false ;
19385 PyObject
* obj0
= 0 ;
19386 PyObject
* obj1
= 0 ;
19387 PyObject
* obj2
= 0 ;
19388 char * kwnames
[] = {
19389 (char *) "self",(char *) "text",(char *) "pt", NULL
19392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19394 if (!SWIG_IsOK(res1
)) {
19395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19397 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19399 arg2
= wxString_in_helper(obj1
);
19400 if (arg2
== NULL
) SWIG_fail
;
19405 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19409 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19410 wxPyEndAllowThreads(__tstate
);
19411 if (PyErr_Occurred()) SWIG_fail
;
19413 resultobj
= SWIG_Py_Void();
19428 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19429 PyObject
*resultobj
= 0;
19430 wxDC
*arg1
= (wxDC
*) 0 ;
19431 wxString
*arg2
= 0 ;
19437 bool temp2
= false ;
19444 PyObject
* obj0
= 0 ;
19445 PyObject
* obj1
= 0 ;
19446 PyObject
* obj2
= 0 ;
19447 PyObject
* obj3
= 0 ;
19448 PyObject
* obj4
= 0 ;
19449 char * kwnames
[] = {
19450 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19455 if (!SWIG_IsOK(res1
)) {
19456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19458 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19460 arg2
= wxString_in_helper(obj1
);
19461 if (arg2
== NULL
) SWIG_fail
;
19464 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19465 if (!SWIG_IsOK(ecode3
)) {
19466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19468 arg3
= static_cast< int >(val3
);
19469 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19470 if (!SWIG_IsOK(ecode4
)) {
19471 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19473 arg4
= static_cast< int >(val4
);
19474 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19475 if (!SWIG_IsOK(ecode5
)) {
19476 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19478 arg5
= static_cast< double >(val5
);
19480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19481 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19482 wxPyEndAllowThreads(__tstate
);
19483 if (PyErr_Occurred()) SWIG_fail
;
19485 resultobj
= SWIG_Py_Void();
19500 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19501 PyObject
*resultobj
= 0;
19502 wxDC
*arg1
= (wxDC
*) 0 ;
19503 wxString
*arg2
= 0 ;
19504 wxPoint
*arg3
= 0 ;
19508 bool temp2
= false ;
19512 PyObject
* obj0
= 0 ;
19513 PyObject
* obj1
= 0 ;
19514 PyObject
* obj2
= 0 ;
19515 PyObject
* obj3
= 0 ;
19516 char * kwnames
[] = {
19517 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19522 if (!SWIG_IsOK(res1
)) {
19523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19525 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19527 arg2
= wxString_in_helper(obj1
);
19528 if (arg2
== NULL
) SWIG_fail
;
19533 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19535 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19536 if (!SWIG_IsOK(ecode4
)) {
19537 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19539 arg4
= static_cast< double >(val4
);
19541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19542 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19543 wxPyEndAllowThreads(__tstate
);
19544 if (PyErr_Occurred()) SWIG_fail
;
19546 resultobj
= SWIG_Py_Void();
19561 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19562 PyObject
*resultobj
= 0;
19563 wxDC
*arg1
= (wxDC
*) 0 ;
19568 wxDC
*arg6
= (wxDC
*) 0 ;
19571 int arg9
= (int) wxCOPY
;
19572 bool arg10
= (bool) false ;
19573 int arg11
= (int) -1 ;
19574 int arg12
= (int) -1 ;
19600 PyObject
* obj0
= 0 ;
19601 PyObject
* obj1
= 0 ;
19602 PyObject
* obj2
= 0 ;
19603 PyObject
* obj3
= 0 ;
19604 PyObject
* obj4
= 0 ;
19605 PyObject
* obj5
= 0 ;
19606 PyObject
* obj6
= 0 ;
19607 PyObject
* obj7
= 0 ;
19608 PyObject
* obj8
= 0 ;
19609 PyObject
* obj9
= 0 ;
19610 PyObject
* obj10
= 0 ;
19611 PyObject
* obj11
= 0 ;
19612 char * kwnames
[] = {
19613 (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
19616 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
;
19617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19618 if (!SWIG_IsOK(res1
)) {
19619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19621 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19623 if (!SWIG_IsOK(ecode2
)) {
19624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19626 arg2
= static_cast< int >(val2
);
19627 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19628 if (!SWIG_IsOK(ecode3
)) {
19629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19631 arg3
= static_cast< int >(val3
);
19632 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19633 if (!SWIG_IsOK(ecode4
)) {
19634 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19636 arg4
= static_cast< int >(val4
);
19637 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19638 if (!SWIG_IsOK(ecode5
)) {
19639 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19641 arg5
= static_cast< int >(val5
);
19642 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19643 if (!SWIG_IsOK(res6
)) {
19644 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19646 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19647 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19648 if (!SWIG_IsOK(ecode7
)) {
19649 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19651 arg7
= static_cast< int >(val7
);
19652 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19653 if (!SWIG_IsOK(ecode8
)) {
19654 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19656 arg8
= static_cast< int >(val8
);
19658 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19659 if (!SWIG_IsOK(ecode9
)) {
19660 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19662 arg9
= static_cast< int >(val9
);
19665 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19666 if (!SWIG_IsOK(ecode10
)) {
19667 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19669 arg10
= static_cast< bool >(val10
);
19672 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19673 if (!SWIG_IsOK(ecode11
)) {
19674 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19676 arg11
= static_cast< int >(val11
);
19679 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19680 if (!SWIG_IsOK(ecode12
)) {
19681 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19683 arg12
= static_cast< int >(val12
);
19686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19687 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19700 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
= 0;
19702 wxDC
*arg1
= (wxDC
*) 0 ;
19703 wxPoint
*arg2
= 0 ;
19705 wxDC
*arg4
= (wxDC
*) 0 ;
19706 wxPoint
*arg5
= 0 ;
19707 int arg6
= (int) wxCOPY
;
19708 bool arg7
= (bool) false ;
19709 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19710 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19724 PyObject
* obj0
= 0 ;
19725 PyObject
* obj1
= 0 ;
19726 PyObject
* obj2
= 0 ;
19727 PyObject
* obj3
= 0 ;
19728 PyObject
* obj4
= 0 ;
19729 PyObject
* obj5
= 0 ;
19730 PyObject
* obj6
= 0 ;
19731 PyObject
* obj7
= 0 ;
19732 char * kwnames
[] = {
19733 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19738 if (!SWIG_IsOK(res1
)) {
19739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19741 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19744 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19748 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19750 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19751 if (!SWIG_IsOK(res4
)) {
19752 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19754 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19757 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19760 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19761 if (!SWIG_IsOK(ecode6
)) {
19762 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19764 arg6
= static_cast< int >(val6
);
19767 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19768 if (!SWIG_IsOK(ecode7
)) {
19769 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19771 arg7
= static_cast< bool >(val7
);
19776 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19781 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19782 wxPyEndAllowThreads(__tstate
);
19783 if (PyErr_Occurred()) SWIG_fail
;
19786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19794 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19795 PyObject
*resultobj
= 0;
19796 wxDC
*arg1
= (wxDC
*) 0 ;
19797 wxRect
*arg2
= (wxRect
*) NULL
;
19798 SwigValueWrapper
<wxBitmap
> result
;
19803 PyObject
* obj0
= 0 ;
19804 PyObject
* obj1
= 0 ;
19805 char * kwnames
[] = {
19806 (char *) "self",(char *) "subrect", NULL
19809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19811 if (!SWIG_IsOK(res1
)) {
19812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19814 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19816 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19817 if (!SWIG_IsOK(res2
)) {
19818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19820 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19824 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19825 wxPyEndAllowThreads(__tstate
);
19826 if (PyErr_Occurred()) SWIG_fail
;
19828 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19835 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19836 PyObject
*resultobj
= 0;
19837 wxDC
*arg1
= (wxDC
*) 0 ;
19852 PyObject
* obj0
= 0 ;
19853 PyObject
* obj1
= 0 ;
19854 PyObject
* obj2
= 0 ;
19855 PyObject
* obj3
= 0 ;
19856 PyObject
* obj4
= 0 ;
19857 char * kwnames
[] = {
19858 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19863 if (!SWIG_IsOK(res1
)) {
19864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19866 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19868 if (!SWIG_IsOK(ecode2
)) {
19869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19871 arg2
= static_cast< int >(val2
);
19872 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19873 if (!SWIG_IsOK(ecode3
)) {
19874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19876 arg3
= static_cast< int >(val3
);
19877 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19878 if (!SWIG_IsOK(ecode4
)) {
19879 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19881 arg4
= static_cast< int >(val4
);
19882 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19883 if (!SWIG_IsOK(ecode5
)) {
19884 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19886 arg5
= static_cast< int >(val5
);
19888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19889 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19893 resultobj
= SWIG_Py_Void();
19900 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19901 PyObject
*resultobj
= 0;
19902 wxDC
*arg1
= (wxDC
*) 0 ;
19903 wxPoint
*arg2
= 0 ;
19909 PyObject
* obj0
= 0 ;
19910 PyObject
* obj1
= 0 ;
19911 PyObject
* obj2
= 0 ;
19912 char * kwnames
[] = {
19913 (char *) "self",(char *) "pt",(char *) "sz", NULL
19916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19918 if (!SWIG_IsOK(res1
)) {
19919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19921 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19924 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19928 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19932 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19933 wxPyEndAllowThreads(__tstate
);
19934 if (PyErr_Occurred()) SWIG_fail
;
19936 resultobj
= SWIG_Py_Void();
19943 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19944 PyObject
*resultobj
= 0;
19945 wxDC
*arg1
= (wxDC
*) 0 ;
19946 wxRegion
*arg2
= 0 ;
19951 PyObject
* obj0
= 0 ;
19952 PyObject
* obj1
= 0 ;
19953 char * kwnames
[] = {
19954 (char *) "self",(char *) "region", NULL
19957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19959 if (!SWIG_IsOK(res1
)) {
19960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19962 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19963 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19964 if (!SWIG_IsOK(res2
)) {
19965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19970 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19973 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19974 wxPyEndAllowThreads(__tstate
);
19975 if (PyErr_Occurred()) SWIG_fail
;
19977 resultobj
= SWIG_Py_Void();
19984 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19985 PyObject
*resultobj
= 0;
19986 wxDC
*arg1
= (wxDC
*) 0 ;
19991 PyObject
* obj0
= 0 ;
19992 PyObject
* obj1
= 0 ;
19993 char * kwnames
[] = {
19994 (char *) "self",(char *) "rect", NULL
19997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19999 if (!SWIG_IsOK(res1
)) {
20000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20002 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20005 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20009 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20010 wxPyEndAllowThreads(__tstate
);
20011 if (PyErr_Occurred()) SWIG_fail
;
20013 resultobj
= SWIG_Py_Void();
20020 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20021 PyObject
*resultobj
= 0;
20022 wxDC
*arg1
= (wxDC
*) 0 ;
20024 wxPoint
*arg3
= (wxPoint
*) 0 ;
20025 int arg4
= (int) 0 ;
20026 int arg5
= (int) 0 ;
20033 PyObject
* obj0
= 0 ;
20034 PyObject
* obj1
= 0 ;
20035 PyObject
* obj2
= 0 ;
20036 PyObject
* obj3
= 0 ;
20037 char * kwnames
[] = {
20038 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20043 if (!SWIG_IsOK(res1
)) {
20044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20046 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20048 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20049 if (arg3
== NULL
) SWIG_fail
;
20052 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20053 if (!SWIG_IsOK(ecode4
)) {
20054 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20056 arg4
= static_cast< int >(val4
);
20059 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20060 if (!SWIG_IsOK(ecode5
)) {
20061 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20063 arg5
= static_cast< int >(val5
);
20066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20067 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20071 resultobj
= SWIG_Py_Void();
20073 if (arg3
) delete [] arg3
;
20078 if (arg3
) delete [] arg3
;
20084 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20085 PyObject
*resultobj
= 0;
20086 wxDC
*arg1
= (wxDC
*) 0 ;
20088 wxPoint
*arg3
= (wxPoint
*) 0 ;
20089 int arg4
= (int) 0 ;
20090 int arg5
= (int) 0 ;
20091 int arg6
= (int) wxODDEVEN_RULE
;
20100 PyObject
* obj0
= 0 ;
20101 PyObject
* obj1
= 0 ;
20102 PyObject
* obj2
= 0 ;
20103 PyObject
* obj3
= 0 ;
20104 PyObject
* obj4
= 0 ;
20105 char * kwnames
[] = {
20106 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20111 if (!SWIG_IsOK(res1
)) {
20112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20114 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20116 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20117 if (arg3
== NULL
) SWIG_fail
;
20120 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20121 if (!SWIG_IsOK(ecode4
)) {
20122 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20124 arg4
= static_cast< int >(val4
);
20127 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20128 if (!SWIG_IsOK(ecode5
)) {
20129 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20131 arg5
= static_cast< int >(val5
);
20134 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20135 if (!SWIG_IsOK(ecode6
)) {
20136 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20138 arg6
= static_cast< int >(val6
);
20141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20142 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20143 wxPyEndAllowThreads(__tstate
);
20144 if (PyErr_Occurred()) SWIG_fail
;
20146 resultobj
= SWIG_Py_Void();
20148 if (arg3
) delete [] arg3
;
20153 if (arg3
) delete [] arg3
;
20159 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20160 PyObject
*resultobj
= 0;
20161 wxDC
*arg1
= (wxDC
*) 0 ;
20162 wxString
*arg2
= 0 ;
20164 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20165 int arg5
= (int) -1 ;
20168 bool temp2
= false ;
20174 PyObject
* obj0
= 0 ;
20175 PyObject
* obj1
= 0 ;
20176 PyObject
* obj2
= 0 ;
20177 PyObject
* obj3
= 0 ;
20178 PyObject
* obj4
= 0 ;
20179 char * kwnames
[] = {
20180 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20185 if (!SWIG_IsOK(res1
)) {
20186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20188 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20190 arg2
= wxString_in_helper(obj1
);
20191 if (arg2
== NULL
) SWIG_fail
;
20196 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20199 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20200 if (!SWIG_IsOK(ecode4
)) {
20201 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20203 arg4
= static_cast< int >(val4
);
20206 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20207 if (!SWIG_IsOK(ecode5
)) {
20208 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20210 arg5
= static_cast< int >(val5
);
20213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20214 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20215 wxPyEndAllowThreads(__tstate
);
20216 if (PyErr_Occurred()) SWIG_fail
;
20218 resultobj
= SWIG_Py_Void();
20233 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20234 PyObject
*resultobj
= 0;
20235 wxDC
*arg1
= (wxDC
*) 0 ;
20236 wxString
*arg2
= 0 ;
20237 wxBitmap
*arg3
= 0 ;
20239 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20240 int arg6
= (int) -1 ;
20244 bool temp2
= false ;
20252 PyObject
* obj0
= 0 ;
20253 PyObject
* obj1
= 0 ;
20254 PyObject
* obj2
= 0 ;
20255 PyObject
* obj3
= 0 ;
20256 PyObject
* obj4
= 0 ;
20257 PyObject
* obj5
= 0 ;
20258 char * kwnames
[] = {
20259 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20264 if (!SWIG_IsOK(res1
)) {
20265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20267 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20269 arg2
= wxString_in_helper(obj1
);
20270 if (arg2
== NULL
) SWIG_fail
;
20273 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20274 if (!SWIG_IsOK(res3
)) {
20275 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20280 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20283 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20286 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20287 if (!SWIG_IsOK(ecode5
)) {
20288 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20290 arg5
= static_cast< int >(val5
);
20293 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20294 if (!SWIG_IsOK(ecode6
)) {
20295 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20297 arg6
= static_cast< int >(val6
);
20300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20301 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20302 wxPyEndAllowThreads(__tstate
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20305 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20320 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20321 PyObject
*resultobj
= 0;
20322 wxDC
*arg1
= (wxDC
*) 0 ;
20324 wxPoint
*arg3
= (wxPoint
*) 0 ;
20327 PyObject
* obj0
= 0 ;
20328 PyObject
* obj1
= 0 ;
20329 char * kwnames
[] = {
20330 (char *) "self",(char *) "points", NULL
20333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20335 if (!SWIG_IsOK(res1
)) {
20336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20338 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20340 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20341 if (arg3
== NULL
) SWIG_fail
;
20344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20345 (arg1
)->DrawSpline(arg2
,arg3
);
20346 wxPyEndAllowThreads(__tstate
);
20347 if (PyErr_Occurred()) SWIG_fail
;
20349 resultobj
= SWIG_Py_Void();
20351 if (arg3
) delete [] arg3
;
20356 if (arg3
) delete [] arg3
;
20362 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20363 PyObject
*resultobj
= 0;
20364 wxDC
*arg1
= (wxDC
*) 0 ;
20367 PyObject
*swig_obj
[1] ;
20369 if (!args
) SWIG_fail
;
20370 swig_obj
[0] = args
;
20371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20372 if (!SWIG_IsOK(res1
)) {
20373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20375 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 wxPyEndAllowThreads(__tstate
);
20380 if (PyErr_Occurred()) SWIG_fail
;
20382 resultobj
= SWIG_Py_Void();
20389 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20390 PyObject
*resultobj
= 0;
20391 wxDC
*arg1
= (wxDC
*) 0 ;
20392 wxString
*arg2
= 0 ;
20396 bool temp2
= false ;
20397 PyObject
* obj0
= 0 ;
20398 PyObject
* obj1
= 0 ;
20399 char * kwnames
[] = {
20400 (char *) "self",(char *) "message", NULL
20403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20405 if (!SWIG_IsOK(res1
)) {
20406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20408 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20410 arg2
= wxString_in_helper(obj1
);
20411 if (arg2
== NULL
) SWIG_fail
;
20415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20416 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20417 wxPyEndAllowThreads(__tstate
);
20418 if (PyErr_Occurred()) SWIG_fail
;
20421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20437 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20438 PyObject
*resultobj
= 0;
20439 wxDC
*arg1
= (wxDC
*) 0 ;
20442 PyObject
*swig_obj
[1] ;
20444 if (!args
) SWIG_fail
;
20445 swig_obj
[0] = args
;
20446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20447 if (!SWIG_IsOK(res1
)) {
20448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20450 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20454 wxPyEndAllowThreads(__tstate
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20457 resultobj
= SWIG_Py_Void();
20464 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20465 PyObject
*resultobj
= 0;
20466 wxDC
*arg1
= (wxDC
*) 0 ;
20469 PyObject
*swig_obj
[1] ;
20471 if (!args
) SWIG_fail
;
20472 swig_obj
[0] = args
;
20473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20474 if (!SWIG_IsOK(res1
)) {
20475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20477 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 (arg1
)->StartPage();
20481 wxPyEndAllowThreads(__tstate
);
20482 if (PyErr_Occurred()) SWIG_fail
;
20484 resultobj
= SWIG_Py_Void();
20491 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20492 PyObject
*resultobj
= 0;
20493 wxDC
*arg1
= (wxDC
*) 0 ;
20496 PyObject
*swig_obj
[1] ;
20498 if (!args
) SWIG_fail
;
20499 swig_obj
[0] = args
;
20500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20501 if (!SWIG_IsOK(res1
)) {
20502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20504 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20508 wxPyEndAllowThreads(__tstate
);
20509 if (PyErr_Occurred()) SWIG_fail
;
20511 resultobj
= SWIG_Py_Void();
20518 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20519 PyObject
*resultobj
= 0;
20520 wxDC
*arg1
= (wxDC
*) 0 ;
20526 PyObject
* obj0
= 0 ;
20527 PyObject
* obj1
= 0 ;
20528 char * kwnames
[] = {
20529 (char *) "self",(char *) "font", NULL
20532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20534 if (!SWIG_IsOK(res1
)) {
20535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20537 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20538 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20539 if (!SWIG_IsOK(res2
)) {
20540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20545 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20548 (arg1
)->SetFont((wxFont
const &)*arg2
);
20549 wxPyEndAllowThreads(__tstate
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20552 resultobj
= SWIG_Py_Void();
20559 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20560 PyObject
*resultobj
= 0;
20561 wxDC
*arg1
= (wxDC
*) 0 ;
20567 PyObject
* obj0
= 0 ;
20568 PyObject
* obj1
= 0 ;
20569 char * kwnames
[] = {
20570 (char *) "self",(char *) "pen", NULL
20573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20575 if (!SWIG_IsOK(res1
)) {
20576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20578 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20579 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20580 if (!SWIG_IsOK(res2
)) {
20581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20586 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20589 (arg1
)->SetPen((wxPen
const &)*arg2
);
20590 wxPyEndAllowThreads(__tstate
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20593 resultobj
= SWIG_Py_Void();
20600 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20601 PyObject
*resultobj
= 0;
20602 wxDC
*arg1
= (wxDC
*) 0 ;
20603 wxBrush
*arg2
= 0 ;
20608 PyObject
* obj0
= 0 ;
20609 PyObject
* obj1
= 0 ;
20610 char * kwnames
[] = {
20611 (char *) "self",(char *) "brush", NULL
20614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20616 if (!SWIG_IsOK(res1
)) {
20617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20619 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20620 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20621 if (!SWIG_IsOK(res2
)) {
20622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20627 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20630 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20631 wxPyEndAllowThreads(__tstate
);
20632 if (PyErr_Occurred()) SWIG_fail
;
20634 resultobj
= SWIG_Py_Void();
20641 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20642 PyObject
*resultobj
= 0;
20643 wxDC
*arg1
= (wxDC
*) 0 ;
20644 wxBrush
*arg2
= 0 ;
20649 PyObject
* obj0
= 0 ;
20650 PyObject
* obj1
= 0 ;
20651 char * kwnames
[] = {
20652 (char *) "self",(char *) "brush", NULL
20655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20657 if (!SWIG_IsOK(res1
)) {
20658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20660 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20661 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20662 if (!SWIG_IsOK(res2
)) {
20663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20668 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20671 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20672 wxPyEndAllowThreads(__tstate
);
20673 if (PyErr_Occurred()) SWIG_fail
;
20675 resultobj
= SWIG_Py_Void();
20682 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20683 PyObject
*resultobj
= 0;
20684 wxDC
*arg1
= (wxDC
*) 0 ;
20690 PyObject
* obj0
= 0 ;
20691 PyObject
* obj1
= 0 ;
20692 char * kwnames
[] = {
20693 (char *) "self",(char *) "mode", NULL
20696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20698 if (!SWIG_IsOK(res1
)) {
20699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20701 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20703 if (!SWIG_IsOK(ecode2
)) {
20704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20706 arg2
= static_cast< int >(val2
);
20708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20709 (arg1
)->SetBackgroundMode(arg2
);
20710 wxPyEndAllowThreads(__tstate
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20713 resultobj
= SWIG_Py_Void();
20720 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20721 PyObject
*resultobj
= 0;
20722 wxDC
*arg1
= (wxDC
*) 0 ;
20723 wxPalette
*arg2
= 0 ;
20728 PyObject
* obj0
= 0 ;
20729 PyObject
* obj1
= 0 ;
20730 char * kwnames
[] = {
20731 (char *) "self",(char *) "palette", NULL
20734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20736 if (!SWIG_IsOK(res1
)) {
20737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20739 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20740 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20741 if (!SWIG_IsOK(res2
)) {
20742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20745 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20747 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20750 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20751 wxPyEndAllowThreads(__tstate
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20754 resultobj
= SWIG_Py_Void();
20761 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20762 PyObject
*resultobj
= 0;
20763 wxDC
*arg1
= (wxDC
*) 0 ;
20766 PyObject
*swig_obj
[1] ;
20768 if (!args
) SWIG_fail
;
20769 swig_obj
[0] = args
;
20770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20771 if (!SWIG_IsOK(res1
)) {
20772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20774 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20777 (arg1
)->DestroyClippingRegion();
20778 wxPyEndAllowThreads(__tstate
);
20779 if (PyErr_Occurred()) SWIG_fail
;
20781 resultobj
= SWIG_Py_Void();
20788 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20789 PyObject
*resultobj
= 0;
20790 wxDC
*arg1
= (wxDC
*) 0 ;
20791 int *arg2
= (int *) 0 ;
20792 int *arg3
= (int *) 0 ;
20793 int *arg4
= (int *) 0 ;
20794 int *arg5
= (int *) 0 ;
20798 int res2
= SWIG_TMPOBJ
;
20800 int res3
= SWIG_TMPOBJ
;
20802 int res4
= SWIG_TMPOBJ
;
20804 int res5
= SWIG_TMPOBJ
;
20805 PyObject
*swig_obj
[1] ;
20811 if (!args
) SWIG_fail
;
20812 swig_obj
[0] = args
;
20813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20814 if (!SWIG_IsOK(res1
)) {
20815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20817 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20820 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20821 wxPyEndAllowThreads(__tstate
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20824 resultobj
= SWIG_Py_Void();
20825 if (SWIG_IsTmpObj(res2
)) {
20826 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20828 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20829 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20831 if (SWIG_IsTmpObj(res3
)) {
20832 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20834 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20835 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20837 if (SWIG_IsTmpObj(res4
)) {
20838 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20840 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20841 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20843 if (SWIG_IsTmpObj(res5
)) {
20844 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20846 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20847 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20855 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20856 PyObject
*resultobj
= 0;
20857 wxDC
*arg1
= (wxDC
*) 0 ;
20861 PyObject
*swig_obj
[1] ;
20863 if (!args
) SWIG_fail
;
20864 swig_obj
[0] = args
;
20865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20866 if (!SWIG_IsOK(res1
)) {
20867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20869 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20872 result
= wxDC_GetClippingRect(arg1
);
20873 wxPyEndAllowThreads(__tstate
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20876 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20883 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20884 PyObject
*resultobj
= 0;
20885 wxDC
*arg1
= (wxDC
*) 0 ;
20889 PyObject
*swig_obj
[1] ;
20891 if (!args
) SWIG_fail
;
20892 swig_obj
[0] = args
;
20893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20894 if (!SWIG_IsOK(res1
)) {
20895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20897 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20900 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20904 resultobj
= SWIG_From_int(static_cast< int >(result
));
20911 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20912 PyObject
*resultobj
= 0;
20913 wxDC
*arg1
= (wxDC
*) 0 ;
20917 PyObject
*swig_obj
[1] ;
20919 if (!args
) SWIG_fail
;
20920 swig_obj
[0] = args
;
20921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20922 if (!SWIG_IsOK(res1
)) {
20923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20925 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20928 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20929 wxPyEndAllowThreads(__tstate
);
20930 if (PyErr_Occurred()) SWIG_fail
;
20932 resultobj
= SWIG_From_int(static_cast< int >(result
));
20939 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20940 PyObject
*resultobj
= 0;
20941 wxDC
*arg1
= (wxDC
*) 0 ;
20942 wxString
*arg2
= 0 ;
20943 int *arg3
= (int *) 0 ;
20944 int *arg4
= (int *) 0 ;
20947 bool temp2
= false ;
20949 int res3
= SWIG_TMPOBJ
;
20951 int res4
= SWIG_TMPOBJ
;
20952 PyObject
* obj0
= 0 ;
20953 PyObject
* obj1
= 0 ;
20954 char * kwnames
[] = {
20955 (char *) "self",(char *) "string", NULL
20960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20962 if (!SWIG_IsOK(res1
)) {
20963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20965 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20967 arg2
= wxString_in_helper(obj1
);
20968 if (arg2
== NULL
) SWIG_fail
;
20972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20973 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20974 wxPyEndAllowThreads(__tstate
);
20975 if (PyErr_Occurred()) SWIG_fail
;
20977 resultobj
= SWIG_Py_Void();
20978 if (SWIG_IsTmpObj(res3
)) {
20979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20981 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20984 if (SWIG_IsTmpObj(res4
)) {
20985 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20987 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20988 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21004 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21005 PyObject
*resultobj
= 0;
21006 wxDC
*arg1
= (wxDC
*) 0 ;
21007 wxString
*arg2
= 0 ;
21008 int *arg3
= (int *) 0 ;
21009 int *arg4
= (int *) 0 ;
21010 int *arg5
= (int *) 0 ;
21011 int *arg6
= (int *) 0 ;
21012 wxFont
*arg7
= (wxFont
*) NULL
;
21015 bool temp2
= false ;
21017 int res3
= SWIG_TMPOBJ
;
21019 int res4
= SWIG_TMPOBJ
;
21021 int res5
= SWIG_TMPOBJ
;
21023 int res6
= SWIG_TMPOBJ
;
21026 PyObject
* obj0
= 0 ;
21027 PyObject
* obj1
= 0 ;
21028 PyObject
* obj2
= 0 ;
21029 char * kwnames
[] = {
21030 (char *) "self",(char *) "string",(char *) "font", NULL
21037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21039 if (!SWIG_IsOK(res1
)) {
21040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21042 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21044 arg2
= wxString_in_helper(obj1
);
21045 if (arg2
== NULL
) SWIG_fail
;
21049 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21050 if (!SWIG_IsOK(res7
)) {
21051 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21053 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21057 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21058 wxPyEndAllowThreads(__tstate
);
21059 if (PyErr_Occurred()) SWIG_fail
;
21061 resultobj
= SWIG_Py_Void();
21062 if (SWIG_IsTmpObj(res3
)) {
21063 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21065 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21066 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21068 if (SWIG_IsTmpObj(res4
)) {
21069 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21071 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21072 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21074 if (SWIG_IsTmpObj(res5
)) {
21075 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21077 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21078 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21080 if (SWIG_IsTmpObj(res6
)) {
21081 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21083 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21084 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21100 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21101 PyObject
*resultobj
= 0;
21102 wxDC
*arg1
= (wxDC
*) 0 ;
21103 wxString
*arg2
= 0 ;
21104 int *arg3
= (int *) 0 ;
21105 int *arg4
= (int *) 0 ;
21106 int *arg5
= (int *) 0 ;
21107 wxFont
*arg6
= (wxFont
*) NULL
;
21110 bool temp2
= false ;
21112 int res3
= SWIG_TMPOBJ
;
21114 int res4
= SWIG_TMPOBJ
;
21116 int res5
= SWIG_TMPOBJ
;
21119 PyObject
* obj0
= 0 ;
21120 PyObject
* obj1
= 0 ;
21121 PyObject
* obj2
= 0 ;
21122 char * kwnames
[] = {
21123 (char *) "self",(char *) "text",(char *) "font", NULL
21129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21131 if (!SWIG_IsOK(res1
)) {
21132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21134 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21136 arg2
= wxString_in_helper(obj1
);
21137 if (arg2
== NULL
) SWIG_fail
;
21141 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21142 if (!SWIG_IsOK(res6
)) {
21143 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21145 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21149 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21153 resultobj
= SWIG_Py_Void();
21154 if (SWIG_IsTmpObj(res3
)) {
21155 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21157 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21160 if (SWIG_IsTmpObj(res4
)) {
21161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21163 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21164 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21166 if (SWIG_IsTmpObj(res5
)) {
21167 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21169 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21170 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21186 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21187 PyObject
*resultobj
= 0;
21188 wxDC
*arg1
= (wxDC
*) 0 ;
21189 wxString
*arg2
= 0 ;
21193 bool temp2
= false ;
21194 PyObject
* obj0
= 0 ;
21195 PyObject
* obj1
= 0 ;
21196 char * kwnames
[] = {
21197 (char *) "self",(char *) "text", NULL
21200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21202 if (!SWIG_IsOK(res1
)) {
21203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21205 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21207 arg2
= wxString_in_helper(obj1
);
21208 if (arg2
== NULL
) SWIG_fail
;
21212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21213 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21214 wxPyEndAllowThreads(__tstate
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21218 resultobj
= wxArrayInt2PyList_helper(result
);
21234 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21235 PyObject
*resultobj
= 0;
21236 wxDC
*arg1
= (wxDC
*) 0 ;
21240 PyObject
*swig_obj
[1] ;
21242 if (!args
) SWIG_fail
;
21243 swig_obj
[0] = args
;
21244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21245 if (!SWIG_IsOK(res1
)) {
21246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21248 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21251 result
= (arg1
)->GetSize();
21252 wxPyEndAllowThreads(__tstate
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21255 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21262 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21263 PyObject
*resultobj
= 0;
21264 wxDC
*arg1
= (wxDC
*) 0 ;
21265 int *arg2
= (int *) 0 ;
21266 int *arg3
= (int *) 0 ;
21270 int res2
= SWIG_TMPOBJ
;
21272 int res3
= SWIG_TMPOBJ
;
21273 PyObject
*swig_obj
[1] ;
21277 if (!args
) SWIG_fail
;
21278 swig_obj
[0] = args
;
21279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21280 if (!SWIG_IsOK(res1
)) {
21281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21283 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21286 (arg1
)->GetSize(arg2
,arg3
);
21287 wxPyEndAllowThreads(__tstate
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21290 resultobj
= SWIG_Py_Void();
21291 if (SWIG_IsTmpObj(res2
)) {
21292 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21294 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21295 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21297 if (SWIG_IsTmpObj(res3
)) {
21298 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21300 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21301 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21309 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21310 PyObject
*resultobj
= 0;
21311 wxDC
*arg1
= (wxDC
*) 0 ;
21315 PyObject
*swig_obj
[1] ;
21317 if (!args
) SWIG_fail
;
21318 swig_obj
[0] = args
;
21319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21320 if (!SWIG_IsOK(res1
)) {
21321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21323 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21327 wxPyEndAllowThreads(__tstate
);
21328 if (PyErr_Occurred()) SWIG_fail
;
21330 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21337 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21338 PyObject
*resultobj
= 0;
21339 wxDC
*arg1
= (wxDC
*) 0 ;
21340 int *arg2
= (int *) 0 ;
21341 int *arg3
= (int *) 0 ;
21345 int res2
= SWIG_TMPOBJ
;
21347 int res3
= SWIG_TMPOBJ
;
21348 PyObject
*swig_obj
[1] ;
21352 if (!args
) SWIG_fail
;
21353 swig_obj
[0] = args
;
21354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21355 if (!SWIG_IsOK(res1
)) {
21356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21358 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21361 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21362 wxPyEndAllowThreads(__tstate
);
21363 if (PyErr_Occurred()) SWIG_fail
;
21365 resultobj
= SWIG_Py_Void();
21366 if (SWIG_IsTmpObj(res2
)) {
21367 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21369 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21370 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21372 if (SWIG_IsTmpObj(res3
)) {
21373 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21375 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21376 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21384 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21385 PyObject
*resultobj
= 0;
21386 wxDC
*arg1
= (wxDC
*) 0 ;
21393 PyObject
* obj0
= 0 ;
21394 PyObject
* obj1
= 0 ;
21395 char * kwnames
[] = {
21396 (char *) "self",(char *) "x", NULL
21399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21401 if (!SWIG_IsOK(res1
)) {
21402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21404 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21406 if (!SWIG_IsOK(ecode2
)) {
21407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21409 arg2
= static_cast< int >(val2
);
21411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21412 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21413 wxPyEndAllowThreads(__tstate
);
21414 if (PyErr_Occurred()) SWIG_fail
;
21416 resultobj
= SWIG_From_int(static_cast< int >(result
));
21423 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21424 PyObject
*resultobj
= 0;
21425 wxDC
*arg1
= (wxDC
*) 0 ;
21432 PyObject
* obj0
= 0 ;
21433 PyObject
* obj1
= 0 ;
21434 char * kwnames
[] = {
21435 (char *) "self",(char *) "y", NULL
21438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21440 if (!SWIG_IsOK(res1
)) {
21441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21443 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21445 if (!SWIG_IsOK(ecode2
)) {
21446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21448 arg2
= static_cast< int >(val2
);
21450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21451 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21452 wxPyEndAllowThreads(__tstate
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21455 resultobj
= SWIG_From_int(static_cast< int >(result
));
21462 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21463 PyObject
*resultobj
= 0;
21464 wxDC
*arg1
= (wxDC
*) 0 ;
21471 PyObject
* obj0
= 0 ;
21472 PyObject
* obj1
= 0 ;
21473 char * kwnames
[] = {
21474 (char *) "self",(char *) "x", NULL
21477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21479 if (!SWIG_IsOK(res1
)) {
21480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21482 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21484 if (!SWIG_IsOK(ecode2
)) {
21485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21487 arg2
= static_cast< int >(val2
);
21489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21490 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21494 resultobj
= SWIG_From_int(static_cast< int >(result
));
21501 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21502 PyObject
*resultobj
= 0;
21503 wxDC
*arg1
= (wxDC
*) 0 ;
21510 PyObject
* obj0
= 0 ;
21511 PyObject
* obj1
= 0 ;
21512 char * kwnames
[] = {
21513 (char *) "self",(char *) "y", NULL
21516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21518 if (!SWIG_IsOK(res1
)) {
21519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21521 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21523 if (!SWIG_IsOK(ecode2
)) {
21524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21526 arg2
= static_cast< int >(val2
);
21528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21529 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21530 wxPyEndAllowThreads(__tstate
);
21531 if (PyErr_Occurred()) SWIG_fail
;
21533 resultobj
= SWIG_From_int(static_cast< int >(result
));
21540 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21541 PyObject
*resultobj
= 0;
21542 wxDC
*arg1
= (wxDC
*) 0 ;
21549 PyObject
* obj0
= 0 ;
21550 PyObject
* obj1
= 0 ;
21551 char * kwnames
[] = {
21552 (char *) "self",(char *) "x", NULL
21555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21557 if (!SWIG_IsOK(res1
)) {
21558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21560 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21561 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21562 if (!SWIG_IsOK(ecode2
)) {
21563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21565 arg2
= static_cast< int >(val2
);
21567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21568 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21569 wxPyEndAllowThreads(__tstate
);
21570 if (PyErr_Occurred()) SWIG_fail
;
21572 resultobj
= SWIG_From_int(static_cast< int >(result
));
21579 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21580 PyObject
*resultobj
= 0;
21581 wxDC
*arg1
= (wxDC
*) 0 ;
21588 PyObject
* obj0
= 0 ;
21589 PyObject
* obj1
= 0 ;
21590 char * kwnames
[] = {
21591 (char *) "self",(char *) "y", NULL
21594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21596 if (!SWIG_IsOK(res1
)) {
21597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21599 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21600 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21601 if (!SWIG_IsOK(ecode2
)) {
21602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21604 arg2
= static_cast< int >(val2
);
21606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21607 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21608 wxPyEndAllowThreads(__tstate
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21611 resultobj
= SWIG_From_int(static_cast< int >(result
));
21618 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21619 PyObject
*resultobj
= 0;
21620 wxDC
*arg1
= (wxDC
*) 0 ;
21627 PyObject
* obj0
= 0 ;
21628 PyObject
* obj1
= 0 ;
21629 char * kwnames
[] = {
21630 (char *) "self",(char *) "x", NULL
21633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21635 if (!SWIG_IsOK(res1
)) {
21636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21638 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21640 if (!SWIG_IsOK(ecode2
)) {
21641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21643 arg2
= static_cast< int >(val2
);
21645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21646 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21647 wxPyEndAllowThreads(__tstate
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21650 resultobj
= SWIG_From_int(static_cast< int >(result
));
21657 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21658 PyObject
*resultobj
= 0;
21659 wxDC
*arg1
= (wxDC
*) 0 ;
21666 PyObject
* obj0
= 0 ;
21667 PyObject
* obj1
= 0 ;
21668 char * kwnames
[] = {
21669 (char *) "self",(char *) "y", NULL
21672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21674 if (!SWIG_IsOK(res1
)) {
21675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21677 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21678 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21679 if (!SWIG_IsOK(ecode2
)) {
21680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21682 arg2
= static_cast< int >(val2
);
21684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21685 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21686 wxPyEndAllowThreads(__tstate
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21689 resultobj
= SWIG_From_int(static_cast< int >(result
));
21696 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21697 PyObject
*resultobj
= 0;
21698 wxDC
*arg1
= (wxDC
*) 0 ;
21702 PyObject
*swig_obj
[1] ;
21704 if (!args
) SWIG_fail
;
21705 swig_obj
[0] = args
;
21706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21707 if (!SWIG_IsOK(res1
)) {
21708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21710 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21713 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21714 wxPyEndAllowThreads(__tstate
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21726 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21727 PyObject
*resultobj
= 0;
21728 wxDC
*arg1
= (wxDC
*) 0 ;
21732 PyObject
*swig_obj
[1] ;
21734 if (!args
) SWIG_fail
;
21735 swig_obj
[0] = args
;
21736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21737 if (!SWIG_IsOK(res1
)) {
21738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21740 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21743 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21744 wxPyEndAllowThreads(__tstate
);
21745 if (PyErr_Occurred()) SWIG_fail
;
21748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21756 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21757 PyObject
*resultobj
= 0;
21758 wxDC
*arg1
= (wxDC
*) 0 ;
21762 PyObject
*swig_obj
[1] ;
21764 if (!args
) SWIG_fail
;
21765 swig_obj
[0] = args
;
21766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21767 if (!SWIG_IsOK(res1
)) {
21768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21770 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21773 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21774 wxPyEndAllowThreads(__tstate
);
21775 if (PyErr_Occurred()) SWIG_fail
;
21777 resultobj
= SWIG_From_int(static_cast< int >(result
));
21784 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21785 PyObject
*resultobj
= 0;
21786 wxDC
*arg1
= (wxDC
*) 0 ;
21790 PyObject
*swig_obj
[1] ;
21792 if (!args
) SWIG_fail
;
21793 swig_obj
[0] = args
;
21794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21795 if (!SWIG_IsOK(res1
)) {
21796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21798 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21801 result
= ((wxDC
const *)arg1
)->GetPPI();
21802 wxPyEndAllowThreads(__tstate
);
21803 if (PyErr_Occurred()) SWIG_fail
;
21805 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21812 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21813 PyObject
*resultobj
= 0;
21814 wxDC
*arg1
= (wxDC
*) 0 ;
21818 PyObject
*swig_obj
[1] ;
21820 if (!args
) SWIG_fail
;
21821 swig_obj
[0] = args
;
21822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21823 if (!SWIG_IsOK(res1
)) {
21824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21826 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21829 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21830 wxPyEndAllowThreads(__tstate
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21842 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21843 PyObject
*resultobj
= 0;
21844 wxDC
*arg1
= (wxDC
*) 0 ;
21848 PyObject
*swig_obj
[1] ;
21850 if (!args
) SWIG_fail
;
21851 swig_obj
[0] = args
;
21852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21853 if (!SWIG_IsOK(res1
)) {
21854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21856 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21860 wxPyEndAllowThreads(__tstate
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21863 resultobj
= SWIG_From_int(static_cast< int >(result
));
21870 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21871 PyObject
*resultobj
= 0;
21872 wxDC
*arg1
= (wxDC
*) 0 ;
21873 wxBrush
*result
= 0 ;
21876 PyObject
*swig_obj
[1] ;
21878 if (!args
) SWIG_fail
;
21879 swig_obj
[0] = args
;
21880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21881 if (!SWIG_IsOK(res1
)) {
21882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21884 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21888 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21889 result
= (wxBrush
*) &_result_ref
;
21891 wxPyEndAllowThreads(__tstate
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21895 wxBrush
* resultptr
= new wxBrush(*result
);
21896 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21904 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21905 PyObject
*resultobj
= 0;
21906 wxDC
*arg1
= (wxDC
*) 0 ;
21907 wxBrush
*result
= 0 ;
21910 PyObject
*swig_obj
[1] ;
21912 if (!args
) SWIG_fail
;
21913 swig_obj
[0] = args
;
21914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21915 if (!SWIG_IsOK(res1
)) {
21916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21918 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21922 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21923 result
= (wxBrush
*) &_result_ref
;
21925 wxPyEndAllowThreads(__tstate
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21929 wxBrush
* resultptr
= new wxBrush(*result
);
21930 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21938 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21939 PyObject
*resultobj
= 0;
21940 wxDC
*arg1
= (wxDC
*) 0 ;
21941 wxFont
*result
= 0 ;
21944 PyObject
*swig_obj
[1] ;
21946 if (!args
) SWIG_fail
;
21947 swig_obj
[0] = args
;
21948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21949 if (!SWIG_IsOK(res1
)) {
21950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21952 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21956 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21957 result
= (wxFont
*) &_result_ref
;
21959 wxPyEndAllowThreads(__tstate
);
21960 if (PyErr_Occurred()) SWIG_fail
;
21963 wxFont
* resultptr
= new wxFont(*result
);
21964 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21972 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21973 PyObject
*resultobj
= 0;
21974 wxDC
*arg1
= (wxDC
*) 0 ;
21975 wxPen
*result
= 0 ;
21978 PyObject
*swig_obj
[1] ;
21980 if (!args
) SWIG_fail
;
21981 swig_obj
[0] = args
;
21982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21983 if (!SWIG_IsOK(res1
)) {
21984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21986 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21990 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21991 result
= (wxPen
*) &_result_ref
;
21993 wxPyEndAllowThreads(__tstate
);
21994 if (PyErr_Occurred()) SWIG_fail
;
21997 wxPen
* resultptr
= new wxPen(*result
);
21998 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22006 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22007 PyObject
*resultobj
= 0;
22008 wxDC
*arg1
= (wxDC
*) 0 ;
22009 wxColour
*result
= 0 ;
22012 PyObject
*swig_obj
[1] ;
22014 if (!args
) SWIG_fail
;
22015 swig_obj
[0] = args
;
22016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22017 if (!SWIG_IsOK(res1
)) {
22018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22020 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22024 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22025 result
= (wxColour
*) &_result_ref
;
22027 wxPyEndAllowThreads(__tstate
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22037 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22038 PyObject
*resultobj
= 0;
22039 wxDC
*arg1
= (wxDC
*) 0 ;
22040 wxColour
*result
= 0 ;
22043 PyObject
*swig_obj
[1] ;
22045 if (!args
) SWIG_fail
;
22046 swig_obj
[0] = args
;
22047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22048 if (!SWIG_IsOK(res1
)) {
22049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22051 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22055 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22056 result
= (wxColour
*) &_result_ref
;
22058 wxPyEndAllowThreads(__tstate
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22068 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22069 PyObject
*resultobj
= 0;
22070 wxDC
*arg1
= (wxDC
*) 0 ;
22071 wxColour
*arg2
= 0 ;
22075 PyObject
* obj0
= 0 ;
22076 PyObject
* obj1
= 0 ;
22077 char * kwnames
[] = {
22078 (char *) "self",(char *) "colour", NULL
22081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22083 if (!SWIG_IsOK(res1
)) {
22084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22086 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22089 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22094 wxPyEndAllowThreads(__tstate
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22097 resultobj
= SWIG_Py_Void();
22104 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22105 PyObject
*resultobj
= 0;
22106 wxDC
*arg1
= (wxDC
*) 0 ;
22107 wxColour
*arg2
= 0 ;
22111 PyObject
* obj0
= 0 ;
22112 PyObject
* obj1
= 0 ;
22113 char * kwnames
[] = {
22114 (char *) "self",(char *) "colour", NULL
22117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22119 if (!SWIG_IsOK(res1
)) {
22120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22122 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22125 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22129 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 resultobj
= SWIG_Py_Void();
22140 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22141 PyObject
*resultobj
= 0;
22142 wxDC
*arg1
= (wxDC
*) 0 ;
22146 PyObject
*swig_obj
[1] ;
22148 if (!args
) SWIG_fail
;
22149 swig_obj
[0] = args
;
22150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22151 if (!SWIG_IsOK(res1
)) {
22152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22154 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22157 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22158 wxPyEndAllowThreads(__tstate
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22161 resultobj
= SWIG_From_int(static_cast< int >(result
));
22168 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22169 PyObject
*resultobj
= 0;
22170 wxDC
*arg1
= (wxDC
*) 0 ;
22176 PyObject
* obj0
= 0 ;
22177 PyObject
* obj1
= 0 ;
22178 char * kwnames
[] = {
22179 (char *) "self",(char *) "mode", NULL
22182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22184 if (!SWIG_IsOK(res1
)) {
22185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22187 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22189 if (!SWIG_IsOK(ecode2
)) {
22190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22192 arg2
= static_cast< int >(val2
);
22194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22195 (arg1
)->SetMapMode(arg2
);
22196 wxPyEndAllowThreads(__tstate
);
22197 if (PyErr_Occurred()) SWIG_fail
;
22199 resultobj
= SWIG_Py_Void();
22206 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22207 PyObject
*resultobj
= 0;
22208 wxDC
*arg1
= (wxDC
*) 0 ;
22209 double *arg2
= (double *) 0 ;
22210 double *arg3
= (double *) 0 ;
22214 int res2
= SWIG_TMPOBJ
;
22216 int res3
= SWIG_TMPOBJ
;
22217 PyObject
*swig_obj
[1] ;
22221 if (!args
) SWIG_fail
;
22222 swig_obj
[0] = args
;
22223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22224 if (!SWIG_IsOK(res1
)) {
22225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22227 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22230 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22231 wxPyEndAllowThreads(__tstate
);
22232 if (PyErr_Occurred()) SWIG_fail
;
22234 resultobj
= SWIG_Py_Void();
22235 if (SWIG_IsTmpObj(res2
)) {
22236 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22238 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22239 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22241 if (SWIG_IsTmpObj(res3
)) {
22242 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22244 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22245 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22253 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22254 PyObject
*resultobj
= 0;
22255 wxDC
*arg1
= (wxDC
*) 0 ;
22264 PyObject
* obj0
= 0 ;
22265 PyObject
* obj1
= 0 ;
22266 PyObject
* obj2
= 0 ;
22267 char * kwnames
[] = {
22268 (char *) "self",(char *) "x",(char *) "y", NULL
22271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22273 if (!SWIG_IsOK(res1
)) {
22274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22276 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22277 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22278 if (!SWIG_IsOK(ecode2
)) {
22279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22281 arg2
= static_cast< double >(val2
);
22282 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22283 if (!SWIG_IsOK(ecode3
)) {
22284 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22286 arg3
= static_cast< double >(val3
);
22288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22289 (arg1
)->SetUserScale(arg2
,arg3
);
22290 wxPyEndAllowThreads(__tstate
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22293 resultobj
= SWIG_Py_Void();
22300 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22301 PyObject
*resultobj
= 0;
22302 wxDC
*arg1
= (wxDC
*) 0 ;
22303 double *arg2
= (double *) 0 ;
22304 double *arg3
= (double *) 0 ;
22308 int res2
= SWIG_TMPOBJ
;
22310 int res3
= SWIG_TMPOBJ
;
22311 PyObject
*swig_obj
[1] ;
22315 if (!args
) SWIG_fail
;
22316 swig_obj
[0] = args
;
22317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22318 if (!SWIG_IsOK(res1
)) {
22319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22321 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22324 (arg1
)->GetLogicalScale(arg2
,arg3
);
22325 wxPyEndAllowThreads(__tstate
);
22326 if (PyErr_Occurred()) SWIG_fail
;
22328 resultobj
= SWIG_Py_Void();
22329 if (SWIG_IsTmpObj(res2
)) {
22330 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22332 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22333 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22335 if (SWIG_IsTmpObj(res3
)) {
22336 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22338 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22339 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22347 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22348 PyObject
*resultobj
= 0;
22349 wxDC
*arg1
= (wxDC
*) 0 ;
22358 PyObject
* obj0
= 0 ;
22359 PyObject
* obj1
= 0 ;
22360 PyObject
* obj2
= 0 ;
22361 char * kwnames
[] = {
22362 (char *) "self",(char *) "x",(char *) "y", NULL
22365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22367 if (!SWIG_IsOK(res1
)) {
22368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22370 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22371 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22372 if (!SWIG_IsOK(ecode2
)) {
22373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22375 arg2
= static_cast< double >(val2
);
22376 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22377 if (!SWIG_IsOK(ecode3
)) {
22378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22380 arg3
= static_cast< double >(val3
);
22382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22383 (arg1
)->SetLogicalScale(arg2
,arg3
);
22384 wxPyEndAllowThreads(__tstate
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 resultobj
= SWIG_Py_Void();
22394 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22395 PyObject
*resultobj
= 0;
22396 wxDC
*arg1
= (wxDC
*) 0 ;
22400 PyObject
*swig_obj
[1] ;
22402 if (!args
) SWIG_fail
;
22403 swig_obj
[0] = args
;
22404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22405 if (!SWIG_IsOK(res1
)) {
22406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22408 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22411 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22412 wxPyEndAllowThreads(__tstate
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22415 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22422 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22423 PyObject
*resultobj
= 0;
22424 wxDC
*arg1
= (wxDC
*) 0 ;
22425 int *arg2
= (int *) 0 ;
22426 int *arg3
= (int *) 0 ;
22430 int res2
= SWIG_TMPOBJ
;
22432 int res3
= SWIG_TMPOBJ
;
22433 PyObject
*swig_obj
[1] ;
22437 if (!args
) SWIG_fail
;
22438 swig_obj
[0] = args
;
22439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22440 if (!SWIG_IsOK(res1
)) {
22441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22443 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22447 wxPyEndAllowThreads(__tstate
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22450 resultobj
= SWIG_Py_Void();
22451 if (SWIG_IsTmpObj(res2
)) {
22452 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22454 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22455 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22457 if (SWIG_IsTmpObj(res3
)) {
22458 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22460 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22461 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22469 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22470 PyObject
*resultobj
= 0;
22471 wxDC
*arg1
= (wxDC
*) 0 ;
22480 PyObject
* obj0
= 0 ;
22481 PyObject
* obj1
= 0 ;
22482 PyObject
* obj2
= 0 ;
22483 char * kwnames
[] = {
22484 (char *) "self",(char *) "x",(char *) "y", NULL
22487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22489 if (!SWIG_IsOK(res1
)) {
22490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22492 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22494 if (!SWIG_IsOK(ecode2
)) {
22495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22497 arg2
= static_cast< int >(val2
);
22498 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22499 if (!SWIG_IsOK(ecode3
)) {
22500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22502 arg3
= static_cast< int >(val3
);
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22509 resultobj
= SWIG_Py_Void();
22516 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22517 PyObject
*resultobj
= 0;
22518 wxDC
*arg1
= (wxDC
*) 0 ;
22519 wxPoint
*arg2
= 0 ;
22523 PyObject
* obj0
= 0 ;
22524 PyObject
* obj1
= 0 ;
22525 char * kwnames
[] = {
22526 (char *) "self",(char *) "point", NULL
22529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22531 if (!SWIG_IsOK(res1
)) {
22532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22534 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22537 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22541 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22542 wxPyEndAllowThreads(__tstate
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22545 resultobj
= SWIG_Py_Void();
22552 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22553 PyObject
*resultobj
= 0;
22554 wxDC
*arg1
= (wxDC
*) 0 ;
22558 PyObject
*swig_obj
[1] ;
22560 if (!args
) SWIG_fail
;
22561 swig_obj
[0] = args
;
22562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22563 if (!SWIG_IsOK(res1
)) {
22564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22566 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22569 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22570 wxPyEndAllowThreads(__tstate
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22573 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22580 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22581 PyObject
*resultobj
= 0;
22582 wxDC
*arg1
= (wxDC
*) 0 ;
22583 int *arg2
= (int *) 0 ;
22584 int *arg3
= (int *) 0 ;
22588 int res2
= SWIG_TMPOBJ
;
22590 int res3
= SWIG_TMPOBJ
;
22591 PyObject
*swig_obj
[1] ;
22595 if (!args
) SWIG_fail
;
22596 swig_obj
[0] = args
;
22597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22598 if (!SWIG_IsOK(res1
)) {
22599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22601 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22604 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22605 wxPyEndAllowThreads(__tstate
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22608 resultobj
= SWIG_Py_Void();
22609 if (SWIG_IsTmpObj(res2
)) {
22610 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22612 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22613 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22615 if (SWIG_IsTmpObj(res3
)) {
22616 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22618 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22619 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22627 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22628 PyObject
*resultobj
= 0;
22629 wxDC
*arg1
= (wxDC
*) 0 ;
22638 PyObject
* obj0
= 0 ;
22639 PyObject
* obj1
= 0 ;
22640 PyObject
* obj2
= 0 ;
22641 char * kwnames
[] = {
22642 (char *) "self",(char *) "x",(char *) "y", NULL
22645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22647 if (!SWIG_IsOK(res1
)) {
22648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22650 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22652 if (!SWIG_IsOK(ecode2
)) {
22653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22655 arg2
= static_cast< int >(val2
);
22656 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22657 if (!SWIG_IsOK(ecode3
)) {
22658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22660 arg3
= static_cast< int >(val3
);
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22664 wxPyEndAllowThreads(__tstate
);
22665 if (PyErr_Occurred()) SWIG_fail
;
22667 resultobj
= SWIG_Py_Void();
22674 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22675 PyObject
*resultobj
= 0;
22676 wxDC
*arg1
= (wxDC
*) 0 ;
22677 wxPoint
*arg2
= 0 ;
22681 PyObject
* obj0
= 0 ;
22682 PyObject
* obj1
= 0 ;
22683 char * kwnames
[] = {
22684 (char *) "self",(char *) "point", NULL
22687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22689 if (!SWIG_IsOK(res1
)) {
22690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22692 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22695 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22699 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22700 wxPyEndAllowThreads(__tstate
);
22701 if (PyErr_Occurred()) SWIG_fail
;
22703 resultobj
= SWIG_Py_Void();
22710 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22711 PyObject
*resultobj
= 0;
22712 wxDC
*arg1
= (wxDC
*) 0 ;
22721 PyObject
* obj0
= 0 ;
22722 PyObject
* obj1
= 0 ;
22723 PyObject
* obj2
= 0 ;
22724 char * kwnames
[] = {
22725 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22730 if (!SWIG_IsOK(res1
)) {
22731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22733 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22734 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22735 if (!SWIG_IsOK(ecode2
)) {
22736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22738 arg2
= static_cast< bool >(val2
);
22739 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22740 if (!SWIG_IsOK(ecode3
)) {
22741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22743 arg3
= static_cast< bool >(val3
);
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22746 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22747 wxPyEndAllowThreads(__tstate
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22750 resultobj
= SWIG_Py_Void();
22757 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22758 PyObject
*resultobj
= 0;
22759 wxDC
*arg1
= (wxDC
*) 0 ;
22763 PyObject
*swig_obj
[1] ;
22765 if (!args
) SWIG_fail
;
22766 swig_obj
[0] = args
;
22767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22768 if (!SWIG_IsOK(res1
)) {
22769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22771 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22775 wxPyEndAllowThreads(__tstate
);
22776 if (PyErr_Occurred()) SWIG_fail
;
22778 resultobj
= SWIG_From_int(static_cast< int >(result
));
22785 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22786 PyObject
*resultobj
= 0;
22787 wxDC
*arg1
= (wxDC
*) 0 ;
22793 PyObject
* obj0
= 0 ;
22794 PyObject
* obj1
= 0 ;
22795 char * kwnames
[] = {
22796 (char *) "self",(char *) "function", NULL
22799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22801 if (!SWIG_IsOK(res1
)) {
22802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22804 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22806 if (!SWIG_IsOK(ecode2
)) {
22807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22809 arg2
= static_cast< int >(val2
);
22811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22812 (arg1
)->SetLogicalFunction(arg2
);
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22816 resultobj
= SWIG_Py_Void();
22823 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22824 PyObject
*resultobj
= 0;
22825 wxDC
*arg1
= (wxDC
*) 0 ;
22828 PyObject
*swig_obj
[1] ;
22830 if (!args
) SWIG_fail
;
22831 swig_obj
[0] = args
;
22832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22833 if (!SWIG_IsOK(res1
)) {
22834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22836 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22839 (arg1
)->ComputeScaleAndOrigin();
22840 wxPyEndAllowThreads(__tstate
);
22841 if (PyErr_Occurred()) SWIG_fail
;
22843 resultobj
= SWIG_Py_Void();
22850 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22851 PyObject
*resultobj
= 0;
22852 wxDC
*arg1
= (wxDC
*) 0 ;
22861 PyObject
* obj0
= 0 ;
22862 PyObject
* obj1
= 0 ;
22863 PyObject
* obj2
= 0 ;
22864 char * kwnames
[] = {
22865 (char *) "self",(char *) "x",(char *) "y", NULL
22868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22870 if (!SWIG_IsOK(res1
)) {
22871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22873 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22875 if (!SWIG_IsOK(ecode2
)) {
22876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22878 arg2
= static_cast< int >(val2
);
22879 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22880 if (!SWIG_IsOK(ecode3
)) {
22881 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22883 arg3
= static_cast< int >(val3
);
22885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22886 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22887 wxPyEndAllowThreads(__tstate
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22890 resultobj
= SWIG_Py_Void();
22897 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22898 PyObject
*resultobj
= 0;
22899 wxDC
*arg1
= (wxDC
*) 0 ;
22900 wxPoint
*arg2
= 0 ;
22904 PyObject
* obj0
= 0 ;
22905 PyObject
* obj1
= 0 ;
22906 char * kwnames
[] = {
22907 (char *) "self",(char *) "point", NULL
22910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22912 if (!SWIG_IsOK(res1
)) {
22913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22915 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22918 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22922 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22926 resultobj
= SWIG_Py_Void();
22933 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22934 PyObject
*resultobj
= 0;
22935 wxDC
*arg1
= (wxDC
*) 0 ;
22938 PyObject
*swig_obj
[1] ;
22940 if (!args
) SWIG_fail
;
22941 swig_obj
[0] = args
;
22942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22943 if (!SWIG_IsOK(res1
)) {
22944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22946 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 (arg1
)->ResetBoundingBox();
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 resultobj
= SWIG_Py_Void();
22960 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22961 PyObject
*resultobj
= 0;
22962 wxDC
*arg1
= (wxDC
*) 0 ;
22966 PyObject
*swig_obj
[1] ;
22968 if (!args
) SWIG_fail
;
22969 swig_obj
[0] = args
;
22970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22971 if (!SWIG_IsOK(res1
)) {
22972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22974 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22977 result
= (int)((wxDC
const *)arg1
)->MinX();
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 resultobj
= SWIG_From_int(static_cast< int >(result
));
22988 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22989 PyObject
*resultobj
= 0;
22990 wxDC
*arg1
= (wxDC
*) 0 ;
22994 PyObject
*swig_obj
[1] ;
22996 if (!args
) SWIG_fail
;
22997 swig_obj
[0] = args
;
22998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22999 if (!SWIG_IsOK(res1
)) {
23000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23002 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 result
= (int)((wxDC
const *)arg1
)->MaxX();
23006 wxPyEndAllowThreads(__tstate
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23009 resultobj
= SWIG_From_int(static_cast< int >(result
));
23016 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23017 PyObject
*resultobj
= 0;
23018 wxDC
*arg1
= (wxDC
*) 0 ;
23022 PyObject
*swig_obj
[1] ;
23024 if (!args
) SWIG_fail
;
23025 swig_obj
[0] = args
;
23026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23027 if (!SWIG_IsOK(res1
)) {
23028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23030 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23033 result
= (int)((wxDC
const *)arg1
)->MinY();
23034 wxPyEndAllowThreads(__tstate
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23037 resultobj
= SWIG_From_int(static_cast< int >(result
));
23044 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23045 PyObject
*resultobj
= 0;
23046 wxDC
*arg1
= (wxDC
*) 0 ;
23050 PyObject
*swig_obj
[1] ;
23052 if (!args
) SWIG_fail
;
23053 swig_obj
[0] = args
;
23054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23055 if (!SWIG_IsOK(res1
)) {
23056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23058 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23061 result
= (int)((wxDC
const *)arg1
)->MaxY();
23062 wxPyEndAllowThreads(__tstate
);
23063 if (PyErr_Occurred()) SWIG_fail
;
23065 resultobj
= SWIG_From_int(static_cast< int >(result
));
23072 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23073 PyObject
*resultobj
= 0;
23074 wxDC
*arg1
= (wxDC
*) 0 ;
23075 int *arg2
= (int *) 0 ;
23076 int *arg3
= (int *) 0 ;
23077 int *arg4
= (int *) 0 ;
23078 int *arg5
= (int *) 0 ;
23082 int res2
= SWIG_TMPOBJ
;
23084 int res3
= SWIG_TMPOBJ
;
23086 int res4
= SWIG_TMPOBJ
;
23088 int res5
= SWIG_TMPOBJ
;
23089 PyObject
*swig_obj
[1] ;
23095 if (!args
) SWIG_fail
;
23096 swig_obj
[0] = args
;
23097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23098 if (!SWIG_IsOK(res1
)) {
23099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23101 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23104 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23105 wxPyEndAllowThreads(__tstate
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23108 resultobj
= SWIG_Py_Void();
23109 if (SWIG_IsTmpObj(res2
)) {
23110 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23112 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23113 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23115 if (SWIG_IsTmpObj(res3
)) {
23116 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23118 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23119 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23121 if (SWIG_IsTmpObj(res4
)) {
23122 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23124 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23125 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23127 if (SWIG_IsTmpObj(res5
)) {
23128 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23130 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23131 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23139 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23140 PyObject
*resultobj
= 0;
23141 wxDC
*arg1
= (wxDC
*) 0 ;
23142 wxLayoutDirection result
;
23145 PyObject
*swig_obj
[1] ;
23147 if (!args
) SWIG_fail
;
23148 swig_obj
[0] = args
;
23149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23150 if (!SWIG_IsOK(res1
)) {
23151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23153 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23156 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23157 wxPyEndAllowThreads(__tstate
);
23158 if (PyErr_Occurred()) SWIG_fail
;
23160 resultobj
= SWIG_From_int(static_cast< int >(result
));
23167 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23168 PyObject
*resultobj
= 0;
23169 wxDC
*arg1
= (wxDC
*) 0 ;
23170 wxLayoutDirection arg2
;
23175 PyObject
* obj0
= 0 ;
23176 PyObject
* obj1
= 0 ;
23177 char * kwnames
[] = {
23178 (char *) "self",(char *) "dir", NULL
23181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23183 if (!SWIG_IsOK(res1
)) {
23184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23186 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23188 if (!SWIG_IsOK(ecode2
)) {
23189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23191 arg2
= static_cast< wxLayoutDirection
>(val2
);
23193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23194 (arg1
)->SetLayoutDirection(arg2
);
23195 wxPyEndAllowThreads(__tstate
);
23196 if (PyErr_Occurred()) SWIG_fail
;
23198 resultobj
= SWIG_Py_Void();
23205 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23206 PyObject
*resultobj
= 0;
23207 wxDC
*arg1
= (wxDC
*) 0 ;
23208 PyObject
*arg2
= (PyObject
*) 0 ;
23209 PyObject
*arg3
= (PyObject
*) 0 ;
23210 PyObject
*arg4
= (PyObject
*) 0 ;
23211 PyObject
*result
= 0 ;
23214 PyObject
* obj0
= 0 ;
23215 PyObject
* obj1
= 0 ;
23216 PyObject
* obj2
= 0 ;
23217 PyObject
* obj3
= 0 ;
23218 char * kwnames
[] = {
23219 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23224 if (!SWIG_IsOK(res1
)) {
23225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23227 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23233 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23234 wxPyEndAllowThreads(__tstate
);
23235 if (PyErr_Occurred()) SWIG_fail
;
23237 resultobj
= result
;
23244 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23245 PyObject
*resultobj
= 0;
23246 wxDC
*arg1
= (wxDC
*) 0 ;
23247 PyObject
*arg2
= (PyObject
*) 0 ;
23248 PyObject
*arg3
= (PyObject
*) 0 ;
23249 PyObject
*arg4
= (PyObject
*) 0 ;
23250 PyObject
*result
= 0 ;
23253 PyObject
* obj0
= 0 ;
23254 PyObject
* obj1
= 0 ;
23255 PyObject
* obj2
= 0 ;
23256 PyObject
* obj3
= 0 ;
23257 char * kwnames
[] = {
23258 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23263 if (!SWIG_IsOK(res1
)) {
23264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23266 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23272 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23273 wxPyEndAllowThreads(__tstate
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23276 resultobj
= result
;
23283 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23284 PyObject
*resultobj
= 0;
23285 wxDC
*arg1
= (wxDC
*) 0 ;
23286 PyObject
*arg2
= (PyObject
*) 0 ;
23287 PyObject
*arg3
= (PyObject
*) 0 ;
23288 PyObject
*arg4
= (PyObject
*) 0 ;
23289 PyObject
*result
= 0 ;
23292 PyObject
* obj0
= 0 ;
23293 PyObject
* obj1
= 0 ;
23294 PyObject
* obj2
= 0 ;
23295 PyObject
* obj3
= 0 ;
23296 char * kwnames
[] = {
23297 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23302 if (!SWIG_IsOK(res1
)) {
23303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23305 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23311 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23312 wxPyEndAllowThreads(__tstate
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23315 resultobj
= result
;
23322 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23323 PyObject
*resultobj
= 0;
23324 wxDC
*arg1
= (wxDC
*) 0 ;
23325 PyObject
*arg2
= (PyObject
*) 0 ;
23326 PyObject
*arg3
= (PyObject
*) 0 ;
23327 PyObject
*arg4
= (PyObject
*) 0 ;
23328 PyObject
*result
= 0 ;
23331 PyObject
* obj0
= 0 ;
23332 PyObject
* obj1
= 0 ;
23333 PyObject
* obj2
= 0 ;
23334 PyObject
* obj3
= 0 ;
23335 char * kwnames
[] = {
23336 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23341 if (!SWIG_IsOK(res1
)) {
23342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23344 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23350 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23351 wxPyEndAllowThreads(__tstate
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23354 resultobj
= result
;
23361 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23362 PyObject
*resultobj
= 0;
23363 wxDC
*arg1
= (wxDC
*) 0 ;
23364 PyObject
*arg2
= (PyObject
*) 0 ;
23365 PyObject
*arg3
= (PyObject
*) 0 ;
23366 PyObject
*arg4
= (PyObject
*) 0 ;
23367 PyObject
*result
= 0 ;
23370 PyObject
* obj0
= 0 ;
23371 PyObject
* obj1
= 0 ;
23372 PyObject
* obj2
= 0 ;
23373 PyObject
* obj3
= 0 ;
23374 char * kwnames
[] = {
23375 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23380 if (!SWIG_IsOK(res1
)) {
23381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23383 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23389 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23390 wxPyEndAllowThreads(__tstate
);
23391 if (PyErr_Occurred()) SWIG_fail
;
23393 resultobj
= result
;
23400 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23401 PyObject
*resultobj
= 0;
23402 wxDC
*arg1
= (wxDC
*) 0 ;
23403 PyObject
*arg2
= (PyObject
*) 0 ;
23404 PyObject
*arg3
= (PyObject
*) 0 ;
23405 PyObject
*arg4
= (PyObject
*) 0 ;
23406 PyObject
*arg5
= (PyObject
*) 0 ;
23407 PyObject
*result
= 0 ;
23410 PyObject
* obj0
= 0 ;
23411 PyObject
* obj1
= 0 ;
23412 PyObject
* obj2
= 0 ;
23413 PyObject
* obj3
= 0 ;
23414 PyObject
* obj4
= 0 ;
23415 char * kwnames
[] = {
23416 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23421 if (!SWIG_IsOK(res1
)) {
23422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23424 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23431 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23432 wxPyEndAllowThreads(__tstate
);
23433 if (PyErr_Occurred()) SWIG_fail
;
23435 resultobj
= result
;
23442 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23444 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23445 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23446 return SWIG_Py_Void();
23449 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23450 PyObject
*resultobj
= 0;
23452 wxColour
*arg2
= 0 ;
23453 wxDCTextColourChanger
*result
= 0 ;
23457 PyObject
* obj0
= 0 ;
23458 PyObject
* obj1
= 0 ;
23459 char * kwnames
[] = {
23460 (char *) "dc",(char *) "col", NULL
23463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23464 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23465 if (!SWIG_IsOK(res1
)) {
23466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23471 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23474 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23478 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23479 wxPyEndAllowThreads(__tstate
);
23480 if (PyErr_Occurred()) SWIG_fail
;
23482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23489 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23490 PyObject
*resultobj
= 0;
23491 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23494 PyObject
*swig_obj
[1] ;
23496 if (!args
) SWIG_fail
;
23497 swig_obj
[0] = args
;
23498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23499 if (!SWIG_IsOK(res1
)) {
23500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23502 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23507 wxPyEndAllowThreads(__tstate
);
23508 if (PyErr_Occurred()) SWIG_fail
;
23510 resultobj
= SWIG_Py_Void();
23517 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23519 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23520 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23521 return SWIG_Py_Void();
23524 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23525 return SWIG_Python_InitShadowInstance(args
);
23528 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23529 PyObject
*resultobj
= 0;
23532 wxDCPenChanger
*result
= 0 ;
23537 PyObject
* obj0
= 0 ;
23538 PyObject
* obj1
= 0 ;
23539 char * kwnames
[] = {
23540 (char *) "dc",(char *) "pen", NULL
23543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23544 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23545 if (!SWIG_IsOK(res1
)) {
23546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23549 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23551 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23552 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23553 if (!SWIG_IsOK(res2
)) {
23554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23559 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23562 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23573 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23574 PyObject
*resultobj
= 0;
23575 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23578 PyObject
*swig_obj
[1] ;
23580 if (!args
) SWIG_fail
;
23581 swig_obj
[0] = args
;
23582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23583 if (!SWIG_IsOK(res1
)) {
23584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23586 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23594 resultobj
= SWIG_Py_Void();
23601 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23603 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23604 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23605 return SWIG_Py_Void();
23608 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23609 return SWIG_Python_InitShadowInstance(args
);
23612 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23613 PyObject
*resultobj
= 0;
23615 wxBrush
*arg2
= 0 ;
23616 wxDCBrushChanger
*result
= 0 ;
23621 PyObject
* obj0
= 0 ;
23622 PyObject
* obj1
= 0 ;
23623 char * kwnames
[] = {
23624 (char *) "dc",(char *) "brush", NULL
23627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23628 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23629 if (!SWIG_IsOK(res1
)) {
23630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23635 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23636 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23637 if (!SWIG_IsOK(res2
)) {
23638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23643 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23646 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23647 wxPyEndAllowThreads(__tstate
);
23648 if (PyErr_Occurred()) SWIG_fail
;
23650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23657 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23658 PyObject
*resultobj
= 0;
23659 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23662 PyObject
*swig_obj
[1] ;
23664 if (!args
) SWIG_fail
;
23665 swig_obj
[0] = args
;
23666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23667 if (!SWIG_IsOK(res1
)) {
23668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23670 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23675 wxPyEndAllowThreads(__tstate
);
23676 if (PyErr_Occurred()) SWIG_fail
;
23678 resultobj
= SWIG_Py_Void();
23685 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23687 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23688 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23689 return SWIG_Py_Void();
23692 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23693 return SWIG_Python_InitShadowInstance(args
);
23696 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23697 PyObject
*resultobj
= 0;
23699 wxRegion
*arg2
= 0 ;
23700 wxDCClipper
*result
= 0 ;
23706 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23708 if (!SWIG_IsOK(res1
)) {
23709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23714 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23715 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23716 if (!SWIG_IsOK(res2
)) {
23717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23720 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23722 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23725 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23726 wxPyEndAllowThreads(__tstate
);
23727 if (PyErr_Occurred()) SWIG_fail
;
23729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23736 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23737 PyObject
*resultobj
= 0;
23740 wxDCClipper
*result
= 0 ;
23745 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23747 if (!SWIG_IsOK(res1
)) {
23748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23753 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23756 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23760 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23761 wxPyEndAllowThreads(__tstate
);
23762 if (PyErr_Occurred()) SWIG_fail
;
23764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23771 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23772 PyObject
*resultobj
= 0;
23778 wxDCClipper
*result
= 0 ;
23790 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23792 if (!SWIG_IsOK(res1
)) {
23793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23796 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23798 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23799 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23800 if (!SWIG_IsOK(ecode2
)) {
23801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23803 arg2
= static_cast< int >(val2
);
23804 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23805 if (!SWIG_IsOK(ecode3
)) {
23806 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23808 arg3
= static_cast< int >(val3
);
23809 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23810 if (!SWIG_IsOK(ecode4
)) {
23811 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23813 arg4
= static_cast< int >(val4
);
23814 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23815 if (!SWIG_IsOK(ecode5
)) {
23816 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23818 arg5
= static_cast< int >(val5
);
23820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23821 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23822 wxPyEndAllowThreads(__tstate
);
23823 if (PyErr_Occurred()) SWIG_fail
;
23825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23832 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23836 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23841 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23842 _v
= SWIG_CheckState(res
);
23844 if (!_v
) goto check_1
;
23845 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23850 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23853 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23857 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23862 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23863 PyObject
*resultobj
= 0;
23864 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23867 PyObject
*swig_obj
[1] ;
23869 if (!args
) SWIG_fail
;
23870 swig_obj
[0] = args
;
23871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23872 if (!SWIG_IsOK(res1
)) {
23873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23875 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23880 wxPyEndAllowThreads(__tstate
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23883 resultobj
= SWIG_Py_Void();
23890 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23892 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23893 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23894 return SWIG_Py_Void();
23897 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23898 return SWIG_Python_InitShadowInstance(args
);
23901 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23902 PyObject
*resultobj
= 0;
23903 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
23904 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
23905 wxMemoryDC
*result
= 0 ;
23908 PyObject
* obj0
= 0 ;
23909 char * kwnames
[] = {
23910 (char *) "bitmap", NULL
23913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
23915 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
23916 if (!SWIG_IsOK(res1
)) {
23917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
23920 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
23922 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
23925 if (!wxPyCheckForApp()) SWIG_fail
;
23926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23927 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
23928 wxPyEndAllowThreads(__tstate
);
23929 if (PyErr_Occurred()) SWIG_fail
;
23931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23938 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23939 PyObject
*resultobj
= 0;
23940 wxDC
*arg1
= (wxDC
*) 0 ;
23941 wxMemoryDC
*result
= 0 ;
23944 PyObject
* obj0
= 0 ;
23945 char * kwnames
[] = {
23946 (char *) "oldDC", NULL
23949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23951 if (!SWIG_IsOK(res1
)) {
23952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23954 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23956 if (!wxPyCheckForApp()) SWIG_fail
;
23957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23958 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23959 wxPyEndAllowThreads(__tstate
);
23960 if (PyErr_Occurred()) SWIG_fail
;
23962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23969 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23970 PyObject
*resultobj
= 0;
23971 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23972 wxBitmap
*arg2
= 0 ;
23977 PyObject
* obj0
= 0 ;
23978 PyObject
* obj1
= 0 ;
23979 char * kwnames
[] = {
23980 (char *) "self",(char *) "bitmap", NULL
23983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23985 if (!SWIG_IsOK(res1
)) {
23986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23988 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23989 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
23990 if (!SWIG_IsOK(res2
)) {
23991 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
23994 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
23996 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23999 (arg1
)->SelectObject(*arg2
);
24000 wxPyEndAllowThreads(__tstate
);
24001 if (PyErr_Occurred()) SWIG_fail
;
24003 resultobj
= SWIG_Py_Void();
24010 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24011 PyObject
*resultobj
= 0;
24012 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24013 wxBitmap
*arg2
= 0 ;
24018 PyObject
* obj0
= 0 ;
24019 PyObject
* obj1
= 0 ;
24020 char * kwnames
[] = {
24021 (char *) "self",(char *) "bmp", NULL
24024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24026 if (!SWIG_IsOK(res1
)) {
24027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24029 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24030 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24031 if (!SWIG_IsOK(res2
)) {
24032 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24035 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24037 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24040 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24041 wxPyEndAllowThreads(__tstate
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24044 resultobj
= SWIG_Py_Void();
24051 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24054 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24055 return SWIG_Py_Void();
24058 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24059 return SWIG_Python_InitShadowInstance(args
);
24062 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24063 PyObject
*resultobj
= 0;
24064 wxScreenDC
*result
= 0 ;
24066 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24068 if (!wxPyCheckForApp()) SWIG_fail
;
24069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24070 result
= (wxScreenDC
*)new wxScreenDC();
24071 wxPyEndAllowThreads(__tstate
);
24072 if (PyErr_Occurred()) SWIG_fail
;
24074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24081 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24082 PyObject
*resultobj
= 0;
24083 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24084 wxWindow
*arg2
= (wxWindow
*) 0 ;
24090 PyObject
* obj0
= 0 ;
24091 PyObject
* obj1
= 0 ;
24092 char * kwnames
[] = {
24093 (char *) "self",(char *) "window", NULL
24096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24098 if (!SWIG_IsOK(res1
)) {
24099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24101 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24102 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24103 if (!SWIG_IsOK(res2
)) {
24104 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24106 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24110 wxPyEndAllowThreads(__tstate
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24122 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24123 PyObject
*resultobj
= 0;
24124 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24125 wxRect
*arg2
= (wxRect
*) NULL
;
24131 PyObject
* obj0
= 0 ;
24132 PyObject
* obj1
= 0 ;
24133 char * kwnames
[] = {
24134 (char *) "self",(char *) "rect", NULL
24137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24139 if (!SWIG_IsOK(res1
)) {
24140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24142 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24144 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24145 if (!SWIG_IsOK(res2
)) {
24146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24148 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24165 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24166 PyObject
*resultobj
= 0;
24167 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24171 PyObject
*swig_obj
[1] ;
24173 if (!args
) SWIG_fail
;
24174 swig_obj
[0] = args
;
24175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24176 if (!SWIG_IsOK(res1
)) {
24177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24179 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24182 result
= (bool)(arg1
)->EndDrawingOnTop();
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24195 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24197 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24198 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24199 return SWIG_Py_Void();
24202 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24203 return SWIG_Python_InitShadowInstance(args
);
24206 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24207 PyObject
*resultobj
= 0;
24208 wxWindow
*arg1
= (wxWindow
*) 0 ;
24209 wxWindowDC
*result
= 0 ;
24212 PyObject
* obj0
= 0 ;
24213 char * kwnames
[] = {
24214 (char *) "win", NULL
24217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24219 if (!SWIG_IsOK(res1
)) {
24220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24222 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24224 if (!wxPyCheckForApp()) SWIG_fail
;
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24226 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24227 wxPyEndAllowThreads(__tstate
);
24228 if (PyErr_Occurred()) SWIG_fail
;
24230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24237 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24239 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24240 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24241 return SWIG_Py_Void();
24244 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24245 return SWIG_Python_InitShadowInstance(args
);
24248 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24249 PyObject
*resultobj
= 0;
24250 wxWindow
*arg1
= (wxWindow
*) 0 ;
24251 wxClientDC
*result
= 0 ;
24254 PyObject
* obj0
= 0 ;
24255 char * kwnames
[] = {
24256 (char *) "win", NULL
24259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24261 if (!SWIG_IsOK(res1
)) {
24262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24264 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24266 if (!wxPyCheckForApp()) SWIG_fail
;
24267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24268 result
= (wxClientDC
*)new wxClientDC(arg1
);
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24279 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24281 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24282 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24283 return SWIG_Py_Void();
24286 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24287 return SWIG_Python_InitShadowInstance(args
);
24290 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24291 PyObject
*resultobj
= 0;
24292 wxWindow
*arg1
= (wxWindow
*) 0 ;
24293 wxPaintDC
*result
= 0 ;
24296 PyObject
* obj0
= 0 ;
24297 char * kwnames
[] = {
24298 (char *) "win", NULL
24301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24303 if (!SWIG_IsOK(res1
)) {
24304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24306 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24308 if (!wxPyCheckForApp()) SWIG_fail
;
24309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24310 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24311 wxPyEndAllowThreads(__tstate
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24321 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24323 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24324 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24325 return SWIG_Py_Void();
24328 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24329 return SWIG_Python_InitShadowInstance(args
);
24332 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24333 PyObject
*resultobj
= 0;
24334 wxDC
*arg1
= (wxDC
*) 0 ;
24335 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24336 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24337 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24338 wxBufferedDC
*result
= 0 ;
24346 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24348 if (!SWIG_IsOK(res1
)) {
24349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24351 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24353 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24354 if (!SWIG_IsOK(res2
)) {
24355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24360 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24363 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24364 if (!SWIG_IsOK(ecode3
)) {
24365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24367 arg3
= static_cast< int >(val3
);
24370 if (!wxPyCheckForApp()) SWIG_fail
;
24371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24372 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24373 wxPyEndAllowThreads(__tstate
);
24374 if (PyErr_Occurred()) SWIG_fail
;
24376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24383 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24384 PyObject
*resultobj
= 0;
24385 wxDC
*arg1
= (wxDC
*) 0 ;
24387 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24388 wxBufferedDC
*result
= 0 ;
24395 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24397 if (!SWIG_IsOK(res1
)) {
24398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24400 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24403 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24406 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24407 if (!SWIG_IsOK(ecode3
)) {
24408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24410 arg3
= static_cast< int >(val3
);
24413 if (!wxPyCheckForApp()) SWIG_fail
;
24414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24415 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24416 wxPyEndAllowThreads(__tstate
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24426 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24430 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24432 if ((argc
>= 1) && (argc
<= 3)) {
24436 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
24437 _v
= SWIG_CheckState(res
);
24439 if (!_v
) goto check_1
;
24441 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24445 if ((argc
>= 2) && (argc
<= 3)) {
24446 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24450 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24455 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24456 PyObject
*resultobj
= 0;
24457 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24460 PyObject
*swig_obj
[1] ;
24462 if (!args
) SWIG_fail
;
24463 swig_obj
[0] = args
;
24464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24465 if (!SWIG_IsOK(res1
)) {
24466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24468 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24473 wxPyEndAllowThreads(__tstate
);
24474 if (PyErr_Occurred()) SWIG_fail
;
24476 resultobj
= SWIG_Py_Void();
24483 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24484 PyObject
*resultobj
= 0;
24485 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24488 PyObject
*swig_obj
[1] ;
24490 if (!args
) SWIG_fail
;
24491 swig_obj
[0] = args
;
24492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24493 if (!SWIG_IsOK(res1
)) {
24494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24496 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24500 wxPyEndAllowThreads(__tstate
);
24501 if (PyErr_Occurred()) SWIG_fail
;
24503 resultobj
= SWIG_Py_Void();
24510 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24512 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24513 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24514 return SWIG_Py_Void();
24517 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24518 return SWIG_Python_InitShadowInstance(args
);
24521 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24522 PyObject
*resultobj
= 0;
24523 wxWindow
*arg1
= (wxWindow
*) 0 ;
24524 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24525 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24526 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24527 wxBufferedPaintDC
*result
= 0 ;
24534 PyObject
* obj0
= 0 ;
24535 PyObject
* obj1
= 0 ;
24536 PyObject
* obj2
= 0 ;
24537 char * kwnames
[] = {
24538 (char *) "window",(char *) "buffer",(char *) "style", NULL
24541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24543 if (!SWIG_IsOK(res1
)) {
24544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24546 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24548 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24549 if (!SWIG_IsOK(res2
)) {
24550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24555 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24558 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24559 if (!SWIG_IsOK(ecode3
)) {
24560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24562 arg3
= static_cast< int >(val3
);
24565 if (!wxPyCheckForApp()) SWIG_fail
;
24566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24567 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24568 wxPyEndAllowThreads(__tstate
);
24569 if (PyErr_Occurred()) SWIG_fail
;
24571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24578 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24580 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24581 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24582 return SWIG_Py_Void();
24585 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24586 return SWIG_Python_InitShadowInstance(args
);
24589 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24590 PyObject
*resultobj
= 0;
24591 wxWindow
*arg1
= (wxWindow
*) 0 ;
24592 wxAutoBufferedPaintDC
*result
= 0 ;
24595 PyObject
* obj0
= 0 ;
24596 char * kwnames
[] = {
24597 (char *) "win", NULL
24600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24602 if (!SWIG_IsOK(res1
)) {
24603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24605 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24608 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24609 wxPyEndAllowThreads(__tstate
);
24610 if (PyErr_Occurred()) SWIG_fail
;
24612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24619 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24621 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24622 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24623 return SWIG_Py_Void();
24626 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24627 return SWIG_Python_InitShadowInstance(args
);
24630 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24631 PyObject
*resultobj
= 0;
24632 wxWindow
*arg1
= (wxWindow
*) 0 ;
24636 PyObject
* obj0
= 0 ;
24637 char * kwnames
[] = {
24638 (char *) "window", NULL
24641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24643 if (!SWIG_IsOK(res1
)) {
24644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24646 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24649 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24650 wxPyEndAllowThreads(__tstate
);
24651 if (PyErr_Occurred()) SWIG_fail
;
24654 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24662 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24663 PyObject
*resultobj
= 0;
24666 wxMirrorDC
*result
= 0 ;
24671 PyObject
* obj0
= 0 ;
24672 PyObject
* obj1
= 0 ;
24673 char * kwnames
[] = {
24674 (char *) "dc",(char *) "mirror", NULL
24677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24678 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24679 if (!SWIG_IsOK(res1
)) {
24680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24685 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24686 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24687 if (!SWIG_IsOK(ecode2
)) {
24688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24690 arg2
= static_cast< bool >(val2
);
24692 if (!wxPyCheckForApp()) SWIG_fail
;
24693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24694 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24695 wxPyEndAllowThreads(__tstate
);
24696 if (PyErr_Occurred()) SWIG_fail
;
24698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24705 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24707 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24708 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24709 return SWIG_Py_Void();
24712 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24713 return SWIG_Python_InitShadowInstance(args
);
24716 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24717 PyObject
*resultobj
= 0;
24718 wxPrintData
*arg1
= 0 ;
24719 wxPostScriptDC
*result
= 0 ;
24722 PyObject
* obj0
= 0 ;
24723 char * kwnames
[] = {
24724 (char *) "printData", NULL
24727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24728 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24729 if (!SWIG_IsOK(res1
)) {
24730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24735 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24737 if (!wxPyCheckForApp()) SWIG_fail
;
24738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24739 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24740 wxPyEndAllowThreads(__tstate
);
24741 if (PyErr_Occurred()) SWIG_fail
;
24743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24750 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24751 PyObject
*resultobj
= 0;
24752 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24753 wxPrintData
*result
= 0 ;
24756 PyObject
*swig_obj
[1] ;
24758 if (!args
) SWIG_fail
;
24759 swig_obj
[0] = args
;
24760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24761 if (!SWIG_IsOK(res1
)) {
24762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24764 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24768 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24769 result
= (wxPrintData
*) &_result_ref
;
24771 wxPyEndAllowThreads(__tstate
);
24772 if (PyErr_Occurred()) SWIG_fail
;
24774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24781 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24782 PyObject
*resultobj
= 0;
24783 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24784 wxPrintData
*arg2
= 0 ;
24789 PyObject
* obj0
= 0 ;
24790 PyObject
* obj1
= 0 ;
24791 char * kwnames
[] = {
24792 (char *) "self",(char *) "data", NULL
24795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24797 if (!SWIG_IsOK(res1
)) {
24798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24800 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24801 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24802 if (!SWIG_IsOK(res2
)) {
24803 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24806 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24808 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24811 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24812 wxPyEndAllowThreads(__tstate
);
24813 if (PyErr_Occurred()) SWIG_fail
;
24815 resultobj
= SWIG_Py_Void();
24822 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24823 PyObject
*resultobj
= 0;
24827 PyObject
* obj0
= 0 ;
24828 char * kwnames
[] = {
24829 (char *) "ppi", NULL
24832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24833 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24834 if (!SWIG_IsOK(ecode1
)) {
24835 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24837 arg1
= static_cast< int >(val1
);
24839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24840 wxPostScriptDC::SetResolution(arg1
);
24841 wxPyEndAllowThreads(__tstate
);
24842 if (PyErr_Occurred()) SWIG_fail
;
24844 resultobj
= SWIG_Py_Void();
24851 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24852 PyObject
*resultobj
= 0;
24855 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24858 result
= (int)wxPostScriptDC::GetResolution();
24859 wxPyEndAllowThreads(__tstate
);
24860 if (PyErr_Occurred()) SWIG_fail
;
24862 resultobj
= SWIG_From_int(static_cast< int >(result
));
24869 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24871 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24872 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24873 return SWIG_Py_Void();
24876 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24877 return SWIG_Python_InitShadowInstance(args
);
24880 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24881 PyObject
*resultobj
= 0;
24882 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24883 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24884 wxMetaFile
*result
= 0 ;
24885 bool temp1
= false ;
24886 PyObject
* obj0
= 0 ;
24887 char * kwnames
[] = {
24888 (char *) "filename", NULL
24891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24894 arg1
= wxString_in_helper(obj0
);
24895 if (arg1
== NULL
) SWIG_fail
;
24900 if (!wxPyCheckForApp()) SWIG_fail
;
24901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24902 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24903 wxPyEndAllowThreads(__tstate
);
24904 if (PyErr_Occurred()) SWIG_fail
;
24906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24921 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24922 PyObject
*resultobj
= 0;
24923 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24926 PyObject
*swig_obj
[1] ;
24928 if (!args
) SWIG_fail
;
24929 swig_obj
[0] = args
;
24930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
24931 if (!SWIG_IsOK(res1
)) {
24932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24934 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24939 wxPyEndAllowThreads(__tstate
);
24940 if (PyErr_Occurred()) SWIG_fail
;
24942 resultobj
= SWIG_Py_Void();
24949 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24950 PyObject
*resultobj
= 0;
24951 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24955 PyObject
*swig_obj
[1] ;
24957 if (!args
) SWIG_fail
;
24958 swig_obj
[0] = args
;
24959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24960 if (!SWIG_IsOK(res1
)) {
24961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24963 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24966 result
= (bool)(arg1
)->IsOk();
24967 wxPyEndAllowThreads(__tstate
);
24968 if (PyErr_Occurred()) SWIG_fail
;
24971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24979 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24980 PyObject
*resultobj
= 0;
24981 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24982 int arg2
= (int) 0 ;
24983 int arg3
= (int) 0 ;
24991 PyObject
* obj0
= 0 ;
24992 PyObject
* obj1
= 0 ;
24993 PyObject
* obj2
= 0 ;
24994 char * kwnames
[] = {
24995 (char *) "self",(char *) "width",(char *) "height", NULL
24998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25000 if (!SWIG_IsOK(res1
)) {
25001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25003 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25006 if (!SWIG_IsOK(ecode2
)) {
25007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25009 arg2
= static_cast< int >(val2
);
25012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25013 if (!SWIG_IsOK(ecode3
)) {
25014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25016 arg3
= static_cast< int >(val3
);
25019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25020 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25021 wxPyEndAllowThreads(__tstate
);
25022 if (PyErr_Occurred()) SWIG_fail
;
25025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25033 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25034 PyObject
*resultobj
= 0;
25035 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25039 PyObject
*swig_obj
[1] ;
25041 if (!args
) SWIG_fail
;
25042 swig_obj
[0] = args
;
25043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25044 if (!SWIG_IsOK(res1
)) {
25045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25047 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25050 result
= (arg1
)->GetSize();
25051 wxPyEndAllowThreads(__tstate
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25054 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25061 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25062 PyObject
*resultobj
= 0;
25063 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25067 PyObject
*swig_obj
[1] ;
25069 if (!args
) SWIG_fail
;
25070 swig_obj
[0] = args
;
25071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25072 if (!SWIG_IsOK(res1
)) {
25073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25075 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25078 result
= (int)(arg1
)->GetWidth();
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25082 resultobj
= SWIG_From_int(static_cast< int >(result
));
25089 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25090 PyObject
*resultobj
= 0;
25091 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25095 PyObject
*swig_obj
[1] ;
25097 if (!args
) SWIG_fail
;
25098 swig_obj
[0] = args
;
25099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25100 if (!SWIG_IsOK(res1
)) {
25101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25103 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25106 result
= (int)(arg1
)->GetHeight();
25107 wxPyEndAllowThreads(__tstate
);
25108 if (PyErr_Occurred()) SWIG_fail
;
25110 resultobj
= SWIG_From_int(static_cast< int >(result
));
25117 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25119 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25120 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25121 return SWIG_Py_Void();
25124 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25125 return SWIG_Python_InitShadowInstance(args
);
25128 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25129 PyObject
*resultobj
= 0;
25130 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25131 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25132 int arg2
= (int) 0 ;
25133 int arg3
= (int) 0 ;
25134 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25135 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25136 wxMetaFileDC
*result
= 0 ;
25137 bool temp1
= false ;
25142 bool temp4
= false ;
25143 PyObject
* obj0
= 0 ;
25144 PyObject
* obj1
= 0 ;
25145 PyObject
* obj2
= 0 ;
25146 PyObject
* obj3
= 0 ;
25147 char * kwnames
[] = {
25148 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25154 arg1
= wxString_in_helper(obj0
);
25155 if (arg1
== NULL
) SWIG_fail
;
25160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25161 if (!SWIG_IsOK(ecode2
)) {
25162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25164 arg2
= static_cast< int >(val2
);
25167 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25168 if (!SWIG_IsOK(ecode3
)) {
25169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25171 arg3
= static_cast< int >(val3
);
25175 arg4
= wxString_in_helper(obj3
);
25176 if (arg4
== NULL
) SWIG_fail
;
25181 if (!wxPyCheckForApp()) SWIG_fail
;
25182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25183 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25210 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25211 PyObject
*resultobj
= 0;
25212 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25213 wxMetaFile
*result
= 0 ;
25216 PyObject
*swig_obj
[1] ;
25218 if (!args
) SWIG_fail
;
25219 swig_obj
[0] = args
;
25220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25221 if (!SWIG_IsOK(res1
)) {
25222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25224 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25227 result
= (wxMetaFile
*)(arg1
)->Close();
25228 wxPyEndAllowThreads(__tstate
);
25229 if (PyErr_Occurred()) SWIG_fail
;
25231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25238 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25241 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25242 return SWIG_Py_Void();
25245 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25246 return SWIG_Python_InitShadowInstance(args
);
25249 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25250 PyObject
*resultobj
= 0;
25251 wxPrintData
*arg1
= 0 ;
25252 wxPrinterDC
*result
= 0 ;
25255 PyObject
* obj0
= 0 ;
25256 char * kwnames
[] = {
25257 (char *) "printData", NULL
25260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25261 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25262 if (!SWIG_IsOK(res1
)) {
25263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25266 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25268 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25270 if (!wxPyCheckForApp()) SWIG_fail
;
25271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25272 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25273 wxPyEndAllowThreads(__tstate
);
25274 if (PyErr_Occurred()) SWIG_fail
;
25276 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25283 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25285 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25286 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25287 return SWIG_Py_Void();
25290 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25291 return SWIG_Python_InitShadowInstance(args
);
25294 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25295 PyObject
*resultobj
= 0;
25296 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25297 wxGraphicsObject
*result
= 0 ;
25300 PyObject
* obj0
= 0 ;
25301 char * kwnames
[] = {
25302 (char *) "renderer", NULL
25305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25308 if (!SWIG_IsOK(res1
)) {
25309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25311 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25314 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25315 if (PyErr_Occurred()) SWIG_fail
;
25317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25324 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25325 PyObject
*resultobj
= 0;
25326 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25329 PyObject
*swig_obj
[1] ;
25331 if (!args
) SWIG_fail
;
25332 swig_obj
[0] = args
;
25333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25334 if (!SWIG_IsOK(res1
)) {
25335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25337 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25341 if (PyErr_Occurred()) SWIG_fail
;
25343 resultobj
= SWIG_Py_Void();
25350 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25351 PyObject
*resultobj
= 0;
25352 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25356 PyObject
*swig_obj
[1] ;
25358 if (!args
) SWIG_fail
;
25359 swig_obj
[0] = args
;
25360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25361 if (!SWIG_IsOK(res1
)) {
25362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25364 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25366 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25367 if (PyErr_Occurred()) SWIG_fail
;
25370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25378 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25379 PyObject
*resultobj
= 0;
25380 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25381 wxGraphicsRenderer
*result
= 0 ;
25384 PyObject
*swig_obj
[1] ;
25386 if (!args
) SWIG_fail
;
25387 swig_obj
[0] = args
;
25388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25389 if (!SWIG_IsOK(res1
)) {
25390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25392 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25394 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25395 if (PyErr_Occurred()) SWIG_fail
;
25397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25404 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25407 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25408 return SWIG_Py_Void();
25411 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25412 return SWIG_Python_InitShadowInstance(args
);
25415 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25416 PyObject
*resultobj
= 0;
25417 wxGraphicsPen
*result
= 0 ;
25419 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25421 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25422 if (PyErr_Occurred()) SWIG_fail
;
25424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25431 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25432 PyObject
*resultobj
= 0;
25433 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25436 PyObject
*swig_obj
[1] ;
25438 if (!args
) SWIG_fail
;
25439 swig_obj
[0] = args
;
25440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25441 if (!SWIG_IsOK(res1
)) {
25442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25444 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25448 if (PyErr_Occurred()) SWIG_fail
;
25450 resultobj
= SWIG_Py_Void();
25457 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25459 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25460 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25461 return SWIG_Py_Void();
25464 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25465 return SWIG_Python_InitShadowInstance(args
);
25468 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25469 PyObject
*resultobj
= 0;
25470 wxGraphicsBrush
*result
= 0 ;
25472 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25474 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25475 if (PyErr_Occurred()) SWIG_fail
;
25477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25484 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25485 PyObject
*resultobj
= 0;
25486 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25489 PyObject
*swig_obj
[1] ;
25491 if (!args
) SWIG_fail
;
25492 swig_obj
[0] = args
;
25493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25494 if (!SWIG_IsOK(res1
)) {
25495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25497 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25501 if (PyErr_Occurred()) SWIG_fail
;
25503 resultobj
= SWIG_Py_Void();
25510 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25512 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25513 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25514 return SWIG_Py_Void();
25517 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25518 return SWIG_Python_InitShadowInstance(args
);
25521 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25522 PyObject
*resultobj
= 0;
25523 wxGraphicsFont
*result
= 0 ;
25525 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25527 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25528 if (PyErr_Occurred()) SWIG_fail
;
25530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25537 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25538 PyObject
*resultobj
= 0;
25539 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25542 PyObject
*swig_obj
[1] ;
25544 if (!args
) SWIG_fail
;
25545 swig_obj
[0] = args
;
25546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25547 if (!SWIG_IsOK(res1
)) {
25548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25550 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25554 if (PyErr_Occurred()) SWIG_fail
;
25556 resultobj
= SWIG_Py_Void();
25563 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25565 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25566 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25567 return SWIG_Py_Void();
25570 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25571 return SWIG_Python_InitShadowInstance(args
);
25574 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25575 PyObject
*resultobj
= 0;
25576 wxGraphicsMatrix
*result
= 0 ;
25578 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
25580 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
25581 if (PyErr_Occurred()) SWIG_fail
;
25583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
25590 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25591 PyObject
*resultobj
= 0;
25592 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25595 PyObject
*swig_obj
[1] ;
25597 if (!args
) SWIG_fail
;
25598 swig_obj
[0] = args
;
25599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25600 if (!SWIG_IsOK(res1
)) {
25601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25603 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25607 if (PyErr_Occurred()) SWIG_fail
;
25609 resultobj
= SWIG_Py_Void();
25616 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25617 PyObject
*resultobj
= 0;
25618 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25619 wxGraphicsMatrix
*arg2
= 0 ;
25624 PyObject
* obj0
= 0 ;
25625 PyObject
* obj1
= 0 ;
25626 char * kwnames
[] = {
25627 (char *) "self",(char *) "t", NULL
25630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25632 if (!SWIG_IsOK(res1
)) {
25633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25635 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25636 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25637 if (!SWIG_IsOK(res2
)) {
25638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25643 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25645 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25646 if (PyErr_Occurred()) SWIG_fail
;
25648 resultobj
= SWIG_Py_Void();
25655 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25656 PyObject
*resultobj
= 0;
25657 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25658 wxGraphicsMatrix
*arg2
= 0 ;
25663 PyObject
* obj0
= 0 ;
25664 PyObject
* obj1
= 0 ;
25665 char * kwnames
[] = {
25666 (char *) "self",(char *) "t", NULL
25669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Copy",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25671 if (!SWIG_IsOK(res1
)) {
25672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25674 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25675 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25676 if (!SWIG_IsOK(res2
)) {
25677 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25680 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25682 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25684 wxGraphicsMatrix_Copy(arg1
,(wxGraphicsMatrix
const &)*arg2
);
25685 if (PyErr_Occurred()) SWIG_fail
;
25687 resultobj
= SWIG_Py_Void();
25694 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25695 PyObject
*resultobj
= 0;
25696 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25697 wxDouble arg2
= (wxDouble
) 1.0 ;
25698 wxDouble arg3
= (wxDouble
) 0.0 ;
25699 wxDouble arg4
= (wxDouble
) 0.0 ;
25700 wxDouble arg5
= (wxDouble
) 1.0 ;
25701 wxDouble arg6
= (wxDouble
) 0.0 ;
25702 wxDouble arg7
= (wxDouble
) 0.0 ;
25717 PyObject
* obj0
= 0 ;
25718 PyObject
* obj1
= 0 ;
25719 PyObject
* obj2
= 0 ;
25720 PyObject
* obj3
= 0 ;
25721 PyObject
* obj4
= 0 ;
25722 PyObject
* obj5
= 0 ;
25723 PyObject
* obj6
= 0 ;
25724 char * kwnames
[] = {
25725 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25730 if (!SWIG_IsOK(res1
)) {
25731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25733 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25735 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25736 if (!SWIG_IsOK(ecode2
)) {
25737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25739 arg2
= static_cast< wxDouble
>(val2
);
25742 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25743 if (!SWIG_IsOK(ecode3
)) {
25744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25746 arg3
= static_cast< wxDouble
>(val3
);
25749 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25750 if (!SWIG_IsOK(ecode4
)) {
25751 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25753 arg4
= static_cast< wxDouble
>(val4
);
25756 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25757 if (!SWIG_IsOK(ecode5
)) {
25758 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25760 arg5
= static_cast< wxDouble
>(val5
);
25763 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25764 if (!SWIG_IsOK(ecode6
)) {
25765 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25767 arg6
= static_cast< wxDouble
>(val6
);
25770 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25771 if (!SWIG_IsOK(ecode7
)) {
25772 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25774 arg7
= static_cast< wxDouble
>(val7
);
25777 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25778 if (PyErr_Occurred()) SWIG_fail
;
25780 resultobj
= SWIG_Py_Void();
25787 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25788 PyObject
*resultobj
= 0;
25789 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25792 PyObject
*swig_obj
[1] ;
25794 if (!args
) SWIG_fail
;
25795 swig_obj
[0] = args
;
25796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25797 if (!SWIG_IsOK(res1
)) {
25798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25800 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25803 if (PyErr_Occurred()) SWIG_fail
;
25805 resultobj
= SWIG_Py_Void();
25812 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25813 PyObject
*resultobj
= 0;
25814 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25815 wxGraphicsMatrix
*arg2
= 0 ;
25821 PyObject
* obj0
= 0 ;
25822 PyObject
* obj1
= 0 ;
25823 char * kwnames
[] = {
25824 (char *) "self",(char *) "t", NULL
25827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25829 if (!SWIG_IsOK(res1
)) {
25830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25832 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25834 if (!SWIG_IsOK(res2
)) {
25835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25840 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25842 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25843 if (PyErr_Occurred()) SWIG_fail
;
25846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25854 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25855 PyObject
*resultobj
= 0;
25856 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25860 PyObject
*swig_obj
[1] ;
25862 if (!args
) SWIG_fail
;
25863 swig_obj
[0] = args
;
25864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25865 if (!SWIG_IsOK(res1
)) {
25866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25868 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25870 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
25871 if (PyErr_Occurred()) SWIG_fail
;
25874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25882 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25883 PyObject
*resultobj
= 0;
25884 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25893 PyObject
* obj0
= 0 ;
25894 PyObject
* obj1
= 0 ;
25895 PyObject
* obj2
= 0 ;
25896 char * kwnames
[] = {
25897 (char *) "self",(char *) "dx",(char *) "dy", NULL
25900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25902 if (!SWIG_IsOK(res1
)) {
25903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25905 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25906 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25907 if (!SWIG_IsOK(ecode2
)) {
25908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25910 arg2
= static_cast< wxDouble
>(val2
);
25911 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25912 if (!SWIG_IsOK(ecode3
)) {
25913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25915 arg3
= static_cast< wxDouble
>(val3
);
25917 (arg1
)->Translate(arg2
,arg3
);
25918 if (PyErr_Occurred()) SWIG_fail
;
25920 resultobj
= SWIG_Py_Void();
25927 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25928 PyObject
*resultobj
= 0;
25929 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25938 PyObject
* obj0
= 0 ;
25939 PyObject
* obj1
= 0 ;
25940 PyObject
* obj2
= 0 ;
25941 char * kwnames
[] = {
25942 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25947 if (!SWIG_IsOK(res1
)) {
25948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25950 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25951 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25952 if (!SWIG_IsOK(ecode2
)) {
25953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25955 arg2
= static_cast< wxDouble
>(val2
);
25956 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25957 if (!SWIG_IsOK(ecode3
)) {
25958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25960 arg3
= static_cast< wxDouble
>(val3
);
25962 (arg1
)->Scale(arg2
,arg3
);
25963 if (PyErr_Occurred()) SWIG_fail
;
25965 resultobj
= SWIG_Py_Void();
25972 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25973 PyObject
*resultobj
= 0;
25974 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25980 PyObject
* obj0
= 0 ;
25981 PyObject
* obj1
= 0 ;
25982 char * kwnames
[] = {
25983 (char *) "self",(char *) "angle", NULL
25986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25988 if (!SWIG_IsOK(res1
)) {
25989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25991 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25992 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25993 if (!SWIG_IsOK(ecode2
)) {
25994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25996 arg2
= static_cast< wxDouble
>(val2
);
25998 (arg1
)->Rotate(arg2
);
25999 if (PyErr_Occurred()) SWIG_fail
;
26001 resultobj
= SWIG_Py_Void();
26008 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26009 PyObject
*resultobj
= 0;
26010 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26011 wxDouble
*arg2
= (wxDouble
*) 0 ;
26012 wxDouble
*arg3
= (wxDouble
*) 0 ;
26019 PyObject
* obj0
= 0 ;
26020 PyObject
* obj1
= 0 ;
26021 PyObject
* obj2
= 0 ;
26022 char * kwnames
[] = {
26023 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26028 if (!SWIG_IsOK(res1
)) {
26029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26031 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26032 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26034 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26035 if (!SWIG_IsOK(ecode
)) {
26036 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26038 temp2
= static_cast< wxDouble
>(val
);
26040 res2
= SWIG_AddTmpMask(ecode
);
26042 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26044 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26045 if (!SWIG_IsOK(ecode
)) {
26046 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26048 temp3
= static_cast< wxDouble
>(val
);
26050 res3
= SWIG_AddTmpMask(ecode
);
26053 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26054 if (PyErr_Occurred()) SWIG_fail
;
26056 resultobj
= SWIG_Py_Void();
26057 if (SWIG_IsTmpObj(res2
)) {
26058 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26060 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26061 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26063 if (SWIG_IsTmpObj(res3
)) {
26064 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26066 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26067 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26075 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26076 PyObject
*resultobj
= 0;
26077 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26078 wxDouble
*arg2
= (wxDouble
*) 0 ;
26079 wxDouble
*arg3
= (wxDouble
*) 0 ;
26086 PyObject
* obj0
= 0 ;
26087 PyObject
* obj1
= 0 ;
26088 PyObject
* obj2
= 0 ;
26089 char * kwnames
[] = {
26090 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26095 if (!SWIG_IsOK(res1
)) {
26096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26098 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26099 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26101 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26102 if (!SWIG_IsOK(ecode
)) {
26103 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26105 temp2
= static_cast< wxDouble
>(val
);
26107 res2
= SWIG_AddTmpMask(ecode
);
26109 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26111 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26112 if (!SWIG_IsOK(ecode
)) {
26113 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26115 temp3
= static_cast< wxDouble
>(val
);
26117 res3
= SWIG_AddTmpMask(ecode
);
26120 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26121 if (PyErr_Occurred()) SWIG_fail
;
26123 resultobj
= SWIG_Py_Void();
26124 if (SWIG_IsTmpObj(res2
)) {
26125 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26127 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26128 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26130 if (SWIG_IsTmpObj(res3
)) {
26131 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26133 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26134 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26142 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26143 PyObject
*resultobj
= 0;
26144 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26148 PyObject
*swig_obj
[1] ;
26150 if (!args
) SWIG_fail
;
26151 swig_obj
[0] = args
;
26152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26153 if (!SWIG_IsOK(res1
)) {
26154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26156 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26158 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26159 if (PyErr_Occurred()) SWIG_fail
;
26161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26168 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26170 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26171 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26172 return SWIG_Py_Void();
26175 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26176 return SWIG_Python_InitShadowInstance(args
);
26179 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26180 PyObject
*resultobj
= 0;
26181 wxGraphicsPath
*result
= 0 ;
26183 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26185 if (!wxPyCheckForApp()) SWIG_fail
;
26186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26187 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26188 wxPyEndAllowThreads(__tstate
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26198 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26199 PyObject
*resultobj
= 0;
26200 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26203 PyObject
*swig_obj
[1] ;
26205 if (!args
) SWIG_fail
;
26206 swig_obj
[0] = args
;
26207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26208 if (!SWIG_IsOK(res1
)) {
26209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26211 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26215 if (PyErr_Occurred()) SWIG_fail
;
26217 resultobj
= SWIG_Py_Void();
26224 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26225 PyObject
*resultobj
= 0;
26226 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26236 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26238 if (!SWIG_IsOK(res1
)) {
26239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26241 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26242 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26243 if (!SWIG_IsOK(ecode2
)) {
26244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26246 arg2
= static_cast< wxDouble
>(val2
);
26247 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26248 if (!SWIG_IsOK(ecode3
)) {
26249 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26251 arg3
= static_cast< wxDouble
>(val3
);
26253 (arg1
)->MoveToPoint(arg2
,arg3
);
26254 if (PyErr_Occurred()) SWIG_fail
;
26256 resultobj
= SWIG_Py_Void();
26263 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26264 PyObject
*resultobj
= 0;
26265 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26266 wxPoint2D
*arg2
= 0 ;
26271 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26273 if (!SWIG_IsOK(res1
)) {
26274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26276 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26279 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26282 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26285 resultobj
= SWIG_Py_Void();
26292 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26296 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26299 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26302 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26306 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26311 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26312 PyObject
*resultobj
= 0;
26313 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26323 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26325 if (!SWIG_IsOK(res1
)) {
26326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26328 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26329 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26330 if (!SWIG_IsOK(ecode2
)) {
26331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26333 arg2
= static_cast< wxDouble
>(val2
);
26334 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26335 if (!SWIG_IsOK(ecode3
)) {
26336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26338 arg3
= static_cast< wxDouble
>(val3
);
26340 (arg1
)->AddLineToPoint(arg2
,arg3
);
26341 if (PyErr_Occurred()) SWIG_fail
;
26343 resultobj
= SWIG_Py_Void();
26350 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26351 PyObject
*resultobj
= 0;
26352 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26353 wxPoint2D
*arg2
= 0 ;
26358 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26360 if (!SWIG_IsOK(res1
)) {
26361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26363 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26366 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26369 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26370 if (PyErr_Occurred()) SWIG_fail
;
26372 resultobj
= SWIG_Py_Void();
26379 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26383 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26386 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26389 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26393 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26398 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26399 PyObject
*resultobj
= 0;
26400 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26422 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26424 if (!SWIG_IsOK(res1
)) {
26425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26427 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26428 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26429 if (!SWIG_IsOK(ecode2
)) {
26430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26432 arg2
= static_cast< wxDouble
>(val2
);
26433 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26434 if (!SWIG_IsOK(ecode3
)) {
26435 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26437 arg3
= static_cast< wxDouble
>(val3
);
26438 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26439 if (!SWIG_IsOK(ecode4
)) {
26440 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26442 arg4
= static_cast< wxDouble
>(val4
);
26443 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26444 if (!SWIG_IsOK(ecode5
)) {
26445 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26447 arg5
= static_cast< wxDouble
>(val5
);
26448 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26449 if (!SWIG_IsOK(ecode6
)) {
26450 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26452 arg6
= static_cast< wxDouble
>(val6
);
26453 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26454 if (!SWIG_IsOK(ecode7
)) {
26455 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26457 arg7
= static_cast< wxDouble
>(val7
);
26459 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26460 if (PyErr_Occurred()) SWIG_fail
;
26462 resultobj
= SWIG_Py_Void();
26469 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26470 PyObject
*resultobj
= 0;
26471 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26472 wxPoint2D
*arg2
= 0 ;
26473 wxPoint2D
*arg3
= 0 ;
26474 wxPoint2D
*arg4
= 0 ;
26481 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26483 if (!SWIG_IsOK(res1
)) {
26484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26486 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26489 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26493 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26497 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26500 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26501 if (PyErr_Occurred()) SWIG_fail
;
26503 resultobj
= SWIG_Py_Void();
26510 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26514 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26517 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26520 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26524 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26529 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26530 PyObject
*resultobj
= 0;
26531 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26532 wxGraphicsPath
*arg2
= 0 ;
26537 PyObject
* obj0
= 0 ;
26538 PyObject
* obj1
= 0 ;
26539 char * kwnames
[] = {
26540 (char *) "self",(char *) "path", NULL
26543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26545 if (!SWIG_IsOK(res1
)) {
26546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26548 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26550 if (!SWIG_IsOK(res2
)) {
26551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26556 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26558 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26561 resultobj
= SWIG_Py_Void();
26568 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26569 PyObject
*resultobj
= 0;
26570 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26573 PyObject
*swig_obj
[1] ;
26575 if (!args
) SWIG_fail
;
26576 swig_obj
[0] = args
;
26577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26578 if (!SWIG_IsOK(res1
)) {
26579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26581 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26583 (arg1
)->CloseSubpath();
26584 if (PyErr_Occurred()) SWIG_fail
;
26586 resultobj
= SWIG_Py_Void();
26593 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26594 PyObject
*resultobj
= 0;
26595 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26599 PyObject
*swig_obj
[1] ;
26601 if (!args
) SWIG_fail
;
26602 swig_obj
[0] = args
;
26603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26604 if (!SWIG_IsOK(res1
)) {
26605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26607 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26609 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26610 if (PyErr_Occurred()) SWIG_fail
;
26612 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26619 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26620 PyObject
*resultobj
= 0;
26621 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26643 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26645 if (!SWIG_IsOK(res1
)) {
26646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26648 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26649 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26650 if (!SWIG_IsOK(ecode2
)) {
26651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26653 arg2
= static_cast< wxDouble
>(val2
);
26654 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26655 if (!SWIG_IsOK(ecode3
)) {
26656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26658 arg3
= static_cast< wxDouble
>(val3
);
26659 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26660 if (!SWIG_IsOK(ecode4
)) {
26661 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26663 arg4
= static_cast< wxDouble
>(val4
);
26664 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26665 if (!SWIG_IsOK(ecode5
)) {
26666 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26668 arg5
= static_cast< wxDouble
>(val5
);
26669 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26670 if (!SWIG_IsOK(ecode6
)) {
26671 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26673 arg6
= static_cast< wxDouble
>(val6
);
26674 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26675 if (!SWIG_IsOK(ecode7
)) {
26676 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26678 arg7
= static_cast< bool >(val7
);
26680 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26681 if (PyErr_Occurred()) SWIG_fail
;
26683 resultobj
= SWIG_Py_Void();
26690 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26691 PyObject
*resultobj
= 0;
26692 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26693 wxPoint2D
*arg2
= 0 ;
26710 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26712 if (!SWIG_IsOK(res1
)) {
26713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26715 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26718 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26720 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26721 if (!SWIG_IsOK(ecode3
)) {
26722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26724 arg3
= static_cast< wxDouble
>(val3
);
26725 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26726 if (!SWIG_IsOK(ecode4
)) {
26727 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26729 arg4
= static_cast< wxDouble
>(val4
);
26730 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26731 if (!SWIG_IsOK(ecode5
)) {
26732 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26734 arg5
= static_cast< wxDouble
>(val5
);
26735 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26736 if (!SWIG_IsOK(ecode6
)) {
26737 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26739 arg6
= static_cast< bool >(val6
);
26741 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26742 if (PyErr_Occurred()) SWIG_fail
;
26744 resultobj
= SWIG_Py_Void();
26751 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26755 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26758 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26761 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26765 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26770 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26771 PyObject
*resultobj
= 0;
26772 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26787 PyObject
* obj0
= 0 ;
26788 PyObject
* obj1
= 0 ;
26789 PyObject
* obj2
= 0 ;
26790 PyObject
* obj3
= 0 ;
26791 PyObject
* obj4
= 0 ;
26792 char * kwnames
[] = {
26793 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26798 if (!SWIG_IsOK(res1
)) {
26799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26801 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26802 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26803 if (!SWIG_IsOK(ecode2
)) {
26804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26806 arg2
= static_cast< wxDouble
>(val2
);
26807 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26808 if (!SWIG_IsOK(ecode3
)) {
26809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26811 arg3
= static_cast< wxDouble
>(val3
);
26812 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26813 if (!SWIG_IsOK(ecode4
)) {
26814 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26816 arg4
= static_cast< wxDouble
>(val4
);
26817 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26818 if (!SWIG_IsOK(ecode5
)) {
26819 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26821 arg5
= static_cast< wxDouble
>(val5
);
26823 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26824 if (PyErr_Occurred()) SWIG_fail
;
26826 resultobj
= SWIG_Py_Void();
26833 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26834 PyObject
*resultobj
= 0;
26835 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26850 PyObject
* obj0
= 0 ;
26851 PyObject
* obj1
= 0 ;
26852 PyObject
* obj2
= 0 ;
26853 PyObject
* obj3
= 0 ;
26854 PyObject
* obj4
= 0 ;
26855 char * kwnames
[] = {
26856 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26861 if (!SWIG_IsOK(res1
)) {
26862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26864 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26865 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26866 if (!SWIG_IsOK(ecode2
)) {
26867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26869 arg2
= static_cast< wxDouble
>(val2
);
26870 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26871 if (!SWIG_IsOK(ecode3
)) {
26872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26874 arg3
= static_cast< wxDouble
>(val3
);
26875 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26876 if (!SWIG_IsOK(ecode4
)) {
26877 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26879 arg4
= static_cast< wxDouble
>(val4
);
26880 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26881 if (!SWIG_IsOK(ecode5
)) {
26882 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26884 arg5
= static_cast< wxDouble
>(val5
);
26886 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
26887 if (PyErr_Occurred()) SWIG_fail
;
26889 resultobj
= SWIG_Py_Void();
26896 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26897 PyObject
*resultobj
= 0;
26898 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26910 PyObject
* obj0
= 0 ;
26911 PyObject
* obj1
= 0 ;
26912 PyObject
* obj2
= 0 ;
26913 PyObject
* obj3
= 0 ;
26914 char * kwnames
[] = {
26915 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
26918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26920 if (!SWIG_IsOK(res1
)) {
26921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26923 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26924 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26925 if (!SWIG_IsOK(ecode2
)) {
26926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
26928 arg2
= static_cast< wxDouble
>(val2
);
26929 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26930 if (!SWIG_IsOK(ecode3
)) {
26931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
26933 arg3
= static_cast< wxDouble
>(val3
);
26934 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26935 if (!SWIG_IsOK(ecode4
)) {
26936 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
26938 arg4
= static_cast< wxDouble
>(val4
);
26940 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
26941 if (PyErr_Occurred()) SWIG_fail
;
26943 resultobj
= SWIG_Py_Void();
26950 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26951 PyObject
*resultobj
= 0;
26952 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26970 PyObject
* obj0
= 0 ;
26971 PyObject
* obj1
= 0 ;
26972 PyObject
* obj2
= 0 ;
26973 PyObject
* obj3
= 0 ;
26974 PyObject
* obj4
= 0 ;
26975 PyObject
* obj5
= 0 ;
26976 char * kwnames
[] = {
26977 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
26980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26982 if (!SWIG_IsOK(res1
)) {
26983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26985 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26986 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26987 if (!SWIG_IsOK(ecode2
)) {
26988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26990 arg2
= static_cast< wxDouble
>(val2
);
26991 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26992 if (!SWIG_IsOK(ecode3
)) {
26993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26995 arg3
= static_cast< wxDouble
>(val3
);
26996 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26997 if (!SWIG_IsOK(ecode4
)) {
26998 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27000 arg4
= static_cast< wxDouble
>(val4
);
27001 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27002 if (!SWIG_IsOK(ecode5
)) {
27003 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27005 arg5
= static_cast< wxDouble
>(val5
);
27006 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27007 if (!SWIG_IsOK(ecode6
)) {
27008 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27010 arg6
= static_cast< wxDouble
>(val6
);
27012 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27013 if (PyErr_Occurred()) SWIG_fail
;
27015 resultobj
= SWIG_Py_Void();
27022 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27023 PyObject
*resultobj
= 0;
27024 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27039 PyObject
* obj0
= 0 ;
27040 PyObject
* obj1
= 0 ;
27041 PyObject
* obj2
= 0 ;
27042 PyObject
* obj3
= 0 ;
27043 PyObject
* obj4
= 0 ;
27044 char * kwnames
[] = {
27045 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27050 if (!SWIG_IsOK(res1
)) {
27051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27053 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27054 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27055 if (!SWIG_IsOK(ecode2
)) {
27056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27058 arg2
= static_cast< wxDouble
>(val2
);
27059 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27060 if (!SWIG_IsOK(ecode3
)) {
27061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27063 arg3
= static_cast< wxDouble
>(val3
);
27064 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27065 if (!SWIG_IsOK(ecode4
)) {
27066 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27068 arg4
= static_cast< wxDouble
>(val4
);
27069 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27070 if (!SWIG_IsOK(ecode5
)) {
27071 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27073 arg5
= static_cast< wxDouble
>(val5
);
27075 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27076 if (PyErr_Occurred()) SWIG_fail
;
27078 resultobj
= SWIG_Py_Void();
27085 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27086 PyObject
*resultobj
= 0;
27087 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27105 PyObject
* obj0
= 0 ;
27106 PyObject
* obj1
= 0 ;
27107 PyObject
* obj2
= 0 ;
27108 PyObject
* obj3
= 0 ;
27109 PyObject
* obj4
= 0 ;
27110 PyObject
* obj5
= 0 ;
27111 char * kwnames
[] = {
27112 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27117 if (!SWIG_IsOK(res1
)) {
27118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27120 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27121 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27122 if (!SWIG_IsOK(ecode2
)) {
27123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27125 arg2
= static_cast< wxDouble
>(val2
);
27126 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27127 if (!SWIG_IsOK(ecode3
)) {
27128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27130 arg3
= static_cast< wxDouble
>(val3
);
27131 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27132 if (!SWIG_IsOK(ecode4
)) {
27133 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27135 arg4
= static_cast< wxDouble
>(val4
);
27136 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27137 if (!SWIG_IsOK(ecode5
)) {
27138 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27140 arg5
= static_cast< wxDouble
>(val5
);
27141 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27142 if (!SWIG_IsOK(ecode6
)) {
27143 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27145 arg6
= static_cast< wxDouble
>(val6
);
27147 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27148 if (PyErr_Occurred()) SWIG_fail
;
27150 resultobj
= SWIG_Py_Void();
27157 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27158 PyObject
*resultobj
= 0;
27159 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27163 PyObject
*swig_obj
[1] ;
27165 if (!args
) SWIG_fail
;
27166 swig_obj
[0] = args
;
27167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27168 if (!SWIG_IsOK(res1
)) {
27169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27171 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27173 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27174 if (PyErr_Occurred()) SWIG_fail
;
27176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27183 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27184 PyObject
*resultobj
= 0;
27185 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27186 void *arg2
= (void *) 0 ;
27190 PyObject
* obj0
= 0 ;
27191 PyObject
* obj1
= 0 ;
27192 char * kwnames
[] = {
27193 (char *) "self",(char *) "p", NULL
27196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27198 if (!SWIG_IsOK(res1
)) {
27199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27201 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27202 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27203 if (!SWIG_IsOK(res2
)) {
27204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27207 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27208 if (PyErr_Occurred()) SWIG_fail
;
27210 resultobj
= SWIG_Py_Void();
27217 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27218 PyObject
*resultobj
= 0;
27219 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27220 wxGraphicsMatrix
*arg2
= 0 ;
27225 PyObject
* obj0
= 0 ;
27226 PyObject
* obj1
= 0 ;
27227 char * kwnames
[] = {
27228 (char *) "self",(char *) "matrix", NULL
27231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27233 if (!SWIG_IsOK(res1
)) {
27234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27236 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27237 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27238 if (!SWIG_IsOK(res2
)) {
27239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27244 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27246 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27247 if (PyErr_Occurred()) SWIG_fail
;
27249 resultobj
= SWIG_Py_Void();
27256 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27257 PyObject
*resultobj
= 0;
27258 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27259 wxRect2DDouble result
;
27262 PyObject
*swig_obj
[1] ;
27264 if (!args
) SWIG_fail
;
27265 swig_obj
[0] = args
;
27266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27267 if (!SWIG_IsOK(res1
)) {
27268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27270 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27272 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27273 if (PyErr_Occurred()) SWIG_fail
;
27275 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
27282 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27283 PyObject
*resultobj
= 0;
27284 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27287 int arg4
= (int) wxODDEVEN_RULE
;
27298 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27300 if (!SWIG_IsOK(res1
)) {
27301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27303 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27304 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27305 if (!SWIG_IsOK(ecode2
)) {
27306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27308 arg2
= static_cast< wxDouble
>(val2
);
27309 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27310 if (!SWIG_IsOK(ecode3
)) {
27311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27313 arg3
= static_cast< wxDouble
>(val3
);
27315 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27316 if (!SWIG_IsOK(ecode4
)) {
27317 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27319 arg4
= static_cast< int >(val4
);
27322 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27323 if (PyErr_Occurred()) SWIG_fail
;
27326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27334 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27335 PyObject
*resultobj
= 0;
27336 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27337 wxPoint2DDouble
*arg2
= 0 ;
27338 int arg3
= (int) wxODDEVEN_RULE
;
27347 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27349 if (!SWIG_IsOK(res1
)) {
27350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27352 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27353 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
27354 if (!SWIG_IsOK(res2
)) {
27355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27360 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
27362 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27363 if (!SWIG_IsOK(ecode3
)) {
27364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27366 arg3
= static_cast< int >(val3
);
27369 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
27370 if (PyErr_Occurred()) SWIG_fail
;
27373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27381 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27385 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27387 if ((argc
>= 2) && (argc
<= 3)) {
27390 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
27391 _v
= SWIG_CheckState(res
);
27393 if (!_v
) goto check_1
;
27397 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27398 _v
= SWIG_CheckState(res
);
27401 if (!_v
) goto check_1
;
27403 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27407 if ((argc
>= 3) && (argc
<= 4)) {
27408 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27412 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27417 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27419 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27420 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27421 return SWIG_Py_Void();
27424 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27425 return SWIG_Python_InitShadowInstance(args
);
27428 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27429 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27434 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27435 PyObject
*pyobj
= 0;
27437 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27442 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27443 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27448 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27449 PyObject
*pyobj
= 0;
27451 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27456 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27457 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27462 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27463 PyObject
*pyobj
= 0;
27465 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27470 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27471 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27476 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27477 PyObject
*pyobj
= 0;
27479 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27484 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27485 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27490 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27491 PyObject
*pyobj
= 0;
27493 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27498 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27499 PyObject
*resultobj
= 0;
27500 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27503 PyObject
*swig_obj
[1] ;
27505 if (!args
) SWIG_fail
;
27506 swig_obj
[0] = args
;
27507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27508 if (!SWIG_IsOK(res1
)) {
27509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27511 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27515 if (PyErr_Occurred()) SWIG_fail
;
27517 resultobj
= SWIG_Py_Void();
27524 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27525 PyObject
*resultobj
= 0;
27526 wxWindowDC
*arg1
= 0 ;
27527 wxGraphicsContext
*result
= 0 ;
27531 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27533 if (!SWIG_IsOK(res1
)) {
27534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27539 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27541 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27542 if (PyErr_Occurred()) SWIG_fail
;
27544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27551 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27552 PyObject
*resultobj
= 0;
27553 wxWindow
*arg1
= (wxWindow
*) 0 ;
27554 wxGraphicsContext
*result
= 0 ;
27558 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27560 if (!SWIG_IsOK(res1
)) {
27561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27563 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27565 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27566 if (PyErr_Occurred()) SWIG_fail
;
27568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27575 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27579 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27584 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27585 _v
= SWIG_CheckState(res
);
27587 if (!_v
) goto check_1
;
27588 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27593 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27597 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27602 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27603 PyObject
*resultobj
= 0;
27604 void *arg1
= (void *) 0 ;
27605 wxGraphicsContext
*result
= 0 ;
27607 PyObject
* obj0
= 0 ;
27608 char * kwnames
[] = {
27609 (char *) "context", NULL
27612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27613 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27614 if (!SWIG_IsOK(res1
)) {
27615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27618 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27619 if (PyErr_Occurred()) SWIG_fail
;
27621 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27628 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27629 PyObject
*resultobj
= 0;
27630 void *arg1
= (void *) 0 ;
27631 wxGraphicsContext
*result
= 0 ;
27633 PyObject
* obj0
= 0 ;
27634 char * kwnames
[] = {
27635 (char *) "window", NULL
27638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27639 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27640 if (!SWIG_IsOK(res1
)) {
27641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27644 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27645 if (PyErr_Occurred()) SWIG_fail
;
27647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27654 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27655 PyObject
*resultobj
= 0;
27656 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27657 wxGraphicsPath result
;
27660 PyObject
*swig_obj
[1] ;
27662 if (!args
) SWIG_fail
;
27663 swig_obj
[0] = args
;
27664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27665 if (!SWIG_IsOK(res1
)) {
27666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27668 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27670 result
= (arg1
)->CreatePath();
27671 if (PyErr_Occurred()) SWIG_fail
;
27673 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27680 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27681 PyObject
*resultobj
= 0;
27682 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27684 wxGraphicsPen result
;
27689 PyObject
* obj0
= 0 ;
27690 PyObject
* obj1
= 0 ;
27691 char * kwnames
[] = {
27692 (char *) "self",(char *) "pen", NULL
27695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27697 if (!SWIG_IsOK(res1
)) {
27698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27700 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27701 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27702 if (!SWIG_IsOK(res2
)) {
27703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27708 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27710 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27711 if (PyErr_Occurred()) SWIG_fail
;
27713 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27720 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27721 PyObject
*resultobj
= 0;
27722 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27723 wxBrush
*arg2
= 0 ;
27724 wxGraphicsBrush result
;
27729 PyObject
* obj0
= 0 ;
27730 PyObject
* obj1
= 0 ;
27731 char * kwnames
[] = {
27732 (char *) "self",(char *) "brush", NULL
27735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27737 if (!SWIG_IsOK(res1
)) {
27738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27740 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27741 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27742 if (!SWIG_IsOK(res2
)) {
27743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27748 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27750 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27751 if (PyErr_Occurred()) SWIG_fail
;
27753 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27760 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27761 PyObject
*resultobj
= 0;
27762 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27767 wxColour
*arg6
= 0 ;
27768 wxColour
*arg7
= 0 ;
27769 wxGraphicsBrush result
;
27782 PyObject
* obj0
= 0 ;
27783 PyObject
* obj1
= 0 ;
27784 PyObject
* obj2
= 0 ;
27785 PyObject
* obj3
= 0 ;
27786 PyObject
* obj4
= 0 ;
27787 PyObject
* obj5
= 0 ;
27788 PyObject
* obj6
= 0 ;
27789 char * kwnames
[] = {
27790 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27795 if (!SWIG_IsOK(res1
)) {
27796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27798 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27799 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27800 if (!SWIG_IsOK(ecode2
)) {
27801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27803 arg2
= static_cast< wxDouble
>(val2
);
27804 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27805 if (!SWIG_IsOK(ecode3
)) {
27806 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27808 arg3
= static_cast< wxDouble
>(val3
);
27809 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27810 if (!SWIG_IsOK(ecode4
)) {
27811 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27813 arg4
= static_cast< wxDouble
>(val4
);
27814 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27815 if (!SWIG_IsOK(ecode5
)) {
27816 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27818 arg5
= static_cast< wxDouble
>(val5
);
27821 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27825 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27828 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27829 if (PyErr_Occurred()) SWIG_fail
;
27831 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27838 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27839 PyObject
*resultobj
= 0;
27840 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27846 wxColour
*arg7
= 0 ;
27847 wxColour
*arg8
= 0 ;
27848 wxGraphicsBrush result
;
27863 PyObject
* obj0
= 0 ;
27864 PyObject
* obj1
= 0 ;
27865 PyObject
* obj2
= 0 ;
27866 PyObject
* obj3
= 0 ;
27867 PyObject
* obj4
= 0 ;
27868 PyObject
* obj5
= 0 ;
27869 PyObject
* obj6
= 0 ;
27870 PyObject
* obj7
= 0 ;
27871 char * kwnames
[] = {
27872 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
27875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
27876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27877 if (!SWIG_IsOK(res1
)) {
27878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27880 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27881 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27882 if (!SWIG_IsOK(ecode2
)) {
27883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27885 arg2
= static_cast< wxDouble
>(val2
);
27886 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27887 if (!SWIG_IsOK(ecode3
)) {
27888 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27890 arg3
= static_cast< wxDouble
>(val3
);
27891 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27892 if (!SWIG_IsOK(ecode4
)) {
27893 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27895 arg4
= static_cast< wxDouble
>(val4
);
27896 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27897 if (!SWIG_IsOK(ecode5
)) {
27898 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27900 arg5
= static_cast< wxDouble
>(val5
);
27901 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27902 if (!SWIG_IsOK(ecode6
)) {
27903 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
27905 arg6
= static_cast< wxDouble
>(val6
);
27908 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27912 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
27915 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
27916 if (PyErr_Occurred()) SWIG_fail
;
27918 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27925 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27926 PyObject
*resultobj
= 0;
27927 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27929 wxColour
const &arg3_defvalue
= *wxBLACK
;
27930 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
27931 wxGraphicsFont result
;
27937 PyObject
* obj0
= 0 ;
27938 PyObject
* obj1
= 0 ;
27939 PyObject
* obj2
= 0 ;
27940 char * kwnames
[] = {
27941 (char *) "self",(char *) "font",(char *) "col", NULL
27944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27946 if (!SWIG_IsOK(res1
)) {
27947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27949 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27950 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27951 if (!SWIG_IsOK(res2
)) {
27952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27957 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27961 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27965 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27968 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
27975 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27976 PyObject
*resultobj
= 0;
27977 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27978 wxDouble arg2
= (wxDouble
) 1.0 ;
27979 wxDouble arg3
= (wxDouble
) 0.0 ;
27980 wxDouble arg4
= (wxDouble
) 0.0 ;
27981 wxDouble arg5
= (wxDouble
) 1.0 ;
27982 wxDouble arg6
= (wxDouble
) 0.0 ;
27983 wxDouble arg7
= (wxDouble
) 0.0 ;
27984 wxGraphicsMatrix result
;
27999 PyObject
* obj0
= 0 ;
28000 PyObject
* obj1
= 0 ;
28001 PyObject
* obj2
= 0 ;
28002 PyObject
* obj3
= 0 ;
28003 PyObject
* obj4
= 0 ;
28004 PyObject
* obj5
= 0 ;
28005 PyObject
* obj6
= 0 ;
28006 char * kwnames
[] = {
28007 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28012 if (!SWIG_IsOK(res1
)) {
28013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28015 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28017 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28018 if (!SWIG_IsOK(ecode2
)) {
28019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28021 arg2
= static_cast< wxDouble
>(val2
);
28024 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28025 if (!SWIG_IsOK(ecode3
)) {
28026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28028 arg3
= static_cast< wxDouble
>(val3
);
28031 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28032 if (!SWIG_IsOK(ecode4
)) {
28033 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28035 arg4
= static_cast< wxDouble
>(val4
);
28038 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28039 if (!SWIG_IsOK(ecode5
)) {
28040 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28042 arg5
= static_cast< wxDouble
>(val5
);
28045 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28046 if (!SWIG_IsOK(ecode6
)) {
28047 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28049 arg6
= static_cast< wxDouble
>(val6
);
28052 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28053 if (!SWIG_IsOK(ecode7
)) {
28054 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28056 arg7
= static_cast< wxDouble
>(val7
);
28059 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28060 if (PyErr_Occurred()) SWIG_fail
;
28062 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28069 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28070 PyObject
*resultobj
= 0;
28071 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28074 PyObject
*swig_obj
[1] ;
28076 if (!args
) SWIG_fail
;
28077 swig_obj
[0] = args
;
28078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28079 if (!SWIG_IsOK(res1
)) {
28080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28082 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28084 (arg1
)->PushState();
28085 if (PyErr_Occurred()) SWIG_fail
;
28087 resultobj
= SWIG_Py_Void();
28094 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28095 PyObject
*resultobj
= 0;
28096 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28099 PyObject
*swig_obj
[1] ;
28101 if (!args
) SWIG_fail
;
28102 swig_obj
[0] = args
;
28103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28104 if (!SWIG_IsOK(res1
)) {
28105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28107 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28109 (arg1
)->PopState();
28110 if (PyErr_Occurred()) SWIG_fail
;
28112 resultobj
= SWIG_Py_Void();
28119 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28120 PyObject
*resultobj
= 0;
28121 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28122 wxRegion
*arg2
= 0 ;
28127 PyObject
* obj0
= 0 ;
28128 PyObject
* obj1
= 0 ;
28129 char * kwnames
[] = {
28130 (char *) "self",(char *) "region", NULL
28133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28135 if (!SWIG_IsOK(res1
)) {
28136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28138 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28139 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28140 if (!SWIG_IsOK(res2
)) {
28141 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28144 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28146 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28148 (arg1
)->Clip((wxRegion
const &)*arg2
);
28149 if (PyErr_Occurred()) SWIG_fail
;
28151 resultobj
= SWIG_Py_Void();
28158 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28159 PyObject
*resultobj
= 0;
28160 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28175 PyObject
* obj0
= 0 ;
28176 PyObject
* obj1
= 0 ;
28177 PyObject
* obj2
= 0 ;
28178 PyObject
* obj3
= 0 ;
28179 PyObject
* obj4
= 0 ;
28180 char * kwnames
[] = {
28181 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28186 if (!SWIG_IsOK(res1
)) {
28187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28189 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28190 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28191 if (!SWIG_IsOK(ecode2
)) {
28192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28194 arg2
= static_cast< wxDouble
>(val2
);
28195 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28196 if (!SWIG_IsOK(ecode3
)) {
28197 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28199 arg3
= static_cast< wxDouble
>(val3
);
28200 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28201 if (!SWIG_IsOK(ecode4
)) {
28202 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28204 arg4
= static_cast< wxDouble
>(val4
);
28205 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28206 if (!SWIG_IsOK(ecode5
)) {
28207 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28209 arg5
= static_cast< wxDouble
>(val5
);
28211 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28212 if (PyErr_Occurred()) SWIG_fail
;
28214 resultobj
= SWIG_Py_Void();
28221 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28222 PyObject
*resultobj
= 0;
28223 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28226 PyObject
*swig_obj
[1] ;
28228 if (!args
) SWIG_fail
;
28229 swig_obj
[0] = args
;
28230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28231 if (!SWIG_IsOK(res1
)) {
28232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28234 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28236 (arg1
)->ResetClip();
28237 if (PyErr_Occurred()) SWIG_fail
;
28239 resultobj
= SWIG_Py_Void();
28246 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28247 PyObject
*resultobj
= 0;
28248 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28252 PyObject
*swig_obj
[1] ;
28254 if (!args
) SWIG_fail
;
28255 swig_obj
[0] = args
;
28256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28257 if (!SWIG_IsOK(res1
)) {
28258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28260 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28262 result
= (void *)(arg1
)->GetNativeContext();
28263 if (PyErr_Occurred()) SWIG_fail
;
28265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28272 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28273 PyObject
*resultobj
= 0;
28274 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28283 PyObject
* obj0
= 0 ;
28284 PyObject
* obj1
= 0 ;
28285 PyObject
* obj2
= 0 ;
28286 char * kwnames
[] = {
28287 (char *) "self",(char *) "dx",(char *) "dy", NULL
28290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28292 if (!SWIG_IsOK(res1
)) {
28293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28295 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28296 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28297 if (!SWIG_IsOK(ecode2
)) {
28298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28300 arg2
= static_cast< wxDouble
>(val2
);
28301 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28302 if (!SWIG_IsOK(ecode3
)) {
28303 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28305 arg3
= static_cast< wxDouble
>(val3
);
28307 (arg1
)->Translate(arg2
,arg3
);
28308 if (PyErr_Occurred()) SWIG_fail
;
28310 resultobj
= SWIG_Py_Void();
28317 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28318 PyObject
*resultobj
= 0;
28319 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28328 PyObject
* obj0
= 0 ;
28329 PyObject
* obj1
= 0 ;
28330 PyObject
* obj2
= 0 ;
28331 char * kwnames
[] = {
28332 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28337 if (!SWIG_IsOK(res1
)) {
28338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28340 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28341 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28342 if (!SWIG_IsOK(ecode2
)) {
28343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28345 arg2
= static_cast< wxDouble
>(val2
);
28346 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28347 if (!SWIG_IsOK(ecode3
)) {
28348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28350 arg3
= static_cast< wxDouble
>(val3
);
28352 (arg1
)->Scale(arg2
,arg3
);
28353 if (PyErr_Occurred()) SWIG_fail
;
28355 resultobj
= SWIG_Py_Void();
28362 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28363 PyObject
*resultobj
= 0;
28364 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28370 PyObject
* obj0
= 0 ;
28371 PyObject
* obj1
= 0 ;
28372 char * kwnames
[] = {
28373 (char *) "self",(char *) "angle", NULL
28376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28378 if (!SWIG_IsOK(res1
)) {
28379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28381 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28382 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28383 if (!SWIG_IsOK(ecode2
)) {
28384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28386 arg2
= static_cast< wxDouble
>(val2
);
28388 (arg1
)->Rotate(arg2
);
28389 if (PyErr_Occurred()) SWIG_fail
;
28391 resultobj
= SWIG_Py_Void();
28398 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28399 PyObject
*resultobj
= 0;
28400 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28401 wxGraphicsMatrix
*arg2
= 0 ;
28406 PyObject
* obj0
= 0 ;
28407 PyObject
* obj1
= 0 ;
28408 char * kwnames
[] = {
28409 (char *) "self",(char *) "matrix", NULL
28412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28414 if (!SWIG_IsOK(res1
)) {
28415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28417 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28418 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28419 if (!SWIG_IsOK(res2
)) {
28420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28425 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28427 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28430 resultobj
= SWIG_Py_Void();
28437 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28438 PyObject
*resultobj
= 0;
28439 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28440 wxGraphicsMatrix
*arg2
= 0 ;
28445 PyObject
* obj0
= 0 ;
28446 PyObject
* obj1
= 0 ;
28447 char * kwnames
[] = {
28448 (char *) "self",(char *) "matrix", NULL
28451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28453 if (!SWIG_IsOK(res1
)) {
28454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28456 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28457 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28458 if (!SWIG_IsOK(res2
)) {
28459 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28462 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28464 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28466 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28467 if (PyErr_Occurred()) SWIG_fail
;
28469 resultobj
= SWIG_Py_Void();
28476 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28477 PyObject
*resultobj
= 0;
28478 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28479 wxGraphicsMatrix result
;
28482 PyObject
*swig_obj
[1] ;
28484 if (!args
) SWIG_fail
;
28485 swig_obj
[0] = args
;
28486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28487 if (!SWIG_IsOK(res1
)) {
28488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28490 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28492 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28493 if (PyErr_Occurred()) SWIG_fail
;
28495 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28502 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28503 PyObject
*resultobj
= 0;
28504 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28505 wxGraphicsPen
*arg2
= 0 ;
28511 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28513 if (!SWIG_IsOK(res1
)) {
28514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28516 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28517 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28518 if (!SWIG_IsOK(res2
)) {
28519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28524 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28526 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28527 if (PyErr_Occurred()) SWIG_fail
;
28529 resultobj
= SWIG_Py_Void();
28536 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28537 PyObject
*resultobj
= 0;
28538 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28545 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28547 if (!SWIG_IsOK(res1
)) {
28548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28550 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28551 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28552 if (!SWIG_IsOK(res2
)) {
28553 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28558 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28560 (arg1
)->SetPen((wxPen
const &)*arg2
);
28561 if (PyErr_Occurred()) SWIG_fail
;
28563 resultobj
= SWIG_Py_Void();
28570 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28574 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28579 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28580 _v
= SWIG_CheckState(res
);
28582 if (!_v
) goto check_1
;
28583 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28588 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28592 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28597 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28598 PyObject
*resultobj
= 0;
28599 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28600 wxGraphicsBrush
*arg2
= 0 ;
28606 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28608 if (!SWIG_IsOK(res1
)) {
28609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28611 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28612 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28613 if (!SWIG_IsOK(res2
)) {
28614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28619 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28621 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28622 if (PyErr_Occurred()) SWIG_fail
;
28624 resultobj
= SWIG_Py_Void();
28631 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28632 PyObject
*resultobj
= 0;
28633 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28634 wxBrush
*arg2
= 0 ;
28640 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28642 if (!SWIG_IsOK(res1
)) {
28643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28645 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28646 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28647 if (!SWIG_IsOK(res2
)) {
28648 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28651 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28653 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28655 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28656 if (PyErr_Occurred()) SWIG_fail
;
28658 resultobj
= SWIG_Py_Void();
28665 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28669 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28674 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28675 _v
= SWIG_CheckState(res
);
28677 if (!_v
) goto check_1
;
28678 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28683 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28687 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28692 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28693 PyObject
*resultobj
= 0;
28694 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28695 wxGraphicsFont
*arg2
= 0 ;
28701 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28703 if (!SWIG_IsOK(res1
)) {
28704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28706 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28707 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28708 if (!SWIG_IsOK(res2
)) {
28709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28714 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28716 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28717 if (PyErr_Occurred()) SWIG_fail
;
28719 resultobj
= SWIG_Py_Void();
28726 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28727 PyObject
*resultobj
= 0;
28728 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28730 wxColour
const &arg3_defvalue
= *wxBLACK
;
28731 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28738 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28740 if (!SWIG_IsOK(res1
)) {
28741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28743 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28744 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28745 if (!SWIG_IsOK(res2
)) {
28746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28751 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28755 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28759 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28760 if (PyErr_Occurred()) SWIG_fail
;
28762 resultobj
= SWIG_Py_Void();
28769 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
28773 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
28778 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
28779 _v
= SWIG_CheckState(res
);
28781 if (!_v
) goto check_1
;
28782 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
28786 if ((argc
>= 2) && (argc
<= 3)) {
28787 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
28791 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
28796 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28797 PyObject
*resultobj
= 0;
28798 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28799 wxGraphicsPath
*arg2
= 0 ;
28804 PyObject
* obj0
= 0 ;
28805 PyObject
* obj1
= 0 ;
28806 char * kwnames
[] = {
28807 (char *) "self",(char *) "path", NULL
28810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28812 if (!SWIG_IsOK(res1
)) {
28813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28815 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28816 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28817 if (!SWIG_IsOK(res2
)) {
28818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28821 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28823 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28825 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
28826 if (PyErr_Occurred()) SWIG_fail
;
28828 resultobj
= SWIG_Py_Void();
28835 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28836 PyObject
*resultobj
= 0;
28837 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28838 wxGraphicsPath
*arg2
= 0 ;
28839 int arg3
= (int) wxODDEVEN_RULE
;
28846 PyObject
* obj0
= 0 ;
28847 PyObject
* obj1
= 0 ;
28848 PyObject
* obj2
= 0 ;
28849 char * kwnames
[] = {
28850 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28855 if (!SWIG_IsOK(res1
)) {
28856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28858 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28859 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28860 if (!SWIG_IsOK(res2
)) {
28861 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28864 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28866 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28869 if (!SWIG_IsOK(ecode3
)) {
28870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
28872 arg3
= static_cast< int >(val3
);
28875 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
28876 if (PyErr_Occurred()) SWIG_fail
;
28878 resultobj
= SWIG_Py_Void();
28885 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28886 PyObject
*resultobj
= 0;
28887 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28888 wxGraphicsPath
*arg2
= 0 ;
28889 int arg3
= (int) wxODDEVEN_RULE
;
28896 PyObject
* obj0
= 0 ;
28897 PyObject
* obj1
= 0 ;
28898 PyObject
* obj2
= 0 ;
28899 char * kwnames
[] = {
28900 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28905 if (!SWIG_IsOK(res1
)) {
28906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28908 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28909 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28910 if (!SWIG_IsOK(res2
)) {
28911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28916 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28918 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28919 if (!SWIG_IsOK(ecode3
)) {
28920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
28922 arg3
= static_cast< int >(val3
);
28925 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
28926 if (PyErr_Occurred()) SWIG_fail
;
28928 resultobj
= SWIG_Py_Void();
28935 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28936 PyObject
*resultobj
= 0;
28937 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28938 wxString
*arg2
= 0 ;
28943 bool temp2
= false ;
28948 PyObject
* obj0
= 0 ;
28949 PyObject
* obj1
= 0 ;
28950 PyObject
* obj2
= 0 ;
28951 PyObject
* obj3
= 0 ;
28952 char * kwnames
[] = {
28953 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
28956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28958 if (!SWIG_IsOK(res1
)) {
28959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28961 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28963 arg2
= wxString_in_helper(obj1
);
28964 if (arg2
== NULL
) SWIG_fail
;
28967 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28968 if (!SWIG_IsOK(ecode3
)) {
28969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
28971 arg3
= static_cast< wxDouble
>(val3
);
28972 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28973 if (!SWIG_IsOK(ecode4
)) {
28974 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
28976 arg4
= static_cast< wxDouble
>(val4
);
28978 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
28979 if (PyErr_Occurred()) SWIG_fail
;
28981 resultobj
= SWIG_Py_Void();
28996 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28997 PyObject
*resultobj
= 0;
28998 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28999 wxString
*arg2
= 0 ;
29005 bool temp2
= false ;
29012 PyObject
* obj0
= 0 ;
29013 PyObject
* obj1
= 0 ;
29014 PyObject
* obj2
= 0 ;
29015 PyObject
* obj3
= 0 ;
29016 PyObject
* obj4
= 0 ;
29017 char * kwnames
[] = {
29018 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
29021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29023 if (!SWIG_IsOK(res1
)) {
29024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29026 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29028 arg2
= wxString_in_helper(obj1
);
29029 if (arg2
== NULL
) SWIG_fail
;
29032 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29033 if (!SWIG_IsOK(ecode3
)) {
29034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29036 arg3
= static_cast< wxDouble
>(val3
);
29037 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29038 if (!SWIG_IsOK(ecode4
)) {
29039 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29041 arg4
= static_cast< wxDouble
>(val4
);
29042 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29043 if (!SWIG_IsOK(ecode5
)) {
29044 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29046 arg5
= static_cast< wxDouble
>(val5
);
29048 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29049 if (PyErr_Occurred()) SWIG_fail
;
29051 resultobj
= SWIG_Py_Void();
29066 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29067 PyObject
*resultobj
= 0;
29068 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29069 wxString
*arg2
= 0 ;
29070 wxDouble
*arg3
= (wxDouble
*) 0 ;
29071 wxDouble
*arg4
= (wxDouble
*) 0 ;
29072 wxDouble
*arg5
= (wxDouble
*) 0 ;
29073 wxDouble
*arg6
= (wxDouble
*) 0 ;
29076 bool temp2
= false ;
29078 int res3
= SWIG_TMPOBJ
;
29080 int res4
= SWIG_TMPOBJ
;
29082 int res5
= SWIG_TMPOBJ
;
29084 int res6
= SWIG_TMPOBJ
;
29085 PyObject
* obj0
= 0 ;
29086 PyObject
* obj1
= 0 ;
29087 char * kwnames
[] = {
29088 (char *) "self",(char *) "text", NULL
29095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29097 if (!SWIG_IsOK(res1
)) {
29098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29100 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29102 arg2
= wxString_in_helper(obj1
);
29103 if (arg2
== NULL
) SWIG_fail
;
29107 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29108 if (PyErr_Occurred()) SWIG_fail
;
29110 resultobj
= SWIG_Py_Void();
29111 if (SWIG_IsTmpObj(res3
)) {
29112 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29114 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29115 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29117 if (SWIG_IsTmpObj(res4
)) {
29118 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29120 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29121 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29123 if (SWIG_IsTmpObj(res5
)) {
29124 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29126 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29127 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29129 if (SWIG_IsTmpObj(res6
)) {
29130 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29132 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29133 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29149 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29150 PyObject
*resultobj
= 0;
29151 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29152 wxString
*arg2
= 0 ;
29153 PyObject
*result
= 0 ;
29156 bool temp2
= false ;
29157 PyObject
* obj0
= 0 ;
29158 PyObject
* obj1
= 0 ;
29159 char * kwnames
[] = {
29160 (char *) "self",(char *) "text", NULL
29163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29165 if (!SWIG_IsOK(res1
)) {
29166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29168 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29170 arg2
= wxString_in_helper(obj1
);
29171 if (arg2
== NULL
) SWIG_fail
;
29175 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29176 if (PyErr_Occurred()) SWIG_fail
;
29178 resultobj
= result
;
29193 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29194 PyObject
*resultobj
= 0;
29195 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29196 wxString
*arg2
= 0 ;
29197 wxArrayDouble result
;
29200 bool temp2
= false ;
29201 PyObject
* obj0
= 0 ;
29202 PyObject
* obj1
= 0 ;
29203 char * kwnames
[] = {
29204 (char *) "self",(char *) "text", NULL
29207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29209 if (!SWIG_IsOK(res1
)) {
29210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29212 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29214 arg2
= wxString_in_helper(obj1
);
29215 if (arg2
== NULL
) SWIG_fail
;
29219 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29220 if (PyErr_Occurred()) SWIG_fail
;
29223 resultobj
= wxArrayDouble2PyList_helper(result
);
29239 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29240 PyObject
*resultobj
= 0;
29241 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29242 wxBitmap
*arg2
= 0 ;
29259 PyObject
* obj0
= 0 ;
29260 PyObject
* obj1
= 0 ;
29261 PyObject
* obj2
= 0 ;
29262 PyObject
* obj3
= 0 ;
29263 PyObject
* obj4
= 0 ;
29264 PyObject
* obj5
= 0 ;
29265 char * kwnames
[] = {
29266 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29271 if (!SWIG_IsOK(res1
)) {
29272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29274 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29275 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29276 if (!SWIG_IsOK(res2
)) {
29277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29282 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29283 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29284 if (!SWIG_IsOK(ecode3
)) {
29285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29287 arg3
= static_cast< wxDouble
>(val3
);
29288 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29289 if (!SWIG_IsOK(ecode4
)) {
29290 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29292 arg4
= static_cast< wxDouble
>(val4
);
29293 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29294 if (!SWIG_IsOK(ecode5
)) {
29295 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29297 arg5
= static_cast< wxDouble
>(val5
);
29298 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29299 if (!SWIG_IsOK(ecode6
)) {
29300 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29302 arg6
= static_cast< wxDouble
>(val6
);
29304 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29305 if (PyErr_Occurred()) SWIG_fail
;
29307 resultobj
= SWIG_Py_Void();
29314 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29315 PyObject
*resultobj
= 0;
29316 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29334 PyObject
* obj0
= 0 ;
29335 PyObject
* obj1
= 0 ;
29336 PyObject
* obj2
= 0 ;
29337 PyObject
* obj3
= 0 ;
29338 PyObject
* obj4
= 0 ;
29339 PyObject
* obj5
= 0 ;
29340 char * kwnames
[] = {
29341 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29346 if (!SWIG_IsOK(res1
)) {
29347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29349 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29350 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29351 if (!SWIG_IsOK(res2
)) {
29352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29357 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29358 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29359 if (!SWIG_IsOK(ecode3
)) {
29360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29362 arg3
= static_cast< wxDouble
>(val3
);
29363 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29364 if (!SWIG_IsOK(ecode4
)) {
29365 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29367 arg4
= static_cast< wxDouble
>(val4
);
29368 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29369 if (!SWIG_IsOK(ecode5
)) {
29370 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29372 arg5
= static_cast< wxDouble
>(val5
);
29373 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29374 if (!SWIG_IsOK(ecode6
)) {
29375 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29377 arg6
= static_cast< wxDouble
>(val6
);
29379 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29380 if (PyErr_Occurred()) SWIG_fail
;
29382 resultobj
= SWIG_Py_Void();
29389 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29390 PyObject
*resultobj
= 0;
29391 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29406 PyObject
* obj0
= 0 ;
29407 PyObject
* obj1
= 0 ;
29408 PyObject
* obj2
= 0 ;
29409 PyObject
* obj3
= 0 ;
29410 PyObject
* obj4
= 0 ;
29411 char * kwnames
[] = {
29412 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29417 if (!SWIG_IsOK(res1
)) {
29418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29420 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29421 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29422 if (!SWIG_IsOK(ecode2
)) {
29423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29425 arg2
= static_cast< wxDouble
>(val2
);
29426 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29427 if (!SWIG_IsOK(ecode3
)) {
29428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29430 arg3
= static_cast< wxDouble
>(val3
);
29431 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29432 if (!SWIG_IsOK(ecode4
)) {
29433 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29435 arg4
= static_cast< wxDouble
>(val4
);
29436 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29437 if (!SWIG_IsOK(ecode5
)) {
29438 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29440 arg5
= static_cast< wxDouble
>(val5
);
29442 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29443 if (PyErr_Occurred()) SWIG_fail
;
29445 resultobj
= SWIG_Py_Void();
29452 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29453 PyObject
*resultobj
= 0;
29454 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29456 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29459 PyObject
* obj0
= 0 ;
29460 PyObject
* obj1
= 0 ;
29461 char * kwnames
[] = {
29462 (char *) "self",(char *) "points", NULL
29465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29467 if (!SWIG_IsOK(res1
)) {
29468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29470 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29472 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29473 if (arg3
== NULL
) SWIG_fail
;
29476 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29477 if (PyErr_Occurred()) SWIG_fail
;
29479 resultobj
= SWIG_Py_Void();
29481 if (arg3
) delete [] arg3
;
29486 if (arg3
) delete [] arg3
;
29492 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29493 PyObject
*resultobj
= 0;
29494 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29495 PyObject
*arg2
= (PyObject
*) 0 ;
29496 PyObject
*arg3
= (PyObject
*) 0 ;
29499 PyObject
* obj0
= 0 ;
29500 PyObject
* obj1
= 0 ;
29501 PyObject
* obj2
= 0 ;
29502 char * kwnames
[] = {
29503 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29508 if (!SWIG_IsOK(res1
)) {
29509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29511 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29515 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29516 if (PyErr_Occurred()) SWIG_fail
;
29518 resultobj
= SWIG_Py_Void();
29525 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29526 PyObject
*resultobj
= 0;
29527 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29529 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29530 int arg4
= (int) wxODDEVEN_RULE
;
29535 PyObject
* obj0
= 0 ;
29536 PyObject
* obj1
= 0 ;
29537 PyObject
* obj2
= 0 ;
29538 char * kwnames
[] = {
29539 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29544 if (!SWIG_IsOK(res1
)) {
29545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29547 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29549 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29550 if (arg3
== NULL
) SWIG_fail
;
29553 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29554 if (!SWIG_IsOK(ecode4
)) {
29555 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29557 arg4
= static_cast< int >(val4
);
29560 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29561 if (PyErr_Occurred()) SWIG_fail
;
29563 resultobj
= SWIG_Py_Void();
29565 if (arg3
) delete [] arg3
;
29570 if (arg3
) delete [] arg3
;
29576 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29577 PyObject
*resultobj
= 0;
29578 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29593 PyObject
* obj0
= 0 ;
29594 PyObject
* obj1
= 0 ;
29595 PyObject
* obj2
= 0 ;
29596 PyObject
* obj3
= 0 ;
29597 PyObject
* obj4
= 0 ;
29598 char * kwnames
[] = {
29599 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29604 if (!SWIG_IsOK(res1
)) {
29605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29607 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29608 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29609 if (!SWIG_IsOK(ecode2
)) {
29610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29612 arg2
= static_cast< wxDouble
>(val2
);
29613 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29614 if (!SWIG_IsOK(ecode3
)) {
29615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29617 arg3
= static_cast< wxDouble
>(val3
);
29618 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29619 if (!SWIG_IsOK(ecode4
)) {
29620 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29622 arg4
= static_cast< wxDouble
>(val4
);
29623 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29624 if (!SWIG_IsOK(ecode5
)) {
29625 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29627 arg5
= static_cast< wxDouble
>(val5
);
29629 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29630 if (PyErr_Occurred()) SWIG_fail
;
29632 resultobj
= SWIG_Py_Void();
29639 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29640 PyObject
*resultobj
= 0;
29641 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29656 PyObject
* obj0
= 0 ;
29657 PyObject
* obj1
= 0 ;
29658 PyObject
* obj2
= 0 ;
29659 PyObject
* obj3
= 0 ;
29660 PyObject
* obj4
= 0 ;
29661 char * kwnames
[] = {
29662 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29667 if (!SWIG_IsOK(res1
)) {
29668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29670 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29671 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29672 if (!SWIG_IsOK(ecode2
)) {
29673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29675 arg2
= static_cast< wxDouble
>(val2
);
29676 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29677 if (!SWIG_IsOK(ecode3
)) {
29678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29680 arg3
= static_cast< wxDouble
>(val3
);
29681 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29682 if (!SWIG_IsOK(ecode4
)) {
29683 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29685 arg4
= static_cast< wxDouble
>(val4
);
29686 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29687 if (!SWIG_IsOK(ecode5
)) {
29688 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29690 arg5
= static_cast< wxDouble
>(val5
);
29692 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29693 if (PyErr_Occurred()) SWIG_fail
;
29695 resultobj
= SWIG_Py_Void();
29702 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29703 PyObject
*resultobj
= 0;
29704 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29722 PyObject
* obj0
= 0 ;
29723 PyObject
* obj1
= 0 ;
29724 PyObject
* obj2
= 0 ;
29725 PyObject
* obj3
= 0 ;
29726 PyObject
* obj4
= 0 ;
29727 PyObject
* obj5
= 0 ;
29728 char * kwnames
[] = {
29729 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29734 if (!SWIG_IsOK(res1
)) {
29735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29737 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29738 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29739 if (!SWIG_IsOK(ecode2
)) {
29740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29742 arg2
= static_cast< wxDouble
>(val2
);
29743 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29744 if (!SWIG_IsOK(ecode3
)) {
29745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29747 arg3
= static_cast< wxDouble
>(val3
);
29748 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29749 if (!SWIG_IsOK(ecode4
)) {
29750 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29752 arg4
= static_cast< wxDouble
>(val4
);
29753 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29754 if (!SWIG_IsOK(ecode5
)) {
29755 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29757 arg5
= static_cast< wxDouble
>(val5
);
29758 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29759 if (!SWIG_IsOK(ecode6
)) {
29760 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
29762 arg6
= static_cast< wxDouble
>(val6
);
29764 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29765 if (PyErr_Occurred()) SWIG_fail
;
29767 resultobj
= SWIG_Py_Void();
29774 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29775 PyObject
*resultobj
= 0;
29776 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29780 PyObject
*swig_obj
[1] ;
29782 if (!args
) SWIG_fail
;
29783 swig_obj
[0] = args
;
29784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29785 if (!SWIG_IsOK(res1
)) {
29786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29788 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29790 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
29791 if (PyErr_Occurred()) SWIG_fail
;
29794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29802 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29804 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29805 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
29806 return SWIG_Py_Void();
29809 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29810 PyObject
*resultobj
= 0;
29811 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29814 PyObject
*swig_obj
[1] ;
29816 if (!args
) SWIG_fail
;
29817 swig_obj
[0] = args
;
29818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
29819 if (!SWIG_IsOK(res1
)) {
29820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29822 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29826 if (PyErr_Occurred()) SWIG_fail
;
29828 resultobj
= SWIG_Py_Void();
29835 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29836 PyObject
*resultobj
= 0;
29837 wxGraphicsRenderer
*result
= 0 ;
29839 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
29841 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
29842 if (PyErr_Occurred()) SWIG_fail
;
29844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29851 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29852 PyObject
*resultobj
= 0;
29853 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29854 wxWindowDC
*arg2
= 0 ;
29855 wxGraphicsContext
*result
= 0 ;
29861 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29863 if (!SWIG_IsOK(res1
)) {
29864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29866 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29867 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29868 if (!SWIG_IsOK(res2
)) {
29869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29872 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29874 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
29876 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
29877 if (PyErr_Occurred()) SWIG_fail
;
29879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29886 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29887 PyObject
*resultobj
= 0;
29888 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29889 wxWindow
*arg2
= (wxWindow
*) 0 ;
29890 wxGraphicsContext
*result
= 0 ;
29896 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29898 if (!SWIG_IsOK(res1
)) {
29899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29901 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29902 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29903 if (!SWIG_IsOK(res2
)) {
29904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
29906 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29908 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
29909 if (PyErr_Occurred()) SWIG_fail
;
29911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29918 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
29922 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
29927 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
29928 _v
= SWIG_CheckState(res
);
29930 if (!_v
) goto check_1
;
29931 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
29936 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
29940 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
29945 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29946 PyObject
*resultobj
= 0;
29947 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29948 void *arg2
= (void *) 0 ;
29949 wxGraphicsContext
*result
= 0 ;
29953 PyObject
* obj0
= 0 ;
29954 PyObject
* obj1
= 0 ;
29955 char * kwnames
[] = {
29956 (char *) "self",(char *) "context", NULL
29959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29961 if (!SWIG_IsOK(res1
)) {
29962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29964 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29965 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29966 if (!SWIG_IsOK(res2
)) {
29967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
29970 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
29971 if (PyErr_Occurred()) SWIG_fail
;
29973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29980 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29981 PyObject
*resultobj
= 0;
29982 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29983 void *arg2
= (void *) 0 ;
29984 wxGraphicsContext
*result
= 0 ;
29988 PyObject
* obj0
= 0 ;
29989 PyObject
* obj1
= 0 ;
29990 char * kwnames
[] = {
29991 (char *) "self",(char *) "window", NULL
29994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29996 if (!SWIG_IsOK(res1
)) {
29997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29999 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30000 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30001 if (!SWIG_IsOK(res2
)) {
30002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30005 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30006 if (PyErr_Occurred()) SWIG_fail
;
30008 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30015 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30016 PyObject
*resultobj
= 0;
30017 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30018 wxGraphicsPath result
;
30021 PyObject
*swig_obj
[1] ;
30023 if (!args
) SWIG_fail
;
30024 swig_obj
[0] = args
;
30025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30026 if (!SWIG_IsOK(res1
)) {
30027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30029 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30031 result
= (arg1
)->CreatePath();
30032 if (PyErr_Occurred()) SWIG_fail
;
30034 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30041 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30042 PyObject
*resultobj
= 0;
30043 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30044 wxDouble arg2
= (wxDouble
) 1.0 ;
30045 wxDouble arg3
= (wxDouble
) 0.0 ;
30046 wxDouble arg4
= (wxDouble
) 0.0 ;
30047 wxDouble arg5
= (wxDouble
) 1.0 ;
30048 wxDouble arg6
= (wxDouble
) 0.0 ;
30049 wxDouble arg7
= (wxDouble
) 0.0 ;
30050 wxGraphicsMatrix result
;
30065 PyObject
* obj0
= 0 ;
30066 PyObject
* obj1
= 0 ;
30067 PyObject
* obj2
= 0 ;
30068 PyObject
* obj3
= 0 ;
30069 PyObject
* obj4
= 0 ;
30070 PyObject
* obj5
= 0 ;
30071 PyObject
* obj6
= 0 ;
30072 char * kwnames
[] = {
30073 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30078 if (!SWIG_IsOK(res1
)) {
30079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30081 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30083 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30084 if (!SWIG_IsOK(ecode2
)) {
30085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30087 arg2
= static_cast< wxDouble
>(val2
);
30090 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30091 if (!SWIG_IsOK(ecode3
)) {
30092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30094 arg3
= static_cast< wxDouble
>(val3
);
30097 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30098 if (!SWIG_IsOK(ecode4
)) {
30099 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30101 arg4
= static_cast< wxDouble
>(val4
);
30104 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30105 if (!SWIG_IsOK(ecode5
)) {
30106 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30108 arg5
= static_cast< wxDouble
>(val5
);
30111 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30112 if (!SWIG_IsOK(ecode6
)) {
30113 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30115 arg6
= static_cast< wxDouble
>(val6
);
30118 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30119 if (!SWIG_IsOK(ecode7
)) {
30120 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30122 arg7
= static_cast< wxDouble
>(val7
);
30125 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30126 if (PyErr_Occurred()) SWIG_fail
;
30128 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30135 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30136 PyObject
*resultobj
= 0;
30137 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30139 wxGraphicsPen result
;
30144 PyObject
* obj0
= 0 ;
30145 PyObject
* obj1
= 0 ;
30146 char * kwnames
[] = {
30147 (char *) "self",(char *) "pen", NULL
30150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30152 if (!SWIG_IsOK(res1
)) {
30153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30155 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30156 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30157 if (!SWIG_IsOK(res2
)) {
30158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30161 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30163 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30165 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30166 if (PyErr_Occurred()) SWIG_fail
;
30168 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30175 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30176 PyObject
*resultobj
= 0;
30177 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30178 wxBrush
*arg2
= 0 ;
30179 wxGraphicsBrush result
;
30184 PyObject
* obj0
= 0 ;
30185 PyObject
* obj1
= 0 ;
30186 char * kwnames
[] = {
30187 (char *) "self",(char *) "brush", NULL
30190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30192 if (!SWIG_IsOK(res1
)) {
30193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30195 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30196 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30197 if (!SWIG_IsOK(res2
)) {
30198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30201 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30203 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30205 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30206 if (PyErr_Occurred()) SWIG_fail
;
30208 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30215 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30216 PyObject
*resultobj
= 0;
30217 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30222 wxColour
*arg6
= 0 ;
30223 wxColour
*arg7
= 0 ;
30224 wxGraphicsBrush result
;
30237 PyObject
* obj0
= 0 ;
30238 PyObject
* obj1
= 0 ;
30239 PyObject
* obj2
= 0 ;
30240 PyObject
* obj3
= 0 ;
30241 PyObject
* obj4
= 0 ;
30242 PyObject
* obj5
= 0 ;
30243 PyObject
* obj6
= 0 ;
30244 char * kwnames
[] = {
30245 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30250 if (!SWIG_IsOK(res1
)) {
30251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30253 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30254 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30255 if (!SWIG_IsOK(ecode2
)) {
30256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30258 arg2
= static_cast< wxDouble
>(val2
);
30259 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30260 if (!SWIG_IsOK(ecode3
)) {
30261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30263 arg3
= static_cast< wxDouble
>(val3
);
30264 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30265 if (!SWIG_IsOK(ecode4
)) {
30266 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30268 arg4
= static_cast< wxDouble
>(val4
);
30269 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30270 if (!SWIG_IsOK(ecode5
)) {
30271 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30273 arg5
= static_cast< wxDouble
>(val5
);
30276 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30280 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30283 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30284 if (PyErr_Occurred()) SWIG_fail
;
30286 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30293 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30294 PyObject
*resultobj
= 0;
30295 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30301 wxColour
*arg7
= 0 ;
30302 wxColour
*arg8
= 0 ;
30303 wxGraphicsBrush result
;
30318 PyObject
* obj0
= 0 ;
30319 PyObject
* obj1
= 0 ;
30320 PyObject
* obj2
= 0 ;
30321 PyObject
* obj3
= 0 ;
30322 PyObject
* obj4
= 0 ;
30323 PyObject
* obj5
= 0 ;
30324 PyObject
* obj6
= 0 ;
30325 PyObject
* obj7
= 0 ;
30326 char * kwnames
[] = {
30327 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30332 if (!SWIG_IsOK(res1
)) {
30333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30335 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30336 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30337 if (!SWIG_IsOK(ecode2
)) {
30338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30340 arg2
= static_cast< wxDouble
>(val2
);
30341 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30342 if (!SWIG_IsOK(ecode3
)) {
30343 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30345 arg3
= static_cast< wxDouble
>(val3
);
30346 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30347 if (!SWIG_IsOK(ecode4
)) {
30348 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30350 arg4
= static_cast< wxDouble
>(val4
);
30351 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30352 if (!SWIG_IsOK(ecode5
)) {
30353 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30355 arg5
= static_cast< wxDouble
>(val5
);
30356 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30357 if (!SWIG_IsOK(ecode6
)) {
30358 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30360 arg6
= static_cast< wxDouble
>(val6
);
30363 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30367 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30370 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30371 if (PyErr_Occurred()) SWIG_fail
;
30373 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30380 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30381 PyObject
*resultobj
= 0;
30382 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30384 wxColour
const &arg3_defvalue
= *wxBLACK
;
30385 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30386 wxGraphicsFont result
;
30392 PyObject
* obj0
= 0 ;
30393 PyObject
* obj1
= 0 ;
30394 PyObject
* obj2
= 0 ;
30395 char * kwnames
[] = {
30396 (char *) "self",(char *) "font",(char *) "col", NULL
30399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30401 if (!SWIG_IsOK(res1
)) {
30402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30404 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30405 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30406 if (!SWIG_IsOK(res2
)) {
30407 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30410 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30412 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30416 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30420 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30421 if (PyErr_Occurred()) SWIG_fail
;
30423 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30430 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30433 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30434 return SWIG_Py_Void();
30437 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30438 PyObject
*resultobj
= 0;
30439 wxWindowDC
*arg1
= 0 ;
30440 wxGCDC
*result
= 0 ;
30443 PyObject
* obj0
= 0 ;
30444 char * kwnames
[] = {
30445 (char *) "dc", NULL
30448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
30449 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30450 if (!SWIG_IsOK(res1
)) {
30451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30454 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30456 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30458 if (!wxPyCheckForApp()) SWIG_fail
;
30459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30460 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30461 wxPyEndAllowThreads(__tstate
);
30462 if (PyErr_Occurred()) SWIG_fail
;
30464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30471 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30472 PyObject
*resultobj
= 0;
30473 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30476 PyObject
*swig_obj
[1] ;
30478 if (!args
) SWIG_fail
;
30479 swig_obj
[0] = args
;
30480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30481 if (!SWIG_IsOK(res1
)) {
30482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30484 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30488 if (PyErr_Occurred()) SWIG_fail
;
30490 resultobj
= SWIG_Py_Void();
30497 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30498 PyObject
*resultobj
= 0;
30499 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30500 wxGraphicsContext
*result
= 0 ;
30503 PyObject
*swig_obj
[1] ;
30505 if (!args
) SWIG_fail
;
30506 swig_obj
[0] = args
;
30507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30508 if (!SWIG_IsOK(res1
)) {
30509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30511 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30513 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30514 if (PyErr_Occurred()) SWIG_fail
;
30516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30523 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30524 PyObject
*resultobj
= 0;
30525 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30526 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30531 PyObject
* obj0
= 0 ;
30532 PyObject
* obj1
= 0 ;
30533 char * kwnames
[] = {
30534 (char *) "self",(char *) "ctx", NULL
30537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30539 if (!SWIG_IsOK(res1
)) {
30540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30542 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30543 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30544 if (!SWIG_IsOK(res2
)) {
30545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30547 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30549 (arg1
)->SetGraphicsContext(arg2
);
30550 if (PyErr_Occurred()) SWIG_fail
;
30552 resultobj
= SWIG_Py_Void();
30559 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30561 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30562 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30563 return SWIG_Py_Void();
30566 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30567 return SWIG_Python_InitShadowInstance(args
);
30570 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30571 PyObject
*resultobj
= 0;
30572 wxOverlay
*result
= 0 ;
30574 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30577 result
= (wxOverlay
*)new wxOverlay();
30578 wxPyEndAllowThreads(__tstate
);
30579 if (PyErr_Occurred()) SWIG_fail
;
30581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30588 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30589 PyObject
*resultobj
= 0;
30590 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30593 PyObject
*swig_obj
[1] ;
30595 if (!args
) SWIG_fail
;
30596 swig_obj
[0] = args
;
30597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30598 if (!SWIG_IsOK(res1
)) {
30599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30601 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30606 wxPyEndAllowThreads(__tstate
);
30607 if (PyErr_Occurred()) SWIG_fail
;
30609 resultobj
= SWIG_Py_Void();
30616 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30617 PyObject
*resultobj
= 0;
30618 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30621 PyObject
*swig_obj
[1] ;
30623 if (!args
) SWIG_fail
;
30624 swig_obj
[0] = args
;
30625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30626 if (!SWIG_IsOK(res1
)) {
30627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30629 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30633 wxPyEndAllowThreads(__tstate
);
30634 if (PyErr_Occurred()) SWIG_fail
;
30636 resultobj
= SWIG_Py_Void();
30643 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30645 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30646 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30647 return SWIG_Py_Void();
30650 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30651 return SWIG_Python_InitShadowInstance(args
);
30654 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30655 PyObject
*resultobj
= 0;
30656 wxOverlay
*arg1
= 0 ;
30657 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30662 wxDCOverlay
*result
= 0 ;
30676 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
30677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30678 if (!SWIG_IsOK(res1
)) {
30679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30682 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30684 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30685 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30686 if (!SWIG_IsOK(res2
)) {
30687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30689 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30690 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
30691 if (!SWIG_IsOK(ecode3
)) {
30692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
30694 arg3
= static_cast< int >(val3
);
30695 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
30696 if (!SWIG_IsOK(ecode4
)) {
30697 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
30699 arg4
= static_cast< int >(val4
);
30700 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
30701 if (!SWIG_IsOK(ecode5
)) {
30702 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
30704 arg5
= static_cast< int >(val5
);
30705 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
30706 if (!SWIG_IsOK(ecode6
)) {
30707 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
30709 arg6
= static_cast< int >(val6
);
30711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30712 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30713 wxPyEndAllowThreads(__tstate
);
30714 if (PyErr_Occurred()) SWIG_fail
;
30716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30723 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30724 PyObject
*resultobj
= 0;
30725 wxOverlay
*arg1
= 0 ;
30726 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30727 wxDCOverlay
*result
= 0 ;
30733 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30735 if (!SWIG_IsOK(res1
)) {
30736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30741 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30742 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30743 if (!SWIG_IsOK(res2
)) {
30744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30746 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30749 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
30750 wxPyEndAllowThreads(__tstate
);
30751 if (PyErr_Occurred()) SWIG_fail
;
30753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30760 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
30764 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
30767 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
30770 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
30774 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
30779 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30780 PyObject
*resultobj
= 0;
30781 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30784 PyObject
*swig_obj
[1] ;
30786 if (!args
) SWIG_fail
;
30787 swig_obj
[0] = args
;
30788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
30789 if (!SWIG_IsOK(res1
)) {
30790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30792 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30797 wxPyEndAllowThreads(__tstate
);
30798 if (PyErr_Occurred()) SWIG_fail
;
30800 resultobj
= SWIG_Py_Void();
30807 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30808 PyObject
*resultobj
= 0;
30809 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30812 PyObject
*swig_obj
[1] ;
30814 if (!args
) SWIG_fail
;
30815 swig_obj
[0] = args
;
30816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
30817 if (!SWIG_IsOK(res1
)) {
30818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30820 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30824 wxPyEndAllowThreads(__tstate
);
30825 if (PyErr_Occurred()) SWIG_fail
;
30827 resultobj
= SWIG_Py_Void();
30834 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30836 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30837 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
30838 return SWIG_Py_Void();
30841 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30842 return SWIG_Python_InitShadowInstance(args
);
30845 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30846 PyObject
*resultobj
= 0;
30849 int arg3
= (int) true ;
30850 int arg4
= (int) 1 ;
30851 wxImageList
*result
= 0 ;
30860 PyObject
* obj0
= 0 ;
30861 PyObject
* obj1
= 0 ;
30862 PyObject
* obj2
= 0 ;
30863 PyObject
* obj3
= 0 ;
30864 char * kwnames
[] = {
30865 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
30868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30869 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30870 if (!SWIG_IsOK(ecode1
)) {
30871 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
30873 arg1
= static_cast< int >(val1
);
30874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30875 if (!SWIG_IsOK(ecode2
)) {
30876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
30878 arg2
= static_cast< int >(val2
);
30880 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30881 if (!SWIG_IsOK(ecode3
)) {
30882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
30884 arg3
= static_cast< int >(val3
);
30887 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30888 if (!SWIG_IsOK(ecode4
)) {
30889 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
30891 arg4
= static_cast< int >(val4
);
30894 if (!wxPyCheckForApp()) SWIG_fail
;
30895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30896 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
30897 wxPyEndAllowThreads(__tstate
);
30898 if (PyErr_Occurred()) SWIG_fail
;
30900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
30907 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30908 PyObject
*resultobj
= 0;
30909 wxImageList
*arg1
= (wxImageList
*) 0 ;
30912 PyObject
*swig_obj
[1] ;
30914 if (!args
) SWIG_fail
;
30915 swig_obj
[0] = args
;
30916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30917 if (!SWIG_IsOK(res1
)) {
30918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
30920 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30925 wxPyEndAllowThreads(__tstate
);
30926 if (PyErr_Occurred()) SWIG_fail
;
30928 resultobj
= SWIG_Py_Void();
30935 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30936 PyObject
*resultobj
= 0;
30937 wxImageList
*arg1
= (wxImageList
*) 0 ;
30938 wxBitmap
*arg2
= 0 ;
30939 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
30940 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
30948 PyObject
* obj0
= 0 ;
30949 PyObject
* obj1
= 0 ;
30950 PyObject
* obj2
= 0 ;
30951 char * kwnames
[] = {
30952 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
30955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30957 if (!SWIG_IsOK(res1
)) {
30958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
30960 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30961 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30962 if (!SWIG_IsOK(res2
)) {
30963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30968 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30970 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30971 if (!SWIG_IsOK(res3
)) {
30972 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30977 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30981 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
30982 wxPyEndAllowThreads(__tstate
);
30983 if (PyErr_Occurred()) SWIG_fail
;
30985 resultobj
= SWIG_From_int(static_cast< int >(result
));
30992 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30993 PyObject
*resultobj
= 0;
30994 wxImageList
*arg1
= (wxImageList
*) 0 ;
30995 wxBitmap
*arg2
= 0 ;
30996 wxColour
*arg3
= 0 ;
31003 PyObject
* obj0
= 0 ;
31004 PyObject
* obj1
= 0 ;
31005 PyObject
* obj2
= 0 ;
31006 char * kwnames
[] = {
31007 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31012 if (!SWIG_IsOK(res1
)) {
31013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31015 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31016 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31017 if (!SWIG_IsOK(res2
)) {
31018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31023 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31026 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31030 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31031 wxPyEndAllowThreads(__tstate
);
31032 if (PyErr_Occurred()) SWIG_fail
;
31034 resultobj
= SWIG_From_int(static_cast< int >(result
));
31041 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31042 PyObject
*resultobj
= 0;
31043 wxImageList
*arg1
= (wxImageList
*) 0 ;
31050 PyObject
* obj0
= 0 ;
31051 PyObject
* obj1
= 0 ;
31052 char * kwnames
[] = {
31053 (char *) "self",(char *) "icon", NULL
31056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",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_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31061 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31062 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31063 if (!SWIG_IsOK(res2
)) {
31064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31069 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31072 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31073 wxPyEndAllowThreads(__tstate
);
31074 if (PyErr_Occurred()) SWIG_fail
;
31076 resultobj
= SWIG_From_int(static_cast< int >(result
));
31083 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31084 PyObject
*resultobj
= 0;
31085 wxImageList
*arg1
= (wxImageList
*) 0 ;
31087 SwigValueWrapper
<wxBitmap
> result
;
31092 PyObject
* obj0
= 0 ;
31093 PyObject
* obj1
= 0 ;
31094 char * kwnames
[] = {
31095 (char *) "self",(char *) "index", NULL
31098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31100 if (!SWIG_IsOK(res1
)) {
31101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31103 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31105 if (!SWIG_IsOK(ecode2
)) {
31106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31108 arg2
= static_cast< int >(val2
);
31110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31111 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31112 wxPyEndAllowThreads(__tstate
);
31113 if (PyErr_Occurred()) SWIG_fail
;
31115 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31122 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31123 PyObject
*resultobj
= 0;
31124 wxImageList
*arg1
= (wxImageList
*) 0 ;
31131 PyObject
* obj0
= 0 ;
31132 PyObject
* obj1
= 0 ;
31133 char * kwnames
[] = {
31134 (char *) "self",(char *) "index", NULL
31137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31139 if (!SWIG_IsOK(res1
)) {
31140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31142 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31144 if (!SWIG_IsOK(ecode2
)) {
31145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31147 arg2
= static_cast< int >(val2
);
31149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31150 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31151 wxPyEndAllowThreads(__tstate
);
31152 if (PyErr_Occurred()) SWIG_fail
;
31154 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31161 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31162 PyObject
*resultobj
= 0;
31163 wxImageList
*arg1
= (wxImageList
*) 0 ;
31165 wxBitmap
*arg3
= 0 ;
31166 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31167 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31177 PyObject
* obj0
= 0 ;
31178 PyObject
* obj1
= 0 ;
31179 PyObject
* obj2
= 0 ;
31180 PyObject
* obj3
= 0 ;
31181 char * kwnames
[] = {
31182 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31187 if (!SWIG_IsOK(res1
)) {
31188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31190 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31192 if (!SWIG_IsOK(ecode2
)) {
31193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31195 arg2
= static_cast< int >(val2
);
31196 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31197 if (!SWIG_IsOK(res3
)) {
31198 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31201 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31203 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31205 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31206 if (!SWIG_IsOK(res4
)) {
31207 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31212 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31216 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31217 wxPyEndAllowThreads(__tstate
);
31218 if (PyErr_Occurred()) SWIG_fail
;
31221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31229 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31230 PyObject
*resultobj
= 0;
31231 wxImageList
*arg1
= (wxImageList
*) 0 ;
31236 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31237 bool arg7
= (bool) (bool)false ;
31253 PyObject
* obj0
= 0 ;
31254 PyObject
* obj1
= 0 ;
31255 PyObject
* obj2
= 0 ;
31256 PyObject
* obj3
= 0 ;
31257 PyObject
* obj4
= 0 ;
31258 PyObject
* obj5
= 0 ;
31259 PyObject
* obj6
= 0 ;
31260 char * kwnames
[] = {
31261 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31266 if (!SWIG_IsOK(res1
)) {
31267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31269 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31271 if (!SWIG_IsOK(ecode2
)) {
31272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31274 arg2
= static_cast< int >(val2
);
31275 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31276 if (!SWIG_IsOK(res3
)) {
31277 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31282 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31283 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31284 if (!SWIG_IsOK(ecode4
)) {
31285 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31287 arg4
= static_cast< int >(val4
);
31288 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31289 if (!SWIG_IsOK(ecode5
)) {
31290 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31292 arg5
= static_cast< int >(val5
);
31294 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31295 if (!SWIG_IsOK(ecode6
)) {
31296 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31298 arg6
= static_cast< int >(val6
);
31301 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31302 if (!SWIG_IsOK(ecode7
)) {
31303 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31305 arg7
= static_cast< bool >(val7
);
31308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31309 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31310 wxPyEndAllowThreads(__tstate
);
31311 if (PyErr_Occurred()) SWIG_fail
;
31314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31322 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31323 PyObject
*resultobj
= 0;
31324 wxImageList
*arg1
= (wxImageList
*) 0 ;
31328 PyObject
*swig_obj
[1] ;
31330 if (!args
) SWIG_fail
;
31331 swig_obj
[0] = args
;
31332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31333 if (!SWIG_IsOK(res1
)) {
31334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31336 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31339 result
= (int)(arg1
)->GetImageCount();
31340 wxPyEndAllowThreads(__tstate
);
31341 if (PyErr_Occurred()) SWIG_fail
;
31343 resultobj
= SWIG_From_int(static_cast< int >(result
));
31350 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31351 PyObject
*resultobj
= 0;
31352 wxImageList
*arg1
= (wxImageList
*) 0 ;
31359 PyObject
* obj0
= 0 ;
31360 PyObject
* obj1
= 0 ;
31361 char * kwnames
[] = {
31362 (char *) "self",(char *) "index", NULL
31365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31367 if (!SWIG_IsOK(res1
)) {
31368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31370 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31372 if (!SWIG_IsOK(ecode2
)) {
31373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31375 arg2
= static_cast< int >(val2
);
31377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31378 result
= (bool)(arg1
)->Remove(arg2
);
31379 wxPyEndAllowThreads(__tstate
);
31380 if (PyErr_Occurred()) SWIG_fail
;
31383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31391 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31392 PyObject
*resultobj
= 0;
31393 wxImageList
*arg1
= (wxImageList
*) 0 ;
31397 PyObject
*swig_obj
[1] ;
31399 if (!args
) SWIG_fail
;
31400 swig_obj
[0] = args
;
31401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31402 if (!SWIG_IsOK(res1
)) {
31403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31405 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31408 result
= (bool)(arg1
)->RemoveAll();
31409 wxPyEndAllowThreads(__tstate
);
31410 if (PyErr_Occurred()) SWIG_fail
;
31413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31421 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31422 PyObject
*resultobj
= 0;
31423 wxImageList
*arg1
= (wxImageList
*) 0 ;
31432 int res3
= SWIG_TMPOBJ
;
31434 int res4
= SWIG_TMPOBJ
;
31435 PyObject
* obj0
= 0 ;
31436 PyObject
* obj1
= 0 ;
31437 char * kwnames
[] = {
31438 (char *) "self",(char *) "index", NULL
31443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31445 if (!SWIG_IsOK(res1
)) {
31446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31448 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31450 if (!SWIG_IsOK(ecode2
)) {
31451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31453 arg2
= static_cast< int >(val2
);
31455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31456 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31457 wxPyEndAllowThreads(__tstate
);
31458 if (PyErr_Occurred()) SWIG_fail
;
31460 resultobj
= SWIG_Py_Void();
31461 if (SWIG_IsTmpObj(res3
)) {
31462 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31464 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31465 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31467 if (SWIG_IsTmpObj(res4
)) {
31468 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31470 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31471 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31479 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31481 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31482 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31483 return SWIG_Py_Void();
31486 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31487 return SWIG_Python_InitShadowInstance(args
);
31490 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31491 PyObject
*resultobj
= 0;
31492 wxStockGDI
*result
= 0 ;
31494 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31497 result
= (wxStockGDI
*)new wxStockGDI();
31498 wxPyEndAllowThreads(__tstate
);
31499 if (PyErr_Occurred()) SWIG_fail
;
31501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31508 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31509 PyObject
*resultobj
= 0;
31510 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31513 PyObject
*swig_obj
[1] ;
31515 if (!args
) SWIG_fail
;
31516 swig_obj
[0] = args
;
31517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31518 if (!SWIG_IsOK(res1
)) {
31519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31521 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31526 wxPyEndAllowThreads(__tstate
);
31527 if (PyErr_Occurred()) SWIG_fail
;
31529 resultobj
= SWIG_Py_Void();
31536 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31537 PyObject
*resultobj
= 0;
31539 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31542 wxStockGDI::DeleteAll();
31543 wxPyEndAllowThreads(__tstate
);
31544 if (PyErr_Occurred()) SWIG_fail
;
31546 resultobj
= SWIG_Py_Void();
31553 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31554 PyObject
*resultobj
= 0;
31555 wxStockGDI
*result
= 0 ;
31557 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31561 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31562 result
= (wxStockGDI
*) &_result_ref
;
31564 wxPyEndAllowThreads(__tstate
);
31565 if (PyErr_Occurred()) SWIG_fail
;
31567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31574 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31575 PyObject
*resultobj
= 0;
31576 wxStockGDI::Item arg1
;
31577 wxBrush
*result
= 0 ;
31580 PyObject
* obj0
= 0 ;
31581 char * kwnames
[] = {
31582 (char *) "item", NULL
31585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31586 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31587 if (!SWIG_IsOK(ecode1
)) {
31588 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31590 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31593 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31594 wxPyEndAllowThreads(__tstate
);
31595 if (PyErr_Occurred()) SWIG_fail
;
31597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31604 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31605 PyObject
*resultobj
= 0;
31606 wxStockGDI::Item arg1
;
31607 wxColour
*result
= 0 ;
31610 PyObject
* obj0
= 0 ;
31611 char * kwnames
[] = {
31612 (char *) "item", NULL
31615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31616 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31617 if (!SWIG_IsOK(ecode1
)) {
31618 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31620 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31623 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31624 wxPyEndAllowThreads(__tstate
);
31625 if (PyErr_Occurred()) SWIG_fail
;
31627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31634 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31635 PyObject
*resultobj
= 0;
31636 wxStockGDI::Item arg1
;
31637 wxCursor
*result
= 0 ;
31640 PyObject
* obj0
= 0 ;
31641 char * kwnames
[] = {
31642 (char *) "item", NULL
31645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31646 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31647 if (!SWIG_IsOK(ecode1
)) {
31648 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31650 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31653 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31654 wxPyEndAllowThreads(__tstate
);
31655 if (PyErr_Occurred()) SWIG_fail
;
31657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
31664 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31665 PyObject
*resultobj
= 0;
31666 wxStockGDI::Item arg1
;
31667 wxPen
*result
= 0 ;
31670 PyObject
* obj0
= 0 ;
31671 char * kwnames
[] = {
31672 (char *) "item", NULL
31675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
31676 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31677 if (!SWIG_IsOK(ecode1
)) {
31678 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31680 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31683 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
31684 wxPyEndAllowThreads(__tstate
);
31685 if (PyErr_Occurred()) SWIG_fail
;
31687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31694 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31695 PyObject
*resultobj
= 0;
31696 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31697 wxStockGDI::Item arg2
;
31698 wxFont
*result
= 0 ;
31703 PyObject
* obj0
= 0 ;
31704 PyObject
* obj1
= 0 ;
31705 char * kwnames
[] = {
31706 (char *) "self",(char *) "item", NULL
31709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31711 if (!SWIG_IsOK(res1
)) {
31712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31714 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31716 if (!SWIG_IsOK(ecode2
)) {
31717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
31719 arg2
= static_cast< wxStockGDI::Item
>(val2
);
31721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31722 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
31723 wxPyEndAllowThreads(__tstate
);
31724 if (PyErr_Occurred()) SWIG_fail
;
31726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31733 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31735 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31736 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
31737 return SWIG_Py_Void();
31740 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31741 return SWIG_Python_InitShadowInstance(args
);
31744 SWIGINTERN
int NullBitmap_set(PyObject
*) {
31745 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
31750 SWIGINTERN PyObject
*NullBitmap_get(void) {
31751 PyObject
*pyobj
= 0;
31753 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
31758 SWIGINTERN
int NullIcon_set(PyObject
*) {
31759 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
31764 SWIGINTERN PyObject
*NullIcon_get(void) {
31765 PyObject
*pyobj
= 0;
31767 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
31772 SWIGINTERN
int NullCursor_set(PyObject
*) {
31773 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
31778 SWIGINTERN PyObject
*NullCursor_get(void) {
31779 PyObject
*pyobj
= 0;
31781 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
31786 SWIGINTERN
int NullPen_set(PyObject
*) {
31787 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
31792 SWIGINTERN PyObject
*NullPen_get(void) {
31793 PyObject
*pyobj
= 0;
31795 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
31800 SWIGINTERN
int NullBrush_set(PyObject
*) {
31801 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
31806 SWIGINTERN PyObject
*NullBrush_get(void) {
31807 PyObject
*pyobj
= 0;
31809 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
31814 SWIGINTERN
int NullPalette_set(PyObject
*) {
31815 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
31820 SWIGINTERN PyObject
*NullPalette_get(void) {
31821 PyObject
*pyobj
= 0;
31823 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
31828 SWIGINTERN
int NullFont_set(PyObject
*) {
31829 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
31834 SWIGINTERN PyObject
*NullFont_get(void) {
31835 PyObject
*pyobj
= 0;
31837 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
31842 SWIGINTERN
int NullColour_set(PyObject
*) {
31843 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
31848 SWIGINTERN PyObject
*NullColour_get(void) {
31849 PyObject
*pyobj
= 0;
31851 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
31856 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31857 PyObject
*resultobj
= 0;
31858 wxGDIObjListBase
*result
= 0 ;
31860 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
31862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31863 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
31864 wxPyEndAllowThreads(__tstate
);
31865 if (PyErr_Occurred()) SWIG_fail
;
31867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
31874 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31875 PyObject
*resultobj
= 0;
31876 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
31879 PyObject
*swig_obj
[1] ;
31881 if (!args
) SWIG_fail
;
31882 swig_obj
[0] = args
;
31883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
31884 if (!SWIG_IsOK(res1
)) {
31885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
31887 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
31889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31892 wxPyEndAllowThreads(__tstate
);
31893 if (PyErr_Occurred()) SWIG_fail
;
31895 resultobj
= SWIG_Py_Void();
31902 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31904 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31905 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
31906 return SWIG_Py_Void();
31909 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31910 return SWIG_Python_InitShadowInstance(args
);
31913 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31914 PyObject
*resultobj
= 0;
31915 wxPenList
*arg1
= (wxPenList
*) 0 ;
31916 wxColour
*arg2
= 0 ;
31919 wxPen
*result
= 0 ;
31927 PyObject
* obj0
= 0 ;
31928 PyObject
* obj1
= 0 ;
31929 PyObject
* obj2
= 0 ;
31930 PyObject
* obj3
= 0 ;
31931 char * kwnames
[] = {
31932 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
31935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31937 if (!SWIG_IsOK(res1
)) {
31938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
31940 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31943 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31946 if (!SWIG_IsOK(ecode3
)) {
31947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
31949 arg3
= static_cast< int >(val3
);
31950 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31951 if (!SWIG_IsOK(ecode4
)) {
31952 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
31954 arg4
= static_cast< int >(val4
);
31956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31957 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
31958 wxPyEndAllowThreads(__tstate
);
31959 if (PyErr_Occurred()) SWIG_fail
;
31961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31968 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31969 PyObject
*resultobj
= 0;
31970 wxPenList
*arg1
= (wxPenList
*) 0 ;
31971 wxPen
*arg2
= (wxPen
*) 0 ;
31976 PyObject
* obj0
= 0 ;
31977 PyObject
* obj1
= 0 ;
31978 char * kwnames
[] = {
31979 (char *) "self",(char *) "pen", NULL
31982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31984 if (!SWIG_IsOK(res1
)) {
31985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
31987 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31988 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
31989 if (!SWIG_IsOK(res2
)) {
31990 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
31992 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31995 (arg1
)->AddPen(arg2
);
31996 wxPyEndAllowThreads(__tstate
);
31997 if (PyErr_Occurred()) SWIG_fail
;
31999 resultobj
= SWIG_Py_Void();
32006 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32007 PyObject
*resultobj
= 0;
32008 wxPenList
*arg1
= (wxPenList
*) 0 ;
32009 wxPen
*arg2
= (wxPen
*) 0 ;
32014 PyObject
* obj0
= 0 ;
32015 PyObject
* obj1
= 0 ;
32016 char * kwnames
[] = {
32017 (char *) "self",(char *) "pen", NULL
32020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32022 if (!SWIG_IsOK(res1
)) {
32023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32025 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32026 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32027 if (!SWIG_IsOK(res2
)) {
32028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32030 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32033 (arg1
)->RemovePen(arg2
);
32034 wxPyEndAllowThreads(__tstate
);
32035 if (PyErr_Occurred()) SWIG_fail
;
32037 resultobj
= SWIG_Py_Void();
32044 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32046 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32047 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32048 return SWIG_Py_Void();
32051 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32052 PyObject
*resultobj
= 0;
32053 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32054 wxColour
*arg2
= 0 ;
32055 int arg3
= (int) wxSOLID
;
32056 wxBrush
*result
= 0 ;
32062 PyObject
* obj0
= 0 ;
32063 PyObject
* obj1
= 0 ;
32064 PyObject
* obj2
= 0 ;
32065 char * kwnames
[] = {
32066 (char *) "self",(char *) "colour",(char *) "style", NULL
32069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32071 if (!SWIG_IsOK(res1
)) {
32072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32074 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32077 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32081 if (!SWIG_IsOK(ecode3
)) {
32082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32084 arg3
= static_cast< int >(val3
);
32087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32088 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32089 wxPyEndAllowThreads(__tstate
);
32090 if (PyErr_Occurred()) SWIG_fail
;
32092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32099 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32100 PyObject
*resultobj
= 0;
32101 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32102 wxBrush
*arg2
= (wxBrush
*) 0 ;
32107 PyObject
* obj0
= 0 ;
32108 PyObject
* obj1
= 0 ;
32109 char * kwnames
[] = {
32110 (char *) "self",(char *) "brush", NULL
32113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32115 if (!SWIG_IsOK(res1
)) {
32116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32118 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32119 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32120 if (!SWIG_IsOK(res2
)) {
32121 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32123 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32126 (arg1
)->AddBrush(arg2
);
32127 wxPyEndAllowThreads(__tstate
);
32128 if (PyErr_Occurred()) SWIG_fail
;
32130 resultobj
= SWIG_Py_Void();
32137 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32138 PyObject
*resultobj
= 0;
32139 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32140 wxBrush
*arg2
= (wxBrush
*) 0 ;
32145 PyObject
* obj0
= 0 ;
32146 PyObject
* obj1
= 0 ;
32147 char * kwnames
[] = {
32148 (char *) "self",(char *) "brush", NULL
32151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32153 if (!SWIG_IsOK(res1
)) {
32154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32156 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32157 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32158 if (!SWIG_IsOK(res2
)) {
32159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32161 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32164 (arg1
)->RemoveBrush(arg2
);
32165 wxPyEndAllowThreads(__tstate
);
32166 if (PyErr_Occurred()) SWIG_fail
;
32168 resultobj
= SWIG_Py_Void();
32175 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32177 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32178 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32179 return SWIG_Py_Void();
32182 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32183 PyObject
*resultobj
= 0;
32184 wxFontList
*arg1
= (wxFontList
*) 0 ;
32189 bool arg6
= (bool) false ;
32190 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32191 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32192 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32193 wxFont
*result
= 0 ;
32206 bool temp7
= false ;
32209 PyObject
* obj0
= 0 ;
32210 PyObject
* obj1
= 0 ;
32211 PyObject
* obj2
= 0 ;
32212 PyObject
* obj3
= 0 ;
32213 PyObject
* obj4
= 0 ;
32214 PyObject
* obj5
= 0 ;
32215 PyObject
* obj6
= 0 ;
32216 PyObject
* obj7
= 0 ;
32217 char * kwnames
[] = {
32218 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32223 if (!SWIG_IsOK(res1
)) {
32224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32226 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32228 if (!SWIG_IsOK(ecode2
)) {
32229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32231 arg2
= static_cast< int >(val2
);
32232 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32233 if (!SWIG_IsOK(ecode3
)) {
32234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32236 arg3
= static_cast< int >(val3
);
32237 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32238 if (!SWIG_IsOK(ecode4
)) {
32239 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32241 arg4
= static_cast< int >(val4
);
32242 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32243 if (!SWIG_IsOK(ecode5
)) {
32244 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32246 arg5
= static_cast< int >(val5
);
32248 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32249 if (!SWIG_IsOK(ecode6
)) {
32250 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32252 arg6
= static_cast< bool >(val6
);
32256 arg7
= wxString_in_helper(obj6
);
32257 if (arg7
== NULL
) SWIG_fail
;
32262 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32263 if (!SWIG_IsOK(ecode8
)) {
32264 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32266 arg8
= static_cast< wxFontEncoding
>(val8
);
32269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32270 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32271 wxPyEndAllowThreads(__tstate
);
32272 if (PyErr_Occurred()) SWIG_fail
;
32274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32289 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32290 PyObject
*resultobj
= 0;
32291 wxFontList
*arg1
= (wxFontList
*) 0 ;
32292 wxFont
*arg2
= (wxFont
*) 0 ;
32297 PyObject
* obj0
= 0 ;
32298 PyObject
* obj1
= 0 ;
32299 char * kwnames
[] = {
32300 (char *) "self",(char *) "font", NULL
32303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32305 if (!SWIG_IsOK(res1
)) {
32306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32308 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32310 if (!SWIG_IsOK(res2
)) {
32311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32313 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32316 (arg1
)->AddFont(arg2
);
32317 wxPyEndAllowThreads(__tstate
);
32318 if (PyErr_Occurred()) SWIG_fail
;
32320 resultobj
= SWIG_Py_Void();
32327 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32328 PyObject
*resultobj
= 0;
32329 wxFontList
*arg1
= (wxFontList
*) 0 ;
32330 wxFont
*arg2
= (wxFont
*) 0 ;
32335 PyObject
* obj0
= 0 ;
32336 PyObject
* obj1
= 0 ;
32337 char * kwnames
[] = {
32338 (char *) "self",(char *) "font", NULL
32341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32343 if (!SWIG_IsOK(res1
)) {
32344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32346 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32347 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32348 if (!SWIG_IsOK(res2
)) {
32349 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32351 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32354 (arg1
)->RemoveFont(arg2
);
32355 wxPyEndAllowThreads(__tstate
);
32356 if (PyErr_Occurred()) SWIG_fail
;
32358 resultobj
= SWIG_Py_Void();
32365 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32367 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32368 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32369 return SWIG_Py_Void();
32372 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32373 PyObject
*resultobj
= 0;
32374 wxColourDatabase
*result
= 0 ;
32376 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32378 if (!wxPyCheckForApp()) SWIG_fail
;
32379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32380 result
= (wxColourDatabase
*)new wxColourDatabase();
32381 wxPyEndAllowThreads(__tstate
);
32382 if (PyErr_Occurred()) SWIG_fail
;
32384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32391 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32392 PyObject
*resultobj
= 0;
32393 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32396 PyObject
*swig_obj
[1] ;
32398 if (!args
) SWIG_fail
;
32399 swig_obj
[0] = args
;
32400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32401 if (!SWIG_IsOK(res1
)) {
32402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32404 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32409 wxPyEndAllowThreads(__tstate
);
32410 if (PyErr_Occurred()) SWIG_fail
;
32412 resultobj
= SWIG_Py_Void();
32419 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32420 PyObject
*resultobj
= 0;
32421 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32422 wxString
*arg2
= 0 ;
32426 bool temp2
= false ;
32427 PyObject
* obj0
= 0 ;
32428 PyObject
* obj1
= 0 ;
32429 char * kwnames
[] = {
32430 (char *) "self",(char *) "name", NULL
32433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32435 if (!SWIG_IsOK(res1
)) {
32436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32438 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32440 arg2
= wxString_in_helper(obj1
);
32441 if (arg2
== NULL
) SWIG_fail
;
32445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32446 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32447 wxPyEndAllowThreads(__tstate
);
32448 if (PyErr_Occurred()) SWIG_fail
;
32450 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32465 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32466 PyObject
*resultobj
= 0;
32467 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32468 wxColour
*arg2
= 0 ;
32473 PyObject
* obj0
= 0 ;
32474 PyObject
* obj1
= 0 ;
32475 char * kwnames
[] = {
32476 (char *) "self",(char *) "colour", NULL
32479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32481 if (!SWIG_IsOK(res1
)) {
32482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32484 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32487 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32491 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32492 wxPyEndAllowThreads(__tstate
);
32493 if (PyErr_Occurred()) SWIG_fail
;
32497 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32499 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32508 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32509 PyObject
*resultobj
= 0;
32510 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32511 wxString
*arg2
= 0 ;
32512 wxColour
*arg3
= 0 ;
32515 bool temp2
= false ;
32517 PyObject
* obj0
= 0 ;
32518 PyObject
* obj1
= 0 ;
32519 PyObject
* obj2
= 0 ;
32520 char * kwnames
[] = {
32521 (char *) "self",(char *) "name",(char *) "colour", NULL
32524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32526 if (!SWIG_IsOK(res1
)) {
32527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32529 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32531 arg2
= wxString_in_helper(obj1
);
32532 if (arg2
== NULL
) SWIG_fail
;
32537 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32541 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32542 wxPyEndAllowThreads(__tstate
);
32543 if (PyErr_Occurred()) SWIG_fail
;
32545 resultobj
= SWIG_Py_Void();
32560 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32561 PyObject
*resultobj
= 0;
32562 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32563 wxString
*arg2
= 0 ;
32569 bool temp2
= false ;
32576 PyObject
* obj0
= 0 ;
32577 PyObject
* obj1
= 0 ;
32578 PyObject
* obj2
= 0 ;
32579 PyObject
* obj3
= 0 ;
32580 PyObject
* obj4
= 0 ;
32581 char * kwnames
[] = {
32582 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32587 if (!SWIG_IsOK(res1
)) {
32588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32590 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32592 arg2
= wxString_in_helper(obj1
);
32593 if (arg2
== NULL
) SWIG_fail
;
32596 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32597 if (!SWIG_IsOK(ecode3
)) {
32598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32600 arg3
= static_cast< int >(val3
);
32601 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32602 if (!SWIG_IsOK(ecode4
)) {
32603 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32605 arg4
= static_cast< int >(val4
);
32606 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32607 if (!SWIG_IsOK(ecode5
)) {
32608 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32610 arg5
= static_cast< int >(val5
);
32612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32613 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32614 wxPyEndAllowThreads(__tstate
);
32615 if (PyErr_Occurred()) SWIG_fail
;
32617 resultobj
= SWIG_Py_Void();
32632 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32634 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32635 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32636 return SWIG_Py_Void();
32639 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32640 return SWIG_Python_InitShadowInstance(args
);
32643 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32644 PyObject
*resultobj
= 0;
32645 wxFontList
*result
= 0 ;
32647 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32650 result
= (wxFontList
*)_wxPyInitTheFontList();
32651 wxPyEndAllowThreads(__tstate
);
32652 if (PyErr_Occurred()) SWIG_fail
;
32654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32661 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32662 PyObject
*resultobj
= 0;
32663 wxPenList
*result
= 0 ;
32665 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32668 result
= (wxPenList
*)_wxPyInitThePenList();
32669 wxPyEndAllowThreads(__tstate
);
32670 if (PyErr_Occurred()) SWIG_fail
;
32672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32679 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32680 PyObject
*resultobj
= 0;
32681 wxBrushList
*result
= 0 ;
32683 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32686 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32687 wxPyEndAllowThreads(__tstate
);
32688 if (PyErr_Occurred()) SWIG_fail
;
32690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32697 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32698 PyObject
*resultobj
= 0;
32699 wxColourDatabase
*result
= 0 ;
32701 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32704 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32705 wxPyEndAllowThreads(__tstate
);
32706 if (PyErr_Occurred()) SWIG_fail
;
32708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32715 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32716 PyObject
*resultobj
= 0;
32717 wxEffects
*result
= 0 ;
32719 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32722 result
= (wxEffects
*)new wxEffects();
32723 wxPyEndAllowThreads(__tstate
);
32724 if (PyErr_Occurred()) SWIG_fail
;
32726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32733 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32734 PyObject
*resultobj
= 0;
32735 wxEffects
*arg1
= (wxEffects
*) 0 ;
32739 PyObject
*swig_obj
[1] ;
32741 if (!args
) SWIG_fail
;
32742 swig_obj
[0] = args
;
32743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32744 if (!SWIG_IsOK(res1
)) {
32745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32747 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32750 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
32751 wxPyEndAllowThreads(__tstate
);
32752 if (PyErr_Occurred()) SWIG_fail
;
32754 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32761 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32762 PyObject
*resultobj
= 0;
32763 wxEffects
*arg1
= (wxEffects
*) 0 ;
32767 PyObject
*swig_obj
[1] ;
32769 if (!args
) SWIG_fail
;
32770 swig_obj
[0] = args
;
32771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32772 if (!SWIG_IsOK(res1
)) {
32773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32775 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32778 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
32779 wxPyEndAllowThreads(__tstate
);
32780 if (PyErr_Occurred()) SWIG_fail
;
32782 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32789 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32790 PyObject
*resultobj
= 0;
32791 wxEffects
*arg1
= (wxEffects
*) 0 ;
32795 PyObject
*swig_obj
[1] ;
32797 if (!args
) SWIG_fail
;
32798 swig_obj
[0] = args
;
32799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32800 if (!SWIG_IsOK(res1
)) {
32801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32803 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32806 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
32807 wxPyEndAllowThreads(__tstate
);
32808 if (PyErr_Occurred()) SWIG_fail
;
32810 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32817 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32818 PyObject
*resultobj
= 0;
32819 wxEffects
*arg1
= (wxEffects
*) 0 ;
32823 PyObject
*swig_obj
[1] ;
32825 if (!args
) SWIG_fail
;
32826 swig_obj
[0] = args
;
32827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32828 if (!SWIG_IsOK(res1
)) {
32829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32831 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32834 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
32835 wxPyEndAllowThreads(__tstate
);
32836 if (PyErr_Occurred()) SWIG_fail
;
32838 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32845 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32846 PyObject
*resultobj
= 0;
32847 wxEffects
*arg1
= (wxEffects
*) 0 ;
32851 PyObject
*swig_obj
[1] ;
32853 if (!args
) SWIG_fail
;
32854 swig_obj
[0] = args
;
32855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32856 if (!SWIG_IsOK(res1
)) {
32857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32859 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32862 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
32863 wxPyEndAllowThreads(__tstate
);
32864 if (PyErr_Occurred()) SWIG_fail
;
32866 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32873 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32874 PyObject
*resultobj
= 0;
32875 wxEffects
*arg1
= (wxEffects
*) 0 ;
32876 wxColour
*arg2
= 0 ;
32880 PyObject
* obj0
= 0 ;
32881 PyObject
* obj1
= 0 ;
32882 char * kwnames
[] = {
32883 (char *) "self",(char *) "c", NULL
32886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32888 if (!SWIG_IsOK(res1
)) {
32889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32891 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32894 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32898 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
32899 wxPyEndAllowThreads(__tstate
);
32900 if (PyErr_Occurred()) SWIG_fail
;
32902 resultobj
= SWIG_Py_Void();
32909 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32910 PyObject
*resultobj
= 0;
32911 wxEffects
*arg1
= (wxEffects
*) 0 ;
32912 wxColour
*arg2
= 0 ;
32916 PyObject
* obj0
= 0 ;
32917 PyObject
* obj1
= 0 ;
32918 char * kwnames
[] = {
32919 (char *) "self",(char *) "c", NULL
32922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32924 if (!SWIG_IsOK(res1
)) {
32925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32927 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32930 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32934 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
32935 wxPyEndAllowThreads(__tstate
);
32936 if (PyErr_Occurred()) SWIG_fail
;
32938 resultobj
= SWIG_Py_Void();
32945 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32946 PyObject
*resultobj
= 0;
32947 wxEffects
*arg1
= (wxEffects
*) 0 ;
32948 wxColour
*arg2
= 0 ;
32952 PyObject
* obj0
= 0 ;
32953 PyObject
* obj1
= 0 ;
32954 char * kwnames
[] = {
32955 (char *) "self",(char *) "c", NULL
32958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32960 if (!SWIG_IsOK(res1
)) {
32961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32963 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32966 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32970 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
32971 wxPyEndAllowThreads(__tstate
);
32972 if (PyErr_Occurred()) SWIG_fail
;
32974 resultobj
= SWIG_Py_Void();
32981 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32982 PyObject
*resultobj
= 0;
32983 wxEffects
*arg1
= (wxEffects
*) 0 ;
32984 wxColour
*arg2
= 0 ;
32988 PyObject
* obj0
= 0 ;
32989 PyObject
* obj1
= 0 ;
32990 char * kwnames
[] = {
32991 (char *) "self",(char *) "c", NULL
32994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32996 if (!SWIG_IsOK(res1
)) {
32997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32999 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33002 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33006 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33007 wxPyEndAllowThreads(__tstate
);
33008 if (PyErr_Occurred()) SWIG_fail
;
33010 resultobj
= SWIG_Py_Void();
33017 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33018 PyObject
*resultobj
= 0;
33019 wxEffects
*arg1
= (wxEffects
*) 0 ;
33020 wxColour
*arg2
= 0 ;
33024 PyObject
* obj0
= 0 ;
33025 PyObject
* obj1
= 0 ;
33026 char * kwnames
[] = {
33027 (char *) "self",(char *) "c", NULL
33030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33032 if (!SWIG_IsOK(res1
)) {
33033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33035 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33038 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33042 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33043 wxPyEndAllowThreads(__tstate
);
33044 if (PyErr_Occurred()) SWIG_fail
;
33046 resultobj
= SWIG_Py_Void();
33053 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33054 PyObject
*resultobj
= 0;
33055 wxEffects
*arg1
= (wxEffects
*) 0 ;
33056 wxColour
*arg2
= 0 ;
33057 wxColour
*arg3
= 0 ;
33058 wxColour
*arg4
= 0 ;
33059 wxColour
*arg5
= 0 ;
33060 wxColour
*arg6
= 0 ;
33068 PyObject
* obj0
= 0 ;
33069 PyObject
* obj1
= 0 ;
33070 PyObject
* obj2
= 0 ;
33071 PyObject
* obj3
= 0 ;
33072 PyObject
* obj4
= 0 ;
33073 PyObject
* obj5
= 0 ;
33074 char * kwnames
[] = {
33075 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33080 if (!SWIG_IsOK(res1
)) {
33081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33083 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33086 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33090 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33094 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33098 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33102 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33106 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33107 wxPyEndAllowThreads(__tstate
);
33108 if (PyErr_Occurred()) SWIG_fail
;
33110 resultobj
= SWIG_Py_Void();
33117 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33118 PyObject
*resultobj
= 0;
33119 wxEffects
*arg1
= (wxEffects
*) 0 ;
33122 int arg4
= (int) 1 ;
33130 PyObject
* obj0
= 0 ;
33131 PyObject
* obj1
= 0 ;
33132 PyObject
* obj2
= 0 ;
33133 PyObject
* obj3
= 0 ;
33134 char * kwnames
[] = {
33135 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33140 if (!SWIG_IsOK(res1
)) {
33141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33143 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33144 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33145 if (!SWIG_IsOK(res2
)) {
33146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33151 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33154 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33157 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33158 if (!SWIG_IsOK(ecode4
)) {
33159 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33161 arg4
= static_cast< int >(val4
);
33164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33165 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33166 wxPyEndAllowThreads(__tstate
);
33167 if (PyErr_Occurred()) SWIG_fail
;
33169 resultobj
= SWIG_Py_Void();
33176 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33177 PyObject
*resultobj
= 0;
33178 wxEffects
*arg1
= (wxEffects
*) 0 ;
33181 wxBitmap
*arg4
= 0 ;
33190 PyObject
* obj0
= 0 ;
33191 PyObject
* obj1
= 0 ;
33192 PyObject
* obj2
= 0 ;
33193 PyObject
* obj3
= 0 ;
33194 char * kwnames
[] = {
33195 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33200 if (!SWIG_IsOK(res1
)) {
33201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33203 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33206 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33208 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33209 if (!SWIG_IsOK(res3
)) {
33210 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33215 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33216 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33217 if (!SWIG_IsOK(res4
)) {
33218 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33223 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33226 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33227 wxPyEndAllowThreads(__tstate
);
33228 if (PyErr_Occurred()) SWIG_fail
;
33231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33239 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33241 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33242 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33243 return SWIG_Py_Void();
33246 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33247 return SWIG_Python_InitShadowInstance(args
);
33250 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33251 PyObject
*resultobj
= 0;
33255 wxSplitterRenderParams
*result
= 0 ;
33262 PyObject
* obj0
= 0 ;
33263 PyObject
* obj1
= 0 ;
33264 PyObject
* obj2
= 0 ;
33265 char * kwnames
[] = {
33266 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33270 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33271 if (!SWIG_IsOK(ecode1
)) {
33272 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33274 arg1
= static_cast< int >(val1
);
33275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33276 if (!SWIG_IsOK(ecode2
)) {
33277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33279 arg2
= static_cast< int >(val2
);
33280 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33281 if (!SWIG_IsOK(ecode3
)) {
33282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33284 arg3
= static_cast< bool >(val3
);
33286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33287 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33288 wxPyEndAllowThreads(__tstate
);
33289 if (PyErr_Occurred()) SWIG_fail
;
33291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33298 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33299 PyObject
*resultobj
= 0;
33300 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33303 PyObject
*swig_obj
[1] ;
33305 if (!args
) SWIG_fail
;
33306 swig_obj
[0] = args
;
33307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33308 if (!SWIG_IsOK(res1
)) {
33309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33311 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33316 wxPyEndAllowThreads(__tstate
);
33317 if (PyErr_Occurred()) SWIG_fail
;
33319 resultobj
= SWIG_Py_Void();
33326 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33327 PyObject
*resultobj
= 0;
33328 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33332 PyObject
*swig_obj
[1] ;
33334 if (!args
) SWIG_fail
;
33335 swig_obj
[0] = args
;
33336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33337 if (!SWIG_IsOK(res1
)) {
33338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33340 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33341 result
= (int)(int) ((arg1
)->widthSash
);
33342 resultobj
= SWIG_From_int(static_cast< int >(result
));
33349 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33350 PyObject
*resultobj
= 0;
33351 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33355 PyObject
*swig_obj
[1] ;
33357 if (!args
) SWIG_fail
;
33358 swig_obj
[0] = args
;
33359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33360 if (!SWIG_IsOK(res1
)) {
33361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33363 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33364 result
= (int)(int) ((arg1
)->border
);
33365 resultobj
= SWIG_From_int(static_cast< int >(result
));
33372 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33373 PyObject
*resultobj
= 0;
33374 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33378 PyObject
*swig_obj
[1] ;
33380 if (!args
) SWIG_fail
;
33381 swig_obj
[0] = args
;
33382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33383 if (!SWIG_IsOK(res1
)) {
33384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33386 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33387 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33388 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33395 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33397 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33398 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33399 return SWIG_Py_Void();
33402 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33403 return SWIG_Python_InitShadowInstance(args
);
33406 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33407 PyObject
*resultobj
= 0;
33408 wxHeaderButtonParams
*result
= 0 ;
33410 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33413 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33414 wxPyEndAllowThreads(__tstate
);
33415 if (PyErr_Occurred()) SWIG_fail
;
33417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33424 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33425 PyObject
*resultobj
= 0;
33426 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33429 PyObject
*swig_obj
[1] ;
33431 if (!args
) SWIG_fail
;
33432 swig_obj
[0] = args
;
33433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33434 if (!SWIG_IsOK(res1
)) {
33435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33437 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33442 wxPyEndAllowThreads(__tstate
);
33443 if (PyErr_Occurred()) SWIG_fail
;
33445 resultobj
= SWIG_Py_Void();
33452 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33453 PyObject
*resultobj
= 0;
33454 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33455 wxColour
*arg2
= (wxColour
*) 0 ;
33459 PyObject
*swig_obj
[2] ;
33461 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33463 if (!SWIG_IsOK(res1
)) {
33464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33466 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33469 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33471 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33473 resultobj
= SWIG_Py_Void();
33480 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33481 PyObject
*resultobj
= 0;
33482 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33483 wxColour
*result
= 0 ;
33486 PyObject
*swig_obj
[1] ;
33488 if (!args
) SWIG_fail
;
33489 swig_obj
[0] = args
;
33490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33491 if (!SWIG_IsOK(res1
)) {
33492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33494 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33495 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33503 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33504 PyObject
*resultobj
= 0;
33505 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33506 wxColour
*arg2
= (wxColour
*) 0 ;
33510 PyObject
*swig_obj
[2] ;
33512 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33514 if (!SWIG_IsOK(res1
)) {
33515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33517 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33520 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33522 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33524 resultobj
= SWIG_Py_Void();
33531 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33532 PyObject
*resultobj
= 0;
33533 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33534 wxColour
*result
= 0 ;
33537 PyObject
*swig_obj
[1] ;
33539 if (!args
) SWIG_fail
;
33540 swig_obj
[0] = args
;
33541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33542 if (!SWIG_IsOK(res1
)) {
33543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33545 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33546 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33554 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33555 PyObject
*resultobj
= 0;
33556 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33557 wxString
*arg2
= (wxString
*) 0 ;
33560 bool temp2
= false ;
33561 PyObject
*swig_obj
[2] ;
33563 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33565 if (!SWIG_IsOK(res1
)) {
33566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33568 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33570 arg2
= wxString_in_helper(swig_obj
[1]);
33571 if (arg2
== NULL
) SWIG_fail
;
33574 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33576 resultobj
= SWIG_Py_Void();
33591 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33592 PyObject
*resultobj
= 0;
33593 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33594 wxString
*result
= 0 ;
33597 PyObject
*swig_obj
[1] ;
33599 if (!args
) SWIG_fail
;
33600 swig_obj
[0] = args
;
33601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33602 if (!SWIG_IsOK(res1
)) {
33603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33605 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33606 result
= (wxString
*)& ((arg1
)->m_labelText
);
33609 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33611 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33620 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33621 PyObject
*resultobj
= 0;
33622 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33623 wxFont
*arg2
= (wxFont
*) 0 ;
33628 PyObject
*swig_obj
[2] ;
33630 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33632 if (!SWIG_IsOK(res1
)) {
33633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33635 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33636 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33637 if (!SWIG_IsOK(res2
)) {
33638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33640 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33641 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33643 resultobj
= SWIG_Py_Void();
33650 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33651 PyObject
*resultobj
= 0;
33652 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33653 wxFont
*result
= 0 ;
33656 PyObject
*swig_obj
[1] ;
33658 if (!args
) SWIG_fail
;
33659 swig_obj
[0] = args
;
33660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33661 if (!SWIG_IsOK(res1
)) {
33662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33664 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33665 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33673 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33674 PyObject
*resultobj
= 0;
33675 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33676 wxColour
*arg2
= (wxColour
*) 0 ;
33680 PyObject
*swig_obj
[2] ;
33682 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33684 if (!SWIG_IsOK(res1
)) {
33685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33687 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33690 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33692 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33694 resultobj
= SWIG_Py_Void();
33701 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33702 PyObject
*resultobj
= 0;
33703 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33704 wxColour
*result
= 0 ;
33707 PyObject
*swig_obj
[1] ;
33709 if (!args
) SWIG_fail
;
33710 swig_obj
[0] = args
;
33711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33712 if (!SWIG_IsOK(res1
)) {
33713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33715 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33716 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33724 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33725 PyObject
*resultobj
= 0;
33726 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33727 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33732 PyObject
*swig_obj
[2] ;
33734 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33736 if (!SWIG_IsOK(res1
)) {
33737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33739 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33740 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33741 if (!SWIG_IsOK(res2
)) {
33742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33744 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33745 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33747 resultobj
= SWIG_Py_Void();
33754 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33755 PyObject
*resultobj
= 0;
33756 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33757 wxBitmap
*result
= 0 ;
33760 PyObject
*swig_obj
[1] ;
33762 if (!args
) SWIG_fail
;
33763 swig_obj
[0] = args
;
33764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33765 if (!SWIG_IsOK(res1
)) {
33766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33768 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33769 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33777 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33778 PyObject
*resultobj
= 0;
33779 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33785 PyObject
*swig_obj
[2] ;
33787 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33789 if (!SWIG_IsOK(res1
)) {
33790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33792 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33793 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33794 if (!SWIG_IsOK(ecode2
)) {
33795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33797 arg2
= static_cast< int >(val2
);
33798 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33800 resultobj
= SWIG_Py_Void();
33807 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33808 PyObject
*resultobj
= 0;
33809 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33813 PyObject
*swig_obj
[1] ;
33815 if (!args
) SWIG_fail
;
33816 swig_obj
[0] = args
;
33817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33818 if (!SWIG_IsOK(res1
)) {
33819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33821 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33822 result
= (int) ((arg1
)->m_labelAlignment
);
33823 resultobj
= SWIG_From_int(static_cast< int >(result
));
33830 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33832 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33833 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
33834 return SWIG_Py_Void();
33837 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33838 return SWIG_Python_InitShadowInstance(args
);
33841 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33842 PyObject
*resultobj
= 0;
33845 wxRendererVersion
*result
= 0 ;
33850 PyObject
* obj0
= 0 ;
33851 PyObject
* obj1
= 0 ;
33852 char * kwnames
[] = {
33853 (char *) "version_",(char *) "age_", NULL
33856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33857 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33858 if (!SWIG_IsOK(ecode1
)) {
33859 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
33861 arg1
= static_cast< int >(val1
);
33862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33863 if (!SWIG_IsOK(ecode2
)) {
33864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
33866 arg2
= static_cast< int >(val2
);
33868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33869 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
33870 wxPyEndAllowThreads(__tstate
);
33871 if (PyErr_Occurred()) SWIG_fail
;
33873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
33880 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33881 PyObject
*resultobj
= 0;
33882 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33885 PyObject
*swig_obj
[1] ;
33887 if (!args
) SWIG_fail
;
33888 swig_obj
[0] = args
;
33889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
33890 if (!SWIG_IsOK(res1
)) {
33891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33893 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33898 wxPyEndAllowThreads(__tstate
);
33899 if (PyErr_Occurred()) SWIG_fail
;
33901 resultobj
= SWIG_Py_Void();
33908 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33909 PyObject
*resultobj
= 0;
33910 wxRendererVersion
*arg1
= 0 ;
33914 PyObject
* obj0
= 0 ;
33915 char * kwnames
[] = {
33916 (char *) "ver", NULL
33919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
33920 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
33921 if (!SWIG_IsOK(res1
)) {
33922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33925 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33927 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33930 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
33931 wxPyEndAllowThreads(__tstate
);
33932 if (PyErr_Occurred()) SWIG_fail
;
33935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33943 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33944 PyObject
*resultobj
= 0;
33945 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33949 PyObject
*swig_obj
[1] ;
33951 if (!args
) SWIG_fail
;
33952 swig_obj
[0] = args
;
33953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33954 if (!SWIG_IsOK(res1
)) {
33955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33957 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33958 result
= (int)(int) ((arg1
)->version
);
33959 resultobj
= SWIG_From_int(static_cast< int >(result
));
33966 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33967 PyObject
*resultobj
= 0;
33968 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33972 PyObject
*swig_obj
[1] ;
33974 if (!args
) SWIG_fail
;
33975 swig_obj
[0] = args
;
33976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33977 if (!SWIG_IsOK(res1
)) {
33978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33980 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33981 result
= (int)(int) ((arg1
)->age
);
33982 resultobj
= SWIG_From_int(static_cast< int >(result
));
33989 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33991 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33992 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
33993 return SWIG_Py_Void();
33996 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33997 return SWIG_Python_InitShadowInstance(args
);
34000 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34001 PyObject
*resultobj
= 0;
34002 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34003 wxWindow
*arg2
= (wxWindow
*) 0 ;
34006 int arg5
= (int) 0 ;
34007 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34008 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34022 PyObject
* obj0
= 0 ;
34023 PyObject
* obj1
= 0 ;
34024 PyObject
* obj2
= 0 ;
34025 PyObject
* obj3
= 0 ;
34026 PyObject
* obj4
= 0 ;
34027 PyObject
* obj5
= 0 ;
34028 PyObject
* obj6
= 0 ;
34029 char * kwnames
[] = {
34030 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34035 if (!SWIG_IsOK(res1
)) {
34036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34038 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34039 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34040 if (!SWIG_IsOK(res2
)) {
34041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34043 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34044 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34045 if (!SWIG_IsOK(res3
)) {
34046 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34051 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34054 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34057 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34058 if (!SWIG_IsOK(ecode5
)) {
34059 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34061 arg5
= static_cast< int >(val5
);
34064 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34065 if (!SWIG_IsOK(ecode6
)) {
34066 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34068 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34071 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34072 if (!SWIG_IsOK(res7
)) {
34073 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34075 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34079 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34080 wxPyEndAllowThreads(__tstate
);
34081 if (PyErr_Occurred()) SWIG_fail
;
34083 resultobj
= SWIG_Py_Void();
34090 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34091 PyObject
*resultobj
= 0;
34092 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34093 wxWindow
*arg2
= (wxWindow
*) 0 ;
34096 int arg5
= (int) 0 ;
34097 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34098 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34112 PyObject
* obj0
= 0 ;
34113 PyObject
* obj1
= 0 ;
34114 PyObject
* obj2
= 0 ;
34115 PyObject
* obj3
= 0 ;
34116 PyObject
* obj4
= 0 ;
34117 PyObject
* obj5
= 0 ;
34118 PyObject
* obj6
= 0 ;
34119 char * kwnames
[] = {
34120 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34125 if (!SWIG_IsOK(res1
)) {
34126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34128 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34129 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34130 if (!SWIG_IsOK(res2
)) {
34131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34133 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34134 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34135 if (!SWIG_IsOK(res3
)) {
34136 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34141 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34144 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34147 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34148 if (!SWIG_IsOK(ecode5
)) {
34149 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34151 arg5
= static_cast< int >(val5
);
34154 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34155 if (!SWIG_IsOK(ecode6
)) {
34156 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34158 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34161 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34162 if (!SWIG_IsOK(res7
)) {
34163 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34165 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34169 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34170 wxPyEndAllowThreads(__tstate
);
34171 if (PyErr_Occurred()) SWIG_fail
;
34173 resultobj
= SWIG_Py_Void();
34180 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34181 PyObject
*resultobj
= 0;
34182 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34183 wxWindow
*arg2
= (wxWindow
*) 0 ;
34189 PyObject
* obj0
= 0 ;
34190 PyObject
* obj1
= 0 ;
34191 char * kwnames
[] = {
34192 (char *) "self",(char *) "win", NULL
34195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34197 if (!SWIG_IsOK(res1
)) {
34198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34200 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34201 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34202 if (!SWIG_IsOK(res2
)) {
34203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34205 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34208 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34209 wxPyEndAllowThreads(__tstate
);
34210 if (PyErr_Occurred()) SWIG_fail
;
34212 resultobj
= SWIG_From_int(static_cast< int >(result
));
34219 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34220 PyObject
*resultobj
= 0;
34221 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34222 wxWindow
*arg2
= (wxWindow
*) 0 ;
34225 int arg5
= (int) 0 ;
34235 PyObject
* obj0
= 0 ;
34236 PyObject
* obj1
= 0 ;
34237 PyObject
* obj2
= 0 ;
34238 PyObject
* obj3
= 0 ;
34239 PyObject
* obj4
= 0 ;
34240 char * kwnames
[] = {
34241 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34246 if (!SWIG_IsOK(res1
)) {
34247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34249 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34250 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34251 if (!SWIG_IsOK(res2
)) {
34252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34254 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34255 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34256 if (!SWIG_IsOK(res3
)) {
34257 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34262 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34265 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34268 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34269 if (!SWIG_IsOK(ecode5
)) {
34270 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34272 arg5
= static_cast< int >(val5
);
34275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34276 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34277 wxPyEndAllowThreads(__tstate
);
34278 if (PyErr_Occurred()) SWIG_fail
;
34280 resultobj
= SWIG_Py_Void();
34287 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34288 PyObject
*resultobj
= 0;
34289 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34290 wxWindow
*arg2
= (wxWindow
*) 0 ;
34293 int arg5
= (int) 0 ;
34303 PyObject
* obj0
= 0 ;
34304 PyObject
* obj1
= 0 ;
34305 PyObject
* obj2
= 0 ;
34306 PyObject
* obj3
= 0 ;
34307 PyObject
* obj4
= 0 ;
34308 char * kwnames
[] = {
34309 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34314 if (!SWIG_IsOK(res1
)) {
34315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34317 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34318 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34319 if (!SWIG_IsOK(res2
)) {
34320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34322 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34323 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34324 if (!SWIG_IsOK(res3
)) {
34325 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34330 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34333 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34336 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34337 if (!SWIG_IsOK(ecode5
)) {
34338 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34340 arg5
= static_cast< int >(val5
);
34343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34344 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34345 wxPyEndAllowThreads(__tstate
);
34346 if (PyErr_Occurred()) SWIG_fail
;
34348 resultobj
= SWIG_Py_Void();
34355 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34356 PyObject
*resultobj
= 0;
34357 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34358 wxWindow
*arg2
= (wxWindow
*) 0 ;
34362 wxOrientation arg6
;
34363 int arg7
= (int) 0 ;
34377 PyObject
* obj0
= 0 ;
34378 PyObject
* obj1
= 0 ;
34379 PyObject
* obj2
= 0 ;
34380 PyObject
* obj3
= 0 ;
34381 PyObject
* obj4
= 0 ;
34382 PyObject
* obj5
= 0 ;
34383 PyObject
* obj6
= 0 ;
34384 char * kwnames
[] = {
34385 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34390 if (!SWIG_IsOK(res1
)) {
34391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34393 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34394 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34395 if (!SWIG_IsOK(res2
)) {
34396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34398 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34399 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34400 if (!SWIG_IsOK(res3
)) {
34401 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34406 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34409 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34411 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34412 if (!SWIG_IsOK(ecode5
)) {
34413 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34415 arg5
= static_cast< int >(val5
);
34416 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34417 if (!SWIG_IsOK(ecode6
)) {
34418 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34420 arg6
= static_cast< wxOrientation
>(val6
);
34422 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34423 if (!SWIG_IsOK(ecode7
)) {
34424 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34426 arg7
= static_cast< int >(val7
);
34429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34430 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34431 wxPyEndAllowThreads(__tstate
);
34432 if (PyErr_Occurred()) SWIG_fail
;
34434 resultobj
= SWIG_Py_Void();
34441 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34442 PyObject
*resultobj
= 0;
34443 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34444 wxWindow
*arg2
= (wxWindow
*) 0 ;
34447 int arg5
= (int) 0 ;
34457 PyObject
* obj0
= 0 ;
34458 PyObject
* obj1
= 0 ;
34459 PyObject
* obj2
= 0 ;
34460 PyObject
* obj3
= 0 ;
34461 PyObject
* obj4
= 0 ;
34462 char * kwnames
[] = {
34463 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34468 if (!SWIG_IsOK(res1
)) {
34469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34471 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34472 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34473 if (!SWIG_IsOK(res2
)) {
34474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34476 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34477 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34478 if (!SWIG_IsOK(res3
)) {
34479 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34484 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34487 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34490 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34491 if (!SWIG_IsOK(ecode5
)) {
34492 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34494 arg5
= static_cast< int >(val5
);
34497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34498 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34499 wxPyEndAllowThreads(__tstate
);
34500 if (PyErr_Occurred()) SWIG_fail
;
34502 resultobj
= SWIG_Py_Void();
34509 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34510 PyObject
*resultobj
= 0;
34511 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34512 wxWindow
*arg2
= (wxWindow
*) 0 ;
34515 int arg5
= (int) 0 ;
34525 PyObject
* obj0
= 0 ;
34526 PyObject
* obj1
= 0 ;
34527 PyObject
* obj2
= 0 ;
34528 PyObject
* obj3
= 0 ;
34529 PyObject
* obj4
= 0 ;
34530 char * kwnames
[] = {
34531 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34536 if (!SWIG_IsOK(res1
)) {
34537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34539 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34540 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34541 if (!SWIG_IsOK(res2
)) {
34542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34544 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34545 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34546 if (!SWIG_IsOK(res3
)) {
34547 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34552 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34555 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34558 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34559 if (!SWIG_IsOK(ecode5
)) {
34560 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34562 arg5
= static_cast< int >(val5
);
34565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34566 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34567 wxPyEndAllowThreads(__tstate
);
34568 if (PyErr_Occurred()) SWIG_fail
;
34570 resultobj
= SWIG_Py_Void();
34577 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34578 PyObject
*resultobj
= 0;
34579 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34580 wxWindow
*arg2
= (wxWindow
*) 0 ;
34583 int arg5
= (int) 0 ;
34593 PyObject
* obj0
= 0 ;
34594 PyObject
* obj1
= 0 ;
34595 PyObject
* obj2
= 0 ;
34596 PyObject
* obj3
= 0 ;
34597 PyObject
* obj4
= 0 ;
34598 char * kwnames
[] = {
34599 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34604 if (!SWIG_IsOK(res1
)) {
34605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34607 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34608 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34609 if (!SWIG_IsOK(res2
)) {
34610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34612 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34613 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34614 if (!SWIG_IsOK(res3
)) {
34615 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34620 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34623 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34626 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34627 if (!SWIG_IsOK(ecode5
)) {
34628 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34630 arg5
= static_cast< int >(val5
);
34633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34634 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34635 wxPyEndAllowThreads(__tstate
);
34636 if (PyErr_Occurred()) SWIG_fail
;
34638 resultobj
= SWIG_Py_Void();
34645 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34646 PyObject
*resultobj
= 0;
34647 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34648 wxWindow
*arg2
= (wxWindow
*) 0 ;
34651 int arg5
= (int) 0 ;
34661 PyObject
* obj0
= 0 ;
34662 PyObject
* obj1
= 0 ;
34663 PyObject
* obj2
= 0 ;
34664 PyObject
* obj3
= 0 ;
34665 PyObject
* obj4
= 0 ;
34666 char * kwnames
[] = {
34667 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34672 if (!SWIG_IsOK(res1
)) {
34673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34675 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34676 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34677 if (!SWIG_IsOK(res2
)) {
34678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34680 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34681 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34682 if (!SWIG_IsOK(res3
)) {
34683 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34688 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34691 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34694 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34695 if (!SWIG_IsOK(ecode5
)) {
34696 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34698 arg5
= static_cast< int >(val5
);
34701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34702 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34703 wxPyEndAllowThreads(__tstate
);
34704 if (PyErr_Occurred()) SWIG_fail
;
34706 resultobj
= SWIG_Py_Void();
34713 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34714 PyObject
*resultobj
= 0;
34715 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34716 wxWindow
*arg2
= (wxWindow
*) 0 ;
34719 int arg5
= (int) 0 ;
34729 PyObject
* obj0
= 0 ;
34730 PyObject
* obj1
= 0 ;
34731 PyObject
* obj2
= 0 ;
34732 PyObject
* obj3
= 0 ;
34733 PyObject
* obj4
= 0 ;
34734 char * kwnames
[] = {
34735 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34740 if (!SWIG_IsOK(res1
)) {
34741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34743 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34744 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34745 if (!SWIG_IsOK(res2
)) {
34746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34748 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34749 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34750 if (!SWIG_IsOK(res3
)) {
34751 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34754 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34756 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34759 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34762 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34763 if (!SWIG_IsOK(ecode5
)) {
34764 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34766 arg5
= static_cast< int >(val5
);
34769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34770 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34771 wxPyEndAllowThreads(__tstate
);
34772 if (PyErr_Occurred()) SWIG_fail
;
34774 resultobj
= SWIG_Py_Void();
34781 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34782 PyObject
*resultobj
= 0;
34783 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34784 wxWindow
*arg2
= (wxWindow
*) 0 ;
34785 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34790 PyObject
* obj0
= 0 ;
34791 PyObject
* obj1
= 0 ;
34792 char * kwnames
[] = {
34793 (char *) "self",(char *) "win", NULL
34796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34798 if (!SWIG_IsOK(res1
)) {
34799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34801 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34802 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34803 if (!SWIG_IsOK(res2
)) {
34804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
34806 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34809 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
34810 wxPyEndAllowThreads(__tstate
);
34811 if (PyErr_Occurred()) SWIG_fail
;
34813 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
34820 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34821 PyObject
*resultobj
= 0;
34822 wxRendererNative
*result
= 0 ;
34824 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
34826 if (!wxPyCheckForApp()) SWIG_fail
;
34827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34829 wxRendererNative
&_result_ref
= wxRendererNative::Get();
34830 result
= (wxRendererNative
*) &_result_ref
;
34832 wxPyEndAllowThreads(__tstate
);
34833 if (PyErr_Occurred()) SWIG_fail
;
34835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34842 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34843 PyObject
*resultobj
= 0;
34844 wxRendererNative
*result
= 0 ;
34846 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
34848 if (!wxPyCheckForApp()) SWIG_fail
;
34849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34851 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
34852 result
= (wxRendererNative
*) &_result_ref
;
34854 wxPyEndAllowThreads(__tstate
);
34855 if (PyErr_Occurred()) SWIG_fail
;
34857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34864 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34865 PyObject
*resultobj
= 0;
34866 wxRendererNative
*result
= 0 ;
34868 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
34870 if (!wxPyCheckForApp()) SWIG_fail
;
34871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34873 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
34874 result
= (wxRendererNative
*) &_result_ref
;
34876 wxPyEndAllowThreads(__tstate
);
34877 if (PyErr_Occurred()) SWIG_fail
;
34879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34886 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34887 PyObject
*resultobj
= 0;
34888 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34889 wxRendererNative
*result
= 0 ;
34892 PyObject
* obj0
= 0 ;
34893 char * kwnames
[] = {
34894 (char *) "renderer", NULL
34897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
34898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34899 if (!SWIG_IsOK(res1
)) {
34900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34902 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34904 if (!wxPyCheckForApp()) SWIG_fail
;
34905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34906 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
34907 wxPyEndAllowThreads(__tstate
);
34908 if (PyErr_Occurred()) SWIG_fail
;
34910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34917 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34918 PyObject
*resultobj
= 0;
34919 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34920 SwigValueWrapper
<wxRendererVersion
> result
;
34923 PyObject
*swig_obj
[1] ;
34925 if (!args
) SWIG_fail
;
34926 swig_obj
[0] = args
;
34927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34928 if (!SWIG_IsOK(res1
)) {
34929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
34931 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34934 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
34935 wxPyEndAllowThreads(__tstate
);
34936 if (PyErr_Occurred()) SWIG_fail
;
34938 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
34945 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34947 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34948 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
34949 return SWIG_Py_Void();
34952 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34953 PyObject
*resultobj
= 0;
34954 wxPseudoDC
*result
= 0 ;
34956 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
34958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34959 result
= (wxPseudoDC
*)new wxPseudoDC();
34960 wxPyEndAllowThreads(__tstate
);
34961 if (PyErr_Occurred()) SWIG_fail
;
34963 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
34970 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34971 PyObject
*resultobj
= 0;
34972 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34975 PyObject
*swig_obj
[1] ;
34977 if (!args
) SWIG_fail
;
34978 swig_obj
[0] = args
;
34979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34980 if (!SWIG_IsOK(res1
)) {
34981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34983 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34986 (arg1
)->BeginDrawing();
34987 wxPyEndAllowThreads(__tstate
);
34988 if (PyErr_Occurred()) SWIG_fail
;
34990 resultobj
= SWIG_Py_Void();
34997 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34998 PyObject
*resultobj
= 0;
34999 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35002 PyObject
*swig_obj
[1] ;
35004 if (!args
) SWIG_fail
;
35005 swig_obj
[0] = args
;
35006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35007 if (!SWIG_IsOK(res1
)) {
35008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35010 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35013 (arg1
)->EndDrawing();
35014 wxPyEndAllowThreads(__tstate
);
35015 if (PyErr_Occurred()) SWIG_fail
;
35017 resultobj
= SWIG_Py_Void();
35024 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35025 PyObject
*resultobj
= 0;
35026 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35029 PyObject
*swig_obj
[1] ;
35031 if (!args
) SWIG_fail
;
35032 swig_obj
[0] = args
;
35033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35034 if (!SWIG_IsOK(res1
)) {
35035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35037 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35042 wxPyEndAllowThreads(__tstate
);
35043 if (PyErr_Occurred()) SWIG_fail
;
35045 resultobj
= SWIG_Py_Void();
35052 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35053 PyObject
*resultobj
= 0;
35054 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35057 PyObject
*swig_obj
[1] ;
35059 if (!args
) SWIG_fail
;
35060 swig_obj
[0] = args
;
35061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35062 if (!SWIG_IsOK(res1
)) {
35063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35065 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35068 (arg1
)->RemoveAll();
35069 wxPyEndAllowThreads(__tstate
);
35070 if (PyErr_Occurred()) SWIG_fail
;
35072 resultobj
= SWIG_Py_Void();
35079 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35080 PyObject
*resultobj
= 0;
35081 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35085 PyObject
*swig_obj
[1] ;
35087 if (!args
) SWIG_fail
;
35088 swig_obj
[0] = args
;
35089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35090 if (!SWIG_IsOK(res1
)) {
35091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35093 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35096 result
= (int)(arg1
)->GetLen();
35097 wxPyEndAllowThreads(__tstate
);
35098 if (PyErr_Occurred()) SWIG_fail
;
35100 resultobj
= SWIG_From_int(static_cast< int >(result
));
35107 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35108 PyObject
*resultobj
= 0;
35109 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35115 PyObject
* obj0
= 0 ;
35116 PyObject
* obj1
= 0 ;
35117 char * kwnames
[] = {
35118 (char *) "self",(char *) "id", NULL
35121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35123 if (!SWIG_IsOK(res1
)) {
35124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35126 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35128 if (!SWIG_IsOK(ecode2
)) {
35129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35131 arg2
= static_cast< int >(val2
);
35133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35134 (arg1
)->SetId(arg2
);
35135 wxPyEndAllowThreads(__tstate
);
35136 if (PyErr_Occurred()) SWIG_fail
;
35138 resultobj
= SWIG_Py_Void();
35145 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35146 PyObject
*resultobj
= 0;
35147 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35153 PyObject
* obj0
= 0 ;
35154 PyObject
* obj1
= 0 ;
35155 char * kwnames
[] = {
35156 (char *) "self",(char *) "id", NULL
35159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35161 if (!SWIG_IsOK(res1
)) {
35162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35164 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35166 if (!SWIG_IsOK(ecode2
)) {
35167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35169 arg2
= static_cast< int >(val2
);
35171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35172 (arg1
)->ClearId(arg2
);
35173 wxPyEndAllowThreads(__tstate
);
35174 if (PyErr_Occurred()) SWIG_fail
;
35176 resultobj
= SWIG_Py_Void();
35183 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35184 PyObject
*resultobj
= 0;
35185 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35191 PyObject
* obj0
= 0 ;
35192 PyObject
* obj1
= 0 ;
35193 char * kwnames
[] = {
35194 (char *) "self",(char *) "id", NULL
35197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35199 if (!SWIG_IsOK(res1
)) {
35200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35202 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35204 if (!SWIG_IsOK(ecode2
)) {
35205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35207 arg2
= static_cast< int >(val2
);
35209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35210 (arg1
)->RemoveId(arg2
);
35211 wxPyEndAllowThreads(__tstate
);
35212 if (PyErr_Occurred()) SWIG_fail
;
35214 resultobj
= SWIG_Py_Void();
35221 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35222 PyObject
*resultobj
= 0;
35223 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35235 PyObject
* obj0
= 0 ;
35236 PyObject
* obj1
= 0 ;
35237 PyObject
* obj2
= 0 ;
35238 PyObject
* obj3
= 0 ;
35239 char * kwnames
[] = {
35240 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35245 if (!SWIG_IsOK(res1
)) {
35246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35248 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35250 if (!SWIG_IsOK(ecode2
)) {
35251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35253 arg2
= static_cast< int >(val2
);
35254 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35255 if (!SWIG_IsOK(ecode3
)) {
35256 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35258 arg3
= static_cast< int >(val3
);
35259 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35260 if (!SWIG_IsOK(ecode4
)) {
35261 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35263 arg4
= static_cast< int >(val4
);
35265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35266 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35267 wxPyEndAllowThreads(__tstate
);
35268 if (PyErr_Occurred()) SWIG_fail
;
35270 resultobj
= SWIG_Py_Void();
35277 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35278 PyObject
*resultobj
= 0;
35279 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35281 bool arg3
= (bool) true ;
35288 PyObject
* obj0
= 0 ;
35289 PyObject
* obj1
= 0 ;
35290 PyObject
* obj2
= 0 ;
35291 char * kwnames
[] = {
35292 (char *) "self",(char *) "id",(char *) "greyout", NULL
35295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35297 if (!SWIG_IsOK(res1
)) {
35298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35300 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35302 if (!SWIG_IsOK(ecode2
)) {
35303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35305 arg2
= static_cast< int >(val2
);
35307 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35308 if (!SWIG_IsOK(ecode3
)) {
35309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35311 arg3
= static_cast< bool >(val3
);
35314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35315 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35316 wxPyEndAllowThreads(__tstate
);
35317 if (PyErr_Occurred()) SWIG_fail
;
35319 resultobj
= SWIG_Py_Void();
35326 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35327 PyObject
*resultobj
= 0;
35328 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35335 PyObject
* obj0
= 0 ;
35336 PyObject
* obj1
= 0 ;
35337 char * kwnames
[] = {
35338 (char *) "self",(char *) "id", NULL
35341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35343 if (!SWIG_IsOK(res1
)) {
35344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35346 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35348 if (!SWIG_IsOK(ecode2
)) {
35349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35351 arg2
= static_cast< int >(val2
);
35353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35354 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35355 wxPyEndAllowThreads(__tstate
);
35356 if (PyErr_Occurred()) SWIG_fail
;
35359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35367 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35368 PyObject
*resultobj
= 0;
35369 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35372 int arg4
= (int) 1 ;
35373 wxColor
const &arg5_defvalue
= *wxWHITE
;
35374 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35375 PyObject
*result
= 0 ;
35386 PyObject
* obj0
= 0 ;
35387 PyObject
* obj1
= 0 ;
35388 PyObject
* obj2
= 0 ;
35389 PyObject
* obj3
= 0 ;
35390 PyObject
* obj4
= 0 ;
35391 char * kwnames
[] = {
35392 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35397 if (!SWIG_IsOK(res1
)) {
35398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35400 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35402 if (!SWIG_IsOK(ecode2
)) {
35403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35405 arg2
= static_cast< int >(val2
);
35406 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35407 if (!SWIG_IsOK(ecode3
)) {
35408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35410 arg3
= static_cast< int >(val3
);
35412 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35413 if (!SWIG_IsOK(ecode4
)) {
35414 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35416 arg4
= static_cast< int >(val4
);
35419 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35420 if (!SWIG_IsOK(res5
)) {
35421 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35426 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35429 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35430 if (PyErr_Occurred()) SWIG_fail
;
35432 resultobj
= result
;
35439 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35440 PyObject
*resultobj
= 0;
35441 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35444 PyObject
*result
= 0 ;
35451 PyObject
* obj0
= 0 ;
35452 PyObject
* obj1
= 0 ;
35453 PyObject
* obj2
= 0 ;
35454 char * kwnames
[] = {
35455 (char *) "self",(char *) "x",(char *) "y", NULL
35458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35460 if (!SWIG_IsOK(res1
)) {
35461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35463 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35465 if (!SWIG_IsOK(ecode2
)) {
35466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35468 arg2
= static_cast< int >(val2
);
35469 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35470 if (!SWIG_IsOK(ecode3
)) {
35471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35473 arg3
= static_cast< int >(val3
);
35475 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35476 if (PyErr_Occurred()) SWIG_fail
;
35478 resultobj
= result
;
35485 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35486 PyObject
*resultobj
= 0;
35487 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35489 wxDC
*arg3
= (wxDC
*) 0 ;
35496 PyObject
* obj0
= 0 ;
35497 PyObject
* obj1
= 0 ;
35498 PyObject
* obj2
= 0 ;
35499 char * kwnames
[] = {
35500 (char *) "self",(char *) "id",(char *) "dc", NULL
35503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35505 if (!SWIG_IsOK(res1
)) {
35506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35508 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35510 if (!SWIG_IsOK(ecode2
)) {
35511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35513 arg2
= static_cast< int >(val2
);
35514 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35515 if (!SWIG_IsOK(res3
)) {
35516 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35518 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35521 (arg1
)->DrawIdToDC(arg2
,arg3
);
35522 wxPyEndAllowThreads(__tstate
);
35523 if (PyErr_Occurred()) SWIG_fail
;
35525 resultobj
= SWIG_Py_Void();
35532 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35533 PyObject
*resultobj
= 0;
35534 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35542 PyObject
* obj0
= 0 ;
35543 PyObject
* obj1
= 0 ;
35544 PyObject
* obj2
= 0 ;
35545 char * kwnames
[] = {
35546 (char *) "self",(char *) "id",(char *) "rect", NULL
35549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35551 if (!SWIG_IsOK(res1
)) {
35552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35554 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35556 if (!SWIG_IsOK(ecode2
)) {
35557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35559 arg2
= static_cast< int >(val2
);
35562 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35566 (arg1
)->SetIdBounds(arg2
,*arg3
);
35567 wxPyEndAllowThreads(__tstate
);
35568 if (PyErr_Occurred()) SWIG_fail
;
35570 resultobj
= SWIG_Py_Void();
35577 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35578 PyObject
*resultobj
= 0;
35579 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35586 PyObject
* obj0
= 0 ;
35587 PyObject
* obj1
= 0 ;
35588 char * kwnames
[] = {
35589 (char *) "self",(char *) "id", NULL
35592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35594 if (!SWIG_IsOK(res1
)) {
35595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35597 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35599 if (!SWIG_IsOK(ecode2
)) {
35600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35602 arg2
= static_cast< int >(val2
);
35604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35605 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35606 wxPyEndAllowThreads(__tstate
);
35607 if (PyErr_Occurred()) SWIG_fail
;
35609 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35616 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35617 PyObject
*resultobj
= 0;
35618 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35619 wxDC
*arg2
= (wxDC
*) 0 ;
35626 PyObject
* obj0
= 0 ;
35627 PyObject
* obj1
= 0 ;
35628 PyObject
* obj2
= 0 ;
35629 char * kwnames
[] = {
35630 (char *) "self",(char *) "dc",(char *) "rect", NULL
35633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35635 if (!SWIG_IsOK(res1
)) {
35636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35638 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35639 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35640 if (!SWIG_IsOK(res2
)) {
35641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35643 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35646 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35650 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35651 wxPyEndAllowThreads(__tstate
);
35652 if (PyErr_Occurred()) SWIG_fail
;
35654 resultobj
= SWIG_Py_Void();
35661 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35662 PyObject
*resultobj
= 0;
35663 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35664 wxDC
*arg2
= (wxDC
*) 0 ;
35665 wxRegion
*arg3
= 0 ;
35672 PyObject
* obj0
= 0 ;
35673 PyObject
* obj1
= 0 ;
35674 PyObject
* obj2
= 0 ;
35675 char * kwnames
[] = {
35676 (char *) "self",(char *) "dc",(char *) "region", NULL
35679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35681 if (!SWIG_IsOK(res1
)) {
35682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35684 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35685 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35686 if (!SWIG_IsOK(res2
)) {
35687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35689 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35690 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35691 if (!SWIG_IsOK(res3
)) {
35692 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35697 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35700 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35701 wxPyEndAllowThreads(__tstate
);
35702 if (PyErr_Occurred()) SWIG_fail
;
35704 resultobj
= SWIG_Py_Void();
35711 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35712 PyObject
*resultobj
= 0;
35713 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35714 wxDC
*arg2
= (wxDC
*) 0 ;
35719 PyObject
* obj0
= 0 ;
35720 PyObject
* obj1
= 0 ;
35721 char * kwnames
[] = {
35722 (char *) "self",(char *) "dc", NULL
35725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35727 if (!SWIG_IsOK(res1
)) {
35728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35730 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35731 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35732 if (!SWIG_IsOK(res2
)) {
35733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35735 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35738 (arg1
)->DrawToDC(arg2
);
35739 wxPyEndAllowThreads(__tstate
);
35740 if (PyErr_Occurred()) SWIG_fail
;
35742 resultobj
= SWIG_Py_Void();
35749 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35750 PyObject
*resultobj
= 0;
35751 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35754 wxColour
*arg4
= 0 ;
35755 int arg5
= (int) wxFLOOD_SURFACE
;
35765 PyObject
* obj0
= 0 ;
35766 PyObject
* obj1
= 0 ;
35767 PyObject
* obj2
= 0 ;
35768 PyObject
* obj3
= 0 ;
35769 PyObject
* obj4
= 0 ;
35770 char * kwnames
[] = {
35771 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35776 if (!SWIG_IsOK(res1
)) {
35777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35779 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35781 if (!SWIG_IsOK(ecode2
)) {
35782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35784 arg2
= static_cast< int >(val2
);
35785 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35786 if (!SWIG_IsOK(ecode3
)) {
35787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35789 arg3
= static_cast< int >(val3
);
35792 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35795 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35796 if (!SWIG_IsOK(ecode5
)) {
35797 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35799 arg5
= static_cast< int >(val5
);
35802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35803 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35804 wxPyEndAllowThreads(__tstate
);
35805 if (PyErr_Occurred()) SWIG_fail
;
35807 resultobj
= SWIG_Py_Void();
35814 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35815 PyObject
*resultobj
= 0;
35816 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35817 wxPoint
*arg2
= 0 ;
35818 wxColour
*arg3
= 0 ;
35819 int arg4
= (int) wxFLOOD_SURFACE
;
35826 PyObject
* obj0
= 0 ;
35827 PyObject
* obj1
= 0 ;
35828 PyObject
* obj2
= 0 ;
35829 PyObject
* obj3
= 0 ;
35830 char * kwnames
[] = {
35831 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
35834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35836 if (!SWIG_IsOK(res1
)) {
35837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35839 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35842 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35846 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35849 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35850 if (!SWIG_IsOK(ecode4
)) {
35851 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
35853 arg4
= static_cast< int >(val4
);
35856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35857 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
35858 wxPyEndAllowThreads(__tstate
);
35859 if (PyErr_Occurred()) SWIG_fail
;
35861 resultobj
= SWIG_Py_Void();
35868 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35869 PyObject
*resultobj
= 0;
35870 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35885 PyObject
* obj0
= 0 ;
35886 PyObject
* obj1
= 0 ;
35887 PyObject
* obj2
= 0 ;
35888 PyObject
* obj3
= 0 ;
35889 PyObject
* obj4
= 0 ;
35890 char * kwnames
[] = {
35891 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
35894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35896 if (!SWIG_IsOK(res1
)) {
35897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35899 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35901 if (!SWIG_IsOK(ecode2
)) {
35902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
35904 arg2
= static_cast< int >(val2
);
35905 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35906 if (!SWIG_IsOK(ecode3
)) {
35907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
35909 arg3
= static_cast< int >(val3
);
35910 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35911 if (!SWIG_IsOK(ecode4
)) {
35912 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
35914 arg4
= static_cast< int >(val4
);
35915 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35916 if (!SWIG_IsOK(ecode5
)) {
35917 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
35919 arg5
= static_cast< int >(val5
);
35921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35922 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
35923 wxPyEndAllowThreads(__tstate
);
35924 if (PyErr_Occurred()) SWIG_fail
;
35926 resultobj
= SWIG_Py_Void();
35933 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35934 PyObject
*resultobj
= 0;
35935 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35936 wxPoint
*arg2
= 0 ;
35937 wxPoint
*arg3
= 0 ;
35942 PyObject
* obj0
= 0 ;
35943 PyObject
* obj1
= 0 ;
35944 PyObject
* obj2
= 0 ;
35945 char * kwnames
[] = {
35946 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
35949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35951 if (!SWIG_IsOK(res1
)) {
35952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35954 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35957 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35961 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35965 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
35966 wxPyEndAllowThreads(__tstate
);
35967 if (PyErr_Occurred()) SWIG_fail
;
35969 resultobj
= SWIG_Py_Void();
35976 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35977 PyObject
*resultobj
= 0;
35978 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35987 PyObject
* obj0
= 0 ;
35988 PyObject
* obj1
= 0 ;
35989 PyObject
* obj2
= 0 ;
35990 char * kwnames
[] = {
35991 (char *) "self",(char *) "x",(char *) "y", NULL
35994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) 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_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35999 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36001 if (!SWIG_IsOK(ecode2
)) {
36002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36004 arg2
= static_cast< int >(val2
);
36005 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36006 if (!SWIG_IsOK(ecode3
)) {
36007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36009 arg3
= static_cast< int >(val3
);
36011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36012 (arg1
)->CrossHair(arg2
,arg3
);
36013 wxPyEndAllowThreads(__tstate
);
36014 if (PyErr_Occurred()) SWIG_fail
;
36016 resultobj
= SWIG_Py_Void();
36023 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36024 PyObject
*resultobj
= 0;
36025 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36026 wxPoint
*arg2
= 0 ;
36030 PyObject
* obj0
= 0 ;
36031 PyObject
* obj1
= 0 ;
36032 char * kwnames
[] = {
36033 (char *) "self",(char *) "pt", NULL
36036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36038 if (!SWIG_IsOK(res1
)) {
36039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36041 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36044 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36048 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36049 wxPyEndAllowThreads(__tstate
);
36050 if (PyErr_Occurred()) SWIG_fail
;
36052 resultobj
= SWIG_Py_Void();
36059 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36060 PyObject
*resultobj
= 0;
36061 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36082 PyObject
* obj0
= 0 ;
36083 PyObject
* obj1
= 0 ;
36084 PyObject
* obj2
= 0 ;
36085 PyObject
* obj3
= 0 ;
36086 PyObject
* obj4
= 0 ;
36087 PyObject
* obj5
= 0 ;
36088 PyObject
* obj6
= 0 ;
36089 char * kwnames
[] = {
36090 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36095 if (!SWIG_IsOK(res1
)) {
36096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36098 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36100 if (!SWIG_IsOK(ecode2
)) {
36101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36103 arg2
= static_cast< int >(val2
);
36104 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36105 if (!SWIG_IsOK(ecode3
)) {
36106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36108 arg3
= static_cast< int >(val3
);
36109 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36110 if (!SWIG_IsOK(ecode4
)) {
36111 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36113 arg4
= static_cast< int >(val4
);
36114 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36115 if (!SWIG_IsOK(ecode5
)) {
36116 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36118 arg5
= static_cast< int >(val5
);
36119 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36120 if (!SWIG_IsOK(ecode6
)) {
36121 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36123 arg6
= static_cast< int >(val6
);
36124 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36125 if (!SWIG_IsOK(ecode7
)) {
36126 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36128 arg7
= static_cast< int >(val7
);
36130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36131 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36132 wxPyEndAllowThreads(__tstate
);
36133 if (PyErr_Occurred()) SWIG_fail
;
36135 resultobj
= SWIG_Py_Void();
36142 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36143 PyObject
*resultobj
= 0;
36144 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36145 wxPoint
*arg2
= 0 ;
36146 wxPoint
*arg3
= 0 ;
36147 wxPoint
*arg4
= 0 ;
36153 PyObject
* obj0
= 0 ;
36154 PyObject
* obj1
= 0 ;
36155 PyObject
* obj2
= 0 ;
36156 PyObject
* obj3
= 0 ;
36157 char * kwnames
[] = {
36158 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36163 if (!SWIG_IsOK(res1
)) {
36164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36166 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36169 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36173 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36177 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36181 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36182 wxPyEndAllowThreads(__tstate
);
36183 if (PyErr_Occurred()) SWIG_fail
;
36185 resultobj
= SWIG_Py_Void();
36192 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36193 PyObject
*resultobj
= 0;
36194 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36209 PyObject
* obj0
= 0 ;
36210 PyObject
* obj1
= 0 ;
36211 PyObject
* obj2
= 0 ;
36212 PyObject
* obj3
= 0 ;
36213 PyObject
* obj4
= 0 ;
36214 char * kwnames
[] = {
36215 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36220 if (!SWIG_IsOK(res1
)) {
36221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36223 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36225 if (!SWIG_IsOK(ecode2
)) {
36226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36228 arg2
= static_cast< int >(val2
);
36229 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36230 if (!SWIG_IsOK(ecode3
)) {
36231 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36233 arg3
= static_cast< int >(val3
);
36234 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36235 if (!SWIG_IsOK(ecode4
)) {
36236 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36238 arg4
= static_cast< int >(val4
);
36239 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36240 if (!SWIG_IsOK(ecode5
)) {
36241 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36243 arg5
= static_cast< int >(val5
);
36245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36246 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36247 wxPyEndAllowThreads(__tstate
);
36248 if (PyErr_Occurred()) SWIG_fail
;
36250 resultobj
= SWIG_Py_Void();
36257 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36258 PyObject
*resultobj
= 0;
36259 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36264 PyObject
* obj0
= 0 ;
36265 PyObject
* obj1
= 0 ;
36266 char * kwnames
[] = {
36267 (char *) "self",(char *) "rect", NULL
36270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36272 if (!SWIG_IsOK(res1
)) {
36273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36275 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36278 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36282 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36283 wxPyEndAllowThreads(__tstate
);
36284 if (PyErr_Occurred()) SWIG_fail
;
36286 resultobj
= SWIG_Py_Void();
36293 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36294 PyObject
*resultobj
= 0;
36295 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36316 PyObject
* obj0
= 0 ;
36317 PyObject
* obj1
= 0 ;
36318 PyObject
* obj2
= 0 ;
36319 PyObject
* obj3
= 0 ;
36320 PyObject
* obj4
= 0 ;
36321 PyObject
* obj5
= 0 ;
36322 PyObject
* obj6
= 0 ;
36323 char * kwnames
[] = {
36324 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36329 if (!SWIG_IsOK(res1
)) {
36330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36332 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36334 if (!SWIG_IsOK(ecode2
)) {
36335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36337 arg2
= static_cast< int >(val2
);
36338 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36339 if (!SWIG_IsOK(ecode3
)) {
36340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36342 arg3
= static_cast< int >(val3
);
36343 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36344 if (!SWIG_IsOK(ecode4
)) {
36345 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36347 arg4
= static_cast< int >(val4
);
36348 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36349 if (!SWIG_IsOK(ecode5
)) {
36350 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36352 arg5
= static_cast< int >(val5
);
36353 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36354 if (!SWIG_IsOK(ecode6
)) {
36355 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36357 arg6
= static_cast< double >(val6
);
36358 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36359 if (!SWIG_IsOK(ecode7
)) {
36360 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36362 arg7
= static_cast< double >(val7
);
36364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36365 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36366 wxPyEndAllowThreads(__tstate
);
36367 if (PyErr_Occurred()) SWIG_fail
;
36369 resultobj
= SWIG_Py_Void();
36376 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36377 PyObject
*resultobj
= 0;
36378 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36379 wxPoint
*arg2
= 0 ;
36391 PyObject
* obj0
= 0 ;
36392 PyObject
* obj1
= 0 ;
36393 PyObject
* obj2
= 0 ;
36394 PyObject
* obj3
= 0 ;
36395 PyObject
* obj4
= 0 ;
36396 char * kwnames
[] = {
36397 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36402 if (!SWIG_IsOK(res1
)) {
36403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36405 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36408 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36412 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36414 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36415 if (!SWIG_IsOK(ecode4
)) {
36416 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36418 arg4
= static_cast< double >(val4
);
36419 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36420 if (!SWIG_IsOK(ecode5
)) {
36421 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36423 arg5
= static_cast< double >(val5
);
36425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36426 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36427 wxPyEndAllowThreads(__tstate
);
36428 if (PyErr_Occurred()) SWIG_fail
;
36430 resultobj
= SWIG_Py_Void();
36437 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36438 PyObject
*resultobj
= 0;
36439 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36448 PyObject
* obj0
= 0 ;
36449 PyObject
* obj1
= 0 ;
36450 PyObject
* obj2
= 0 ;
36451 char * kwnames
[] = {
36452 (char *) "self",(char *) "x",(char *) "y", NULL
36455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) 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_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36460 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36462 if (!SWIG_IsOK(ecode2
)) {
36463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36465 arg2
= static_cast< int >(val2
);
36466 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36467 if (!SWIG_IsOK(ecode3
)) {
36468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36470 arg3
= static_cast< int >(val3
);
36472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36473 (arg1
)->DrawPoint(arg2
,arg3
);
36474 wxPyEndAllowThreads(__tstate
);
36475 if (PyErr_Occurred()) SWIG_fail
;
36477 resultobj
= SWIG_Py_Void();
36484 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36485 PyObject
*resultobj
= 0;
36486 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36487 wxPoint
*arg2
= 0 ;
36491 PyObject
* obj0
= 0 ;
36492 PyObject
* obj1
= 0 ;
36493 char * kwnames
[] = {
36494 (char *) "self",(char *) "pt", NULL
36497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36499 if (!SWIG_IsOK(res1
)) {
36500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36502 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36505 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36509 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36510 wxPyEndAllowThreads(__tstate
);
36511 if (PyErr_Occurred()) SWIG_fail
;
36513 resultobj
= SWIG_Py_Void();
36520 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36521 PyObject
*resultobj
= 0;
36522 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36537 PyObject
* obj0
= 0 ;
36538 PyObject
* obj1
= 0 ;
36539 PyObject
* obj2
= 0 ;
36540 PyObject
* obj3
= 0 ;
36541 PyObject
* obj4
= 0 ;
36542 char * kwnames
[] = {
36543 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36548 if (!SWIG_IsOK(res1
)) {
36549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36551 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36553 if (!SWIG_IsOK(ecode2
)) {
36554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36556 arg2
= static_cast< int >(val2
);
36557 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36558 if (!SWIG_IsOK(ecode3
)) {
36559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36561 arg3
= static_cast< int >(val3
);
36562 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36563 if (!SWIG_IsOK(ecode4
)) {
36564 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36566 arg4
= static_cast< int >(val4
);
36567 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36568 if (!SWIG_IsOK(ecode5
)) {
36569 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36571 arg5
= static_cast< int >(val5
);
36573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36574 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36575 wxPyEndAllowThreads(__tstate
);
36576 if (PyErr_Occurred()) SWIG_fail
;
36578 resultobj
= SWIG_Py_Void();
36585 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36586 PyObject
*resultobj
= 0;
36587 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36592 PyObject
* obj0
= 0 ;
36593 PyObject
* obj1
= 0 ;
36594 char * kwnames
[] = {
36595 (char *) "self",(char *) "rect", NULL
36598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36600 if (!SWIG_IsOK(res1
)) {
36601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36603 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36606 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36610 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36611 wxPyEndAllowThreads(__tstate
);
36612 if (PyErr_Occurred()) SWIG_fail
;
36614 resultobj
= SWIG_Py_Void();
36621 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36622 PyObject
*resultobj
= 0;
36623 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36624 wxPoint
*arg2
= 0 ;
36630 PyObject
* obj0
= 0 ;
36631 PyObject
* obj1
= 0 ;
36632 PyObject
* obj2
= 0 ;
36633 char * kwnames
[] = {
36634 (char *) "self",(char *) "pt",(char *) "sz", NULL
36637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36639 if (!SWIG_IsOK(res1
)) {
36640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36642 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36645 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36649 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36653 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36654 wxPyEndAllowThreads(__tstate
);
36655 if (PyErr_Occurred()) SWIG_fail
;
36657 resultobj
= SWIG_Py_Void();
36664 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36665 PyObject
*resultobj
= 0;
36666 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36684 PyObject
* obj0
= 0 ;
36685 PyObject
* obj1
= 0 ;
36686 PyObject
* obj2
= 0 ;
36687 PyObject
* obj3
= 0 ;
36688 PyObject
* obj4
= 0 ;
36689 PyObject
* obj5
= 0 ;
36690 char * kwnames
[] = {
36691 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36696 if (!SWIG_IsOK(res1
)) {
36697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36699 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36701 if (!SWIG_IsOK(ecode2
)) {
36702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36704 arg2
= static_cast< int >(val2
);
36705 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36706 if (!SWIG_IsOK(ecode3
)) {
36707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36709 arg3
= static_cast< int >(val3
);
36710 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36711 if (!SWIG_IsOK(ecode4
)) {
36712 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36714 arg4
= static_cast< int >(val4
);
36715 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36716 if (!SWIG_IsOK(ecode5
)) {
36717 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36719 arg5
= static_cast< int >(val5
);
36720 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36721 if (!SWIG_IsOK(ecode6
)) {
36722 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36724 arg6
= static_cast< double >(val6
);
36726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36727 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36728 wxPyEndAllowThreads(__tstate
);
36729 if (PyErr_Occurred()) SWIG_fail
;
36731 resultobj
= SWIG_Py_Void();
36738 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36739 PyObject
*resultobj
= 0;
36740 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36748 PyObject
* obj0
= 0 ;
36749 PyObject
* obj1
= 0 ;
36750 PyObject
* obj2
= 0 ;
36751 char * kwnames
[] = {
36752 (char *) "self",(char *) "r",(char *) "radius", NULL
36755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36757 if (!SWIG_IsOK(res1
)) {
36758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36760 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36763 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36765 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36766 if (!SWIG_IsOK(ecode3
)) {
36767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36769 arg3
= static_cast< double >(val3
);
36771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36772 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36773 wxPyEndAllowThreads(__tstate
);
36774 if (PyErr_Occurred()) SWIG_fail
;
36776 resultobj
= SWIG_Py_Void();
36783 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36784 PyObject
*resultobj
= 0;
36785 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36786 wxPoint
*arg2
= 0 ;
36795 PyObject
* obj0
= 0 ;
36796 PyObject
* obj1
= 0 ;
36797 PyObject
* obj2
= 0 ;
36798 PyObject
* obj3
= 0 ;
36799 char * kwnames
[] = {
36800 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36805 if (!SWIG_IsOK(res1
)) {
36806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36808 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36811 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36815 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36817 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36818 if (!SWIG_IsOK(ecode4
)) {
36819 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
36821 arg4
= static_cast< double >(val4
);
36823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36824 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
36825 wxPyEndAllowThreads(__tstate
);
36826 if (PyErr_Occurred()) SWIG_fail
;
36828 resultobj
= SWIG_Py_Void();
36835 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36836 PyObject
*resultobj
= 0;
36837 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36849 PyObject
* obj0
= 0 ;
36850 PyObject
* obj1
= 0 ;
36851 PyObject
* obj2
= 0 ;
36852 PyObject
* obj3
= 0 ;
36853 char * kwnames
[] = {
36854 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
36857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36859 if (!SWIG_IsOK(res1
)) {
36860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36862 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36864 if (!SWIG_IsOK(ecode2
)) {
36865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
36867 arg2
= static_cast< int >(val2
);
36868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36869 if (!SWIG_IsOK(ecode3
)) {
36870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
36872 arg3
= static_cast< int >(val3
);
36873 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36874 if (!SWIG_IsOK(ecode4
)) {
36875 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
36877 arg4
= static_cast< int >(val4
);
36879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36880 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
36881 wxPyEndAllowThreads(__tstate
);
36882 if (PyErr_Occurred()) SWIG_fail
;
36884 resultobj
= SWIG_Py_Void();
36891 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36892 PyObject
*resultobj
= 0;
36893 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36894 wxPoint
*arg2
= 0 ;
36901 PyObject
* obj0
= 0 ;
36902 PyObject
* obj1
= 0 ;
36903 PyObject
* obj2
= 0 ;
36904 char * kwnames
[] = {
36905 (char *) "self",(char *) "pt",(char *) "radius", NULL
36908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36910 if (!SWIG_IsOK(res1
)) {
36911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36913 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36916 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36918 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36919 if (!SWIG_IsOK(ecode3
)) {
36920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
36922 arg3
= static_cast< int >(val3
);
36924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36925 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
36926 wxPyEndAllowThreads(__tstate
);
36927 if (PyErr_Occurred()) SWIG_fail
;
36929 resultobj
= SWIG_Py_Void();
36936 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36937 PyObject
*resultobj
= 0;
36938 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36953 PyObject
* obj0
= 0 ;
36954 PyObject
* obj1
= 0 ;
36955 PyObject
* obj2
= 0 ;
36956 PyObject
* obj3
= 0 ;
36957 PyObject
* obj4
= 0 ;
36958 char * kwnames
[] = {
36959 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36964 if (!SWIG_IsOK(res1
)) {
36965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36967 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36969 if (!SWIG_IsOK(ecode2
)) {
36970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
36972 arg2
= static_cast< int >(val2
);
36973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36974 if (!SWIG_IsOK(ecode3
)) {
36975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
36977 arg3
= static_cast< int >(val3
);
36978 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36979 if (!SWIG_IsOK(ecode4
)) {
36980 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
36982 arg4
= static_cast< int >(val4
);
36983 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36984 if (!SWIG_IsOK(ecode5
)) {
36985 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
36987 arg5
= static_cast< int >(val5
);
36989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36990 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
36991 wxPyEndAllowThreads(__tstate
);
36992 if (PyErr_Occurred()) SWIG_fail
;
36994 resultobj
= SWIG_Py_Void();
37001 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37002 PyObject
*resultobj
= 0;
37003 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37008 PyObject
* obj0
= 0 ;
37009 PyObject
* obj1
= 0 ;
37010 char * kwnames
[] = {
37011 (char *) "self",(char *) "rect", NULL
37014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37016 if (!SWIG_IsOK(res1
)) {
37017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37019 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37022 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37026 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37027 wxPyEndAllowThreads(__tstate
);
37028 if (PyErr_Occurred()) SWIG_fail
;
37030 resultobj
= SWIG_Py_Void();
37037 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37038 PyObject
*resultobj
= 0;
37039 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37040 wxPoint
*arg2
= 0 ;
37046 PyObject
* obj0
= 0 ;
37047 PyObject
* obj1
= 0 ;
37048 PyObject
* obj2
= 0 ;
37049 char * kwnames
[] = {
37050 (char *) "self",(char *) "pt",(char *) "sz", NULL
37053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37055 if (!SWIG_IsOK(res1
)) {
37056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37058 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37061 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37065 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37069 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37070 wxPyEndAllowThreads(__tstate
);
37071 if (PyErr_Occurred()) SWIG_fail
;
37073 resultobj
= SWIG_Py_Void();
37080 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37081 PyObject
*resultobj
= 0;
37082 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37094 PyObject
* obj0
= 0 ;
37095 PyObject
* obj1
= 0 ;
37096 PyObject
* obj2
= 0 ;
37097 PyObject
* obj3
= 0 ;
37098 char * kwnames
[] = {
37099 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37104 if (!SWIG_IsOK(res1
)) {
37105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37107 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37108 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37109 if (!SWIG_IsOK(res2
)) {
37110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37115 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37116 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37117 if (!SWIG_IsOK(ecode3
)) {
37118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37120 arg3
= static_cast< int >(val3
);
37121 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37122 if (!SWIG_IsOK(ecode4
)) {
37123 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37125 arg4
= static_cast< int >(val4
);
37127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37128 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37129 wxPyEndAllowThreads(__tstate
);
37130 if (PyErr_Occurred()) SWIG_fail
;
37132 resultobj
= SWIG_Py_Void();
37139 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37140 PyObject
*resultobj
= 0;
37141 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37143 wxPoint
*arg3
= 0 ;
37149 PyObject
* obj0
= 0 ;
37150 PyObject
* obj1
= 0 ;
37151 PyObject
* obj2
= 0 ;
37152 char * kwnames
[] = {
37153 (char *) "self",(char *) "icon",(char *) "pt", NULL
37156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37158 if (!SWIG_IsOK(res1
)) {
37159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37161 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37162 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37163 if (!SWIG_IsOK(res2
)) {
37164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37169 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37172 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37176 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37177 wxPyEndAllowThreads(__tstate
);
37178 if (PyErr_Occurred()) SWIG_fail
;
37180 resultobj
= SWIG_Py_Void();
37187 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37188 PyObject
*resultobj
= 0;
37189 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37190 wxBitmap
*arg2
= 0 ;
37193 bool arg5
= (bool) false ;
37204 PyObject
* obj0
= 0 ;
37205 PyObject
* obj1
= 0 ;
37206 PyObject
* obj2
= 0 ;
37207 PyObject
* obj3
= 0 ;
37208 PyObject
* obj4
= 0 ;
37209 char * kwnames
[] = {
37210 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37215 if (!SWIG_IsOK(res1
)) {
37216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37218 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37219 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37220 if (!SWIG_IsOK(res2
)) {
37221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37226 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37228 if (!SWIG_IsOK(ecode3
)) {
37229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37231 arg3
= static_cast< int >(val3
);
37232 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37233 if (!SWIG_IsOK(ecode4
)) {
37234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37236 arg4
= static_cast< int >(val4
);
37238 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37239 if (!SWIG_IsOK(ecode5
)) {
37240 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37242 arg5
= static_cast< bool >(val5
);
37245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37246 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37247 wxPyEndAllowThreads(__tstate
);
37248 if (PyErr_Occurred()) SWIG_fail
;
37250 resultobj
= SWIG_Py_Void();
37257 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37258 PyObject
*resultobj
= 0;
37259 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37260 wxBitmap
*arg2
= 0 ;
37261 wxPoint
*arg3
= 0 ;
37262 bool arg4
= (bool) false ;
37270 PyObject
* obj0
= 0 ;
37271 PyObject
* obj1
= 0 ;
37272 PyObject
* obj2
= 0 ;
37273 PyObject
* obj3
= 0 ;
37274 char * kwnames
[] = {
37275 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37280 if (!SWIG_IsOK(res1
)) {
37281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37283 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37284 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37285 if (!SWIG_IsOK(res2
)) {
37286 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37291 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37294 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37297 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37298 if (!SWIG_IsOK(ecode4
)) {
37299 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37301 arg4
= static_cast< bool >(val4
);
37304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37305 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37306 wxPyEndAllowThreads(__tstate
);
37307 if (PyErr_Occurred()) SWIG_fail
;
37309 resultobj
= SWIG_Py_Void();
37316 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37317 PyObject
*resultobj
= 0;
37318 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37319 wxString
*arg2
= 0 ;
37324 bool temp2
= false ;
37329 PyObject
* obj0
= 0 ;
37330 PyObject
* obj1
= 0 ;
37331 PyObject
* obj2
= 0 ;
37332 PyObject
* obj3
= 0 ;
37333 char * kwnames
[] = {
37334 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37339 if (!SWIG_IsOK(res1
)) {
37340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37342 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37344 arg2
= wxString_in_helper(obj1
);
37345 if (arg2
== NULL
) SWIG_fail
;
37348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37349 if (!SWIG_IsOK(ecode3
)) {
37350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37352 arg3
= static_cast< int >(val3
);
37353 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37354 if (!SWIG_IsOK(ecode4
)) {
37355 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37357 arg4
= static_cast< int >(val4
);
37359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37360 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37361 wxPyEndAllowThreads(__tstate
);
37362 if (PyErr_Occurred()) SWIG_fail
;
37364 resultobj
= SWIG_Py_Void();
37379 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37380 PyObject
*resultobj
= 0;
37381 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37382 wxString
*arg2
= 0 ;
37383 wxPoint
*arg3
= 0 ;
37386 bool temp2
= false ;
37388 PyObject
* obj0
= 0 ;
37389 PyObject
* obj1
= 0 ;
37390 PyObject
* obj2
= 0 ;
37391 char * kwnames
[] = {
37392 (char *) "self",(char *) "text",(char *) "pt", NULL
37395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37397 if (!SWIG_IsOK(res1
)) {
37398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37400 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37402 arg2
= wxString_in_helper(obj1
);
37403 if (arg2
== NULL
) SWIG_fail
;
37408 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37412 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37413 wxPyEndAllowThreads(__tstate
);
37414 if (PyErr_Occurred()) SWIG_fail
;
37416 resultobj
= SWIG_Py_Void();
37431 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37432 PyObject
*resultobj
= 0;
37433 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37434 wxString
*arg2
= 0 ;
37440 bool temp2
= false ;
37447 PyObject
* obj0
= 0 ;
37448 PyObject
* obj1
= 0 ;
37449 PyObject
* obj2
= 0 ;
37450 PyObject
* obj3
= 0 ;
37451 PyObject
* obj4
= 0 ;
37452 char * kwnames
[] = {
37453 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37458 if (!SWIG_IsOK(res1
)) {
37459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37461 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37463 arg2
= wxString_in_helper(obj1
);
37464 if (arg2
== NULL
) SWIG_fail
;
37467 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37468 if (!SWIG_IsOK(ecode3
)) {
37469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37471 arg3
= static_cast< int >(val3
);
37472 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37473 if (!SWIG_IsOK(ecode4
)) {
37474 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37476 arg4
= static_cast< int >(val4
);
37477 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37478 if (!SWIG_IsOK(ecode5
)) {
37479 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37481 arg5
= static_cast< double >(val5
);
37483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37484 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37485 wxPyEndAllowThreads(__tstate
);
37486 if (PyErr_Occurred()) SWIG_fail
;
37488 resultobj
= SWIG_Py_Void();
37503 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37504 PyObject
*resultobj
= 0;
37505 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37506 wxString
*arg2
= 0 ;
37507 wxPoint
*arg3
= 0 ;
37511 bool temp2
= false ;
37515 PyObject
* obj0
= 0 ;
37516 PyObject
* obj1
= 0 ;
37517 PyObject
* obj2
= 0 ;
37518 PyObject
* obj3
= 0 ;
37519 char * kwnames
[] = {
37520 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37525 if (!SWIG_IsOK(res1
)) {
37526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37528 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37530 arg2
= wxString_in_helper(obj1
);
37531 if (arg2
== NULL
) SWIG_fail
;
37536 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37538 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37539 if (!SWIG_IsOK(ecode4
)) {
37540 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37542 arg4
= static_cast< double >(val4
);
37544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37545 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37546 wxPyEndAllowThreads(__tstate
);
37547 if (PyErr_Occurred()) SWIG_fail
;
37549 resultobj
= SWIG_Py_Void();
37564 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37565 PyObject
*resultobj
= 0;
37566 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37568 wxPoint
*arg3
= (wxPoint
*) 0 ;
37569 int arg4
= (int) 0 ;
37570 int arg5
= (int) 0 ;
37577 PyObject
* obj0
= 0 ;
37578 PyObject
* obj1
= 0 ;
37579 PyObject
* obj2
= 0 ;
37580 PyObject
* obj3
= 0 ;
37581 char * kwnames
[] = {
37582 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37587 if (!SWIG_IsOK(res1
)) {
37588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37590 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37592 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37593 if (arg3
== NULL
) SWIG_fail
;
37596 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37597 if (!SWIG_IsOK(ecode4
)) {
37598 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37600 arg4
= static_cast< int >(val4
);
37603 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37604 if (!SWIG_IsOK(ecode5
)) {
37605 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37607 arg5
= static_cast< int >(val5
);
37610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37611 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37612 wxPyEndAllowThreads(__tstate
);
37613 if (PyErr_Occurred()) SWIG_fail
;
37615 resultobj
= SWIG_Py_Void();
37617 if (arg3
) delete [] arg3
;
37622 if (arg3
) delete [] arg3
;
37628 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37629 PyObject
*resultobj
= 0;
37630 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37632 wxPoint
*arg3
= (wxPoint
*) 0 ;
37633 int arg4
= (int) 0 ;
37634 int arg5
= (int) 0 ;
37635 int arg6
= (int) wxODDEVEN_RULE
;
37644 PyObject
* obj0
= 0 ;
37645 PyObject
* obj1
= 0 ;
37646 PyObject
* obj2
= 0 ;
37647 PyObject
* obj3
= 0 ;
37648 PyObject
* obj4
= 0 ;
37649 char * kwnames
[] = {
37650 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37655 if (!SWIG_IsOK(res1
)) {
37656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37658 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37660 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37661 if (arg3
== NULL
) SWIG_fail
;
37664 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37665 if (!SWIG_IsOK(ecode4
)) {
37666 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37668 arg4
= static_cast< int >(val4
);
37671 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37672 if (!SWIG_IsOK(ecode5
)) {
37673 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37675 arg5
= static_cast< int >(val5
);
37678 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37679 if (!SWIG_IsOK(ecode6
)) {
37680 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37682 arg6
= static_cast< int >(val6
);
37685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37686 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37687 wxPyEndAllowThreads(__tstate
);
37688 if (PyErr_Occurred()) SWIG_fail
;
37690 resultobj
= SWIG_Py_Void();
37692 if (arg3
) delete [] arg3
;
37697 if (arg3
) delete [] arg3
;
37703 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37704 PyObject
*resultobj
= 0;
37705 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37706 wxString
*arg2
= 0 ;
37708 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37709 int arg5
= (int) -1 ;
37712 bool temp2
= false ;
37718 PyObject
* obj0
= 0 ;
37719 PyObject
* obj1
= 0 ;
37720 PyObject
* obj2
= 0 ;
37721 PyObject
* obj3
= 0 ;
37722 PyObject
* obj4
= 0 ;
37723 char * kwnames
[] = {
37724 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37729 if (!SWIG_IsOK(res1
)) {
37730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37732 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37734 arg2
= wxString_in_helper(obj1
);
37735 if (arg2
== NULL
) SWIG_fail
;
37740 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37743 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37744 if (!SWIG_IsOK(ecode4
)) {
37745 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37747 arg4
= static_cast< int >(val4
);
37750 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37751 if (!SWIG_IsOK(ecode5
)) {
37752 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37754 arg5
= static_cast< int >(val5
);
37757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37758 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37759 wxPyEndAllowThreads(__tstate
);
37760 if (PyErr_Occurred()) SWIG_fail
;
37762 resultobj
= SWIG_Py_Void();
37777 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37778 PyObject
*resultobj
= 0;
37779 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37780 wxString
*arg2
= 0 ;
37781 wxBitmap
*arg3
= 0 ;
37783 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37784 int arg6
= (int) -1 ;
37787 bool temp2
= false ;
37795 PyObject
* obj0
= 0 ;
37796 PyObject
* obj1
= 0 ;
37797 PyObject
* obj2
= 0 ;
37798 PyObject
* obj3
= 0 ;
37799 PyObject
* obj4
= 0 ;
37800 PyObject
* obj5
= 0 ;
37801 char * kwnames
[] = {
37802 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37807 if (!SWIG_IsOK(res1
)) {
37808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37810 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37812 arg2
= wxString_in_helper(obj1
);
37813 if (arg2
== NULL
) SWIG_fail
;
37816 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37817 if (!SWIG_IsOK(res3
)) {
37818 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37821 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37823 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
37826 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
37829 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37830 if (!SWIG_IsOK(ecode5
)) {
37831 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
37833 arg5
= static_cast< int >(val5
);
37836 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37837 if (!SWIG_IsOK(ecode6
)) {
37838 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
37840 arg6
= static_cast< int >(val6
);
37843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37844 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
37845 wxPyEndAllowThreads(__tstate
);
37846 if (PyErr_Occurred()) SWIG_fail
;
37848 resultobj
= SWIG_Py_Void();
37863 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37864 PyObject
*resultobj
= 0;
37865 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37867 wxPoint
*arg3
= (wxPoint
*) 0 ;
37870 PyObject
* obj0
= 0 ;
37871 PyObject
* obj1
= 0 ;
37872 char * kwnames
[] = {
37873 (char *) "self",(char *) "points", NULL
37876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37878 if (!SWIG_IsOK(res1
)) {
37879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37881 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37883 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37884 if (arg3
== NULL
) SWIG_fail
;
37887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37888 (arg1
)->DrawSpline(arg2
,arg3
);
37889 wxPyEndAllowThreads(__tstate
);
37890 if (PyErr_Occurred()) SWIG_fail
;
37892 resultobj
= SWIG_Py_Void();
37894 if (arg3
) delete [] arg3
;
37899 if (arg3
) delete [] arg3
;
37905 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37906 PyObject
*resultobj
= 0;
37907 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37910 PyObject
*swig_obj
[1] ;
37912 if (!args
) SWIG_fail
;
37913 swig_obj
[0] = args
;
37914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37915 if (!SWIG_IsOK(res1
)) {
37916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37918 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37922 wxPyEndAllowThreads(__tstate
);
37923 if (PyErr_Occurred()) SWIG_fail
;
37925 resultobj
= SWIG_Py_Void();
37932 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37933 PyObject
*resultobj
= 0;
37934 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37940 PyObject
* obj0
= 0 ;
37941 PyObject
* obj1
= 0 ;
37942 char * kwnames
[] = {
37943 (char *) "self",(char *) "font", NULL
37946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37948 if (!SWIG_IsOK(res1
)) {
37949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37951 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37952 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
37953 if (!SWIG_IsOK(res2
)) {
37954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37957 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37959 arg2
= reinterpret_cast< wxFont
* >(argp2
);
37961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37962 (arg1
)->SetFont((wxFont
const &)*arg2
);
37963 wxPyEndAllowThreads(__tstate
);
37964 if (PyErr_Occurred()) SWIG_fail
;
37966 resultobj
= SWIG_Py_Void();
37973 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37974 PyObject
*resultobj
= 0;
37975 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37981 PyObject
* obj0
= 0 ;
37982 PyObject
* obj1
= 0 ;
37983 char * kwnames
[] = {
37984 (char *) "self",(char *) "pen", NULL
37987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37989 if (!SWIG_IsOK(res1
)) {
37990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37992 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37993 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
37994 if (!SWIG_IsOK(res2
)) {
37995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
37998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38000 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38003 (arg1
)->SetPen((wxPen
const &)*arg2
);
38004 wxPyEndAllowThreads(__tstate
);
38005 if (PyErr_Occurred()) SWIG_fail
;
38007 resultobj
= SWIG_Py_Void();
38014 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38015 PyObject
*resultobj
= 0;
38016 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38017 wxBrush
*arg2
= 0 ;
38022 PyObject
* obj0
= 0 ;
38023 PyObject
* obj1
= 0 ;
38024 char * kwnames
[] = {
38025 (char *) "self",(char *) "brush", NULL
38028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38030 if (!SWIG_IsOK(res1
)) {
38031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38033 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38034 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38035 if (!SWIG_IsOK(res2
)) {
38036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38041 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38044 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38045 wxPyEndAllowThreads(__tstate
);
38046 if (PyErr_Occurred()) SWIG_fail
;
38048 resultobj
= SWIG_Py_Void();
38055 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38056 PyObject
*resultobj
= 0;
38057 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38058 wxBrush
*arg2
= 0 ;
38063 PyObject
* obj0
= 0 ;
38064 PyObject
* obj1
= 0 ;
38065 char * kwnames
[] = {
38066 (char *) "self",(char *) "brush", NULL
38069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38071 if (!SWIG_IsOK(res1
)) {
38072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38074 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38075 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38076 if (!SWIG_IsOK(res2
)) {
38077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38082 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38085 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38086 wxPyEndAllowThreads(__tstate
);
38087 if (PyErr_Occurred()) SWIG_fail
;
38089 resultobj
= SWIG_Py_Void();
38096 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38097 PyObject
*resultobj
= 0;
38098 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38104 PyObject
* obj0
= 0 ;
38105 PyObject
* obj1
= 0 ;
38106 char * kwnames
[] = {
38107 (char *) "self",(char *) "mode", NULL
38110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38112 if (!SWIG_IsOK(res1
)) {
38113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38115 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38117 if (!SWIG_IsOK(ecode2
)) {
38118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38120 arg2
= static_cast< int >(val2
);
38122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38123 (arg1
)->SetBackgroundMode(arg2
);
38124 wxPyEndAllowThreads(__tstate
);
38125 if (PyErr_Occurred()) SWIG_fail
;
38127 resultobj
= SWIG_Py_Void();
38134 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38135 PyObject
*resultobj
= 0;
38136 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38137 wxPalette
*arg2
= 0 ;
38142 PyObject
* obj0
= 0 ;
38143 PyObject
* obj1
= 0 ;
38144 char * kwnames
[] = {
38145 (char *) "self",(char *) "palette", NULL
38148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38150 if (!SWIG_IsOK(res1
)) {
38151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38153 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38154 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38155 if (!SWIG_IsOK(res2
)) {
38156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38161 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38164 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38165 wxPyEndAllowThreads(__tstate
);
38166 if (PyErr_Occurred()) SWIG_fail
;
38168 resultobj
= SWIG_Py_Void();
38175 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38176 PyObject
*resultobj
= 0;
38177 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38178 wxColour
*arg2
= 0 ;
38182 PyObject
* obj0
= 0 ;
38183 PyObject
* obj1
= 0 ;
38184 char * kwnames
[] = {
38185 (char *) "self",(char *) "colour", NULL
38188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38190 if (!SWIG_IsOK(res1
)) {
38191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38193 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38196 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38200 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38201 wxPyEndAllowThreads(__tstate
);
38202 if (PyErr_Occurred()) SWIG_fail
;
38204 resultobj
= SWIG_Py_Void();
38211 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38212 PyObject
*resultobj
= 0;
38213 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38214 wxColour
*arg2
= 0 ;
38218 PyObject
* obj0
= 0 ;
38219 PyObject
* obj1
= 0 ;
38220 char * kwnames
[] = {
38221 (char *) "self",(char *) "colour", NULL
38224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38226 if (!SWIG_IsOK(res1
)) {
38227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38229 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38232 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38236 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38237 wxPyEndAllowThreads(__tstate
);
38238 if (PyErr_Occurred()) SWIG_fail
;
38240 resultobj
= SWIG_Py_Void();
38247 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38248 PyObject
*resultobj
= 0;
38249 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38255 PyObject
* obj0
= 0 ;
38256 PyObject
* obj1
= 0 ;
38257 char * kwnames
[] = {
38258 (char *) "self",(char *) "function", NULL
38261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38263 if (!SWIG_IsOK(res1
)) {
38264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38266 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38268 if (!SWIG_IsOK(ecode2
)) {
38269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38271 arg2
= static_cast< int >(val2
);
38273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38274 (arg1
)->SetLogicalFunction(arg2
);
38275 wxPyEndAllowThreads(__tstate
);
38276 if (PyErr_Occurred()) SWIG_fail
;
38278 resultobj
= SWIG_Py_Void();
38285 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38287 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38288 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38289 return SWIG_Py_Void();
38292 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38293 return SWIG_Python_InitShadowInstance(args
);
38296 static PyMethodDef SwigMethods
[] = {
38297 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38298 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38299 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38300 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38301 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38302 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38303 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38304 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38305 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38306 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38307 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38308 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38309 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38310 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38311 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38312 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38313 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38314 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38315 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38316 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38317 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38318 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38319 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38320 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38321 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38322 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38323 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38324 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38325 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38326 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38327 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38328 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38329 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38330 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38331 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38332 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38333 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38334 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38335 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38336 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38337 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38338 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38339 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38340 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38341 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38342 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38343 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38344 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38345 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38346 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38347 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38348 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38349 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38350 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38351 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38352 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38353 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38354 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38355 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38356 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38357 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38358 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38359 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38360 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38361 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
38362 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38363 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38364 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38365 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38366 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38367 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38368 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38369 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38370 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38371 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38372 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38373 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38374 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38375 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38376 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38377 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38378 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38379 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38380 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38381 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38382 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38383 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38384 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38385 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38386 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38387 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38388 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38389 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38390 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38391 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38392 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38393 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38394 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38395 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38396 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38397 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38398 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38399 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38400 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38401 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38402 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38403 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38404 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38405 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38406 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38407 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38408 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38409 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38410 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38411 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38412 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38413 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38414 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38415 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38416 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38417 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38418 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38419 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38420 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38421 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38422 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38423 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38424 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38425 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38426 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38427 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38428 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38429 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38430 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38431 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38432 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38433 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38434 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38435 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38436 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38437 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38438 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38439 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38440 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38441 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38442 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38443 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38444 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38445 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38446 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38447 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38448 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38449 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38450 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38451 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38452 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38453 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38454 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38455 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38456 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38457 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38458 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38459 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38460 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38461 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38462 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38463 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38464 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38465 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38466 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38467 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38468 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38469 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38470 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38471 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38472 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38473 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38474 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38475 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38476 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38477 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38478 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38479 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38480 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38481 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38482 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38483 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38484 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38485 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38486 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38487 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38488 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38489 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38490 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38491 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38492 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38493 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38494 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38495 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38496 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38497 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38498 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38499 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38500 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38501 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38502 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38503 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38504 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38505 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38506 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38507 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38508 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38509 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38510 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38511 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38512 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38513 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38514 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38515 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38516 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38517 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38518 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38519 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38520 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38521 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38522 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38523 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38524 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38525 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38526 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38527 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38528 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38529 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38530 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38531 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38532 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38533 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38534 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38535 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38536 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38537 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38538 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38539 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38540 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38541 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38542 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38543 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38544 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38545 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38546 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38547 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38548 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38549 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38550 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38551 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38552 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38553 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38554 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38555 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38556 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38557 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38558 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38559 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38560 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38561 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38562 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38563 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38564 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38565 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38566 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38567 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38568 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38569 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38570 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38571 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38572 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38573 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38574 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38575 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38576 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38577 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38578 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38579 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38580 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38581 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38582 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38583 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38584 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38585 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38586 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38587 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38588 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38589 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38590 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38591 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38592 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38593 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38594 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38595 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38596 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38597 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38598 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38599 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38600 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38601 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38602 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38603 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38604 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38605 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38606 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38607 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38608 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38609 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38610 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38611 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38612 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38613 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38614 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38615 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38616 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38617 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38618 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38619 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38620 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38621 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38622 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38623 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38624 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38625 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38626 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38627 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38628 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38629 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38630 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38631 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38632 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38633 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38634 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38635 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38636 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38637 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38638 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38639 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38640 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38641 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38642 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38643 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38644 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38645 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38646 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38647 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38648 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38649 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38650 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38651 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38652 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38653 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38654 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38655 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38656 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38657 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38658 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38659 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38660 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38661 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38662 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38663 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38664 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38665 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38666 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38667 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38668 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38669 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38670 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38671 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38672 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38673 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38674 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38675 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38676 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38677 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38678 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38679 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38680 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38681 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38682 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38683 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38684 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38685 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38686 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38687 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38688 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38689 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38690 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38691 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38692 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38693 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38694 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38695 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38696 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38697 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38698 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38699 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38700 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38701 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38702 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38703 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38704 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38705 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38706 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38707 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38708 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38709 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38710 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38711 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38712 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38713 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38714 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38715 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38716 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38717 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38718 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38719 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38720 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38721 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38722 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38723 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38724 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38725 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38726 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38727 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38728 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38729 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38730 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38731 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38733 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38734 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38735 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38736 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38737 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38738 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38739 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38740 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38741 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38742 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38743 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38744 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38745 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38746 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38747 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38748 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38749 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38750 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38751 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38752 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38753 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38754 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38755 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38756 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38757 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38758 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38759 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38760 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38761 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38762 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38763 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38764 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38765 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38766 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38767 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38768 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38769 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38770 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38771 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38772 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38773 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38774 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38775 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38776 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38777 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38778 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38779 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38780 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38781 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38782 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38783 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38784 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38785 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38786 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38787 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38788 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38789 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38790 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38791 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38792 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38793 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38794 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38795 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38796 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38797 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38798 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38799 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38800 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38801 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38802 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38803 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38804 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38805 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38806 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
38807 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38808 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38809 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
38810 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
38811 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
38812 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
38813 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
38814 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
38815 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
38816 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38817 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38818 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38819 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38820 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38821 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38822 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38823 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
38824 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38825 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
38826 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
38827 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
38828 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38829 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
38830 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
38831 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
38832 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38833 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
38834 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
38835 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
38836 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
38837 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
38838 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
38839 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
38840 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38841 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38842 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38843 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38844 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
38845 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
38846 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
38847 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38848 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38849 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
38850 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
38851 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
38852 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38853 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
38854 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
38855 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38856 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
38857 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
38858 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38859 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
38860 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
38861 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
38862 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
38863 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
38864 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
38865 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
38866 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38867 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38868 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38869 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38870 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38871 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38872 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38873 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38874 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
38875 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
38876 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38877 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
38878 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38879 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38880 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
38881 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
38882 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
38883 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38884 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
38885 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
38886 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38887 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
38888 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
38889 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
38890 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
38891 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
38892 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38893 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
38894 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
38895 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
38896 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38897 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
38898 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
38899 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38900 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
38901 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
38902 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
38903 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
38904 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
38905 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
38906 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
38907 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
38908 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
38909 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
38910 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
38911 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
38912 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
38913 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
38914 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
38915 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
38916 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
38917 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
38918 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
38919 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38920 { (char *)"GraphicsMatrix_Copy", (PyCFunction
) _wrap_GraphicsMatrix_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38921 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38922 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
38923 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38924 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
38925 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38926 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38927 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38928 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38929 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38930 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
38931 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
38932 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
38933 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
38934 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
38935 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
38936 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
38937 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
38938 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38939 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
38940 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
38941 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
38942 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38943 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38944 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38945 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38946 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38947 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38948 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
38949 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38950 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38951 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
38952 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
38953 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
38954 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
38955 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
38956 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
38957 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38958 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38959 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
38960 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38961 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38962 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38963 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38964 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38965 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38966 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
38967 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
38968 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38969 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38970 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
38971 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
38972 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38973 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38974 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38975 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38976 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38977 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
38978 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
38979 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
38980 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
38981 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38982 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38983 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38984 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38985 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38986 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38987 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38988 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38989 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38990 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38991 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38992 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38993 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38994 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38995 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38996 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38997 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38998 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
38999 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39000 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39001 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39002 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39003 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39004 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39005 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39006 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39007 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39008 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39009 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39010 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39011 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39012 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39013 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39014 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39015 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39016 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39017 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39018 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39019 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39020 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39021 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39022 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39023 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39024 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39025 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39026 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39027 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39028 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39029 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39030 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39031 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39032 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39033 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39034 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39035 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39036 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39037 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39038 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39039 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39040 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39041 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39042 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39043 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39044 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39045 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39046 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39047 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39048 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39049 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39050 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39051 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39052 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39054 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39055 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39056 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39057 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39058 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39059 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39060 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39061 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39062 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39063 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39064 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39065 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39066 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39067 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39068 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39069 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39070 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39071 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39072 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39073 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39074 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39075 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39076 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39077 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39078 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39079 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39080 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39081 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39082 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39083 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39084 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39085 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39086 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39087 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39088 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39089 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39090 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39091 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39092 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39093 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39094 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39095 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39096 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39097 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39098 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39099 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39100 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39101 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39102 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39103 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39104 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39105 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39106 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39107 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39108 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39109 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39110 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39111 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39112 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39113 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39114 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39115 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39116 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39117 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39118 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39119 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39120 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39121 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39122 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39123 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39124 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39125 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39126 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39127 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39128 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39129 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39130 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39131 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39132 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39133 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39135 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39137 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39138 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39140 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39141 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39142 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39143 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39144 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39145 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39146 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39147 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39148 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39149 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39150 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39151 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39152 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39153 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39154 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39155 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39156 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39157 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39158 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39159 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39160 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39161 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39162 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39168 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39169 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39170 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39171 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39172 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39173 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39174 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39175 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39176 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39177 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39178 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39179 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39180 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39182 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39183 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39184 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39185 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39186 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39187 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39188 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39189 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39190 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39191 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39192 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39193 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39194 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39195 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39196 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39197 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39198 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39199 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39200 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39201 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39202 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39203 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39204 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39205 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39207 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39208 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39209 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39210 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39211 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39212 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39213 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39214 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39215 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39216 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39217 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39218 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39219 { NULL
, NULL
, 0, NULL
}
39223 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39225 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39226 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39228 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39229 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39231 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39232 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39234 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39235 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39237 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39238 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39240 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39241 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39243 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39244 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39246 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39247 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39249 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39250 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39252 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39253 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39255 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39256 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39258 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39259 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39261 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39262 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39264 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39265 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39267 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39268 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39270 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39271 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39273 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39274 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39276 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39277 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39279 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39280 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39282 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39283 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39285 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39286 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39288 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39289 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39291 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39292 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39294 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39295 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39297 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39298 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
39300 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39301 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39303 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39304 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39306 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39307 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39309 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39310 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39312 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39313 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39315 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39316 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39318 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39319 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39321 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39322 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39324 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39325 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39327 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39328 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39330 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39331 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39333 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39334 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39336 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39337 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39339 static void *_p_wxPenTo_p_wxObject(void *x
) {
39340 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39342 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39343 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39345 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39346 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39348 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39349 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39351 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39352 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39354 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39355 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39357 static void *_p_wxIconTo_p_wxObject(void *x
) {
39358 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39360 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39361 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39363 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39364 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39366 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39367 return (void *)((wxObject
*) ((wxSizer
*) x
));
39369 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39370 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39372 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39373 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39375 static void *_p_wxEventTo_p_wxObject(void *x
) {
39376 return (void *)((wxObject
*) ((wxEvent
*) x
));
39378 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39379 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39381 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39382 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39384 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39385 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39387 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39388 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39390 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39391 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39393 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39394 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39396 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39397 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39399 static void *_p_wxDCTo_p_wxObject(void *x
) {
39400 return (void *)((wxObject
*) ((wxDC
*) x
));
39402 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39403 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39405 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39406 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39408 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39409 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39411 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39412 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39414 static void *_p_wxControlTo_p_wxObject(void *x
) {
39415 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39417 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39418 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39420 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39421 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39423 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39424 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39426 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39427 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39429 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39430 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
39432 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39433 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39435 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39436 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39438 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39439 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39441 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39442 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39444 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39445 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39447 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39448 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39450 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39451 return (void *)((wxObject
*) ((wxEffects
*) x
));
39453 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39454 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39456 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39457 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39459 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39460 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39462 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39463 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39465 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39466 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39468 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39469 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39471 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39472 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39474 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39475 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39477 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39478 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39480 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39481 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39483 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39484 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39486 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39487 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39489 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39490 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39492 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39493 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39495 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39496 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39498 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39499 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39501 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39502 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39504 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39505 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39507 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39508 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39510 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39511 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39513 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39514 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39516 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39517 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39519 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39520 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39522 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39523 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39525 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39526 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39528 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39529 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39531 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39532 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39534 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39535 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39537 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39538 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39540 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39541 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39543 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39544 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39546 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39547 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39549 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39550 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39552 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39553 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39555 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39556 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39558 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39559 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39561 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39562 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39564 static void *_p_wxImageTo_p_wxObject(void *x
) {
39565 return (void *)((wxObject
*) ((wxImage
*) x
));
39567 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39568 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39570 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39571 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39573 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39574 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39576 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39577 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39579 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39580 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39582 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39583 return (void *)((wxObject
*) ((wxImageList
*) x
));
39585 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39586 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39588 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39589 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39591 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39592 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39594 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39595 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39597 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39598 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39600 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39601 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39603 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39604 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39606 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39607 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39609 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39610 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39612 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39613 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39615 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39616 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39618 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39619 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39621 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39622 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39624 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39625 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39627 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39628 return (void *)((wxObject
*) ((wxMask
*) x
));
39630 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39631 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39633 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39634 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39636 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39637 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39639 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39640 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39642 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39643 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39645 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39646 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39648 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39649 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39651 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39652 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39654 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39655 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39657 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39658 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39660 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39661 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39663 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39664 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39666 static void *_p_wxFontTo_p_wxObject(void *x
) {
39667 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39669 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39670 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39672 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39673 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39675 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39678 static void *_p_wxColourTo_p_wxObject(void *x
) {
39679 return (void *)((wxObject
*) ((wxColour
*) x
));
39681 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39684 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39685 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39687 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39688 return (void *)((wxWindow
*) ((wxControl
*) x
));
39690 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39691 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39693 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39694 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39696 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39697 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39699 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39700 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39702 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39703 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39704 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39705 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};
39706 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39707 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39708 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39709 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39710 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39711 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39712 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39713 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39714 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39715 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39716 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39717 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39718 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39719 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
39720 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39721 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
39722 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39723 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39724 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39725 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39726 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39727 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39728 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39729 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39730 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39731 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39732 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39733 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39734 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39735 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39736 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39737 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39738 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39739 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39740 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39741 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39742 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39743 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39744 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39745 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39746 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39747 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39748 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39749 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39750 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39751 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39752 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39753 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39754 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39755 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39756 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39757 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39758 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39759 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39760 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39761 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39762 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39763 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39764 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39765 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39766 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39767 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39768 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39769 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39770 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39771 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39772 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39773 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39774 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39775 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39776 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39777 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39778 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39779 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39780 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39781 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39782 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39783 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39784 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39785 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39786 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39787 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39788 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39789 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39790 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39791 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39792 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39793 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39794 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
39795 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
39796 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
39797 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
39798 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
39799 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
39800 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
39801 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
39802 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
39803 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
39804 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
39805 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
39806 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
39807 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
39808 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
39809 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
39810 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
39811 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
39812 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
39813 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
39814 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
39815 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
39816 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
39817 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
39818 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
39819 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
39820 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
39821 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
39822 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
39823 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
39824 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
39825 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
39826 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
39827 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
39828 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
39829 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
39830 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
39831 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
39832 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
39833 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
39834 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
39835 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
39836 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
39837 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
39838 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
39839 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
39840 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
39841 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
39842 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
39843 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
39844 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
39845 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
39846 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
39847 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
39848 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
39849 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
39850 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
39851 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
39852 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
39853 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
39854 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
39855 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
39856 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
39857 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
39858 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
39859 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
39860 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
39861 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
39862 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
39863 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
39864 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
39865 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
39866 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
39867 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
39868 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
39869 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
39870 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
39871 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
39873 static swig_type_info
*swig_type_initial
[] = {
39877 &_swigt__p_form_ops_t
,
39879 &_swigt__p_unsigned_char
,
39880 &_swigt__p_unsigned_int
,
39881 &_swigt__p_unsigned_long
,
39883 &_swigt__p_wxANIHandler
,
39884 &_swigt__p_wxAcceleratorTable
,
39885 &_swigt__p_wxActivateEvent
,
39886 &_swigt__p_wxAlphaPixelData
,
39887 &_swigt__p_wxAlphaPixelData_Accessor
,
39888 &_swigt__p_wxAutoBufferedPaintDC
,
39889 &_swigt__p_wxBMPHandler
,
39890 &_swigt__p_wxBitmap
,
39891 &_swigt__p_wxBoxSizer
,
39892 &_swigt__p_wxBrush
,
39893 &_swigt__p_wxBrushList
,
39894 &_swigt__p_wxBufferedDC
,
39895 &_swigt__p_wxBufferedPaintDC
,
39896 &_swigt__p_wxCURHandler
,
39898 &_swigt__p_wxChildFocusEvent
,
39899 &_swigt__p_wxClientDC
,
39900 &_swigt__p_wxClipboardTextEvent
,
39901 &_swigt__p_wxCloseEvent
,
39902 &_swigt__p_wxColor
,
39903 &_swigt__p_wxColour
,
39904 &_swigt__p_wxColourDatabase
,
39905 &_swigt__p_wxCommandEvent
,
39906 &_swigt__p_wxContextMenuEvent
,
39907 &_swigt__p_wxControl
,
39908 &_swigt__p_wxControlWithItems
,
39909 &_swigt__p_wxCursor
,
39911 &_swigt__p_wxDCBrushChanger
,
39912 &_swigt__p_wxDCClipper
,
39913 &_swigt__p_wxDCOverlay
,
39914 &_swigt__p_wxDCPenChanger
,
39915 &_swigt__p_wxDCTextColourChanger
,
39917 &_swigt__p_wxDateEvent
,
39918 &_swigt__p_wxDisplayChangedEvent
,
39919 &_swigt__p_wxDropFilesEvent
,
39920 &_swigt__p_wxDuplexMode
,
39921 &_swigt__p_wxEffects
,
39922 &_swigt__p_wxEncodingConverter
,
39923 &_swigt__p_wxEraseEvent
,
39924 &_swigt__p_wxEvent
,
39925 &_swigt__p_wxEvtHandler
,
39926 &_swigt__p_wxFSFile
,
39927 &_swigt__p_wxFileSystem
,
39928 &_swigt__p_wxFlexGridSizer
,
39929 &_swigt__p_wxFocusEvent
,
39931 &_swigt__p_wxFontList
,
39932 &_swigt__p_wxFontMapper
,
39933 &_swigt__p_wxGBSizerItem
,
39935 &_swigt__p_wxGDIObjListBase
,
39936 &_swigt__p_wxGDIObject
,
39937 &_swigt__p_wxGIFHandler
,
39938 &_swigt__p_wxGraphicsBrush
,
39939 &_swigt__p_wxGraphicsContext
,
39940 &_swigt__p_wxGraphicsFont
,
39941 &_swigt__p_wxGraphicsMatrix
,
39942 &_swigt__p_wxGraphicsObject
,
39943 &_swigt__p_wxGraphicsPath
,
39944 &_swigt__p_wxGraphicsPen
,
39945 &_swigt__p_wxGraphicsRenderer
,
39946 &_swigt__p_wxGridBagSizer
,
39947 &_swigt__p_wxGridSizer
,
39948 &_swigt__p_wxHeaderButtonParams
,
39949 &_swigt__p_wxICOHandler
,
39951 &_swigt__p_wxIconBundle
,
39952 &_swigt__p_wxIconLocation
,
39953 &_swigt__p_wxIconizeEvent
,
39954 &_swigt__p_wxIdleEvent
,
39955 &_swigt__p_wxImage
,
39956 &_swigt__p_wxImageHandler
,
39957 &_swigt__p_wxImageList
,
39958 &_swigt__p_wxIndividualLayoutConstraint
,
39959 &_swigt__p_wxInitDialogEvent
,
39960 &_swigt__p_wxJPEGHandler
,
39961 &_swigt__p_wxKeyEvent
,
39962 &_swigt__p_wxLanguageInfo
,
39963 &_swigt__p_wxLayoutConstraints
,
39964 &_swigt__p_wxLocale
,
39966 &_swigt__p_wxMaximizeEvent
,
39967 &_swigt__p_wxMemoryDC
,
39969 &_swigt__p_wxMenuBar
,
39970 &_swigt__p_wxMenuEvent
,
39971 &_swigt__p_wxMenuItem
,
39972 &_swigt__p_wxMetaFile
,
39973 &_swigt__p_wxMetaFileDC
,
39974 &_swigt__p_wxMirrorDC
,
39975 &_swigt__p_wxMouseCaptureChangedEvent
,
39976 &_swigt__p_wxMouseCaptureLostEvent
,
39977 &_swigt__p_wxMouseEvent
,
39978 &_swigt__p_wxMoveEvent
,
39979 &_swigt__p_wxNativeEncodingInfo
,
39980 &_swigt__p_wxNativeFontInfo
,
39981 &_swigt__p_wxNativePixelData
,
39982 &_swigt__p_wxNativePixelData_Accessor
,
39983 &_swigt__p_wxNavigationKeyEvent
,
39984 &_swigt__p_wxNcPaintEvent
,
39985 &_swigt__p_wxNotifyEvent
,
39986 &_swigt__p_wxObject
,
39987 &_swigt__p_wxOverlay
,
39988 &_swigt__p_wxPCXHandler
,
39989 &_swigt__p_wxPNGHandler
,
39990 &_swigt__p_wxPNMHandler
,
39991 &_swigt__p_wxPaintDC
,
39992 &_swigt__p_wxPaintEvent
,
39993 &_swigt__p_wxPalette
,
39994 &_swigt__p_wxPaletteChangedEvent
,
39995 &_swigt__p_wxPaperSize
,
39997 &_swigt__p_wxPenList
,
39998 &_swigt__p_wxPixelDataBase
,
39999 &_swigt__p_wxPoint
,
40000 &_swigt__p_wxPoint2D
,
40001 &_swigt__p_wxPoint2DDouble
,
40002 &_swigt__p_wxPostScriptDC
,
40003 &_swigt__p_wxPrintData
,
40004 &_swigt__p_wxPrinterDC
,
40005 &_swigt__p_wxPseudoDC
,
40006 &_swigt__p_wxPyApp
,
40007 &_swigt__p_wxPyCommandEvent
,
40008 &_swigt__p_wxPyEvent
,
40009 &_swigt__p_wxPyFontEnumerator
,
40010 &_swigt__p_wxPyImageHandler
,
40011 &_swigt__p_wxPyLocale
,
40012 &_swigt__p_wxPySizer
,
40013 &_swigt__p_wxPyValidator
,
40014 &_swigt__p_wxQueryNewPaletteEvent
,
40016 &_swigt__p_wxRect2DDouble
,
40017 &_swigt__p_wxRegion
,
40018 &_swigt__p_wxRegionIterator
,
40019 &_swigt__p_wxRendererNative
,
40020 &_swigt__p_wxRendererVersion
,
40021 &_swigt__p_wxScreenDC
,
40022 &_swigt__p_wxScrollEvent
,
40023 &_swigt__p_wxScrollWinEvent
,
40024 &_swigt__p_wxSetCursorEvent
,
40025 &_swigt__p_wxShowEvent
,
40027 &_swigt__p_wxSizeEvent
,
40028 &_swigt__p_wxSizer
,
40029 &_swigt__p_wxSizerItem
,
40030 &_swigt__p_wxSplitterRenderParams
,
40031 &_swigt__p_wxStaticBoxSizer
,
40032 &_swigt__p_wxStdDialogButtonSizer
,
40033 &_swigt__p_wxStockGDI
,
40034 &_swigt__p_wxString
,
40035 &_swigt__p_wxSysColourChangedEvent
,
40036 &_swigt__p_wxTIFFHandler
,
40037 &_swigt__p_wxUpdateUIEvent
,
40038 &_swigt__p_wxValidator
,
40039 &_swigt__p_wxWindow
,
40040 &_swigt__p_wxWindowCreateEvent
,
40041 &_swigt__p_wxWindowDC
,
40042 &_swigt__p_wxWindowDestroyEvent
,
40043 &_swigt__p_wxXPMHandler
,
40046 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40047 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40048 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40049 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40050 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40051 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40052 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40053 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40054 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40055 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40056 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40057 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40058 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40059 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40060 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40061 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}};
40062 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40063 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40064 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}};
40065 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
40066 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40067 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40068 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40069 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}};
40070 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40071 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40072 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40073 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40074 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40075 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40076 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40077 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40078 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40079 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40080 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40081 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40082 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40083 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}};
40084 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}};
40085 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40086 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40087 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40088 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40089 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}};
40090 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40091 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40092 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40093 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40094 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40095 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40096 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40097 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40098 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40099 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40100 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}};
40101 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40102 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}};
40103 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40104 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40105 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40106 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40107 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40108 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40109 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40110 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40111 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40112 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40113 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40114 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40115 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40116 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40117 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40118 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40119 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40120 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40121 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40122 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40123 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40124 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40125 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40126 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40127 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40128 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40129 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40130 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40131 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40132 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40133 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40134 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40135 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40136 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40137 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40138 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40139 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40140 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40141 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40142 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40143 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40144 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40145 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40146 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40147 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40148 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40149 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40150 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40151 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40152 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40153 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40154 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40155 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40156 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40157 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40158 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40159 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40160 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40161 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40162 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40163 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40164 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40165 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40166 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40167 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40168 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40169 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40170 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40171 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40172 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40173 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40174 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40175 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40176 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40177 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40178 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40179 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40180 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40181 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40182 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40183 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40184 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40185 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40186 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPseudoDC
, _p_wxPseudoDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPen
, _p_wxGraphicsPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsObject
, _p_wxGraphicsObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPath
, _p_wxGraphicsPathTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsContext
, _p_wxGraphicsContextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsBrush
, _p_wxGraphicsBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsRenderer
, _p_wxGraphicsRendererTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxGraphicsFont
, _p_wxGraphicsFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsMatrix
, _p_wxGraphicsMatrixTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
40187 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40188 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40189 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40190 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40191 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40192 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40193 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}};
40194 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40195 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40196 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40197 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40198 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40199 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40200 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40201 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40202 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40203 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40204 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40205 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40206 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40207 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40208 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40209 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40210 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40211 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40212 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40213 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40214 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}};
40215 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}};
40217 static swig_cast_info
*swig_cast_initial
[] = {
40221 _swigc__p_form_ops_t
,
40223 _swigc__p_unsigned_char
,
40224 _swigc__p_unsigned_int
,
40225 _swigc__p_unsigned_long
,
40227 _swigc__p_wxANIHandler
,
40228 _swigc__p_wxAcceleratorTable
,
40229 _swigc__p_wxActivateEvent
,
40230 _swigc__p_wxAlphaPixelData
,
40231 _swigc__p_wxAlphaPixelData_Accessor
,
40232 _swigc__p_wxAutoBufferedPaintDC
,
40233 _swigc__p_wxBMPHandler
,
40234 _swigc__p_wxBitmap
,
40235 _swigc__p_wxBoxSizer
,
40237 _swigc__p_wxBrushList
,
40238 _swigc__p_wxBufferedDC
,
40239 _swigc__p_wxBufferedPaintDC
,
40240 _swigc__p_wxCURHandler
,
40242 _swigc__p_wxChildFocusEvent
,
40243 _swigc__p_wxClientDC
,
40244 _swigc__p_wxClipboardTextEvent
,
40245 _swigc__p_wxCloseEvent
,
40247 _swigc__p_wxColour
,
40248 _swigc__p_wxColourDatabase
,
40249 _swigc__p_wxCommandEvent
,
40250 _swigc__p_wxContextMenuEvent
,
40251 _swigc__p_wxControl
,
40252 _swigc__p_wxControlWithItems
,
40253 _swigc__p_wxCursor
,
40255 _swigc__p_wxDCBrushChanger
,
40256 _swigc__p_wxDCClipper
,
40257 _swigc__p_wxDCOverlay
,
40258 _swigc__p_wxDCPenChanger
,
40259 _swigc__p_wxDCTextColourChanger
,
40261 _swigc__p_wxDateEvent
,
40262 _swigc__p_wxDisplayChangedEvent
,
40263 _swigc__p_wxDropFilesEvent
,
40264 _swigc__p_wxDuplexMode
,
40265 _swigc__p_wxEffects
,
40266 _swigc__p_wxEncodingConverter
,
40267 _swigc__p_wxEraseEvent
,
40269 _swigc__p_wxEvtHandler
,
40270 _swigc__p_wxFSFile
,
40271 _swigc__p_wxFileSystem
,
40272 _swigc__p_wxFlexGridSizer
,
40273 _swigc__p_wxFocusEvent
,
40275 _swigc__p_wxFontList
,
40276 _swigc__p_wxFontMapper
,
40277 _swigc__p_wxGBSizerItem
,
40279 _swigc__p_wxGDIObjListBase
,
40280 _swigc__p_wxGDIObject
,
40281 _swigc__p_wxGIFHandler
,
40282 _swigc__p_wxGraphicsBrush
,
40283 _swigc__p_wxGraphicsContext
,
40284 _swigc__p_wxGraphicsFont
,
40285 _swigc__p_wxGraphicsMatrix
,
40286 _swigc__p_wxGraphicsObject
,
40287 _swigc__p_wxGraphicsPath
,
40288 _swigc__p_wxGraphicsPen
,
40289 _swigc__p_wxGraphicsRenderer
,
40290 _swigc__p_wxGridBagSizer
,
40291 _swigc__p_wxGridSizer
,
40292 _swigc__p_wxHeaderButtonParams
,
40293 _swigc__p_wxICOHandler
,
40295 _swigc__p_wxIconBundle
,
40296 _swigc__p_wxIconLocation
,
40297 _swigc__p_wxIconizeEvent
,
40298 _swigc__p_wxIdleEvent
,
40300 _swigc__p_wxImageHandler
,
40301 _swigc__p_wxImageList
,
40302 _swigc__p_wxIndividualLayoutConstraint
,
40303 _swigc__p_wxInitDialogEvent
,
40304 _swigc__p_wxJPEGHandler
,
40305 _swigc__p_wxKeyEvent
,
40306 _swigc__p_wxLanguageInfo
,
40307 _swigc__p_wxLayoutConstraints
,
40308 _swigc__p_wxLocale
,
40310 _swigc__p_wxMaximizeEvent
,
40311 _swigc__p_wxMemoryDC
,
40313 _swigc__p_wxMenuBar
,
40314 _swigc__p_wxMenuEvent
,
40315 _swigc__p_wxMenuItem
,
40316 _swigc__p_wxMetaFile
,
40317 _swigc__p_wxMetaFileDC
,
40318 _swigc__p_wxMirrorDC
,
40319 _swigc__p_wxMouseCaptureChangedEvent
,
40320 _swigc__p_wxMouseCaptureLostEvent
,
40321 _swigc__p_wxMouseEvent
,
40322 _swigc__p_wxMoveEvent
,
40323 _swigc__p_wxNativeEncodingInfo
,
40324 _swigc__p_wxNativeFontInfo
,
40325 _swigc__p_wxNativePixelData
,
40326 _swigc__p_wxNativePixelData_Accessor
,
40327 _swigc__p_wxNavigationKeyEvent
,
40328 _swigc__p_wxNcPaintEvent
,
40329 _swigc__p_wxNotifyEvent
,
40330 _swigc__p_wxObject
,
40331 _swigc__p_wxOverlay
,
40332 _swigc__p_wxPCXHandler
,
40333 _swigc__p_wxPNGHandler
,
40334 _swigc__p_wxPNMHandler
,
40335 _swigc__p_wxPaintDC
,
40336 _swigc__p_wxPaintEvent
,
40337 _swigc__p_wxPalette
,
40338 _swigc__p_wxPaletteChangedEvent
,
40339 _swigc__p_wxPaperSize
,
40341 _swigc__p_wxPenList
,
40342 _swigc__p_wxPixelDataBase
,
40344 _swigc__p_wxPoint2D
,
40345 _swigc__p_wxPoint2DDouble
,
40346 _swigc__p_wxPostScriptDC
,
40347 _swigc__p_wxPrintData
,
40348 _swigc__p_wxPrinterDC
,
40349 _swigc__p_wxPseudoDC
,
40351 _swigc__p_wxPyCommandEvent
,
40352 _swigc__p_wxPyEvent
,
40353 _swigc__p_wxPyFontEnumerator
,
40354 _swigc__p_wxPyImageHandler
,
40355 _swigc__p_wxPyLocale
,
40356 _swigc__p_wxPySizer
,
40357 _swigc__p_wxPyValidator
,
40358 _swigc__p_wxQueryNewPaletteEvent
,
40360 _swigc__p_wxRect2DDouble
,
40361 _swigc__p_wxRegion
,
40362 _swigc__p_wxRegionIterator
,
40363 _swigc__p_wxRendererNative
,
40364 _swigc__p_wxRendererVersion
,
40365 _swigc__p_wxScreenDC
,
40366 _swigc__p_wxScrollEvent
,
40367 _swigc__p_wxScrollWinEvent
,
40368 _swigc__p_wxSetCursorEvent
,
40369 _swigc__p_wxShowEvent
,
40371 _swigc__p_wxSizeEvent
,
40373 _swigc__p_wxSizerItem
,
40374 _swigc__p_wxSplitterRenderParams
,
40375 _swigc__p_wxStaticBoxSizer
,
40376 _swigc__p_wxStdDialogButtonSizer
,
40377 _swigc__p_wxStockGDI
,
40378 _swigc__p_wxString
,
40379 _swigc__p_wxSysColourChangedEvent
,
40380 _swigc__p_wxTIFFHandler
,
40381 _swigc__p_wxUpdateUIEvent
,
40382 _swigc__p_wxValidator
,
40383 _swigc__p_wxWindow
,
40384 _swigc__p_wxWindowCreateEvent
,
40385 _swigc__p_wxWindowDC
,
40386 _swigc__p_wxWindowDestroyEvent
,
40387 _swigc__p_wxXPMHandler
,
40391 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40393 static swig_const_info swig_const_table
[] = {
40394 {0, 0, 0, 0.0, 0, 0}};
40399 /* -----------------------------------------------------------------------------
40400 * Type initialization:
40401 * This problem is tough by the requirement that no dynamic
40402 * memory is used. Also, since swig_type_info structures store pointers to
40403 * swig_cast_info structures and swig_cast_info structures store pointers back
40404 * to swig_type_info structures, we need some lookup code at initialization.
40405 * The idea is that swig generates all the structures that are needed.
40406 * The runtime then collects these partially filled structures.
40407 * The SWIG_InitializeModule function takes these initial arrays out of
40408 * swig_module, and does all the lookup, filling in the swig_module.types
40409 * array with the correct data and linking the correct swig_cast_info
40410 * structures together.
40412 * The generated swig_type_info structures are assigned staticly to an initial
40413 * array. We just loop though that array, and handle each type individually.
40414 * First we lookup if this type has been already loaded, and if so, use the
40415 * loaded structure instead of the generated one. Then we have to fill in the
40416 * cast linked list. The cast data is initially stored in something like a
40417 * two-dimensional array. Each row corresponds to a type (there are the same
40418 * number of rows as there are in the swig_type_initial array). Each entry in
40419 * a column is one of the swig_cast_info structures for that type.
40420 * The cast_initial array is actually an array of arrays, because each row has
40421 * a variable number of columns. So to actually build the cast linked list,
40422 * we find the array of casts associated with the type, and loop through it
40423 * adding the casts to the list. The one last trick we need to do is making
40424 * sure the type pointer in the swig_cast_info struct is correct.
40426 * First off, we lookup the cast->type name to see if it is already loaded.
40427 * There are three cases to handle:
40428 * 1) If the cast->type has already been loaded AND the type we are adding
40429 * casting info to has not been loaded (it is in this module), THEN we
40430 * replace the cast->type pointer with the type pointer that has already
40432 * 2) If BOTH types (the one we are adding casting info to, and the
40433 * cast->type) are loaded, THEN the cast info has already been loaded by
40434 * the previous module so we just ignore it.
40435 * 3) Finally, if cast->type has not already been loaded, then we add that
40436 * swig_cast_info to the linked list (because the cast->type) pointer will
40438 * ----------------------------------------------------------------------------- */
40448 #define SWIGRUNTIME_DEBUG
40452 SWIG_InitializeModule(void *clientdata
) {
40454 swig_module_info
*module_head
;
40455 static int init_run
= 0;
40457 clientdata
= clientdata
;
40459 if (init_run
) return;
40462 /* Initialize the swig_module */
40463 swig_module
.type_initial
= swig_type_initial
;
40464 swig_module
.cast_initial
= swig_cast_initial
;
40466 /* Try and load any already created modules */
40467 module_head
= SWIG_GetModule(clientdata
);
40469 swig_module
.next
= module_head
->next
;
40470 module_head
->next
= &swig_module
;
40472 /* This is the first module loaded */
40473 swig_module
.next
= &swig_module
;
40474 SWIG_SetModule(clientdata
, &swig_module
);
40477 /* Now work on filling in swig_module.types */
40478 #ifdef SWIGRUNTIME_DEBUG
40479 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40481 for (i
= 0; i
< swig_module
.size
; ++i
) {
40482 swig_type_info
*type
= 0;
40483 swig_type_info
*ret
;
40484 swig_cast_info
*cast
;
40486 #ifdef SWIGRUNTIME_DEBUG
40487 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40490 /* if there is another module already loaded */
40491 if (swig_module
.next
!= &swig_module
) {
40492 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40495 /* Overwrite clientdata field */
40496 #ifdef SWIGRUNTIME_DEBUG
40497 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40499 if (swig_module
.type_initial
[i
]->clientdata
) {
40500 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40501 #ifdef SWIGRUNTIME_DEBUG
40502 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40506 type
= swig_module
.type_initial
[i
];
40509 /* Insert casting types */
40510 cast
= swig_module
.cast_initial
[i
];
40511 while (cast
->type
) {
40512 /* Don't need to add information already in the list */
40514 #ifdef SWIGRUNTIME_DEBUG
40515 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40517 if (swig_module
.next
!= &swig_module
) {
40518 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40519 #ifdef SWIGRUNTIME_DEBUG
40520 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40524 if (type
== swig_module
.type_initial
[i
]) {
40525 #ifdef SWIGRUNTIME_DEBUG
40526 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40531 /* Check for casting already in the list */
40532 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40533 #ifdef SWIGRUNTIME_DEBUG
40534 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40536 if (!ocast
) ret
= 0;
40541 #ifdef SWIGRUNTIME_DEBUG
40542 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40545 type
->cast
->prev
= cast
;
40546 cast
->next
= type
->cast
;
40552 /* Set entry in modules->types array equal to the type */
40553 swig_module
.types
[i
] = type
;
40555 swig_module
.types
[i
] = 0;
40557 #ifdef SWIGRUNTIME_DEBUG
40558 printf("**** SWIG_InitializeModule: Cast List ******\n");
40559 for (i
= 0; i
< swig_module
.size
; ++i
) {
40561 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40562 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40563 while (cast
->type
) {
40564 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40568 printf("---- Total casts: %d\n",j
);
40570 printf("**** SWIG_InitializeModule: Cast List ******\n");
40574 /* This function will propagate the clientdata field of type to
40575 * any new swig_type_info structures that have been added into the list
40576 * of equivalent types. It is like calling
40577 * SWIG_TypeClientData(type, clientdata) a second time.
40580 SWIG_PropagateClientData(void) {
40582 swig_cast_info
*equiv
;
40583 static int init_run
= 0;
40585 if (init_run
) return;
40588 for (i
= 0; i
< swig_module
.size
; i
++) {
40589 if (swig_module
.types
[i
]->clientdata
) {
40590 equiv
= swig_module
.types
[i
]->cast
;
40592 if (!equiv
->converter
) {
40593 if (equiv
->type
&& !equiv
->type
->clientdata
)
40594 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40596 equiv
= equiv
->next
;
40616 /* Python-specific SWIG API */
40617 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40618 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40619 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40621 /* -----------------------------------------------------------------------------
40622 * global variable support code.
40623 * ----------------------------------------------------------------------------- */
40625 typedef struct swig_globalvar
{
40626 char *name
; /* Name of global variable */
40627 PyObject
*(*get_attr
)(void); /* Return the current value */
40628 int (*set_attr
)(PyObject
*); /* Set the value */
40629 struct swig_globalvar
*next
;
40632 typedef struct swig_varlinkobject
{
40634 swig_globalvar
*vars
;
40635 } swig_varlinkobject
;
40637 SWIGINTERN PyObject
*
40638 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40639 return PyString_FromString("<Swig global variables>");
40642 SWIGINTERN PyObject
*
40643 swig_varlink_str(swig_varlinkobject
*v
) {
40644 PyObject
*str
= PyString_FromString("(");
40645 swig_globalvar
*var
;
40646 for (var
= v
->vars
; var
; var
=var
->next
) {
40647 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40648 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40650 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40655 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40656 PyObject
*str
= swig_varlink_str(v
);
40657 fprintf(fp
,"Swig global variables ");
40658 fprintf(fp
,"%s\n", PyString_AsString(str
));
40664 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40665 swig_globalvar
*var
= v
->vars
;
40667 swig_globalvar
*n
= var
->next
;
40674 SWIGINTERN PyObject
*
40675 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40676 PyObject
*res
= NULL
;
40677 swig_globalvar
*var
= v
->vars
;
40679 if (strcmp(var
->name
,n
) == 0) {
40680 res
= (*var
->get_attr
)();
40685 if (res
== NULL
&& !PyErr_Occurred()) {
40686 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40692 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40694 swig_globalvar
*var
= v
->vars
;
40696 if (strcmp(var
->name
,n
) == 0) {
40697 res
= (*var
->set_attr
)(p
);
40702 if (res
== 1 && !PyErr_Occurred()) {
40703 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40708 SWIGINTERN PyTypeObject
*
40709 swig_varlink_type(void) {
40710 static char varlink__doc__
[] = "Swig var link object";
40711 static PyTypeObject varlink_type
;
40712 static int type_init
= 0;
40714 const PyTypeObject tmp
40716 PyObject_HEAD_INIT(NULL
)
40717 0, /* Number of items in variable part (ob_size) */
40718 (char *)"swigvarlink", /* Type name (tp_name) */
40719 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40720 0, /* Itemsize (tp_itemsize) */
40721 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40722 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40723 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40724 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40725 0, /* tp_compare */
40726 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40727 0, /* tp_as_number */
40728 0, /* tp_as_sequence */
40729 0, /* tp_as_mapping */
40732 (reprfunc
)swig_varlink_str
, /* tp_str */
40733 0, /* tp_getattro */
40734 0, /* tp_setattro */
40735 0, /* tp_as_buffer */
40737 varlink__doc__
, /* tp_doc */
40738 0, /* tp_traverse */
40740 0, /* tp_richcompare */
40741 0, /* tp_weaklistoffset */
40742 #if PY_VERSION_HEX >= 0x02020000
40743 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40745 #if PY_VERSION_HEX >= 0x02030000
40748 #ifdef COUNT_ALLOCS
40749 0,0,0,0 /* tp_alloc -> tp_next */
40752 varlink_type
= tmp
;
40753 varlink_type
.ob_type
= &PyType_Type
;
40756 return &varlink_type
;
40759 /* Create a variable linking object for use later */
40760 SWIGINTERN PyObject
*
40761 SWIG_Python_newvarlink(void) {
40762 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40766 return ((PyObject
*) result
);
40770 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40771 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40772 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40774 size_t size
= strlen(name
)+1;
40775 gv
->name
= (char *)malloc(size
);
40777 strncpy(gv
->name
,name
,size
);
40778 gv
->get_attr
= get_attr
;
40779 gv
->set_attr
= set_attr
;
40780 gv
->next
= v
->vars
;
40786 SWIGINTERN PyObject
*
40788 static PyObject
*_SWIG_globals
= 0;
40789 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40790 return _SWIG_globals
;
40793 /* -----------------------------------------------------------------------------
40794 * constants/methods manipulation
40795 * ----------------------------------------------------------------------------- */
40797 /* Install Constants */
40799 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
40802 for (i
= 0; constants
[i
].type
; ++i
) {
40803 switch(constants
[i
].type
) {
40804 case SWIG_PY_POINTER
:
40805 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
40807 case SWIG_PY_BINARY
:
40808 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
40815 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
40821 /* -----------------------------------------------------------------------------*/
40822 /* Fix SwigMethods to carry the callback ptrs when needed */
40823 /* -----------------------------------------------------------------------------*/
40826 SWIG_Python_FixMethods(PyMethodDef
*methods
,
40827 swig_const_info
*const_table
,
40828 swig_type_info
**types
,
40829 swig_type_info
**types_initial
) {
40831 for (i
= 0; methods
[i
].ml_name
; ++i
) {
40832 const char *c
= methods
[i
].ml_doc
;
40833 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
40835 swig_const_info
*ci
= 0;
40836 const char *name
= c
+ 10;
40837 for (j
= 0; const_table
[j
].type
; ++j
) {
40838 if (strncmp(const_table
[j
].name
, name
,
40839 strlen(const_table
[j
].name
)) == 0) {
40840 ci
= &(const_table
[j
]);
40845 size_t shift
= (ci
->ptype
) - types
;
40846 swig_type_info
*ty
= types_initial
[shift
];
40847 size_t ldoc
= (c
- methods
[i
].ml_doc
);
40848 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
40849 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
40852 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
40854 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
40856 strncpy(buff
, "swig_ptr: ", 10);
40858 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
40859 methods
[i
].ml_doc
= ndoc
;
40871 /* -----------------------------------------------------------------------------*
40872 * Partial Init method
40873 * -----------------------------------------------------------------------------*/
40878 SWIGEXPORT
void SWIG_init(void) {
40881 /* Fix SwigMethods to carry the callback ptrs when needed */
40882 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
40884 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
40885 d
= PyModule_GetDict(m
);
40887 SWIG_InitializeModule(0);
40888 SWIG_InstallConstants(d
,swig_const_table
);
40891 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
40892 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
40893 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
40894 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
40895 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
40896 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
40897 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
40898 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
40899 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
40900 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
40901 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
40902 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
40903 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
40904 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
40905 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
40906 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
40907 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
40908 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
40909 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
40910 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
40911 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
40912 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
40913 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
40914 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
40915 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
40916 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
40917 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
40918 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
40919 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
40920 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
40921 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
40922 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
40923 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
40924 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
40925 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
40926 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
40927 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
40928 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
40929 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
40930 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
40931 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
40932 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
40933 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
40934 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
40935 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
40936 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
40937 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
40938 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
40939 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
40940 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
40941 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
40942 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
40943 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
40944 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
40945 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
40946 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
40947 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
40948 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
40949 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
40950 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
40951 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
40952 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
40953 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
40954 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
40955 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
40956 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
40957 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
40958 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
40959 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
40960 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
40961 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
40962 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
40963 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
40964 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
40965 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
40966 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
40967 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
40968 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
40969 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
40970 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
40971 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
40972 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
40973 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
40974 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
40975 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
40976 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
40977 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
40978 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
40979 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
40980 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
40981 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
40982 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
40983 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
40984 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
40985 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
40986 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
40987 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
40988 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
40989 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
40990 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
40991 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
40992 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
40993 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
40994 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
40995 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
40996 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
40997 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
40998 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
40999 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41000 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41001 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41002 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41003 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41004 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41005 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41006 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41007 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41008 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41009 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41010 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41011 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41012 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41013 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41014 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41015 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41016 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41017 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41018 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41019 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41020 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41021 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41022 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41024 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41026 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41027 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41028 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41029 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41030 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41031 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41032 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41033 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41034 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41035 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41036 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41037 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41038 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41039 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41040 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41041 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41042 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41043 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41044 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41045 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41046 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41047 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41048 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41049 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41050 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41051 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41052 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41053 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41054 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41055 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41056 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41057 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41058 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41059 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41060 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41061 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41062 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41063 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41064 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41065 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41066 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41067 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41068 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41069 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41070 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41071 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41072 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41073 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41074 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41075 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41076 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41077 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41078 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41079 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41080 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41081 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41082 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41083 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41084 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41085 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41086 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41087 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41088 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41089 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41090 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41091 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41092 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41093 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41094 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41095 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41096 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41097 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41098 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41099 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41100 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41101 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41102 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41103 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41104 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41105 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41106 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41107 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41108 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41109 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41110 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41111 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41112 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41113 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41114 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41115 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41116 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41117 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41118 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41119 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41120 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41121 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41122 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41123 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41124 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41125 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41126 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41127 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41128 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41129 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41130 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41131 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41132 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41133 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41134 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41135 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41136 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41137 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41138 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41139 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41140 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41141 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41142 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41143 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41144 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41145 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41146 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41147 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41148 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41149 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41150 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41151 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41152 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41153 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41154 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41155 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41156 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41157 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41158 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41159 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41160 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41161 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41162 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41163 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41164 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41165 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41166 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41167 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41168 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41169 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41170 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41171 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41172 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41173 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41174 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41175 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41176 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41177 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41178 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41179 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41180 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41181 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41182 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41183 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41184 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41185 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41186 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41187 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41188 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41189 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41190 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41191 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41192 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41193 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41194 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41195 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41196 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41197 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41198 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41199 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41200 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41201 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41202 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41203 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41204 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41205 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41206 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41207 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41208 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41209 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41210 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41211 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41212 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41213 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41214 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41215 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41216 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41217 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41218 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41219 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41220 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41221 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41222 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41223 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41224 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41225 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41226 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41227 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41228 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41229 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41230 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41231 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41232 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41233 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41234 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41235 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41236 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41237 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41238 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41239 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41240 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41241 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41242 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41243 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41244 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41245 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41246 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41247 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41248 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41249 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41250 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41251 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41252 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41253 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41254 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41255 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41256 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41257 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41258 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41259 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41260 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41261 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41262 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41263 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41264 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41265 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41266 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41267 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41268 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41269 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41270 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41271 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41272 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41273 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41274 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41275 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41276 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41277 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41278 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41279 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41280 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41281 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41282 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41283 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41284 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41285 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41286 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41287 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41288 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41289 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41290 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41291 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41292 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41293 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41294 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41295 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41296 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41297 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41298 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41299 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41300 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41301 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41302 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41303 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41304 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41305 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41306 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41307 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41308 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41309 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41310 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41311 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41312 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41313 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41314 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41315 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41316 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41317 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41318 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41319 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41320 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41321 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41322 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41323 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41324 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41325 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41326 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41327 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41328 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41329 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41330 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41331 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41332 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41333 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41334 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41335 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41336 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41337 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41338 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41339 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41340 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41341 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41342 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41343 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41344 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41345 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41346 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41347 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41348 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41349 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41351 // Work around a chicken/egg problem in drawlist.cpp
41352 wxPyDrawList_SetAPIPtr();